diff options
author | Sumit Bose <sbose@redhat.com> | 2012-09-21 18:30:30 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-10-01 21:45:21 +0200 |
commit | 1542b85f13d72329685bdd97aa879c36d11f81be (patch) | |
tree | f8623dd7d926741197ec488d5a5ff047c57e2222 /src/responder/sudo | |
parent | 00516601e579f2ae4a287332966860cb0af152f9 (diff) | |
download | sssd-1542b85f13d72329685bdd97aa879c36d11f81be.tar.gz sssd-1542b85f13d72329685bdd97aa879c36d11f81be.tar.xz sssd-1542b85f13d72329685bdd97aa879c36d11f81be.zip |
Add new option default_domain_suffix
Diffstat (limited to 'src/responder/sudo')
-rw-r--r-- | src/responder/sudo/sudosrv_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/sudo/sudosrv_query.c b/src/responder/sudo/sudosrv_query.c index 7ba80e2a..824f682c 100644 --- a/src/responder/sudo/sudosrv_query.c +++ b/src/responder/sudo/sudosrv_query.c @@ -312,7 +312,8 @@ errno_t sudosrv_parse_query(TALLOC_CTX *mem_ctx, /* parse username */ - ret = sss_parse_name_for_domains(tmp_ctx, rctx->domains, rawname, + ret = sss_parse_name_for_domains(tmp_ctx, rctx->domains, + rctx->default_domain, rawname, &domainname, &username); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, ("Invalid name received [%s]\n", rawname)); |