From 518596b1bf8aab2ef1468309c41ee101a2c87bf3 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 30 Nov 2009 21:51:41 -0500 Subject: Fix nested group memberships Search the local db to find the local DN using the original DN as search key. This way we do not have to rely on weak and faulty heuristicts based on DN names. Add a few helper functions in the process and change the way we pass members to sysdb_store_group_send(), instead of passing users and groups list, just add member DNs to the other sysdb attrs. --- server/tests/sysdb-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tests') diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c index 3bf6ddc3..84cf8108 100644 --- a/server/tests/sysdb-tests.c +++ b/server/tests/sysdb-tests.c @@ -479,7 +479,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, NULL, -1); + data->gid, NULL, -1); if (!subreq) { test_return(data, ret); } -- cgit