summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-04-04 02:57:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:09 -0500
commit3bdd0e3650abf95dfb4ba133aa9f47f5f1088f8c (patch)
tree19e1faceb230130d8954171856b5e532a5e713ee /source3/nsswitch
parent97e3cb896f284ba5330ad834a821a3a227e9abe4 (diff)
downloadsamba-3bdd0e3650abf95dfb4ba133aa9f47f5f1088f8c.tar.gz
samba-3bdd0e3650abf95dfb4ba133aa9f47f5f1088f8c.tar.bz2
samba-3bdd0e3650abf95dfb4ba133aa9f47f5f1088f8c.zip
r22066: Ensure that winbind can resolve SIDs in the S-1-22-{1,2}
domain to a uid.gid using the idmap_passdb backend. (This used to be commit fc1aeee52d8cb6c8d5d306dbbec18127bd2674bc)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/idmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nsswitch/idmap.c b/source3/nsswitch/idmap.c
index c2a38fa979..104be86777 100644
--- a/source3/nsswitch/idmap.c
+++ b/source3/nsswitch/idmap.c
@@ -689,7 +689,9 @@ static struct idmap_domain* find_idmap_domain_from_sid( DOM_SID *account_sid )
if ( (pdb_dom_num != -1) &&
(sid_check_is_in_builtin(account_sid) ||
- sid_check_is_in_wellknown_domain(account_sid)) )
+ sid_check_is_in_wellknown_domain(account_sid) ||
+ sid_check_is_in_unix_groups(account_sid) ||
+ sid_check_is_in_unix_users(account_sid)) )
{
return idmap_domains[pdb_dom_num];
}