summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-18 15:20:38 +0100
committerVolker Lendecke <vlendec@samba.org>2010-11-18 15:32:32 +0000
commit92e8fd0513e0b7dd3523c1c5cab066231a38470d (patch)
treed85a3e85b331ee2c3fe256f2e9fa4bc655a78157 /source3/winbindd
parente25ee6af8f783c82af6e5b0f12ec19467deabb8a (diff)
downloadsamba-92e8fd0513e0b7dd3523c1c5cab066231a38470d.tar.gz
samba-92e8fd0513e0b7dd3523c1c5cab066231a38470d.tar.bz2
samba-92e8fd0513e0b7dd3523c1c5cab066231a38470d.zip
s3: Call sid_check_is_domain instead of dom_sid_equal
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 18 15:32:32 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 9363a70a21..c0f44dbb1f 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -120,7 +120,7 @@ static struct winbind_cache *get_cache(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)) {
domain->backend = &sam_passdb_methods;
domain->initialized = True;
}