diff options
author | Sumit Bose <sbose@redhat.com> | 2013-10-29 17:06:16 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-29 17:42:53 +0100 |
commit | f52be2a69821d418ee2d3d7d820e017f8d045b51 (patch) | |
tree | 456dad36268226dedb3260eeb7de968a379da378 | |
parent | 5e57b8aadebb0f83450829c8178d897227bfe99a (diff) | |
download | sssd-f52be2a69821d418ee2d3d7d820e017f8d045b51.tar.gz sssd-f52be2a69821d418ee2d3d7d820e017f8d045b51.tar.xz sssd-f52be2a69821d418ee2d3d7d820e017f8d045b51.zip |
ad_subdom_store: check ID mapping of the domain not of the parent
-rw-r--r-- | src/providers/ad/ad_subdomains.c | 4 |
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, |