summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-10-29 17:06:16 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-10-29 17:44:13 +0100
commit20d4e81545102cc0aec8ce24e76ca178d53f9175 (patch)
tree72b2be45d33ea0344ccf60fb39cf0948d8e6bf64 /src
parent8c689528d0dbc0e840406944a10ca07e66f7c812 (diff)
downloadsssd-20d4e81545102cc0aec8ce24e76ca178d53f9175.tar.gz
sssd-20d4e81545102cc0aec8ce24e76ca178d53f9175.tar.xz
sssd-20d4e81545102cc0aec8ce24e76ca178d53f9175.zip
ad_subdom_store: check ID mapping of the domain not of the parent
Diffstat (limited to 'src')
-rw-r--r--src/providers/ad/ad_subdomains.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ad/ad_subdomains.c b/src/providers/ad/ad_subdomains.c
index 8a3a57bd9..9911dfe0f 100644
--- a/src/providers/ad/ad_subdomains.c
+++ b/src/providers/ad/ad_subdomains.c
@@ -159,8 +159,8 @@ ad_subdom_store(struct ad_subdomains_ctx *ctx,
mpg = sdap_idmap_domain_has_algorithmic_mapping(
ctx->sdap_id_ctx->opts->idmap_ctx,
- domain->name,
- domain->domain_id);
+ name,
+ sid_str);
/* AD subdomains are currently all mpg and do not enumerate */
ret = sysdb_subdomain_store(domain->sysdb, name, realm, flat, sid_str,