[Samba] Adding a cups printer driver
Stefan Petersen
stefan at st-petersen.de
Wed Jun 15 15:58:40 GMT 2005
Hello,
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"\
"PagePro8L:Iconlib.dll:PagePro8L.ppd:Adobeps4.drv:Adobeps4.hlp:NULL:RAW:NULL"'\
-d3 coruscant
added interface ip=192.168.1.20 bcast=192.168.1.255 nmask=255.255.255.0
Connecting to host=coruscant
Connecting to 192.168.1.20 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
result was WERR_INVALID_PARAM
This is my smb.conf:
[global]
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 = 192.168.1.2 192.168.1.20 127.0.0.1
debug level = 2
load printers = yes
browseable = yes
printing = cups
printcap name = cups
interfaces = eth1
[print$]
comment = Printer Drivers
# this path holds the driver structure
path = /etc/samba/drivers
guest ok = no
browseable = yes
read only = yes
write list = root
[PagePro8L]
comment = Minolta PagePro8L Network Printer
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = printeruser,root,ute
[printers]
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,
Stefan.
More information about the samba
mailing list