bdehn@oreillyauto.com
2005-Oct-06 22:31 UTC
[Samba] Winbind problem - 3.0.20a and NT4 domain
All - We are using 3.0.20a on SLES 9 and are trying to configure a member server for our NT4 domain. The wbinfo commands (-u and -g) show correct information. The getent commands (passwd and group) work fine also. If Samba is running without winbind, I can see the shares in the config file (net view \\xxxxxxxx) from a PC. With winbind running I get an error message about the computer name being in an invalid format. Below is a portion of the log.winbind during the "net view \\xxxxxxx": [2005/10/06 17:08:41, 3] smbd/oplock.c:init_oplocks(1380) open_oplock_ipc: opening loopback UDP socket. [2005/10/06 17:08:41, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(309) Linux kernel oplocks enabled [2005/10/06 17:08:41, 3] smbd/oplock.c:init_oplocks(1411) open_oplock ipc: pid = 30366, global_oplock_port = 32788 [2005/10/06 17:08:41, 3] smbd/process.c:process_smb(1114) Transaction 0 of length 137 [2005/10/06 17:08:41, 3] smbd/process.c:switch_message(900) switch message SMBnegprot (pid 30366) conn 0x0 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 3] smbd/negprot.c:reply_negprot(466) Requested protocol [PC NETWORK PROGRAM 1.0] [2005/10/06 17:08:41, 3] smbd/negprot.c:reply_negprot(466) Requested protocol [LANMAN1.0] [2005/10/06 17:08:41, 3] smbd/negprot.c:reply_negprot(466) Requested protocol [Windows for Workgroups 3.1a] [2005/10/06 17:08:41, 3] smbd/negprot.c:reply_negprot(466) Requested protocol [LM1.2X002] [2005/10/06 17:08:41, 3] smbd/negprot.c:reply_negprot(466) Requested protocol [LANMAN2.1] [2005/10/06 17:08:41, 3] smbd/negprot.c:reply_negprot(466) Requested protocol [NT LM 0.12] [2005/10/06 17:08:41, 3] smbd/negprot.c:reply_nt1(337) using SPNEGO [2005/10/06 17:08:41, 3] smbd/negprot.c:reply_negprot(559) Selected protocol NT LM 0.12 [2005/10/06 17:08:41, 3] smbd/process.c:process_smb(1114) Transaction 1 of length 240 [2005/10/06 17:08:41, 3] smbd/process.c:switch_message(900) switch message SMBsesssetupX (pid 30366) conn 0x0 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X(751) wct=12 flg2=0xc807 [2005/10/06 17:08:41, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(588) Doing spnego session setup [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(619) NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_spnego_negotiate(480) Got OID 1 3 6 1 4 1 311 2 2 10 [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_spnego_negotiate(483) Got secblob of size 40 [2005/10/06 17:08:41, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0xe2088297 [2005/10/06 17:08:41, 3] smbd/process.c:process_smb(1114) Transaction 2 of length 356 [2005/10/06 17:08:41, 3] smbd/process.c:switch_message(900) switch message SMBsesssetupX (pid 30366) conn 0x0 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X(751) wct=12 flg2=0xc807 [2005/10/06 17:08:41, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(588) Doing spnego session setup [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(619) NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2005/10/06 17:08:41, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(606) Got user=[bdehn] domain=[OREILLY] workstation=[IS101180] len1=24 len2=24 [2005/10/06 17:08:41, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user [OREILLY]\[bdehn]@[IS101180] with the new password interface [2005/10/06 17:08:41, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: [OREILLY]\[bdehn]@[IS101180] [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2005/10/06 17:08:41, 3] smbd/uid.c:push_conn_ctx(388) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 2] auth/auth.c:check_ntlm_password(317) check_ntlm_password: Authentication for user [bdehn] -> [bdehn] FAILED with error NT_STATUS_INVALID_COMPUTER_NAME [2005/10/06 17:08:41, 3] smbd/process.c:process_smb(1114) Transaction 3 of length 240 [2005/10/06 17:08:41, 3] smbd/process.c:switch_message(900) switch message SMBsesssetupX (pid 30366) conn 0x0 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X(751) wct=12 flg2=0xc807 [2005/10/06 17:08:41, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(588) Doing spnego session setup [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(619) NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_spnego_negotiate(480) Got OID 1 3 6 1 4 1 311 2 2 10 [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_spnego_negotiate(483) Got secblob of size 40 [2005/10/06 17:08:41, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0xe2088297 [2005/10/06 17:08:41, 3] smbd/process.c:process_smb(1114) Transaction 4 of length 356 [2005/10/06 17:08:41, 3] smbd/process.c:switch_message(900) switch message SMBsesssetupX (pid 30366) conn 0x0 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X(751) wct=12 flg2=0xc807 [2005/10/06 17:08:41, 2] smbd/sesssetup.c:setup_new_vc_session(704) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(588) Doing spnego session setup [2005/10/06 17:08:41, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(619) NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] [2005/10/06 17:08:41, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(606) Got user=[bdehn] domain=[OREILLY] workstation=[IS101180] len1=24 len2=24 [2005/10/06 17:08:41, 3] auth/auth.c:check_ntlm_password(219) check_ntlm_password: Checking password for unmapped user [OREILLY]\[bdehn]@[IS101180] with the new password interface [2005/10/06 17:08:41, 3] auth/auth.c:check_ntlm_password(222) check_ntlm_password: mapped user is: [OREILLY]\[bdehn]@[IS101180] [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2005/10/06 17:08:41, 3] smbd/uid.c:push_conn_ctx(388) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 2] auth/auth.c:check_ntlm_password(317) check_ntlm_password: Authentication for user [bdehn] -> [bdehn] FAILED with error NT_STATUS_INVALID_COMPUTER_NAME [2005/10/06 17:08:41, 3] smbd/process.c:timeout_processing(1366) timeout_processing: End of file from client (client has disconnected). [2005/10/06 17:08:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/10/06 17:08:41, 2] smbd/server.c:exit_server(612) Closing connections [2005/10/06 17:08:41, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2005/10/06 17:08:41, 3] smbd/server.c:exit_server(656) Server exit (normal exit) Any help would be greatly appreciated!!!! Bob Dehn
Gerald (Jerry) Carter
2005-Oct-13 13:48 UTC
[Samba] Winbind problem - 3.0.20a and NT4 domain
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 bdehn@oreillyauto.com wrote: | We are using 3.0.20a on SLES 9 and are trying to configure | a member server for our NT4 domain. The wbinfo commands | (-u and -g) show correct information. The getent | commands (passwd and group) work fine also. If Samba is | running without winbind, I can see the shares in the | config file (net view \\xxxxxxxx) from a PC. With winbind | running I get an error message about the computer name | being in an invalid format. Below is a portion of | the log.winbind during the "net view \\xxxxxxx": | ... | check_ntlm_password: Authentication for user [bdehn] | -> [bdehn] FAILED with error NT_STATUS_INVALID_COMPUTER_NAME | | Any help would be greatly appreciated!!!! That error is being returned from the DC as far as I can tell. The error log you posted from from smbd. Have you looked at log.winbindd? cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "There's an anonymous coward in all of us." --anonymous -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDTmXbIR7qMdg1EfYRAm3MAKC0/LlKfcDjeXv49+tGqeUYw9QWRACcDay5 grOtQ/a7orpUFXaovEH8rCU=6Vpr -----END PGP SIGNATURE-----
Reasonably Related Threads
- Problem: samba refuse my user with error message : NT_STATUS_NO_ SUCH_USER
- Samba is slow and crash when i transfert one file
- First write fails subsequent succeeds
- Windows 7 only connects if joined to the domain
- Cannot map guest shares in 'security = SERVER' mode on samba-3.0.9