diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-09-10 12:43:42 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-09-11 17:16:06 -0400 |
commit | ec56fb826b20b080bbfaf09da671d24faf6c5e88 (patch) | |
tree | 198c926b2d4420f7da0fca3d2a28933c350fc805 /server/confdb/confdb.c | |
parent | b187d74a6d6e4e0c1102b510f7fc8340d41ae30a (diff) | |
download | sssd-ec56fb826b20b080bbfaf09da671d24faf6c5e88.tar.gz sssd-ec56fb826b20b080bbfaf09da671d24faf6c5e88.tar.xz sssd-ec56fb826b20b080bbfaf09da671d24faf6c5e88.zip |
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.
Diffstat (limited to 'server/confdb/confdb.c')
-rw-r--r-- | server/confdb/confdb.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c index 8fbae2f7a..a3bb62c87 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)) { |