[Samba] Problems with printers

Rob Sell lists at facnd.com
Mon Dec 22 19:15:39 GMT 2003

-----Original Message-----
From: daniel.jarboe at custserv.com [mailto:daniel.jarboe at custserv.com] 
Sent: Monday, December 22, 2003 12:14 PM
To: lists at facnd.com; samba at lists.samba.org
Subject: RE: [Samba] Problems with printers

> I am using cups, using the cups web interface to add 
> printers, today I added 2 more printers. They do not
> show up in samba, I have restarted cups, smb
> nmb, everything except the machine itself.

By, "They do not show up in samba", is that from the
Samba or Windows client?  Sometimes Windows take a bit
to notice, for best results try: "smbclient -L localhost
-U [user]" and see if they show up. 

Do you have a [printers] share and a load printers = Yes?
If not you need to add print share explicitly in smb.conf.

~ Daniel


They do not show up using smbclient either. I have a printers share, and I
have load printers set to yes. 


Samba was compiled but not linked against cups. I didn't have the mime stuff
set in cups, I do now. But why does samba pick up my 5 printers without
being linked to cups? 

Below is my smb.conf

# Samba config file created using SWAT
# from (
# Date: 2003/12/22 13:05:38

# Global parameters
        workgroup = DAC
        interfaces =
        security = DOMAIN
        map to guest = Bad User
        password server = dc
        log level = 1
        syslog = 0
        time server = Yes
        os level = 2
        preferred master = No
        local master = No
        domain master = No
        ldap ssl = no
        admin users = robs
        printer admin = robs
        printing = cups
        veto files = /*.eml/*.nws/riched20.dll/*.{*}/

        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0640
        directory mask = 0750
        browseable = No

        comment = Temp Directories
        path = /tmp/
        read only = No
        guest ok = Yes

        path = /srv/www/cgi-bin/
        read only = No
        guest ok = Yes

        path = /srv/www/htdocs/
        read only = No
        guest ok = Yes

        comment = All Printers
        path = /var/tmp
        printer admin = root, robs
        create mask = 0600
        guest ok = Yes
        printable = Yes

        comment = Printer Drivers
        path = /usr/local/samba/var/locks/printing
        write list = @ntadmin, root, robs
        force group = ntadmin
        read only = No
        create mask = 0664
        directory mask = 0775

More information about the samba mailing list