]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbindd: Name<->SID cache is not sequence number based anymore
authorVolker Lendecke <vl@samba.org>
Tue, 8 Aug 2017 12:24:27 +0000 (14:24 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 24 May 2018 10:50:13 +0000 (12:50 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13369

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd_cache.c

index afc688fd5f9a1b539e48689221001e13f4b7728c..a100ed77f2abeb8d40d929550561e48511a88bc5 100644 (file)
@@ -1851,7 +1851,6 @@ NTSTATUS wb_cache_name_to_sid(struct winbindd_domain *domain,
                }
        }
        /* and save it */
-       refresh_sequence_number(domain);
 
        if (domain->online &&
            (NT_STATUS_IS_OK(status) || NT_STATUS_EQUAL(status, NT_STATUS_NONE_MAPPED))) {
@@ -1990,7 +1989,6 @@ NTSTATUS wb_cache_sid_to_name(struct winbindd_domain *domain,
                }
        }
        /* and save it */
-       refresh_sequence_number(domain);
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }