winbindd: force netlogon reauth for certain errors in reset_cm_connection_on_error()
commit30dd8bc6a345b700447dc2bcb538a1e6a87e6993
authorRalph Boehme <slow@samba.org>
Mon, 12 Mar 2018 12:39:59 +0000 (12 13:39 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 7 May 2018 07:57:25 +0000 (7 09:57 +0200)
treedb518cd5d72197a013554c685976a2f8ad664740
parent5fde0c6ae45fbc4ec33cd3719d924973f02b2768
winbindd: force netlogon reauth for certain errors in reset_cm_connection_on_error()

NT_STATUS_RPC_SEC_PKG_ERROR is returned by the server if the server
doesn't know the server-side netlogon credentials anymore, eg after a
reboot. If this happens we must force a full netlogon reauth.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 2d1f00cc3ad77bed4e810dc910979e6cdf582216)
source3/winbindd/winbindd_dual_srv.c