public samba share not working for windows clients
have trouble setting up a public share in samba.
Got security set to user. Have several system users who use samba. They are devided into groups and shares have different write lists etc. So security = share is not acceptable.
I now got a request to add a public share for guests, that would be random folks on the internal network.
comment = bla
path = /var/bla
read only = yes
guest ok = yes
write list = @staff
browseable = yes
in [global] I added guest account = yes.
I didn't create any "guest" user in /etc/passwd nor /etc/samba/smbpasswd, as I understand I don't need to either.
I tested it with smbclient from a remote linux box first and it worked just perfect, but the password had to be blank/missing. If I specified one, I got access denied.
When I try to connect from a WinXP machine, I can't get in. It throws a new login window at me when I specify the user 'guest' and no password. The same with a random password.
My theory is, that windows sends some junk password/hash anyway with user "guest", although I didn't type anything in. If that's the problem, how do I tell samba to ignore the password all together. Otherwise, what else could possibly cause this?
'guest only = yes' is not an acceptable option and it didn't work anyway.