diff options
author | Volker Lendecke <vl@samba.org> | 2011-08-17 12:18:14 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-08-17 12:30:08 +0200 |
commit | 8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f (patch) | |
tree | 1413c297fb202de35eedb1f5a6bef7bce3563d50 /source3/winbindd | |
parent | 102f39ae3e7df26faf81595c8e0120b2e2a45bbd (diff) | |
download | samba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.tar.gz samba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.tar.bz2 samba-8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f.zip |
Replace calls to sid_equal with calls to dom_sid_equal
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/wb_lookupsids.c | 2 | ||||
-rw-r--r-- | source3/winbindd/winbindd_cache.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/wb_lookupsids.c b/source3/winbindd/wb_lookupsids.c index b4b7b9c8cb..e896860e01 100644 --- a/source3/winbindd/wb_lookupsids.c +++ b/source3/winbindd/wb_lookupsids.c @@ -367,7 +367,7 @@ static bool wb_lookupsids_find_dom_idx(struct lsa_DomainInfo *domain, struct lsa_DomainInfo *new_domain; for (i=0; i<list->count; i++) { - if (sid_equal(domain->sid, list->domains[i].sid)) { + if (dom_sid_equal(domain->sid, list->domains[i].sid)) { *idx = i; return true; } diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 58a8e710f6..ec5f9e74ba 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -4571,7 +4571,7 @@ struct winbindd_tdc_domain* wcache_tdc_fetch_list(&dom_list, &num_domains); for (i = 0; i<num_domains; i++) { - if (sid_equal(sid, &(dom_list[i].sid))) { + if (dom_sid_equal(sid, &(dom_list[i].sid))) { DEBUG(10, ("wcache_tdc_fetch_domainbysid: " "Found domain %s for SID %s\n", dom_list[i].domain_name, |