diff options
author | Michal Zidek <mzidek@redhat.com> | 2014-07-15 12:10:34 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-29 14:52:06 +0200 |
commit | ff22e829fd73fc53027d1e6ca005a9ac334086dd (patch) | |
tree | 515972d527cf8fafecb3ec41b5324ee8ee5a34bd /src/responder/nss | |
parent | 5328aaeea84268b6d4e26cd33a2b3e8ea89bc349 (diff) | |
download | sssd-ff22e829fd73fc53027d1e6ca005a9ac334086dd.tar.gz sssd-ff22e829fd73fc53027d1e6ca005a9ac334086dd.tar.xz sssd-ff22e829fd73fc53027d1e6ca005a9ac334086dd.zip |
case_sensitivity = preserving
If case_sensitivity is set to 'preserving', getXXnam
returns name attribute in the same format as
stored in LDAP.
Fixes:
https://fedorahosted.org/sssd/ticket/2367
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/responder/nss')
-rw-r--r-- | src/responder/nss/nsssrv_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c index 75349085d..3e1b470e5 100644 --- a/src/responder/nss/nsssrv_cmd.c +++ b/src/responder/nss/nsssrv_cmd.c @@ -365,7 +365,7 @@ static int fill_pwent(struct sss_packet *packet, packet_initialized = true; } - tmpstr = sss_get_cased_name(tmp_ctx, orig_name, dom->case_sensitive); + tmpstr = sss_get_cased_name(tmp_ctx, orig_name, dom->case_preserve); if (tmpstr == NULL) { DEBUG(SSSDBG_CRIT_FAILURE, "sss_get_cased_name failed, skipping\n"); @@ -2518,7 +2518,7 @@ static int fill_grent(struct sss_packet *packet, } } - tmpstr = sss_get_cased_name(tmp_ctx, orig_name, dom->case_sensitive); + tmpstr = sss_get_cased_name(tmp_ctx, orig_name, dom->case_preserve); if (tmpstr == NULL) { DEBUG(SSSDBG_CRIT_FAILURE, "sss_get_cased_name failed, skipping\n"); |