r19250: Fixes bug 4156.
authorDerrell Lipman <derrell@samba.org>
Wed, 11 Oct 2006 19:51:52 +0000 (19:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:25 +0000 (12:15 -0500)
The protocol negotiation string "LANMAN2.1" was not listed in the set of
negotiatiable possibilities, so non-optimal negotiation was taking place.

source/libsmb/cliconnect.c

index 81188b004ffc7a729b3e736f966be8fb04975212..f29449cfb22253f0613e5b2f4f7c51a28112e51f 100644 (file)
@@ -33,6 +33,7 @@ static const struct {
        {PROTOCOL_LANMAN1,"LANMAN1.0"},
        {PROTOCOL_LANMAN2,"LM1.2X002"},
        {PROTOCOL_LANMAN2,"DOS LANMAN2.1"},
+       {PROTOCOL_LANMAN2,"LANMAN2.1"},
        {PROTOCOL_LANMAN2,"Samba"},
        {PROTOCOL_NT1,"NT LANMAN 1.0"},
        {PROTOCOL_NT1,"NT LM 0.12"},