mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
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
This commit is contained in:
parent
e25ee6af8f
commit
92e8fd0513
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user