[Samba] Winbind problem - 3.0.20a and NT4 domain

bdehn at oreillyauto.com bdehn at oreillyauto.com
Thu Oct 6 22:31:17 GMT 2005


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



More information about the samba mailing list