winbind: Keep "force_reauth" in invalidate_cm_connection
authorVolker Lendecke <vl@samba.org>
Wed, 28 Feb 2018 15:09:28 +0000 (15:09 +0000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 7 May 2018 07:57:25 +0000 (09:57 +0200)
commitbc655b6616875961b39d6a2871dfe48ee146c7aa
tree6db9d36664b3fdbd53107b8f1ebdc484e7cf3ea5
parent8da9fb5a30ea5c11eb9292fd2a4ac7bc698b4c2e
winbind: Keep "force_reauth" in invalidate_cm_connection

Right now I don't see a way to actually force a re-serverauth
from the client side as long as an entry in netlogon_creds_cli.tdb
exists. cm_connect_netlogon goes through invalidate_cm_connection, and
this wipes our wish to force a reauthenticatoin. Keep this intact until
we actually did reauthenticate.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13332

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 4b7a9d560a51b51ac88f30276c87edc097b00d0b)
source3/winbindd/winbindd_cm.c