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/tests/sysdb-tests.c | |
parent | b187d74a6d6e4e0c1102b510f7fc8340d41ae30a (diff) | |
download | sssd-ec56fb826b20b080bbfaf09da671d24faf6c5e88.tar.gz sssd-ec56fb826b20b080bbfaf09da671d24faf6c5e88.tar.bz2 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/tests/sysdb-tests.c')
-rw-r--r-- | server/tests/sysdb-tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c index 5250b088..424393cf 100644 --- a/server/tests/sysdb-tests.c +++ b/server/tests/sysdb-tests.c @@ -105,7 +105,7 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx) talloc_free(test_ctx); return ret; } -/* + val[0] = "TRUE"; ret = confdb_add_param(test_ctx->confdb, true, "config/domains/LOCAL", "magicPrivateGroups", val); @@ -114,7 +114,7 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx) talloc_free(test_ctx); return ret; } -*/ + val[0] = "TRUE"; ret = confdb_add_param(test_ctx->confdb, true, "config/domains/LOCAL", "enumerate", val); @@ -471,7 +471,7 @@ static void test_store_group(struct tevent_req *req) subreq = sysdb_store_group_send(data, data->ev, data->handle, data->ctx->domain, data->groupname, - data->gid, NULL, NULL); + data->gid, NULL, NULL, NULL); if (!subreq) { test_return(data, ret); } |