Hi, I have samba 3.0a21 running and NT 4.0 WS clients. All workstations were previously in Samba 2.2 domain , so now I upgraded to samba 3.0a22 and just changed domain name (workstation = XXX) and rejoined workstations by changing domain name in every WS.
To look at the log it seems like NT WS sends empty username? *** ldapsam_search_one_user: searching for:[(&(uid=)(objectclass=sambaAccount))] *** check_password: Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER Joining the domain is OK. Also when I log into WS locally and them map some share with my username/pwd it works OK. But logging in with same username fails. Most bizarre thing is that I was testing samba30a21+ldap+pam_ldap+nss_ldap last week in my home and NT 4.0 WS logging worked.. So probably it's not samba fault. But I'm completly out of ideas, anyone can help? P.S. I put level 10 log in the end, hoping that helps.. ==> log.klass13 <== [2003/03/08 15:21:43, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/03/08 15:21:43, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2003/03/08 15:21:43, 3] smbd/uid.c:push_conn_ctx(287) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2003/03/08 15:21:43, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/03/08 15:21:43, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(641) ldapsam_search_one_user: searching for:[(&(uid=)(objectclass=sambaAccount))] [2003/03/08 15:21:43, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/03/08 15:21:43, 3] auth/auth_sam.c:check_sam_security(391) Couldn't find user '' in passdb file. [2003/03/08 15:21:43, 2] auth/auth.c:check_ntlm_password(273) check_password: Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER [2003/03/08 15:21:43, 3] smbd/error.c:error_packet(113) error packet at smbd/sesssetup.c(829) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE [2003/03/08 15:21:43, 3] smbd/process.c:timeout_processing(1073) end of file from client [2003/03/08 15:21:43, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/03/08 15:21:43, 2] smbd/server.c:exit_server(534) Closing connections [2003/03/08 15:21:43, 3] smbd/connection.c:yield_connection(61) Yielding connection to [2003/03/08 15:21:43, 3] smbd/server.c:exit_server(574) Server exit (normal exit) LEVEL 10 LOG: [2003/03/08 15:34:43, 10] lib/util.c:dump_data(1761) [000] 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 .PC NETW ORK PROG [010] 52 41 4D 20 31 2E 30 00 02 58 45 4E 49 58 20 43 RAM 1.0. .XENIX C [020] 4F 52 45 00 02 4D 49 43 52 4F 53 4F 46 54 20 4E ORE..MIC ROSOFT N [030] 45 54 57 4F 52 4B 53 20 31 2E 30 33 00 02 4C 41 ETWORKS 1.03..LA [040] 4E 4D 41 4E 31 2E 30 00 02 57 69 6E 64 6F 77 73 NMAN1.0. .Windows [050] 20 66 6F 72 20 57 6F 72 6B 67 72 6F 75 70 73 20 for Wor kgroups [060] 33 2E 31 61 00 02 4C 4D 31 2E 32 58 30 30 32 00 3.1a..LM 1.2X002. [070] 02 4C 41 4E 4D 41 4E 32 2E 31 00 02 4E 54 20 4C .LANMAN2 .1..NT L [080] 4D 20 30 2E 31 32 00 M 0.12. [2003/03/08 15:34:43, 3] smbd/process.c:switch_message(676) switch message SMBnegprot (pid 5262) [2003/03/08 15:34:43, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/03/08 15:34:43, 5] auth/auth_util.c:debug_nt_user_token(481) NT user token: (NULL) [2003/03/08 15:34:43, 5] auth/auth_util.c:debug_unix_user_token(500) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2003/03/08 15:34:43, 5] smbd/uid.c:change_to_root_user(218) change_to_root_user: now uid=(0,0) gid=(0,0) [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [XENIX CORE] [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [LANMAN1.0] [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [Windows for Workgroups 3.1a] [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [LM1.2X002] [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [LANMAN2.1] [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [NT LM 0.12] [2003/03/08 15:34:43, 6] param/loadparm.c:lp_file_list_changed(2318) lp_file_list_changed() file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sat Mar 8 15:34:20 2003 [2003/03/08 15:34:43, 6] param/loadparm.c:lp_file_list_changed(2318) lp_file_list_changed() file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sat Mar 8 15:34:20 2003 [2003/03/08 15:34:43, 10] smbd/negprot.c:get_challenge(40) get challenge: creating negprot_global_auth_context [2003/03/08 15:34:43, 5] auth/auth.c:make_auth_context_subsystem(406) Making default auth method list for security=user, encrypt passwords = yes [2003/03/08 15:34:43, 5] auth/auth.c:make_auth_context_text_list(340) Attempting to find an auth method to match guest [2003/03/08 15:34:43, 5] auth/auth.c:make_auth_context_text_list(362) Found auth method guest (at pos 0) [2003/03/08 15:34:43, 5] auth/auth.c:make_auth_context_text_list(364) auth method guest has a valid init [2003/03/08 15:34:43, 5] auth/auth.c:make_auth_context_text_list(340) Attempting to find an auth method to match sam [2003/03/08 15:34:43, 5] auth/auth.c:make_auth_context_text_list(362) Found auth method sam (at pos 3) [2003/03/08 15:34:43, 5] auth/auth.c:make_auth_context_text_list(364) auth method sam has a valid init [2003/03/08 15:34:43, 10] smbd/negprot.c:get_challenge(45) get challenge: getting challenge [2003/03/08 15:34:43, 5] auth/auth.c:get_ntlm_challenge(67) auth_get_challenge: module guest did not want to specify a challenge [2003/03/08 15:34:43, 5] auth/auth.c:get_ntlm_challenge(67) auth_get_challenge: module sam did not want to specify a challenge [2003/03/08 15:34:43, 5] auth/auth.c:get_ntlm_challenge(106) auth_context challenge created by random [2003/03/08 15:34:43, 5] auth/auth.c:get_ntlm_challenge(107) challenge is: [2003/03/08 15:34:43, 5] lib/util.c:dump_data(1761) [000] 8A A2 0D A8 78 EF FB D9 ....x... [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_nt1(295) not using SPNEGO [2003/03/08 15:34:43, 3] smbd/negprot.c:reply_negprot(504) Selected protocol NT LM 0.12 [2003/03/08 15:34:43, 5] smbd/negprot.c:reply_negprot(510) negprot index=7 [2003/03/08 15:34:43, 5] lib/util.c:show_msg(455) [2003/03/08 15:34:43, 5] lib/util.c:show_msg(465)