The Samba-Bugzilla – Bug 4164
user mysteriously fails to login when username is the same as workgroup name
Last modified: 2006-10-11 04:10:29 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
[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
[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
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.