Bug 9865 - 10 sec delay of NTLMSSP_CHALLENGE response
Summary: 10 sec delay of NTLMSSP_CHALLENGE response
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: File services (show other bugs)
Version: 3.6.9
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 11:30 UTC by Xiang Liu
Modified: 2013-05-08 09:32 UTC (History)
0 users

See Also:


Attachments
wireshark trace file (31.78 KB, application/octet-stream)
2013-05-07 11:30 UTC, Xiang Liu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xiang Liu 2013-05-07 11:30:36 UTC
Created attachment 8861 [details]
wireshark trace file

We have installed new samba 3.6.9 on our new rhel6 server, and it is very slow some time. Using wireshark, we found out every time the windows client send NTLMSSP_NEGOTIATE, the samba server responses NTLMSSP_CHALLENGE 10 sec later.
Hope anyone can help.
Comment 1 Xiang Liu 2013-05-08 08:03:48 UTC
Here is the level 3 log of the issure:

[2013/05/08 09:55:03.238631,  3] smbd/sesssetup.c:1065(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2013/05/08 09:55:03.238663,  3] smbd/sesssetup.c:1107(reply_sesssetup_and_X_spnego)
  NativeOS=[] NativeLanMan=[] PrimaryDomain=[]
[2013/05/08 09:55:03.238713,  3] smbd/sesssetup.c:660(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 40

[2013/05/08 09:55:08.256655,  3] ../lib/util/util_net.c:70(interpret_string_addr_internal)
  interpret_string_addr_internal: getaddrinfo failed for name VSS [Name or service not known]

[2013/05/08 09:55:08.282949,  3] lib/util_sock.c:1434(get_mydnsfullname)
  get_mydnsfullname: getaddrinfo failed for name VSS [Unknown error]

[2013/05/08 09:55:13.300384,  3] ../lib/util/util_net.c:70(interpret_string_addr_internal)
  interpret_string_addr_internal: getaddrinfo failed for name VSS [Name or service not known]

[2013/05/08 09:55:13.320828,  3] lib/util_sock.c:1434(get_mydnsfullname)
  get_mydnsfullname: getaddrinfo failed for name VSS [Unknown error]

[2013/05/08 09:55:13.320948,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088297

[2013/05/08 09:55:13.322018,  3] smbd/process.c:1662(process_smb)
  Transaction 2 of length 438 (0 toread)
[2013/05/08 09:55:13.322154,  3] smbd/process.c:1467(switch_message)
  switch message SMBsesssetupX (pid 31535) conn 0x0
[2013/05/08 09:55:13.322214,  3] smbd/sesssetup.c:1333(reply_sesssetup_and_X)
  wct=12 flg2=0xc807
[2013/05/08 09:55:13.322257,  2] smbd/sesssetup.c:1279(setup_new_vc_session)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2013/05/08 09:55:13.322296,  3] smbd/sesssetup.c:1065(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
Comment 2 Volker Lendecke 2013-05-08 08:06:50 UTC
looks like you got a hostname resolution problem... Is your DNS responding well, and do you have your own hostname in /etc/hosts?
Comment 3 Xiang Liu 2013-05-08 09:30:22 UTC
I added the server name (which is defined in /etc/sysconfig/network) in /etc/hosts, and it works. This issue is considered solved. Thanks!