From ec56fb826b20b080bbfaf09da671d24faf6c5e88 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 10 Sep 2009 12:43:42 -0400 Subject: Complete the removal of "legacy" option. The code was still dependent on it for the ldap driver. Changed the driver code to depend on the schema type. Fix defaults for user and groups trees. ATM if you use the rfc2307bis schema you have to put users and groups in 2 separate trees (what people does by default anyway. If this limitation will turn to be too hard, we will change this later. --- server/confdb/confdb.c | 5 ----- server/confdb/confdb.h | 1 - 2 files changed, 6 deletions(-) (limited to 'server/confdb') diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 8fbae2f7..a3bb62c8 100644 --- a/server/confdb/confdb.c +++ b/server/confdb/confdb.c @@ -797,11 +797,6 @@ static int confdb_get_domain_internal(struct confdb_ctx *cdb, DEBUG(1, ("No enumeration for [%s]!\n", domain->name)); } - /* Determine if this is a legacy domain */ - if (ldb_msg_find_attr_as_bool(res->msgs[0], "legacy", 0)) { - domain->legacy = true; - } - /* Determine if this is domain uses MPG */ if (strcasecmp(domain->provider, "local") == 0 || ldb_msg_find_attr_as_bool(res->msgs[0], CONFDB_MPG, 0)) { diff --git a/server/confdb/confdb.h b/server/confdb/confdb.h index d49040fe..a0da9b4f 100644 --- a/server/confdb/confdb.h +++ b/server/confdb/confdb.h @@ -45,7 +45,6 @@ struct sss_domain_info { int timeout; bool enumerate; bool fqnames; - bool legacy; bool mpg; uint32_t id_min; uint32_t id_max; -- cgit