winbind: Keep "force_reauth" in invalidate_cm_connection
authorVolker Lendecke <vl@samba.org>
Wed, 28 Feb 2018 15:09:28 +0000 (15:09 +0000)
committerRalph Boehme <slow@samba.org>
Thu, 15 Mar 2018 14:46:09 +0000 (15:46 +0100)
commit4b7a9d560a51b51ac88f30276c87edc097b00d0b
tree0c27775b17377e23e01d73ef3967bc3e8d47644c
parent0af88b98e7e1bba14827305257e77b63dc82d902
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>
source3/winbindd/winbindd_cm.c