[Samba] printers don't show up as shares

Darren Creutz dcreutz at wso.williams.edu
Thu May 27 04:41:01 GMT 2004


For clarification, when I say I can't see them I mean using smbclient 
all I see is the standard IPC$ shares, no printers.  However, in 
/var/log/samba/log.smbd :

[2004/05/26 21:31:09, 3] param/loadparm.c:lp_add_printer(2405)
   adding printer service BrotherHL1440

which is the printer I have connected.  Is this a change or bug in 
smbclient perhaps?

Thanks again,
Darren


> I have been using Samba 3.0.2a-1 on Debian for a while now, no 
> problems.  I upgraded to 3.0.4-5 and now I can't see any printers as 
> shares.  I have tried everything I can think of with smb.conf and 
> still no printers show up.  Below is my smb.conf and printcap files, 
> does anyone know what's wrong here?
>
> Thank you in advance,
> Darren
>
> -------/etc/samba/smb.conf---------
> [global]
>    panic action = /usr/share/samba/panic-action %d
>    netbios name = majorkong
>    workgroup = WORKGROUP
>    server string = MajorKong (Samba server)
>    load printers = yes
>    printcap name = cups
>    printing = cups
>    show add printer wizard = no
>    printer admin = @lpadmin
>    log file = /var/log/samba/log.%m
>    log level = 3
>    max log size = 1000
>    syslog = 0
>    security = user
>    encrypt passwords = true
>    passdb backend = smbpasswd guest
>    socket options = TCP_NODELAY
>    dns proxy = no
>    passwd program = /usr/bin/passwd %u
>    passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
> *Retype\snew\sUNIX\spassword:* %n\n .
>    obey pam restrictions = yes
>
> [printers]
>    comment = All printers
>    path = /var/spool/samba
>    printable = yes
>    browseable = no
>    guest ok = yes
>    public = yes
>    writable = no
>    read only = yes
>    create mode = 0700
>    use client driver = yes
>    print command = lpr -P %p -o raw %s -r
>    lpq command = lpstat -o %p
>    lprm command = cancel %p-%j
>
>
> ---------/var/run/cups/printcap (/etc/printcap symlinked to 
> this)--------
> # This file was automatically generated by cupsd(8) from the
> # /etc/cups/printers.conf file.  All changes to this file
> # will be lost.
> BrotherHL1440|BrotherHL1440:rm=MajorKong:rp=BrotherHL1440:
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list