diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-06 18:27:50 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | a5a4e5b4836fdd693bab6e1c7f9d633d1440447d (patch) | |
tree | a58ee3c7c5d78da5350817d5c02ede740a586f49 /src/responder/pac | |
parent | 2ce00e0d3896bb42db169d1e79553a81ca837a22 (diff) | |
download | sssd-a5a4e5b4836fdd693bab6e1c7f9d633d1440447d.tar.gz sssd-a5a4e5b4836fdd693bab6e1c7f9d633d1440447d.tar.xz sssd-a5a4e5b4836fdd693bab6e1c7f9d633d1440447d.zip |
Add domain to sysdb_search_user_by_uid()
Also remove unused sysdb_search_domuser_by_uid()
Diffstat (limited to 'src/responder/pac')
-rw-r--r-- | src/responder/pac/pacsrv_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/pac/pacsrv_cmd.c b/src/responder/pac/pacsrv_cmd.c index 4d5755d5f..3c053a7c3 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); |