[Samba] CUPS and Samba 3.0 - printers no show

Ken Sarkies matou at picknowl.com.au
Thu May 15 10:30:28 GMT 2003

Hi [Samba]s

I have RedHat 8.0, and have installed a compiled CUPS 1.1.19pre4 and
Samba 3.0 (latest this week from CVS). It all compiles and installs OK
with CUPS support in Samba, but no printers show up (according to
smbclient -L or from windoze) when "printing=cups" is used. It is OK if
another form of printing is used, for example "printing=sysv". A
reversion to Samba 2.2.8a however works perfectly with the identical
setup, including configure options. Installation and use of printers
goes through OK. I assume others have had success with Samba 3 and CUPS
as I haven't seen any problem posts so far. My ntadmins group include
administrator accounts for windoze and also root, all of whom have
entries in smbpasswd.

Any ideas or suggestions?

Many Thanks, Ken


# Global Settings

   netbios name = HTA41
   workgroup = TRINITY_NT
   server string = Samba Server 3.0 Experimental
   hosts allow = 192.168.1. 127.
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192


   load printers = yes
   printing = cups
   printcap name = cups
   printer admin = @ntadmins


   log file = /var/log/samba/%m.log
   max log size = 0

# AUTHENTICATION now needs to be done here - setup as BDC

   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
   pam password change = yes
   obey pam restrictions = no


   local master = yes
   os level = 20
   domain master = no
   preferred master = no
   domain logons = no
   logon path = \\%L\profiles\profiles\%U
   logon home = \\%L\profiles\%U


   map to guest = bad user

# Share Definitions

   comment = All Printers
   path = /var/spool/samba
   writeable = no
   printable = yes
   browseable = no

   comment = Space for Stuff
   path = /misc
   browseable = yes
   writeable = yes

   comment = Home Directories
   browseable = no
   writeable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775

 comment = Printer Drivers
   path = /etc/samba/drivers
   browseable = yes
   guest ok = yes
   read only = yes
   writelist = @ntadmins

More information about the samba mailing list