From b0c4751808040afdc15ca801619c43fe192c6a35 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 6 Oct 2009 12:12:21 -0400 Subject: 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. --- server/confdb/confdb.c | 12 ------------ server/confdb/confdb.h | 1 - 2 files changed, 13 deletions(-) (limited to 'server/confdb') diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index b2a941ecb..88bdd65e4 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 3821ffff3..089432729 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; -- cgit