[Samba] Redhat 8 printing problems Printcap?

Baxter Shepperson baxshep at cox.net
Fri Mar 21 02:07:58 GMT 2003


  Hi list.  I'm having problems w/ printing using Samba on Redhat 8.  Shared 
drives work fine yet my CUPS printing doesn't work.  I sure appreciate any 
input.  For what it's worth, I couldn't find any printing related errors in 
/var/log/samba/.  I notice that the printcap doesn't have a sub-directory 
named cups like my old Debian box.  Could that be it? Here's my smb.conf
[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 = /etc/printcap/
        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 = user
        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

[homes]
        path = %H
        writeable = yes
        valid users = bax,morbo,amy,nobody
        comment = Home Directories
        public = yes
        create mask = 0700
        directory mask = 0700
        level 2 oplocks = yes
[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 %s; rm -f %s
        printer name = Laserjet
        create mask = 0700




More information about the samba mailing list