[Samba] Mapped username then gets mapped to "Anonymous"

Luke Pittman luke at catch22media.com
Fri Nov 9 18:04:55 GMT 2007


Hi Everyone,

I have setup a Samba share to work on our local network with a username 
map to accommodate Windows XP usernames with spaces, but it seems that 
Samba maps the username correctly but then immediately changes it to an 
Anonymous request.  Am I missing something?  Clip from log file:

--------------------------------------------------------------
[2007/11/09 09:58:49, 3] smbd/sesssetup.c:reply_sesssetup_and_X(995)
  Domain=[OFFICE]  NativeOS=[Windows 2002 Service Pack 2 2600] 
NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2007/11/09 09:58:49, 3] smbd/sesssetup.c:reply_sesssetup_and_X(1010)
  sesssetupX:name=[OFFICE]\[Luke]@[office]
[2007/11/09 09:58:49, 3] smbd/map_username.c:map_username(54)
  Mapped user Luke to lpittman
[2007/11/09 09:58:49, 3] smbd/sesssetup.c:check_guest_password(136)
  Got anonymous request
[2007/11/09 09:58:49, 3] auth/auth.c:check_ntlm_password(221)
  check_ntlm_password:  Checking password for unmapped user []\[]@[] 
with the new password interface
[2007/11/09 09:58:49, 3] auth/auth.c:check_ntlm_password(224)
  check_ntlm_password:  mapped user is: []\[]@[]
--------------------------------------------------------------

My smb.conf file:
--------------------------------------------------------------
[global]
#workgroup = Hewlettpackard
workgroup = C22
server string =
netbios name = Server2
security = share
wins support = no
log level = 1
load printers = no
log file = /var/log/samba/%m.log
log level = 3
username map = /etc/samba/smbusers
os level = 2
time server = yes
encrypt passwords = yes

# log size in Kb
max log size = 500

[Raid0]
public = no
path = /raid0
valid users = cflatman
read only = no
writeable = yes

[Raid1]
public = no
path = /raid1
valid users = cflatman
read only = no
writeable = yes
--------------------------------------------------------------

Any ideas/help/advice/links would be great - I've been searching for 
hours and have not found anything.

Thanks a bunch!

Luke Pittman



More information about the samba mailing list