diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-02-22 16:41:45 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-23 20:53:46 -0500 |
commit | 278284224aa10805d58c978977e43b1d1126f9b1 (patch) | |
tree | f3f55699f37ef2bb95b006c81e74921f00f57635 /src/responder/sudo/sudosrv_cmd.c | |
parent | b4adc08bcc1cc225133146163989301b607c79b5 (diff) | |
download | sssd-278284224aa10805d58c978977e43b1d1126f9b1.tar.gz sssd-278284224aa10805d58c978977e43b1d1126f9b1.tar.xz sssd-278284224aa10805d58c978977e43b1d1126f9b1.zip |
Honor case_sensitive option in sudo responder
https://fedorahosted.org/sssd/ticket/1205
Diffstat (limited to 'src/responder/sudo/sudosrv_cmd.c')
-rw-r--r-- | src/responder/sudo/sudosrv_cmd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/responder/sudo/sudosrv_cmd.c b/src/responder/sudo/sudosrv_cmd.c index 52023bec3..8920ca282 100644 --- a/src/responder/sudo/sudosrv_cmd.c +++ b/src/responder/sudo/sudosrv_cmd.c @@ -185,6 +185,8 @@ static int sudosrv_cmd_get_sudorules(struct cli_ctx *cli_ctx) goto done; } dctx->cmd_ctx = cmd_ctx; + dctx->orig_username = NULL; + dctx->cased_username = NULL; /* get query */ sss_packet_get_body(cli_ctx->creq->in, &query_body, &query_len); @@ -284,6 +286,8 @@ static int sudosrv_cmd_get_defaults(struct cli_ctx *cli_ctx) goto done; } dctx->cmd_ctx = cmd_ctx; + dctx->orig_username = NULL; + dctx->cased_username = NULL; DEBUG(SSSDBG_FUNC_DATA, ("Requesting cn=defaults\n")); |