From: Ralph Boehme Date: Tue, 27 Apr 2021 14:02:32 +0000 (+0200) Subject: winbindd: remove obsolete sequence_number() from winbindd_reconnect.c X-Git-Tag: tevent-0.11.0~947 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27c53355b26cc0dff08d657e1315d52659833d1c;p=thirdparty%2Fsamba.git winbindd: remove obsolete sequence_number() from winbindd_reconnect.c Signed-off-by: Ralph Boehme Reviewed-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_reconnect.c b/source3/winbindd/winbindd_reconnect.c index 56741d4670e..5e3b7ed9046 100644 --- a/source3/winbindd/winbindd_reconnect.c +++ b/source3/winbindd/winbindd_reconnect.c @@ -261,19 +261,6 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain, return result; } -/* find the sequence number for a domain */ -static NTSTATUS sequence_number(struct winbindd_domain *domain, uint32_t *seq) -{ - NTSTATUS result; - - result = msrpc_methods.sequence_number(domain, seq); - - if (reconnect_need_retry(result, domain)) - result = msrpc_methods.sequence_number(domain, seq); - - return result; -} - /* find the lockout policy of a domain */ static NTSTATUS lockout_policy(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, @@ -332,7 +319,7 @@ struct winbindd_methods reconnect_methods = { lookup_usergroups, lookup_useraliases, lookup_groupmem, - sequence_number, + NULL, lockout_policy, password_policy, trusted_domains,