diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-16 11:53:24 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-11-15 20:20:18 +0100 |
commit | 6a31a971a376a992afb838fe60b311360c970267 (patch) | |
tree | 8a715cab753678a69f87a77f5345f4a1f572f6a6 /src/responder | |
parent | 7d056853e4a5fe6daa5743e38d21b4493f4fca27 (diff) | |
download | sssd-6a31a971a376a992afb838fe60b311360c970267.tar.gz sssd-6a31a971a376a992afb838fe60b311360c970267.tar.xz sssd-6a31a971a376a992afb838fe60b311360c970267.zip |
SYSDB: Drop the sysdb_ctx parameter from the sysdb_sudo.c module
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/sudo/sudosrv_get_sudorules.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c index e609677cf..0738233d1 100644 --- a/src/responder/sudo/sudosrv_get_sudorules.c +++ b/src/responder/sudo/sudosrv_get_sudorules.c @@ -355,7 +355,7 @@ errno_t sudosrv_get_rules(struct sudo_cmd_ctx *cmd_ctx) * expired rules for this user and defaults at once we will save one * provider call */ - ret = sysdb_get_sudo_user_info(tmp_ctx, cmd_ctx->domain->sysdb, cmd_ctx->domain, + ret = sysdb_get_sudo_user_info(tmp_ctx, cmd_ctx->domain, cmd_ctx->orig_username, NULL, &groupnames); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, @@ -559,7 +559,7 @@ static errno_t sudosrv_get_sudorules_from_cache(TALLOC_CTX *mem_ctx, switch (cmd_ctx->type) { case SSS_SUDO_USER: debug_name = cmd_ctx->cased_username; - ret = sysdb_get_sudo_user_info(tmp_ctx, cmd_ctx->domain->sysdb, + ret = sysdb_get_sudo_user_info(tmp_ctx, cmd_ctx->domain, cmd_ctx->orig_username, NULL, &groupnames); |