diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-07 15:24:40 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | b23539e420b9962ad3bfd8f305b9d5acf47e7efb (patch) | |
tree | 666dad57e8cc8c166eddd4b4ba5b865322fae309 /src/tests | |
parent | a5a4e5b4836fdd693bab6e1c7f9d633d1440447d (diff) | |
download | sssd-b23539e420b9962ad3bfd8f305b9d5acf47e7efb.tar.gz sssd-b23539e420b9962ad3bfd8f305b9d5acf47e7efb.tar.xz sssd-b23539e420b9962ad3bfd8f305b9d5acf47e7efb.zip |
Add domain to sysdb_search_group_by_name()
Also remove unused sysdb_search_domgroup_by_name()
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/sysdb-tests.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c index 5337b4a6f..d97f4799f 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -3693,7 +3693,8 @@ START_TEST(test_odd_characters) /* Retrieve */ ret = sysdb_search_group_by_name(test_ctx, test_ctx->sysdb, - odd_groupname, NULL, &msg); + test_ctx->domain, + odd_groupname, NULL, &msg); fail_unless(ret == EOK, "sysdb_search_group_by_name error [%d][%s]", ret, strerror(ret)); talloc_zfree(msg); @@ -4444,8 +4445,8 @@ START_TEST(test_sysdb_subdomain_group_ops) "name=subdomgroup,cn=groups,cn=test.sub,cn=sysdb"); fail_unless(check_dn != NULL); - ret = sysdb_search_domgroup_by_name(test_ctx, subdomain, "subdomgroup", NULL, - &msg); + ret = sysdb_search_group_by_name(test_ctx, subdomain->sysdb, subdomain, + "subdomgroup", NULL, &msg); fail_unless(ret == EOK, "sysdb_search_domgroup_by_name failed with [%d][%s].", ret, strerror(ret)); fail_unless(ldb_dn_compare(msg->dn, check_dn) == 0, |