[Samba] What am I missing here?!

Baxter Shepperson baxshep at cox.net
Sun Mar 23 07:12:22 GMT 2003


  OK, I've tried changing my printcap name from printcap to cups.  Printing 
works fine locally using CUPS on the Samba box.  What am I missing here?  Why 
can't I print to the Samba box via the Windows and linux clients?  Shared 
directories work fine.  I am really frustrated here and have exhausted Google 
and all other resources I have.  Here's my smb.conf for what it's worth.
Global parameters
[global]
        path = /var/spool/cups
        passwd program = /usr/bin/passwd %u
        domain master = True
        printing = cups
        dns proxy = No
        null passwords = Yes
        encrypt passwords = Yes
        valid users = bax morbo amy nobody
        invalid users = root
        wins support = true
        printcap name = cups
        max log size = 1000
        hosts allow = 192.168.1.
        obey pam restrictions = Yes
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
        username level = 8
        map to guest = Bad User
        security = share
        message command = /bin/sh -c '/usr/bin/linpopup
        server string = %h server (Samba %v)
        workgroup = SHEP
        syslog = 0
        netbios name = PRINTSERVER
        log file = /var/log/samba/log.%m
        load printers = yes
        os level = 35
        default = printers
[printers]
        comment = All Printers
        path = /tmp
        guest ok = Yes
        use client driver = Yes
        printable = yes
        print command = lp -d %p -o raw %s; rm -f %s
        create mask = 0700

[Laserjet]
        writable = yes
        browseable = yes
        use client driver = Yes
        guest ok = Yes
        oplocks = No
        printable = yes
        print command = lp -d %p -o raw %sU „² -f %s
        printer name = Laserjet
        create mask = 0700




More information about the samba mailing list