Re: [Samba] Client driver installation

2009-05-29 Thread Matt Richardson

Gary L. Greene, Jr. wrote:


I've an OpenSuSE based server installed at work that uses Samba to share out the
prrinters for our users on the AD that will be replacing our aging Windows 2000
print server. I'm in the process of getting the printer drivers installed for
Windows clients. At present, I'm installing the drivers for the RICOH Aficio we
have. When I run the following command: 


printmaster:/var/lib/samba/drivers/W32X86 # rpcclient -U ggreene -c
adddriver 'Windows NT x86'
'RICOH:RIC641K.DLL:RIC641K.DLL:RIC641U.DLL:RIC641.HLP:NULL:RAW:RIC641K.DLL,RIC641U.DLL,RIC641.HLP,RIC641P.DLL,RIC641C.DLL,RIC641L.DLL,RIC641X.DLL,RIC641S.DLL,RIC641J.DLL,RIC641Q.EXE,RIC641ZU.DLL,RIC641ZK.DLL,RIC641WU.DLL,RIC641WK.DLL,RIC641PI.DLL,RIC641SR.EXE,RIC641CF.DLL,RIC641X.EXE,TrackID.DLL,TIBase64.dll,TIFmtA.dll,RICJC32.dll,JCUI.exe'
3 printmaster

I get the following output:
result was
WERR_UNKNOWN_PRINTER_DRIVER



Posting mostly to put some more info in the mailing list archive on this 
issue.  Some magic happened, so I'm afraid this may not be of much help.


I had a similar issue setting up a couple of HP LaserJet printers last 
week using cupsaddsmb.  The CUPS queue used HPLIP drivers and the CUPS 
postscript drivers listed in the cupsaddsmb man page were installed in 
/usr/share/cups/drivers.  The system is Debian Lenny with samba 
3.2.5-4lenny2 and cups 1.3.8-1lenny5.  It is an AD member server with 
all the winbind goodness working.  OK, hope that wasn't too verbose.


The output showed adddriver succeeding and setdriver failed 
WERR_INVALID_PARAM.  Trying to do it manually with rpcclient adddriver 
succeeded, but setdriver failed with the error 
WERR_UNKNOWN_PRINTER_DRIVER.  From the CUPS web interface, exporting 
printers to samba returned a success message, but in reality only the 
adddriver had succeeded, still no setdriver success.  Just because 
nothing else seemed to be working, I changed permissions to 777 for the 
/var/lib/samba directories where all the printer stuff was supposed to 
land.  Still no joy.


After leaving it for a few days, I got back to it yesterday, dumped the 
print queues from CUPS and readded one.  enumprinters showed samba 
recognized the queues.  From the CUPS web interface, export printers to 
samba reported success.  Verifying that with enumprinters and 
enumdrivers showed that it had indeed succeeded.  Adding the second 
queue to CUPS, enumprinters would not show the second queue.  Go through 
the usual stop and start of services, enumprinters then sees the second 
queue.  Exporting to samba from CUPS web interface succeeds and 
enumdrivers verifies this to be true.


From the client, connecting to \\myawesomesmbserver\myawesomeprinter 
succeeds, no dialogs about the server not having the driver, and I can 
print a test page.  Now there is joy.


So the magic happened somewhere between Friday afternoon when I quit 
working on it and yesterday when I got back to it and did the same thing 
I had tried previously.  While I do want to know what occurred, I am 
happy for the moment with knowing that I can now add print queues to 
samba with drivers.  I need to set up quotas, so raw printing isn't 
going to cut it.


Matt

--
Matt Richardson
IT Consultant
College of Arts and Letters
CSU San Bernardino
work: (909)537-7598
fax: (909)537-5926

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Client driver installation

2009-05-21 Thread Liutauras Adomaitis
On Thu, May 21, 2009 at 1:27 AM, Gary L. Greene, Jr.
gree...@altimatos.com wrote:


 I've an OpenSuSE based server installed at work that uses Samba to share out 
 the
 prrinters for our users on the AD that will be replacing our aging Windows 
 2000
 print server. I'm in the process of getting the printer drivers installed for
 Windows clients. At present, I'm installing the drivers for the RICOH Aficio 
 we
 have. When I run the following command:

 printmaster:/var/lib/samba/drivers/W32X86 # rpcclient -U ggreene -c
 adddriver 'Windows NT x86'
 'RICOH:RIC641K.DLL:RIC641K.DLL:RIC641U.DLL:RIC641.HLP:NULL:RAW:RIC641K.DLL,RIC641U.DLL,RIC641.HLP,RIC641P.DLL,RIC641C.DLL,RIC641L.DLL,RIC641X.DLL,RIC641S.DLL,RIC641J.DLL,RIC641Q.EXE,RIC641ZU.DLL,RIC641ZK.DLL,RIC641WU.DLL,RIC641WK.DLL,RIC641PI.DLL,RIC641SR.EXE,RIC641CF.DLL,RIC641X.EXE,TrackID.DLL,TIBase64.dll,TIFmtA.dll,RICJC32.dll,JCUI.exe'
 3 printmaster

 I get the following output:
 result was
 WERR_UNKNOWN_PRINTER_DRIVER

 With the logging output of the
 printdrivers set to 10, I get the following from the logs:
 [2009/05/20
 14:51:58,  0] printing/nt_printing.c:move_driver_to_download_area(1931)
   move_driver_to_download_area: Unable to rename [W32X86/RIC641K.DLL] to
 [W32X86/3/RIC641K.DLL]

 Any help would be appreciated as I'm trying to
 get this done ASAP.


i was strugling a lot with these things and i'm not an expert, but
what do you have in your [print$] and [printers] shares in your
smb.conf?
look for use client drivers directive
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Client driver installation

2009-05-21 Thread Johannes Weberhofer, Weberhofer GmbH

I had a similar problem a time ago which was related to a anti-virus-scanner; see: 
http://groups.google.com/group/linux.samba/browse_thread/thread/ab7e66d793a1c440/512b30ab7fb4a314?lnk=gstq=nod32#512b30ab7fb4a314

My Server is also running opensuse.

Maybe that helps?

good luck,
Johannes

Am 21.05.2009 08:53, schrieb Liutauras Adomaitis:

On Thu, May 21, 2009 at 1:27 AM, Gary L. Greene, Jr.
gree...@altimatos.com  wrote:


I've an OpenSuSE based server installed at work that uses Samba to share out the
prrinters for our users on the AD that will be replacing our aging Windows 2000
print server. I'm in the process of getting the printer drivers installed for
Windows clients. At present, I'm installing the drivers for the RICOH Aficio we
have. When I run the following command:

printmaster:/var/lib/samba/drivers/W32X86 # rpcclient -U ggreene -c
adddriver 'Windows NT x86'
'RICOH:RIC641K.DLL:RIC641K.DLL:RIC641U.DLL:RIC641.HLP:NULL:RAW:RIC641K.DLL,RIC641U.DLL,RIC641.HLP,RIC641P.DLL,RIC641C.DLL,RIC641L.DLL,RIC641X.DLL,RIC641S.DLL,RIC641J.DLL,RIC641Q.EXE,RIC641ZU.DLL,RIC641ZK.DLL,RIC641WU.DLL,RIC641WK.DLL,RIC641PI.DLL,RIC641SR.EXE,RIC641CF.DLL,RIC641X.EXE,TrackID.DLL,TIBase64.dll,TIFmtA.dll,RICJC32.dll,JCUI.exe'
3 printmaster

I get the following output:
result was
WERR_UNKNOWN_PRINTER_DRIVER

With the logging output of the
printdrivers set to 10, I get the following from the logs:
[2009/05/20
14:51:58,  0] printing/nt_printing.c:move_driver_to_download_area(1931)
   move_driver_to_download_area: Unable to rename [W32X86/RIC641K.DLL] to
[W32X86/3/RIC641K.DLL]

Any help would be appreciated as I'm trying to
get this done ASAP.



i was strugling a lot with these things and i'm not an expert, but
what do you have in your [print$] and [printers] shares in your
smb.conf?
look for use client drivers directive


--


|-
|  weberhofer GmbH   | Johannes Weberhofer
|  information technologies
|  Austria, 1080 Wien, Blindengasse 52/3
|
|  Firmenbuch: 225566s, Handelsgericht Wien
|  UID: ATU55277701
|
|  phone : +43 (0)1 5454421 0| email: off...@weberhofer.at
|  fax   : +43 (0)1 5454421 19   | web  : http://weberhofer.at
|  mobile: +43 (0)699 11998315
|---
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Client driver installation

2009-05-20 Thread Gary L. Greene, Jr.


I've an OpenSuSE based server installed at work that uses Samba to share out the
prrinters for our users on the AD that will be replacing our aging Windows 2000
print server. I'm in the process of getting the printer drivers installed for
Windows clients. At present, I'm installing the drivers for the RICOH Aficio we
have. When I run the following command: 

printmaster:/var/lib/samba/drivers/W32X86 # rpcclient -U ggreene -c
adddriver 'Windows NT x86'
'RICOH:RIC641K.DLL:RIC641K.DLL:RIC641U.DLL:RIC641.HLP:NULL:RAW:RIC641K.DLL,RIC641U.DLL,RIC641.HLP,RIC641P.DLL,RIC641C.DLL,RIC641L.DLL,RIC641X.DLL,RIC641S.DLL,RIC641J.DLL,RIC641Q.EXE,RIC641ZU.DLL,RIC641ZK.DLL,RIC641WU.DLL,RIC641WK.DLL,RIC641PI.DLL,RIC641SR.EXE,RIC641CF.DLL,RIC641X.EXE,TrackID.DLL,TIBase64.dll,TIFmtA.dll,RICJC32.dll,JCUI.exe'
3 printmaster

I get the following output:
result was
WERR_UNKNOWN_PRINTER_DRIVER

With the logging output of the
printdrivers set to 10, I get the following from the logs:
[2009/05/20
14:51:58,  0] printing/nt_printing.c:move_driver_to_download_area(1931)
  move_driver_to_download_area: Unable to rename [W32X86/RIC641K.DLL] to
[W32X86/3/RIC641K.DLL]

Any help would be appreciated as I'm trying to
get this done ASAP.




-- 
Gary L. Greene, Jr.

Project Lead and Developer for the AltimatOS Project. 
Volunteer
Developer for the KDE Project.


This email was sent using SquirrelMail.
   Webmail for nuts!
http://squirrelmail.org/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba