diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-22 22:22:32 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-11-22 22:30:38 +0100 |
commit | 0a6b684cac1d1f525bff2d58040d572706807c35 (patch) | |
tree | f664a775e0f811c11f1b6504e74d4910143db73e /source3/winbindd | |
parent | 1cdc2d7dd692cfea41c58a50a795e9f1a19b0106 (diff) | |
download | samba-0a6b684cac1d1f525bff2d58040d572706807c35.tar.gz samba-0a6b684cac1d1f525bff2d58040d572706807c35.tar.bz2 samba-0a6b684cac1d1f525bff2d58040d572706807c35.zip |
s3: Use sid_check_is..
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index c0f44dbb1f..44c6f2b80b 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -664,7 +664,7 @@ static struct cache_entry *wcache_fetch_raw(char *kstr) static bool is_my_own_sam_domain(struct winbindd_domain *domain) { if (strequal(domain->name, get_global_sam_name()) && - dom_sid_equal(&domain->sid, get_global_sam_sid())) { + sid_check_is_domain(&domain->sid)) { return true; } @@ -674,7 +674,7 @@ static bool is_my_own_sam_domain(struct winbindd_domain *domain) static bool is_builtin_domain(struct winbindd_domain *domain) { if (strequal(domain->name, "BUILTIN") && - dom_sid_equal(&domain->sid, &global_sid_Builtin)) { + sid_check_is_builtin(&domain->sid)) { return true; } |