Samba won't allow PC connections

Joel Hammer Joel at
Mon Nov 19 14:49:09 GMT 2001

First, walk through DIAGNOSIS.txt in /doc/textdocs <---MOST IMPORTANT.
If that all works, below is my smb.conf which does just what you want.
I do not use the [printer] special share, rather, I list each printer
separately. This keeps things simpler. This printer definition does not filter.
All filtering happens on the windows boxes.

        netbios name = HAMMER2
        interfaces =
        security = SHARE
        guest account = ftp
        hosts allow = 192.168. 127. 
        strict sync = Yes
        comment = Raw Printer for Z53
        path = /tmp
        create mask = 0700
        guest ok = Yes
        hosts allow = 192.168.
        printable = Yes
        printing = lprng
#       print command = echo "Tried to print %s" > /SPOOL/junk.%s
        print command = /usr/bin/lpr -Plp %s; rm %s
        lpq command = /usr/bin/lpq -Plp
        lprm command = /usr/bin/lprm -Plp %j
        lppause command = /usr/bin/lpc hold -Plp %j
        lpresume command = /usr/bin/lpc release -Plp %j
        printer name = lp
        share modes = No
        comment = All Files
        path = /
        read only = No
        guest ok = Yes            

My lp in /etc/printcap is:

I am not certain if the rw does any good (open printer for reading and
writing) but it might. Notice there is no filter in this definition.

More information about the samba mailing list