[Samba] Is there a way to allow empty user (NULL) to connect to samba3 as nobody/guest from W2K/XP workstations?

Vlad Borisoff oghma at cyberdude.ru
Thu Jul 15 14:39:37 GMT 2004


Jerry,

> Are you sure?
Yes, I've double checked, plus installed samba-3.0.5rc1 to be sure.
I'm having problems authenticating empty user from W2k machines.

> Are  you  sure?  Do  you  mean  real  anonymous logins or just guest
> logins? There's a difference.
I  think  I  mean  anonymous logins. Currently only guest logins work,
anonymous work only from UNIX clients i.e. both cmds work ok:
smbclient //server/share -U%
smbclient //server/share -N
But,  W2k  clients  can't  login just by pressing OK button in network
login  prompt  (empty user, empty pass) - only by specifying nobody or
guest as username.

=== smb.conf ===
security = user
guest account = nobody
null passwords = true
min passwd length = 0

[pub]
path = /home/samba/pub
write = no
public = yes

> What is happening in the SMBsessetup&X exchange?
What debug information would you like me to provide? tcpdump or
something else? Please clarify.

> 'map to guest = bad user' doesn't do what you want ?
Not  quite. Currently I use it as a workaround, but in this case samba
doesn't ask for a password - it just compares with currently logged in
user credentials on Windows workstation and if user is unknown maps it
to  guest. But I need it to ask for a password if user credentials are
not  valid  and to accept empty user (with empty pass) mapping it to a
guest user.

Samba2 had such behavior, but samba3 doesn't.
-- 
Thanks,
Vlad Borisoff



More information about the samba mailing list