s3: Make winbind recover from a signing error
authorVolker Lendecke <vl@samba.org>
Thu, 18 Nov 2010 12:28:47 +0000 (13:28 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 5 Mar 2011 13:34:39 +0000 (14:34 +0100)
commit3d0959be5e7422172ad59628fa55d9c0534a441b
tree6aa5346053bd8ef76d0362cb03e2a0e5b5567953
parentcc3a3668a4b9318ad157cf6d8ad81e219b8fc9bf
s3: Make winbind recover from a signing error

When winbind sees a signing error on the smb connection to a DC (for whatever
reason, our bug, network glitch, etc) it should recover properly. The "old"
code in clientgen.c just closed the socket in this case. This is the right
thing to do, this connection is spoiled anyway. The new, async code did not do
this so far, which led to the code in winbindd_cm.c not detect that we need to
reconnect.

Fix bug #7800 (winbind does not recover from smb signing errors).
(cherry picked from commit 49632d414e13ecd2f17362869c5dc1cceb47862b)
source3/libsmb/async_smb.c