summaryrefslogtreecommitdiff
path: root/src/responder
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-06 18:27:50 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commita5a4e5b4836fdd693bab6e1c7f9d633d1440447d (patch)
treea58ee3c7c5d78da5350817d5c02ede740a586f49 /src/responder
parent2ce00e0d3896bb42db169d1e79553a81ca837a22 (diff)
downloadsssd-a5a4e5b4836fdd693bab6e1c7f9d633d1440447d.tar.gz
sssd-a5a4e5b4836fdd693bab6e1c7f9d633d1440447d.tar.bz2
sssd-a5a4e5b4836fdd693bab6e1c7f9d633d1440447d.zip
Add domain to sysdb_search_user_by_uid()
Also remove unused sysdb_search_domuser_by_uid()
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/pac/pacsrv_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/pac/pacsrv_cmd.c b/src/responder/pac/pacsrv_cmd.c
index 4d5755d5..3c053a7c 100644
--- a/src/responder/pac/pacsrv_cmd.c
+++ b/src/responder/pac/pacsrv_cmd.c
@@ -384,7 +384,8 @@ static errno_t save_pac_user(struct pac_req_ctx *pr_ctx)
goto done;
}
- ret = sysdb_search_user_by_uid(tmp_ctx, sysdb, pwd->pw_uid, attrs, &msg);
+ ret = sysdb_search_user_by_uid(tmp_ctx, sysdb, pr_ctx->dom,
+ pwd->pw_uid, attrs, &msg);
if (ret == EOK) {
if (new_and_cached_user_differs(pwd, msg)) {
ret = sysdb_delete_user(sysdb, NULL, pwd->pw_uid);