]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:winbindd: make use of reset_cm_connection_on_error() for winbindd_lookup_{names...
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)
commit0afed23bcd2b18e811a3d63c45699e85ba3c9835
treed402b30c97e130711fd3c7eda426ed28e6982b30
parent62507b112e64c0f3bda36c7a31a457c75a8a2ece
s3:winbindd: make use of reset_cm_connection_on_error() for winbindd_lookup_{names,sids}()

Note this is more than a simple invalidate_cm_connection() as it may set
domain->conn.netlogon_force_reauth = true.

This is not strictly needed as the callers call
reset_cm_connection_on_error() via reconnect_need_retry().
But it might avoid one roundtrip.

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 4ad5a35a3f67860aa7a1345efcfc92fe40578e31)
source3/winbindd/winbindd_msrpc.c