[Samba] Adding a cups printer driver

Stefan Petersen stefan at st-petersen.de
Wed Jun 15 15:58:40 GMT 2005


I have desperately tried to make samba able to share the printer with a 
Win98SE client. First I tried cupsaddsmb, but that failed.

Then I walked step by step through the installation manually as explained in 
the documentation, and everything stopped on this point:

rpcclient -Uroot%xxxx -c 'adddriver "Windows NT x86"\ 
-d3 coruscant

added interface ip= bcast= nmask=
Connecting to host=coruscant
Connecting to at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x608a0215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
lsa_io_sec_qos: length c does not match size 8

This is my smb.conf:


workgroup = GENTOO_HOME
server string = coruscant
encrypt passwords = True
security = user
smb passwd file = /etc/samba/private/smbpasswd
log file = /var/log/samba/log.%m
interfaces = eth1
hosts deny = ALL
hosts allow =
debug level = 2

load printers = yes
browseable = yes
printing = cups
printcap name = cups
interfaces = eth1

comment = Printer Drivers
# this path holds the driver structure
path = /etc/samba/drivers
guest ok = no
browseable = yes
read only = yes
write list = root


comment = Minolta PagePro8L Network Printer
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = printeruser,root,ute

comment = All Printer
path = /var/spool/samba
browseable = no
public = yes
writable = no
printable = yes
printer admin = root
guest ok = yes

Although I do not know in which succession the driver files should be added in
the colon separated list, probably can help.

The samba-version is 3.0.14a on a Gentoo-Box.

Do somebody have an idea?

Thanks in advance,


More information about the samba mailing list