smbd: Fix async echo handler forking (Bug 10086)
commit11954a44d28bd4dd44397dbaab87098d51530116
authorVolker Lendecke <vl@samba.org>
Wed, 14 Aug 2013 10:46:46 +0000 (14 10:46 +0000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Aug 2013 08:48:07 +0000 (20 10:48 +0200)
tree01f71b6b05f4a114e45c0d5fcf8d160edc336d91
parent6bf3319d5328c4395f14af585a69a93fcfc1cd3a
smbd: Fix async echo handler forking (Bug 10086)

If SMB3 is chosen via an SMB1 negprot, we forked the echo handler because
set_Protocol is called later, after the full protocol negotiation is done.

Signed-off-by: Volker Lendecke <vl@samba.org>
source3/smbd/negprot.c