]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:winbindd: make use of reset_cm_connection_on_error() in winbind_samlogon_retry_loop()
authorStefan Metzmacher <metze@samba.org>
Tue, 4 Jul 2023 11:01:24 +0000 (13:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Jul 2023 12:17:38 +0000 (12:17 +0000)
commitb317b10dffd99d1add3ff0b85b958edd9639abc8
treeea9f8980337628df3d758e6b11a344904c6a5a3c
parent0cb6de4b1d5410f3699172952be81c6eb75c2c86
s3:winbindd: make use of reset_cm_connection_on_error() in winbind_samlogon_retry_loop()

Note this is more than a simple invalidate_cm_connection() as it may set
domain->conn.netlogon_force_reauth = true, which is important in order
to recover from NT_STATUS_RPC_SEC_PKG_ERROR errors.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15413

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd_pam.c