]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:winbindd: call reset_cm_connection_on_error() in wb_cache_query_user_list()
authorStefan Metzmacher <metze@samba.org>
Tue, 4 Jul 2023 10:32:34 +0000 (12:32 +0200)
committerJule Anger <janger@samba.org>
Thu, 6 Jul 2023 12:31:16 +0000 (12:31 +0000)
commit62507b112e64c0f3bda36c7a31a457c75a8a2ece
treedd8f2de98615120d6f550896efcc819cc1f4ce42
parent426b6ecca6dc57c6d6fe016c24fa5d26818d2b1b
s3:winbindd: call reset_cm_connection_on_error() in wb_cache_query_user_list()

This is mostly for consistency, every remote call should call
reset_cm_connection_on_error(). Note this is more than
a simple invalidate_cm_connection() as it may set
domain->conn.netlogon_force_reauth = true.

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>
(cherry picked from commit cb59fd43bbf758e4bad774cfc19ef87b157052c2)
source3/winbindd/winbindd_cache.c