Why does 3.0.24 negotiate "NT LANMAN 1.0"?

Christopher R. Hertel crh at ubiqx.mn.org
Wed Jan 23 21:57:55 GMT 2008


I was looking at a bug report and came across the log excerpt below (which I
generated, so it's fresh).

The problem I notice is that Samba 3.0.24 is returning "NT LANMAN 1.0" as
the selected dialect (verified by looking at the capture).  Checking through
the code I see why we stop listing dialect strings at "Samba" (there's a
break in the code when "Samba" is found) but I'm not yet sure why Samba is
returning "NT LANMAN 1.0".

Chris -)-----


Client:  $ smbclient -V
         Version 3.0.27b-GIT-1ae55fe-test
Server:  # smbd -V
         Version 3.0.24-SerNet-RedHat

[2008/01/23 13:16:01, 3] smbd/process.c:switch_message(914)
  switch message SMBnegprot (pid 6507) conn 0x0
[2008/01/23 13:16:01, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [LANMAN1.0]
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [LM1.2X002]
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [DOS LANMAN2.1]
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [LANMAN2.1]
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [Samba]
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_nt1(357)
  using SPNEGO
[2008/01/23 13:16:01, 3] smbd/negprot.c:reply_negprot(580)
  Selected protocol NT LANMAN 1.0

-- 
"Implementing CIFS - the Common Internet FileSystem"    ISBN: 013047116X
Samba Team -- http://www.samba.org/    -)-----     Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/  -)-----  ubiqx development, uninq
ubiqx Team -- http://www.ubiqx.org/    -)-----          crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/   -)-----             crh at ubiqx.org


More information about the samba-technical mailing list