diff options
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
-rw-r--r-- | source3/winbindd/winbindd_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 68972dd18d..b7b5e6d7ed 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -2986,8 +2986,7 @@ void wcache_invalidate_samlogon(struct winbindd_domain *domain, return; } - sid_copy(&sid, info3->base.domain_sid); - sid_append_rid(&sid, info3->base.rid); + sid_compose(&sid, info3->base.domain_sid, info3->base.rid); /* Clear U/SID cache entry */ fstr_sprintf(key_str, "U/%s", sid_to_fstring(sid_string, &sid)); |