David van Geyn
2003-Jun-09 00:58 UTC
[Samba] Samba 3.0.0beta1, NT4 Joining a Domain Problems
Hi, I'm trying to test Samba 3.0.0 beta 1, and so far, one problem I have spent the last couple hours trying to solve, is a problem I am having joining the domain with an NT4 workstation. The samba server is a PDC, and when I try to join the workstation to the samba controlled domain using the root account (which worked on Samba 2.2.8 just fine), I get a message on the NT workstation that it was not able to contact the domain controller - check the username and password. The NT workstation's name is CMBN-B03, and CMBN-B03$ is in my unix password file just as I did with Samba 2.2.8. If I fire up 2.2.8 instead of 3.0.0, it can join the domain fine. I have attached a log of level = 4 to this e-mail, but it doesn't seem to yield much information. It gives the code NT_STATUS_UNSUCCESSFUL - Maybe i'm missing something simple, but I've spent the last couple hours trying to figure this out. Any help would be appreciated! Regards, -David van Geyn -remove NOSPAM from e-mail to reply -------------- next part -------------- [2003/06/08 20:49:35, 3] smbd/process.c:process_smb(882) Transaction 1 of length 174 [2003/06/08 20:49:35, 3] smbd/process.c:switch_message(676) switch message SMBnegprot (pid 93994) [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [XENIX CORE] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LANMAN1.0] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [Windows for Workgroups 3.1a] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LM1.2X002] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LANMAN2.1] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [NT LM 0.12] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_nt1(307) not using SPNEGO [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(516) Selected protocol NT LM 0.12 [2003/06/08 20:49:35, 3] smbd/process.c:process_smb(882) Transaction 2 of length 270 [2003/06/08 20:49:35, 3] smbd/process.c:switch_message(676) switch message SMBsesssetupX (pid 93994) [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(547) wct=13 flg2=0x8003 [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(654) Domain=[CMBN-B03] NativeOS=[Windows NT 1381] NativeLanMan=[] [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(665) sesssetupX:name=[CMBN-B03]\[administrator]@[cmbn-b03] [2003/06/08 20:49:35, 4] lib/username.c:map_username(132) Scanning username map /usr/local/samba3/lib/users.map [2003/06/08 20:49:35, 3] lib/username.c:map_username(173) Mapped user administrator to root [2003/06/08 20:49:35, 3] auth/auth.c:check_ntlm_password(216) check_ntlm_password: Checking password for unmapped user [CMBN-B03]\[administrator]@[cmbn-b03] with the new password interface [2003/06/08 20:49:35, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: mapped user is: [CMBN-B03]\[root]@[cmbn-b03] [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2003/06/08 20:49:35, 3] smbd/uid.c:push_conn_ctx(287) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 4] auth/auth_sam.c:sam_password_ok(217) sam_password_ok: Checking NT MD4 password [2003/06/08 20:49:35, 4] auth/auth_sam.c:sam_account_ok(323) sam_account_ok: Checking SMB password for user root [2003/06/08 20:49:35, 0] auth/auth_sam.c:check_sam_security(458) check_sam_security: make_server_info_sam() failed with 'NT_STATUS_UNSUCCESSFUL' [2003/06/08 20:49:35, 2] auth/auth.c:check_ntlm_password(295) check_ntlm_password: Authentication for user [administrator] -> [root] FAILED with error NT_STATUS_UNSUCCESSFUL [2003/06/08 20:49:35, 3] smbd/error.c:error_packet(94) error string = Invalid argument [2003/06/08 20:49:35, 3] smbd/error.c:error_packet(113) error packet at smbd/sesssetup.c(749) cmd=115 (SMBsesssetupX) NT_STATUS_UNSUCCESSFUL [2003/06/08 20:49:35, 3] smbd/process.c:timeout_processing(1095) end of file from client [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/08 20:49:35, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2003/06/08 20:49:35, 3] smbd/server.c:exit_server(601) Server exit (normal exit) [2003/06/08 20:49:35, 3] smbd/process.c:process_smb(882) Transaction 1 of length 174 [2003/06/08 20:49:35, 3] smbd/process.c:switch_message(676) switch message SMBnegprot (pid 93995) [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [XENIX CORE] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LANMAN1.0] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [Windows for Workgroups 3.1a] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LM1.2X002] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LANMAN2.1] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [NT LM 0.12] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_nt1(307) not using SPNEGO [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(516) Selected protocol NT LM 0.12 [2003/06/08 20:49:35, 3] smbd/process.c:process_smb(882) Transaction 2 of length 270 [2003/06/08 20:49:35, 3] smbd/process.c:switch_message(676) switch message SMBsesssetupX (pid 93995) [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(547) wct=13 flg2=0x8003 [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(654) Domain=[CMBN-B03] NativeOS=[Windows NT 1381] NativeLanMan=[] [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(665) sesssetupX:name=[CMBN-B03]\[administrator]@[cmbn-b03] [2003/06/08 20:49:35, 4] lib/username.c:map_username(132) Scanning username map /usr/local/samba3/lib/users.map [2003/06/08 20:49:35, 3] lib/username.c:map_username(173) Mapped user administrator to root [2003/06/08 20:49:35, 3] auth/auth.c:check_ntlm_password(216) check_ntlm_password: Checking password for unmapped user [CMBN-B03]\[administrator]@[cmbn-b03] with the new password interface [2003/06/08 20:49:35, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: mapped user is: [CMBN-B03]\[root]@[cmbn-b03] [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2003/06/08 20:49:35, 3] smbd/uid.c:push_conn_ctx(287) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 4] auth/auth_sam.c:sam_password_ok(217) sam_password_ok: Checking NT MD4 password [2003/06/08 20:49:35, 4] auth/auth_sam.c:sam_account_ok(323) sam_account_ok: Checking SMB password for user root [2003/06/08 20:49:35, 0] auth/auth_sam.c:check_sam_security(458) check_sam_security: make_server_info_sam() failed with 'NT_STATUS_UNSUCCESSFUL' [2003/06/08 20:49:35, 2] auth/auth.c:check_ntlm_password(295) check_ntlm_password: Authentication for user [administrator] -> [root] FAILED with error NT_STATUS_UNSUCCESSFUL [2003/06/08 20:49:35, 3] smbd/error.c:error_packet(94) error string = Invalid argument [2003/06/08 20:49:35, 3] smbd/error.c:error_packet(113) error packet at smbd/sesssetup.c(749) cmd=115 (SMBsesssetupX) NT_STATUS_UNSUCCESSFUL [2003/06/08 20:49:35, 3] smbd/process.c:timeout_processing(1095) end of file from client [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/08 20:49:35, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2003/06/08 20:49:35, 3] smbd/server.c:exit_server(601) Server exit (normal exit) [2003/06/08 20:49:35, 3] smbd/process.c:process_smb(882) Transaction 1 of length 174 [2003/06/08 20:49:35, 3] smbd/process.c:switch_message(676) switch message SMBnegprot (pid 93996) [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [XENIX CORE] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LANMAN1.0] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [Windows for Workgroups 3.1a] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LM1.2X002] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [LANMAN2.1] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(439) Requested protocol [NT LM 0.12] [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_nt1(307) not using SPNEGO [2003/06/08 20:49:35, 3] smbd/negprot.c:reply_negprot(516) Selected protocol NT LM 0.12 [2003/06/08 20:49:35, 3] smbd/process.c:process_smb(882) Transaction 2 of length 260 [2003/06/08 20:49:35, 3] smbd/process.c:switch_message(676) switch message SMBsesssetupX (pid 93996) [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(547) wct=13 flg2=0x8003 [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(654) Domain=[ENGINEERING] NativeOS=[Windows NT 1381] NativeLanMan=[] [2003/06/08 20:49:35, 3] smbd/sesssetup.c:reply_sesssetup_and_X(665) sesssetupX:name=[ENGINEERING]\[root]@[cmbn-b03] [2003/06/08 20:49:35, 4] lib/username.c:map_username(132) Scanning username map /usr/local/samba3/lib/users.map [2003/06/08 20:49:35, 3] auth/auth.c:check_ntlm_password(216) check_ntlm_password: Checking password for unmapped user [ENGINEERING]\[root]@[cmbn-b03] with the new password interface [2003/06/08 20:49:35, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: mapped user is: [ENGINEERING]\[root]@[cmbn-b03] [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2003/06/08 20:49:35, 3] smbd/uid.c:push_conn_ctx(287) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 4] auth/auth_sam.c:sam_password_ok(217) sam_password_ok: Checking NT MD4 password [2003/06/08 20:49:35, 4] auth/auth_sam.c:sam_account_ok(323) sam_account_ok: Checking SMB password for user root [2003/06/08 20:49:35, 0] auth/auth_sam.c:check_sam_security(458) check_sam_security: make_server_info_sam() failed with 'NT_STATUS_UNSUCCESSFUL' [2003/06/08 20:49:35, 2] auth/auth.c:check_ntlm_password(295) check_ntlm_password: Authentication for user [root] -> [root] FAILED with error NT_STATUS_UNSUCCESSFUL [2003/06/08 20:49:35, 3] smbd/error.c:error_packet(94) error string = Invalid argument [2003/06/08 20:49:35, 3] smbd/error.c:error_packet(113) error packet at smbd/sesssetup.c(749) cmd=115 (SMBsesssetupX) NT_STATUS_UNSUCCESSFUL [2003/06/08 20:49:35, 3] smbd/process.c:timeout_processing(1095) end of file from client [2003/06/08 20:49:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/06/08 20:49:35, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/08 20:49:35, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2003/06/08 20:49:35, 3] smbd/server.c:exit_server(601) Server exit (normal exit)