diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-11-30 21:51:41 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-07 10:18:53 -0500 |
commit | 518596b1bf8aab2ef1468309c41ee101a2c87bf3 (patch) | |
tree | 2710073bb48a4042e8c86e70ee2635b48720b16d /server/tests | |
parent | 545432a63359fbba14a344e6f38279541d0004c2 (diff) | |
download | sssd-518596b1bf8aab2ef1468309c41ee101a2c87bf3.tar.gz sssd-518596b1bf8aab2ef1468309c41ee101a2c87bf3.tar.bz2 sssd-518596b1bf8aab2ef1468309c41ee101a2c87bf3.zip |
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.
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/sysdb-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |