diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-06 18:24:12 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | 2ce00e0d3896bb42db169d1e79553a81ca837a22 (patch) | |
tree | 4680fe9905816d67d70169ccc378f41545db8352 /src/tests | |
parent | 5d78919c955c945e78865f322726aac075c71203 (diff) | |
download | sssd-2ce00e0d3896bb42db169d1e79553a81ca837a22.tar.gz sssd-2ce00e0d3896bb42db169d1e79553a81ca837a22.tar.bz2 sssd-2ce00e0d3896bb42db169d1e79553a81ca837a22.zip |
Add domain to sysdb_search_user_by_name()
Also remove unused sysdb_search_domuser_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 c0ea6401..236c41aa 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -3722,7 +3722,8 @@ START_TEST(test_odd_characters) ret, strerror(ret)); /* Retrieve */ - ret = sysdb_search_user_by_name(test_ctx, test_ctx->sysdb, + ret = sysdb_search_user_by_name(test_ctx, + test_ctx->sysdb, test_ctx->domain, odd_username, NULL, &msg); fail_unless(ret == EOK, "sysdb_search_user_by_name error [%d][%s]", ret, strerror(ret)); @@ -4394,8 +4395,8 @@ START_TEST(test_sysdb_subdomain_user_ops) "name=subdomuser,cn=users,cn=test.sub,cn=sysdb"); fail_unless(check_dn != NULL); - ret = sysdb_search_domuser_by_name(test_ctx, subdomain, "subdomuser", NULL, - &msg); + ret = sysdb_search_user_by_name(test_ctx, subdomain->sysdb, subdomain, + "subdomuser", NULL, &msg); fail_unless(ret == EOK, "sysdb_search_domuser_by_name failed with [%d][%s].", ret, strerror(ret)); fail_unless(ldb_dn_compare(msg->dn, check_dn) == 0, |