[Samba] Cups printing on Samba 3.0.1 from Win2000 SP4

Douglas Phillipson dougp at intermind.net
Wed Nov 5 05:08:43 GMT 2003


I have a samba based domain controller with a CUPS printer working fine. 
  When I try to connect to a samba printer from  Win2000 I get the 
following in the samba log:

2003/11/04 20:38:02, 0] printing/print_cups.c:cups_queue_get(889)
   Unable to get jobs for ipp://localhost/printers/goucho - 
client-error-not-found
[2003/11/04 20:38:02, 0] smbd/service.c:set_admin_user(321)
   root logged in as admin user (root privileges)

Any clues are appreciated...

Here are the relevant parts of my smb.conf:

[global]

         workgroup = TESTDOM
         netbios name = blue
         security = user
         server string = Samba Server
         printcap name = /etc/printcap
         load printers = yes

         log file = /var/log/samba.log
         log level = 2
         max log size = 50000
         add machine script = /usr/sbin/useradd -n -g machines -c 
Machine -d /dev/null -s /bin/false %u
         add user script = /usr/sbin/useradd %u

         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

         local master = Yes
         os level = 65
         domain master = yes
         preferred master = yes
         domain logons = yes
         admin users = root
         csc policy = disable
         logon script = logon.bat
         logon path = \\%L\profiles\%U
         logon drive = H:
         printer admin = root
         printing = cups
         printcap name = cups
   [printers]
         comment = All Printers
         path = /var/spool/samba
         browseable = yes
         # Set public = yes to allow user 'guest account' to print
         guest ok = yes
         writable = yes
         public = yes
         printable = yes
         printer admin = root, douglas
#       hosts allow = 0.0.0.0

[goucho]
         comment = Printer with Restricted Access
         path = /var/spool/samba_my_printer
         printer admin = root, douglas
         browseable = yes
         printable = yes
         writeable = yes
         guest ok = yes
       username map = /etc/maps




More information about the samba mailing list