Bug 4164 - user mysteriously fails to login when username is the same as workgroup name
Summary: user mysteriously fails to login when username is the same as workgroup name
Status: RESOLVED LATER
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.23
Hardware: Other Windows XP
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-11 02:32 UTC by Gene Hoffman
Modified: 2006-10-11 04:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gene Hoffman 2006-10-11 02:32:33 UTC
I'm running a standalone server that has two users - user1 and user2. When workgroup name is set to user1 and I try to log in with user1, authentication occurs but then logging looks like:

  check_ntlm_password:  authentication for user [hoffmang] -> [hoffmang] -> [hof
fmang] succeeded
[2006/10/10 23:47:44, 3] passdb/lookup_sid.c:lookup_name(216)
  Could not fetch the domain SID
[2006/10/10 23:47:44, 1] auth/auth_util.c:create_token_from_username(1053)
  lookup_name for hoffmang failed
[2006/10/10 23:47:44, 3] smbd/error.c:error_packet(146)
  error packet at smbd/sesssetup.c(99) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_F
AILURE
[2006/10/10 23:47:44, 3] smbd/process.c:timeout_processing(1359)
  timeout_processing: End of file from client (client has disconnected).
[2006/10/10 23:47:44, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Comment 1 Volker Lendecke 2006-10-11 04:10:29 UTC
This is known and a consequence of the internal name/sid handling changes. Just tested with w2k3, that supports it. So we might get around to fix this later.

Volker