problems with passwords

Marc Weimer weimermc at uni-hohenheim.de
Fri Oct 27 14:10:50 GMT 2000


Hi all, 

I've just installed Samba on my SuSE-Linux computer (in an 
WIN98-environment). So far most things work all right, but I've got 
problems with the 'guest ok' option. Isn't this the option to
enable connecting to a share without needing a username or password? When
trying to connect to this share with a username not known to the samba
server, the Windows-client asks for a password; just
pressing RETURN doesn't help, connection is refused. When I try to connect
to this share using my regular username/password combination, everything
works well. But this is definitely not an anonymous guest-login ! What's
my problem?

Astonishingly, connecting anonymously to the share is possible using the 
smbclient program on the server itself: the server asks for a
password, but just pressing RETURN is accepted and an anonmyous connection
is established.


Here's my smb.config:

[global]
	workgroup = XXX
	netbios name = XXX
	encrypt passwords = Yes

	debug level = 2
	log file = /var/samba/log/samba.log

	local master = No
	lock directory = /var/samba/locks
	guest account = ftp
	min print space = 2000
	print command = /usr/bin/lpr -P%p -r %s

[public]
	comment = data transfer for guests
	path = /home/public
	guest ok = yes
	writeable = yes	

[userX]
	comment = data transfer for userX
	path = /home/userX/export
	valid users = userX
	writeable = Yes

[printers]
	path = /var/spool/public
	guest ok = Yes
	printable = Yes




It would help me a lot if you could shed some light on my problem.

Best regards

Marc
  








More information about the samba mailing list