Michael Keightley
2005-Aug-29 21:29 UTC
[Samba] Problems printing to remote windows shared printer with 3.0.20
Have just upgraded from 3.0.13 to 3.0.20 on our Solaris domain controller. Machine is also print server running CUPS-1.1.23. We have a RICOH network printer that we print to via Samba (the printer seems to have a builtin Windows PC). smbspool is linked to /usr/lib/cups/backend/smb and the appropriate DeviceURI is in /etc/cups/printers.conf. This works fine with 3.0.13, but with 3.0.20 I get this error in /var/log/cups/error_log when printing from either the Solaris machine or XP (after adding the Samba printer). I [29/Aug/2005:17:08:21 +0500] Started filter /usr/lib/cups/filter/pstops (PID 24244) for job7007. I [29/Aug/2005:17:08:21 +0500] Started backend /usr/lib/cups/backend/socket (PID 24245) for job 7007. E [29/Aug/2005:17:09:15 +0500] [Job 7004] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: No ticket cache found for userid=2149 E [29/Aug/2005:17:09:15 +0500] [Job 7004] Can not get the ticket cache for mk E [29/Aug/2005:17:09:15 +0500] [Job 7004] Tree connect failed I had to swap /usr/lib/cups/backend/smb back to the 3.0.13 binary to get it working again. Anyone got any ideas? The printer is not in the same workgroup as the domain controller, but adding this to printers.conf got it working before: DeviceURI smb://administrator:@workgroup/e-710/print I can also browse OK to the printer and printer spool from an XP machine. Here is our smb.conf: [global] workgroup = WORK server string = %h log file = /var/log/samba/%m.log load printers = yes printing = cups printcap name = cups domain master = yes domain logons = yes local master = yes preferred master = yes name resolve order = wins lmhosts host bcast wins support = yes os level = 65 encrypt passwords = yes security = user logon script = netlogon.bat logon path = \\%N\profile\%a\%U logon drive = q: socket options = TCP_NODELAY IPTOS_LOWDELAY [profile] comment = User Profiles path = /home/samba/profile browseable = no guest ok = yes writeable = yes [printers] comment = All Printers path = /home/samba/var/spool/public browseable = no public = yes guest ok = yes writable = no printable = yes [print$] comment = Printer Drivers path = /home/samba/drivers browseable = yes guest ok = no read only = yes write list = root [homes] comment = Home Directories browseable = yes guest ok = no writable = yes [netlogon] comment = Network Logon Service path = /home/samba/%a/netlogon guest ok = yes writeable = no share modes = no Michael -- Michael Keightley <Michael.Keightley@quadstone.com> Tel: +44 131 240 3137 Systems Manager, Quadstone Limited, Fax: +44 131 220 4492 16 Chester Street, Edinburgh EH3 7RA, Scotland http://www.quadstone.com
Gerald (Jerry) Carter
2005-Sep-21 23:10 UTC
[Samba] Problems printing to remote windows shared printer with 3.0.20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Keightley wrote:> Have just upgraded from 3.0.13 to 3.0.20 on our Solaris domain controller. > Machine is also print server running CUPS-1.1.23. > We have a RICOH network printer that we print to via Samba (the printer > seems to have a builtin Windows PC). > smbspool is linked to /usr/lib/cups/backend/smb and the appropriate > DeviceURI is in /etc/cups/printers.conf. > This works fine with 3.0.13, but with 3.0.20 I get this error > in /var/log/cups/error_log when printing from either the Solaris > machine or XP (after adding the Samba printer). > > E [29/Aug/2005:17:09:15 +0500] [Job 7004] Unable to connect to SAMBA host, > will retry in 60 seconds...ERROR: No ticket cache found > for userid=2149 > E [29/Aug/2005:17:09:15 +0500] [Job 7004] Can not get the ticket cache for mk > E [29/Aug/2005:17:09:15 +0500] [Job 7004] Tree connect failed > > I had to swap /usr/lib/cups/backend/smb back to the 3.0.13 binary > to get it working again. > > Anyone got any ideas? > > The printer is not in the same workgroup as the domain controller, but adding this to > printers.conf got it working before: > > DeviceURI smb://administrator:@workgroup/e-710/printMichael, I'm trying to clear things up for the 3.0.20a release and need some help on this one. What was the original URI that caused problems? cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDMegkIR7qMdg1EfYRApqxAKCKgkbHiqqk/rHS3in1cP+Um2XgCQCcC+eH gzGztA74/91r7+1K3dufjOI=kQWs -----END PGP SIGNATURE-----