[Samba] Why is this failing???

Stephen C. Biggs yyyyy50 at st8.us
Thu Aug 29 18:09:00 GMT 2002

Trying to join a SAMBA domain from Win2K SP3.  It fails the password 
check for 'root' as per the log entries below, then it defaults to 
'nobody' which then tries to run 'useradd' to add the windows machine 
name, failing, of course.

I tried this both with lanman auth = yes and no...  encrypt password = 

I can connect to Samba shares just fine from windows using another user 
that isn't privileged on Linux, even if the NT4 MD5 password fails (why?) 
but the Lanman password works for the current user.

I want to join to the Samba domain.  Why isn't this working?

[2002/08/29 19:56:33, 2] smbd/reply.c:reply_sesssetup_and_X(982)
  Defaulting to Lanman password for root
[2002/08/29 19:56:33, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1344)
  pdb_getsampwnam: search by name: root
[2002/08/29 19:56:33, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(435)
  getsmbfilepwent: returning passwd entry for user root, uid 0
[2002/08/29 19:56:33, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(256)
  endsmbfilepwent_internal: closed password file.
[2002/08/29 19:56:33, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1386)
  pdb_getsampwnam: found by name: root
[2002/08/29 19:56:33, 4] smbd/password.c:smb_password_ok(475)
  smb_password_ok: Checking SMB password for user root
[2002/08/29 19:56:33, 5] smbd/password.c:smb_password_ok(489)
  smb_password_ok: challenge received
[2002/08/29 19:56:33, 4] smbd/password.c:smb_password_ok(518)
  smb_password_ok: Checking LM password
[2002/08/29 19:56:33, 4] smbd/password.c:smb_password_ok(523)
  smb_password_ok: LM password check failed
[2002/08/29 19:56:33, 2] smbd/password.c:pass_check_smb(575)
  pass_check_smb failed - invalid password for user [root]

More information about the samba mailing list