diff options
author | Volker Lendecke <vl@samba.org> | 2010-01-10 17:39:27 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-01-10 20:56:16 +0100 |
commit | 3ea64e0ad86c35e5f0018ac60571e7a31a968543 (patch) | |
tree | 466ba7bc27e51491a9f64339e988a5468e5bd733 /source3/winbindd/winbindd_cache.c | |
parent | 50b7a3233f1edc184acb0b65870fff1db1226ef4 (diff) | |
download | samba-3ea64e0ad86c35e5f0018ac60571e7a31a968543.tar.gz samba-3ea64e0ad86c35e5f0018ac60571e7a31a968543.tar.bz2 samba-3ea64e0ad86c35e5f0018ac60571e7a31a968543.zip |
s3: Replace most calls to sid_append_rid() by sid_compose()
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)); |