]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbindd: remove obsolete sequence_number() from winbindd_reconnect_ads.c
authorRalph Boehme <slow@samba.org>
Tue, 27 Apr 2021 14:01:45 +0000 (16:01 +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_ads.c

index 976888ad90c3ad2b1721743343abdfe9f17ffac1..d929d7440c8332447911252b350c1de9b52806cb 100644 (file)
@@ -266,14 +266,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)
-{
-       *seq = time(NULL);
-
-       return NT_STATUS_OK;
-}
-
 /* find the lockout policy of a domain */
 static NTSTATUS lockout_policy(struct winbindd_domain *domain,
                               TALLOC_CTX *mem_ctx,
@@ -334,7 +326,7 @@ struct winbindd_methods reconnect_ads_methods = {
        lookup_usergroups,
        lookup_useraliases,
        lookup_groupmem,
-       sequence_number,
+       NULL,
        lockout_policy,
        password_policy,
        trusted_domains,