summaryrefslogtreecommitdiffstats
path: root/src/responder/nss
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2014-10-01 16:02:31 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-01 17:32:20 +0200
commitf6e008fe677ffcf8781c1d5154544066ea7ca9d4 (patch)
tree6171c2c0a3fc90cb737863001a80042e185e612d /src/responder/nss
parent95ef1bd1c06163492e285fa9d8e2fa81f99d39d2 (diff)
downloadsssd-f6e008fe677ffcf8781c1d5154544066ea7ca9d4.tar.gz
sssd-f6e008fe677ffcf8781c1d5154544066ea7ca9d4.tar.xz
sssd-f6e008fe677ffcf8781c1d5154544066ea7ca9d4.zip
nss: Preserve case of group members
Preserve case of group members in getgrnam when 'case_sensitive = preserving' is set. Fixes: https://fedorahosted.org/sssd/ticket/2453 Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/responder/nss')
-rw-r--r--src/responder/nss/nsssrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 3956e4463..ba752c3ff 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -2461,7 +2461,7 @@ static int fill_members(struct sss_packet *packet,
sss_packet_get_body(packet, &body, &blen);
for (i = 0; i < el->num_values; i++) {
tmpstr = sss_get_cased_name(tmp_ctx, (char *)el->values[i].data,
- dom->case_sensitive);
+ dom->case_preserve);
if (tmpstr == NULL) {
DEBUG(SSSDBG_CRIT_FAILURE,
"sss_get_cased_name failed, skipping\n");