[Samba] Samba Print Driver Errors

Sorisio,Chris ChrisSorisio at PeakTechnical.com
Tue Aug 6 09:06:03 GMT 2002


Hola folks,

I'm experiencing a problem trying to get drivers to upload/download properly
with Samba 2.2.5 and CUPS.  I've read the various HOWTOs and have managed to
get drivers to upload, except that it errors out, saying that it was unable
to apply the changes.

The driver files do successfully upload to the proper directory on the Samba
server.

If I try to do things by hand:

rpcclient print -U Administrator -c "enumdrivers"
Password:
cmd = enumdrivers

[Windows NT x86]
Printer Driver Info 1:
        Driver Name: [HP LaserJet 5Si]

rpcclient print -U Administrator -c "enumprinters"
Password:
cmd = enumprinters
        flags:[0x800000]
        name:[\\print\P38HP5SI]
        description:[\\print\P38HP5SI,,HP 5Si Laserjet (Tech Team)]
        comment:[HP 5Si Laserjet (Tech Team)]

rpcclient print -U Administrator -c "setdriver P38HP5SI \"HP
Laserjet 5Si\""
Password:
cmd = setdriver P38HP5SI "HP LaserJet 5Si"
result was NT_STATUS_UNSUCCESSFUL

rpcclient print -U root -c "setdriver P38HP5SI \"HP LaserJet
5Si\""
Password:
cmd = setdriver P38HP5SI "HP LaserJet 5Si"
SetPrinter call failed!
result was NT_STATUS_UNSUCCESSFUL

My smb.conf:
 Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/08/06 08:25:04

# Global parameters
[global]
        workgroup = PEAK
        netbios name = SCORP003
        netbios aliases = PRINT
        server string = Samba Server %v
        security = DOMAIN
        encrypt passwords = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = cups
        addprinter command = cupsaddsmb
        preferred master = False
        local master = No
        domain master = False
        dns proxy = No
        wins server = 192.188.103.11
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        admin users = "PEAK\sorisioce"
        printer admin = @"PEAK\PEAK Technology"
        printing = cups

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        guest ok = Yes
        printable = Yes
        print command = lpr-cups -P %p -o raw %s -r   # using client side
printer drivers.
        lpq command = lpstat -o %p
        lprm command = cancel %p-%j
        browseable = No
        printer admin = root

[print$]
        path = /var/lib/samba/printers
        browseable = yes
        guest ok = yes
        read only = yes
        write list = @adm root "PEAK\sorisioce"

[backup]
        path = /mnt/share/samba/backup
        read only = No

[images]
        comment = ISO Disc Images
        path = /mnt/share/samba/images
        valid users = @"PEAK\PEAK Technology"


Any suggestions?

Thanks,

Chris
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list