summaryrefslogtreecommitdiff
path: root/src/providers/ad
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-06-27 21:49:26 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-28 20:20:59 +0200
commit09d7c105839bfc7447ea0f766413ed86675ca075 (patch)
tree382c007bb5182e17af6243f67fd06e08627aad82 /src/providers/ad
parent20ccfd63a17dc15dd24e6543424d86913d511c4b (diff)
downloadsssd-09d7c105839bfc7447ea0f766413ed86675ca075.tar.gz
sssd-09d7c105839bfc7447ea0f766413ed86675ca075.tar.bz2
sssd-09d7c105839bfc7447ea0f766413ed86675ca075.zip
Save mpg state for subdomains
The information of a subdomain will use magic private groups (mpg) or not will be stored together with other information about the domain in the cache.
Diffstat (limited to 'src/providers/ad')
-rw-r--r--src/providers/ad/ad_subdomains.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ad/ad_subdomains.c b/src/providers/ad/ad_subdomains.c
index 20aaa2d7..724d0736 100644
--- a/src/providers/ad/ad_subdomains.c
+++ b/src/providers/ad/ad_subdomains.c
@@ -220,7 +220,9 @@ ad_subdom_store(struct ad_subdomains_ctx *ctx,
goto done;
}
- ret = sysdb_subdomain_store(domain->sysdb, name, realm, flat, sid_str);
+ /* AD subdomains are currently all mpg */
+ ret = sysdb_subdomain_store(domain->sysdb, name, realm, flat, sid_str,
+ true);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE, ("sysdb_subdomain_store failed.\n"));
goto done;