summaryrefslogtreecommitdiff
path: root/server/confdb
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-10-06 12:12:21 -0400
committerSimo Sorce <ssorce@redhat.com>2009-10-09 16:11:26 -0400
commitb0c4751808040afdc15ca801619c43fe192c6a35 (patch)
treef60d85f632d1c43d9ca022448453590dce65f09f /server/confdb
parente2d17ea806d273784b621583dd0490c2f69f237d (diff)
downloadsssd-b0c4751808040afdc15ca801619c43fe192c6a35.tar.gz
sssd-b0c4751808040afdc15ca801619c43fe192c6a35.tar.bz2
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/confdb')
-rw-r--r--server/confdb/confdb.c12
-rw-r--r--server/confdb/confdb.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index b2a941ec..88bdd65e 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -835,18 +835,6 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb,
DEBUG(1, ("No enumeration for [%s]!\n", domain->name));
}
- /* Determine if this is domain uses MPG */
- ret = get_entry_as_bool(res->msgs[0], &domain->mpg, CONFDB_DOMAIN_MPG, 0);
- if(ret != EOK) {
- DEBUG(0, ("Invalid value for %s\n", CONFDB_DOMAIN_MPG));
- goto done;
- }
-
- /* The local provider always uses MPG, so override it */
- if (strcasecmp(domain->provider, "local") == 0) {
- domain->mpg = true;
- }
-
/* Determine if user/group names will be Fully Qualified
* in NSS interfaces */
ret = get_entry_as_bool(res->msgs[0], &domain->fqnames, CONFDB_DOMAIN_FQ, 0);
diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h
index 3821ffff..08943272 100644
--- a/server/confdb/confdb.h
+++ b/server/confdb/confdb.h
@@ -111,7 +111,6 @@ struct sss_domain_info {
int timeout;
bool enumerate;
bool fqnames;
- bool mpg;
uint32_t id_min;
uint32_t id_max;