]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbindd: remove obsolete sequence_number() from winbindd_reconnect.c
authorRalph Boehme <slow@samba.org>
Tue, 27 Apr 2021 14:02:32 +0000 (16:02 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 29 Apr 2021 15:01:29 +0000 (15:01 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_reconnect.c

index 56741d4670e57b07d01834d331bdbebb02092aca..5e3b7ed904655a434cf6c7b3361147accfed9e48 100644 (file)
@@ -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,