s4-smb: serialise session setup operations
authorAndrew Tridgell <tridge@samba.org>
Sun, 12 Sep 2010 12:24:46 +0000 (22:24 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 15 Sep 2010 05:39:34 +0000 (15:39 +1000)
commit890a33c99bc0a468984c456647311db0a19528aa
tree4ad335f43116bcc0ce4191f2c2a84737249313cb
parentba2c394ed479bb121b7b20ddd724e92d71ac1518
s4-smb: serialise session setup operations

the mixture of async and sync code in gensec makes a EOF on a socket
during a session setup cause a crash. The simplest solution is to
stop processing events on the socket until the session setup is
complete.
source4/smb_server/smb/sesssetup.c
source4/smb_server/smb2/sesssetup.c