RE: [Samba] Samba PDC and Automatic Printer Install
The below mentioned have all been fixed. I can see the printer 'HP2300' from my XP Pro machine (in 'Ready' status), but I cannot print to it. In my /var/log/cups/error_log, I see: E [19/Jan/2004:10:22:23 -0500] get_jobs: resource name '/printers/HP2300' no good! E [19/Jan/2004:10:22:23 -0500] get_printer_attrs: resource name '/printers/::{2227a280-3aea-1069-a2de-08002b30309d}' no good! E [19/Jan/2004:10:22:32 -0500] print_job: resource name '/printers/HP2300' no good! Thanks Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kurt Pfeifle Sent: Saturday, January 17, 2004 8:12 AM To: [EMAIL PROTECTED] Subject: [Samba] Samba PDC and Automatic Printer Install Michael Aldrich maldrich at i-centrix.com Wed Jan 14 15:35:11 GMT 2004 Hello, I am trying to install automatic printer driver download and install. I am running Samba 3, as a PDC, on RedHat 7.3. Sorry, Mike, I'm currently not able to follow the mails on this list one by one. Just an occasional glance. So I haven't looked deeply into your problem either... It seems everything is setup correctly, No. Not completely. You are trying to use a driver downloaded from the Samba server, yet you still have set smb.comf to use client driver = Yes. Delete this line. Restart smbd. Then try again. [...] rpcclient $ setdriver lp HP LaserJet 2300 Series PCL 6 SetPrinter call failed! [] Snip from my smb.conf: [printers] [] printing = cups use client driver = Yes ^^^ [] [lp] [] use client driver = Yes ^^^ oplocks = No [] Why do I get WERR_ACCESS_DENIED from SetPrinter? What you try to do is not compatible with use client driver = Yes Thanks Mike And thanks to Kurt for getting me this far ;-) Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba PDC and Automatic Printer Install
ok, I am no longer getting the 'Unable to print file to HP2300 - client-error-document-format-not-supported' error. I edited the mime.* files in /etc/cups/... I am now seeing: [2004/01/15 13:46:13, 0] printing/print_cups.c:cups_queue_get(898) Unable to get jobs for ipp://localhost/printers/HP2300 - client-error-not-found and in /var/log/cups/error_log: E [15/Jan/2004:13:30:12 -0500] get_jobs: resource name '/printers/HP2300' no good! E [15/Jan/2004:13:30:12 -0500] get_printer_attrs: resource name '/printers/::{2227a280-3aea-1069-a2de-08002b30309d}' no good! E [15/Jan/2004:13:30:17 -0500] print_job: resource name '/printers/HP2300' no good! E [15/Jan/2004:13:36:09 -0500] get_jobs: resource name '/printers/HP2300' no good! E [15/Jan/2004:13:46:13 -0500] get_jobs: resource name '/printers/HP2300' no good! Thanks Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Aldrich Sent: Thursday, January 15, 2004 1:19 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Samba] Samba PDC and Automatic Printer Install Thank you very much. I can now see the network printer in 'Ready' status. Although, from my /var/log/samba/log.username, I get: Unable to print file to HP2300 - client-error-document-format-not-supported when trying to print a test page... Also, will the 'load printers' option in smb.conf be enough to load the drivers when a new user logs into the domain? Or do I need to have something special in /homedir/netlogon/username.bat ? Thanks again. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 12:38 PM To: Michael Aldrich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Samba] Samba PDC and Automatic Printer Install The problem is the error error msg: 'spool queue for 'hp2300' does not exist on server. Samba, or some particular user might not have permission to /var/spool/samba. Also, depending on how you set up the printer, it could bee that it is looking for a different spool directory. Did you set these printers up in /etc/printcap, or in CUPS? If you set up an /etc/printcap, it may be looking for the print spool specified there. I am using a very similar setup to yourself, and I have these additional directives under [global] [global] load printers = yes printing = cups printcap = cups I think this will cause CUPS to over-write the old /etc/printcap file. Alex Laslavic Havertys Tech Services Michael Aldrich [EMAIL PROTECTED] wrote on 01/15/2004 12:00:38 PM: Thanks. I made the change and was able to add the driver. Although, I still cannot print.. The printers are in 'error' status. rpcclient $ getprinter HP2300 flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,HP LaserJet 2300 Series PCL 6,HP2300] comment:[HP2300] In my log.username: maldrich logged in as admin user (root privileges) [2004/01/15 11:57:52, 1] smbd/service.c:make_connection_snum(705) tdube (192.168.0.61) connect to service print$ initially as user maldrich (uid=0, gid=100) (pid 23819) Status Information: sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] connecting to 'localhost', attempt 1 connected to 'localhost' requesting printer [EMAIL PROTECTED] job '[EMAIL PROTECTED]' transfer to [EMAIL PROTECTED] failed error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL' sending str '^BHP2300' to [EMAIL PROTECTED] error msg: 'spool queue for 'hp2300' does not exist on server mercury.i-centrix.com' error msg: ' non-existent printer or you need to run 'checkpc -f'' This is when I try and print a Test Page... Thanks Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 4:03 PM To: Michael Aldrich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Samba] Samba PDC and Automatic Printer Install In your smb.conf, you have the option use client driver set to yes. When it is yes, it will not allow you to set the driver. You need to delete the use client driver line, reload samba and it should work. Alex Laslavic Havertys Tech Services [EMAIL PROTECTED] wrote on 01/14/2004 10:35:11 AM: Hello, I am trying to install automatic printer driver download and install. I am running Samba 3, as a PDC, on RedHat 7.3. It seems everything is setup correctly, although I cannot get the rpcclient to 'see' my printer. Please notice these two printers listed below ar the same (lp HP2300). [EMAIL PROTECTED] log]# rpcclient -U=root localhost Password: rpcclient $ enumprinters flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,,HP2300] comment:[HP2300] flags:[0x80] name:[\\mercury\lp] description:[\\mercury\lp,,] comment:[] rpcclient
RE: [Samba] Samba PDC and Automatic Printer Install
Thanks. I made the change and was able to add the driver. Although, I still cannot print.. The printers are in 'error' status. rpcclient $ getprinter HP2300 flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,HP LaserJet 2300 Series PCL 6,HP2300] comment:[HP2300] In my log.username: maldrich logged in as admin user (root privileges) [2004/01/15 11:57:52, 1] smbd/service.c:make_connection_snum(705) tdube (192.168.0.61) connect to service print$ initially as user maldrich (uid=0, gid=100) (pid 23819) Status Information: sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] connecting to 'localhost', attempt 1 connected to 'localhost' requesting printer [EMAIL PROTECTED] job '[EMAIL PROTECTED]' transfer to [EMAIL PROTECTED] failed error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL' sending str '^BHP2300' to [EMAIL PROTECTED] error msg: 'spool queue for 'hp2300' does not exist on server mercury.i-centrix.com' error msg: ' non-existent printer or you need to run 'checkpc -f'' This is when I try and print a Test Page... Thanks Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 4:03 PM To: Michael Aldrich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Samba] Samba PDC and Automatic Printer Install In your smb.conf, you have the option use client driver set to yes. When it is yes, it will not allow you to set the driver. You need to delete the use client driver line, reload samba and it should work. Alex Laslavic Havertys Tech Services [EMAIL PROTECTED] wrote on 01/14/2004 10:35:11 AM: Hello, I am trying to install automatic printer driver download and install. I am running Samba 3, as a PDC, on RedHat 7.3. It seems everything is setup correctly, although I cannot get the rpcclient to 'see' my printer. Please notice these two printers listed below ar the same (lp HP2300). [EMAIL PROTECTED] log]# rpcclient -U=root localhost Password: rpcclient $ enumprinters flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,,HP2300] comment:[HP2300] flags:[0x80] name:[\\mercury\lp] description:[\\mercury\lp,,] comment:[] rpcclient $ enumdrivers [Windows NT x86] Printer Driver Info 1: Driver Name: [HP LaserJet 2300 Series PCL 6] [Windows NT x86] Printer Driver Info 1: Driver Name: [HP LaserJet 2300 Series PCL 6] rpcclient $ setdriver lp HP LaserJet 2300 Series PCL 6 SetPrinter call failed! result was WERR_ACCESS_DENIED rpcclient $ setdriver HP2300 HP LaserJet 2300 Series PCL 6 SetPrinter call failed! result was WERR_ACCESS_DENIED rpcclient $ Snip from my smb.conf: [printers] comment = HP LaserJet path = /var/spool/samba printer admin = root guest ok = Yes printable = Yes printing = cups use client driver = Yes browseable = No [print$] comment = Printer Download path = /var/spool/samba/W32X86/3 valid users = maldrich, root admin users = maldrich, root write list = root read only = No guest ok = Yes [lp] path = /var/spool/samba printer admin = root read only = No guest ok = Yes printable = Yes printer name = lp use client driver = Yes oplocks = No share modes = Yes On the client side (Windows XP Pro), I can see both printers from Network Neighborhood, Domain Name, Printers Faxes. Both of them are in 'Error' status. Does anyone have an idea why this operation is continuosly failing? Why do I get WERR_ACCESS_DENIED from SetPrinter? Thanks Mike And thanks to Kurt for getting me this far -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba PDC and Automatic Printer Install
The problem is the error error msg: 'spool queue for 'hp2300' does not exist on server. Samba, or some particular user might not have permission to /var/spool/samba. Also, depending on how you set up the printer, it could bee that it is looking for a different spool directory. Did you set these printers up in /etc/printcap, or in CUPS? If you set up an /etc/printcap, it may be looking for the print spool specified there. I am using a very similar setup to yourself, and I have these additional directives under [global] [global] load printers = yes printing = cups printcap = cups I think this will cause CUPS to over-write the old /etc/printcap file. Alex Laslavic Havertys Tech Services Michael Aldrich [EMAIL PROTECTED] wrote on 01/15/2004 12:00:38 PM: Thanks. I made the change and was able to add the driver. Although, I still cannot print.. The printers are in 'error' status. rpcclient $ getprinter HP2300 flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,HP LaserJet 2300 Series PCL 6,HP2300] comment:[HP2300] In my log.username: maldrich logged in as admin user (root privileges) [2004/01/15 11:57:52, 1] smbd/service.c:make_connection_snum(705) tdube (192.168.0.61) connect to service print$ initially as user maldrich (uid=0, gid=100) (pid 23819) Status Information: sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] connecting to 'localhost', attempt 1 connected to 'localhost' requesting printer [EMAIL PROTECTED] job '[EMAIL PROTECTED]' transfer to [EMAIL PROTECTED] failed error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL' sending str '^BHP2300' to [EMAIL PROTECTED] error msg: 'spool queue for 'hp2300' does not exist on server mercury.i-centrix.com' error msg: ' non-existent printer or you need to run 'checkpc -f'' This is when I try and print a Test Page... Thanks Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 4:03 PM To: Michael Aldrich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Samba] Samba PDC and Automatic Printer Install In your smb.conf, you have the option use client driver set to yes. When it is yes, it will not allow you to set the driver. You need to delete the use client driver line, reload samba and it should work. Alex Laslavic Havertys Tech Services [EMAIL PROTECTED] wrote on 01/14/2004 10:35:11 AM: Hello, I am trying to install automatic printer driver download and install. I am running Samba 3, as a PDC, on RedHat 7.3. It seems everything is setup correctly, although I cannot get the rpcclient to 'see' my printer. Please notice these two printers listed below ar the same (lp HP2300). [EMAIL PROTECTED] log]# rpcclient -U=root localhost Password: rpcclient $ enumprinters flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,,HP2300] comment:[HP2300] flags:[0x80] name:[\\mercury\lp] description:[\\mercury\lp,,] comment:[] rpcclient $ enumdrivers [Windows NT x86] Printer Driver Info 1: Driver Name: [HP LaserJet 2300 Series PCL 6] [Windows NT x86] Printer Driver Info 1: Driver Name: [HP LaserJet 2300 Series PCL 6] rpcclient $ setdriver lp HP LaserJet 2300 Series PCL 6 SetPrinter call failed! result was WERR_ACCESS_DENIED rpcclient $ setdriver HP2300 HP LaserJet 2300 Series PCL 6 SetPrinter call failed! result was WERR_ACCESS_DENIED rpcclient $ Snip from my smb.conf: [printers] comment = HP LaserJet path = /var/spool/samba printer admin = root guest ok = Yes printable = Yes printing = cups use client driver = Yes browseable = No [print$] comment = Printer Download path = /var/spool/samba/W32X86/3 valid users = maldrich, root admin users = maldrich, root write list = root read only = No guest ok = Yes [lp] path = /var/spool/samba printer admin = root read only = No guest ok = Yes printable = Yes printer name = lp use client driver = Yes oplocks = No share modes = Yes On the client side (Windows XP Pro), I can see both printers from Network Neighborhood, Domain Name, Printers Faxes. Both of them are in 'Error' status. Does anyone have an idea why this operation is continuosly failing? Why do I get WERR_ACCESS_DENIED from SetPrinter? Thanks Mike And thanks to Kurt for getting me this far -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go
RE: [Samba] Samba PDC and Automatic Printer Install
Thank you very much. I can now see the network printer in 'Ready' status. Although, from my /var/log/samba/log.username, I get: Unable to print file to HP2300 - client-error-document-format-not-supported when trying to print a test page... Also, will the 'load printers' option in smb.conf be enough to load the drivers when a new user logs into the domain? Or do I need to have something special in /homedir/netlogon/username.bat ? Thanks again. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 12:38 PM To: Michael Aldrich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Samba] Samba PDC and Automatic Printer Install The problem is the error error msg: 'spool queue for 'hp2300' does not exist on server. Samba, or some particular user might not have permission to /var/spool/samba. Also, depending on how you set up the printer, it could bee that it is looking for a different spool directory. Did you set these printers up in /etc/printcap, or in CUPS? If you set up an /etc/printcap, it may be looking for the print spool specified there. I am using a very similar setup to yourself, and I have these additional directives under [global] [global] load printers = yes printing = cups printcap = cups I think this will cause CUPS to over-write the old /etc/printcap file. Alex Laslavic Havertys Tech Services Michael Aldrich [EMAIL PROTECTED] wrote on 01/15/2004 12:00:38 PM: Thanks. I made the change and was able to add the driver. Although, I still cannot print.. The printers are in 'error' status. rpcclient $ getprinter HP2300 flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,HP LaserJet 2300 Series PCL 6,HP2300] comment:[HP2300] In my log.username: maldrich logged in as admin user (root privileges) [2004/01/15 11:57:52, 1] smbd/service.c:make_connection_snum(705) tdube (192.168.0.61) connect to service print$ initially as user maldrich (uid=0, gid=100) (pid 23819) Status Information: sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] connecting to 'localhost', attempt 1 connected to 'localhost' requesting printer [EMAIL PROTECTED] job '[EMAIL PROTECTED]' transfer to [EMAIL PROTECTED] failed error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL' sending str '^BHP2300' to [EMAIL PROTECTED] error msg: 'spool queue for 'hp2300' does not exist on server mercury.i-centrix.com' error msg: ' non-existent printer or you need to run 'checkpc -f'' This is when I try and print a Test Page... Thanks Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 4:03 PM To: Michael Aldrich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Samba] Samba PDC and Automatic Printer Install In your smb.conf, you have the option use client driver set to yes. When it is yes, it will not allow you to set the driver. You need to delete the use client driver line, reload samba and it should work. Alex Laslavic Havertys Tech Services [EMAIL PROTECTED] wrote on 01/14/2004 10:35:11 AM: Hello, I am trying to install automatic printer driver download and install. I am running Samba 3, as a PDC, on RedHat 7.3. It seems everything is setup correctly, although I cannot get the rpcclient to 'see' my printer. Please notice these two printers listed below ar the same (lp HP2300). [EMAIL PROTECTED] log]# rpcclient -U=root localhost Password: rpcclient $ enumprinters flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,,HP2300] comment:[HP2300] flags:[0x80] name:[\\mercury\lp] description:[\\mercury\lp,,] comment:[] rpcclient $ enumdrivers [Windows NT x86] Printer Driver Info 1: Driver Name: [HP LaserJet 2300 Series PCL 6] [Windows NT x86] Printer Driver Info 1: Driver Name: [HP LaserJet 2300 Series PCL 6] rpcclient $ setdriver lp HP LaserJet 2300 Series PCL 6 SetPrinter call failed! result was WERR_ACCESS_DENIED rpcclient $ setdriver HP2300 HP LaserJet 2300 Series PCL 6 SetPrinter call failed! result was WERR_ACCESS_DENIED rpcclient $ Snip from my smb.conf: [printers] comment = HP LaserJet path = /var/spool/samba printer admin = root guest ok = Yes printable = Yes printing = cups use client driver = Yes browseable = No [print$] comment = Printer Download path = /var/spool/samba/W32X86/3 valid users = maldrich, root admin users = maldrich, root write list = root read only = No guest ok = Yes [lp] path = /var/spool/samba printer admin = root read only
RE: [Samba] Samba PDC and Automatic Printer Install
ok, I am no longer getting the 'Unable to print file to HP2300 - client-error-document-format-not-supported' error. I edited the mime.* files in /etc/cups/... I am now seeing: [2004/01/15 13:46:13, 0] printing/print_cups.c:cups_queue_get(898) Unable to get jobs for ipp://localhost/printers/HP2300 - client-error-not-found and in /var/log/cups/error_log: E [15/Jan/2004:13:30:12 -0500] get_jobs: resource name '/printers/HP2300' no good! E [15/Jan/2004:13:30:12 -0500] get_printer_attrs: resource name '/printers/::{2227a280-3aea-1069-a2de-08002b30309d}' no good! E [15/Jan/2004:13:30:17 -0500] print_job: resource name '/printers/HP2300' no good! E [15/Jan/2004:13:36:09 -0500] get_jobs: resource name '/printers/HP2300' no good! E [15/Jan/2004:13:46:13 -0500] get_jobs: resource name '/printers/HP2300' no good! Thanks Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Aldrich Sent: Thursday, January 15, 2004 1:19 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Samba] Samba PDC and Automatic Printer Install Thank you very much. I can now see the network printer in 'Ready' status. Although, from my /var/log/samba/log.username, I get: Unable to print file to HP2300 - client-error-document-format-not-supported when trying to print a test page... Also, will the 'load printers' option in smb.conf be enough to load the drivers when a new user logs into the domain? Or do I need to have something special in /homedir/netlogon/username.bat ? Thanks again. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 12:38 PM To: Michael Aldrich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Samba] Samba PDC and Automatic Printer Install The problem is the error error msg: 'spool queue for 'hp2300' does not exist on server. Samba, or some particular user might not have permission to /var/spool/samba. Also, depending on how you set up the printer, it could bee that it is looking for a different spool directory. Did you set these printers up in /etc/printcap, or in CUPS? If you set up an /etc/printcap, it may be looking for the print spool specified there. I am using a very similar setup to yourself, and I have these additional directives under [global] [global] load printers = yes printing = cups printcap = cups I think this will cause CUPS to over-write the old /etc/printcap file. Alex Laslavic Havertys Tech Services Michael Aldrich [EMAIL PROTECTED] wrote on 01/15/2004 12:00:38 PM: Thanks. I made the change and was able to add the driver. Although, I still cannot print.. The printers are in 'error' status. rpcclient $ getprinter HP2300 flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,HP LaserJet 2300 Series PCL 6,HP2300] comment:[HP2300] In my log.username: maldrich logged in as admin user (root privileges) [2004/01/15 11:57:52, 1] smbd/service.c:make_connection_snum(705) tdube (192.168.0.61) connect to service print$ initially as user maldrich (uid=0, gid=100) (pid 23819) Status Information: sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] connecting to 'localhost', attempt 1 connected to 'localhost' requesting printer [EMAIL PROTECTED] job '[EMAIL PROTECTED]' transfer to [EMAIL PROTECTED] failed error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL' sending str '^BHP2300' to [EMAIL PROTECTED] error msg: 'spool queue for 'hp2300' does not exist on server mercury.i-centrix.com' error msg: ' non-existent printer or you need to run 'checkpc -f'' This is when I try and print a Test Page... Thanks Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 4:03 PM To: Michael Aldrich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Samba] Samba PDC and Automatic Printer Install In your smb.conf, you have the option use client driver set to yes. When it is yes, it will not allow you to set the driver. You need to delete the use client driver line, reload samba and it should work. Alex Laslavic Havertys Tech Services [EMAIL PROTECTED] wrote on 01/14/2004 10:35:11 AM: Hello, I am trying to install automatic printer driver download and install. I am running Samba 3, as a PDC, on RedHat 7.3. It seems everything is setup correctly, although I cannot get the rpcclient to 'see' my printer. Please notice these two printers listed below ar the same (lp HP2300). [EMAIL PROTECTED] log]# rpcclient -U=root localhost Password: rpcclient $ enumprinters flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,,HP2300] comment:[HP2300] flags:[0x80] name:[\\mercury\lp] description:[\\mercury\lp,,] comment:[] rpcclient
Re: [Samba] Samba PDC and Automatic Printer Install
In your smb.conf, you have the option use client driver set to yes. When it is yes, it will not allow you to set the driver. You need to delete the use client driver line, reload samba and it should work. Alex Laslavic Havertys Tech Services [EMAIL PROTECTED] wrote on 01/14/2004 10:35:11 AM: Hello, I am trying to install automatic printer driver download and install. I am running Samba 3, as a PDC, on RedHat 7.3. It seems everything is setup correctly, although I cannot get the rpcclient to 'see' my printer. Please notice these two printers listed below ar the same (lp HP2300). [EMAIL PROTECTED] log]# rpcclient -U=root localhost Password: rpcclient $ enumprinters flags:[0x80] name:[\\mercury\HP2300] description:[\\mercury\HP2300,,HP2300] comment:[HP2300] flags:[0x80] name:[\\mercury\lp] description:[\\mercury\lp,,] comment:[] rpcclient $ enumdrivers [Windows NT x86] Printer Driver Info 1: Driver Name: [HP LaserJet 2300 Series PCL 6] [Windows NT x86] Printer Driver Info 1: Driver Name: [HP LaserJet 2300 Series PCL 6] rpcclient $ setdriver lp HP LaserJet 2300 Series PCL 6 SetPrinter call failed! result was WERR_ACCESS_DENIED rpcclient $ setdriver HP2300 HP LaserJet 2300 Series PCL 6 SetPrinter call failed! result was WERR_ACCESS_DENIED rpcclient $ Snip from my smb.conf: [printers] comment = HP LaserJet path = /var/spool/samba printer admin = root guest ok = Yes printable = Yes printing = cups use client driver = Yes browseable = No [print$] comment = Printer Download path = /var/spool/samba/W32X86/3 valid users = maldrich, root admin users = maldrich, root write list = root read only = No guest ok = Yes [lp] path = /var/spool/samba printer admin = root read only = No guest ok = Yes printable = Yes printer name = lp use client driver = Yes oplocks = No share modes = Yes On the client side (Windows XP Pro), I can see both printers from Network Neighborhood, Domain Name, Printers Faxes. Both of them are in 'Error' status. Does anyone have an idea why this operation is continuosly failing? Why do I get WERR_ACCESS_DENIED from SetPrinter? Thanks Mike And thanks to Kurt for getting me this far -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba