[Samba] problems with cupsaddsmb

Marco Röben roeben at web.de
Wed Nov 12 21:15:39 GMT 2003


Hi!

I'm using Suse 9.0 with cups 1.1.19 and Samba 3.0. I'm trying to share
my printer on the network. Testparm runs without errors and I can see my
 printer in the network neighborhood. So the smb.conf should be fine.

But when I try to install the driver with cupsaddsmb I get the following
error.

zwobot:/usr/sbin # ./cupsaddsmb -U root -a -v
Password for root required to access localhost via SAMBA:
Running command: smbclient //localhost/print\$ -N -U'root%root' -c
'mkdir W32X86;put /var/spool/cups/tmp/3fb011ea4aec0
W32X86/stylusphoto750.PPD;put /usr/share/cups/drivers/ADOBEPS5.DLL
W32X86/ADOBEPS5.DLL;put /usr/share/cups/drivers/ADOBEPSU.DLL
W32X86/ADOBEPSU.DLL;put /usr/share/cups/drivers/ADOBEPSU.HLP
W32X86/ADOBEPSU.HLP'
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86

Running command: rpcclient localhost -N -U'root%root' -c 'adddriver
"Windows NT x86"
"stylusphoto750:ADOBEPS5.DLL:stylusphoto750.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Connecting to host=localhost
Connecting to 127.0.0.1 at port 445
lsa_io_sec_qos: length c does not match size 8
result was WERR_BAD_PASSWORD

I have no clue what this mean and how I can fix it. Can somebody help?
This would be great!

regards
Marco

P.S. Here's my smb.conf

[global]
# Networking configuration options
	hosts allow = 127.0.0.1 192.168.0.0/24
	hosts deny = 0.0.0.0/0
	interfaces = eth* lo
	bind interfaces only = yes

# global parameters
	workgroup = INTRANET
	server string = WG-Fileserver
	local master = yes
	preferred master = yes
	os level = 65
	security = share
	wins support = no

# logging configuration options
	log level = 3
	max log size = 50
	debug timestamp = yes	
	
	Unix extensions = yes
	map to guest = Bad User
	load printers = yes
	printing = cups
	printcap name = cups
	socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY

	veto files = /*.eml/*.nws/riched20.dll/*.{*}/
[marco]
	comment = Marco's Home Directory
        path = /home/marco
	valid users = marco
	browseable = yes
	read only = no
	hide dot files = yes
	;veto files = /.*/
	create mask = 0640
	directory mask = 0750
[public]
	comment = Publicly Accessible Directory
	path = /home/public
	read only = no
	browsable = yes
	guest ok = yes
	guest only = yes
	create mask = 0777
	directory mask = 0777
	security mask = 0777
	force security mode = 0
	directory security mask = 0777
	force directory security mode = 0

[printers]
	comment = All Printers
	path = /var/tmp
	browseable = no
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = root

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	browseable = yes
	guest ok = no
	read only = yes
	write list = root



More information about the samba mailing list