diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-10-06 12:12:21 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-10-09 16:11:26 -0400 |
commit | b0c4751808040afdc15ca801619c43fe192c6a35 (patch) | |
tree | f60d85f632d1c43d9ca022448453590dce65f09f /server/db/sysdb.c | |
parent | e2d17ea806d273784b621583dd0490c2f69f237d (diff) | |
download | sssd-b0c4751808040afdc15ca801619c43fe192c6a35.tar.gz sssd-b0c4751808040afdc15ca801619c43fe192c6a35.tar.xz sssd-b0c4751808040afdc15ca801619c43fe192c6a35.zip |
Remove magicPrivateGroups option
In sssd only local is a native mpg domain, and it is forced.
All other providers will have to unroll mpg users into a user/group pair of
entries in the db. This allows the provider to automatically establish if
the remote server provides mpg users w/o possibily conflicting manual
configurations on the client trying to force an mpg behavior where none
is provided.
Diffstat (limited to 'server/db/sysdb.c')
-rw-r--r-- | server/db/sysdb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/db/sysdb.c b/server/db/sysdb.c index 87d0de965..7a6d61660 100644 --- a/server/db/sysdb.c +++ b/server/db/sysdb.c @@ -1063,6 +1063,12 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, ctx->ev = ev; ctx->domain = domain; + /* The local provider s the only true MPG, + * for the other domains, the provider actually unrolls MPGs */ + if (strcasecmp(domain->provider, "local") == 0) { + ctx->mpg = true; + } + ret = sysdb_get_db_file(ctx, domain, db_path, &ctx->ldb_file); if (ret != EOK) { return ret; |