diff options
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/proxy/proxy_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c index 26f4d7499..b0c82807b 100644 --- a/src/providers/proxy/proxy_id.c +++ b/src/providers/proxy/proxy_id.c @@ -256,7 +256,7 @@ static int save_user(struct sss_domain_info *domain, } if (lowercase) { - lc_pw_name = sss_tc_utf8_str_tolower(attrs, pwd->pw_name); + lc_pw_name = sss_tc_utf8_str_tolower(attrs, real_name); if (lc_pw_name == NULL) { DEBUG(SSSDBG_OP_FAILURE, "Cannot convert name to lowercase.\n"); ret = ENOMEM; |