From: Ralph Boehme Date: Tue, 27 Apr 2021 14:01:45 +0000 (+0200) Subject: winbindd: remove obsolete sequence_number() from winbindd_reconnect_ads.c X-Git-Tag: tevent-0.11.0~948 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7524e6e7b553fc82f7edb3b59566de5860d4d0e6;p=thirdparty%2Fsamba.git winbindd: remove obsolete sequence_number() from winbindd_reconnect_ads.c Signed-off-by: Ralph Boehme Reviewed-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_reconnect_ads.c b/source3/winbindd/winbindd_reconnect_ads.c index 976888ad90c..d929d7440c8 100644 --- a/source3/winbindd/winbindd_reconnect_ads.c +++ b/source3/winbindd/winbindd_reconnect_ads.c @@ -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,