s3: Make winbind recover from a signing error
authorVolker Lendecke <vl@samba.org>
Wed, 17 Nov 2010 15:56:28 +0000 (08:56 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Jan 2011 16:58:51 +0000 (17:58 +0100)
commit7943955d37a74b207f3cbcfd3bb37645b9ac9465
tree165ef2e121b5c85a1b65aa97b0b0a30b8b8586a1
parentfc80176d53a35c5e0d188c82f3cc301106c87671
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 8c2493ff2e646928035ec7296f4451f09390f6aa)
source3/libsmb/async_smb.c