From 942760ea6de2950b2cdf4e218854d4729dcedcf9 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 28 Sep 2015 15:43:17 -0400 Subject: [PATCH] Use the lower-case version of the CN Because CamelCase names don't work well when people are logging in with lower case names. Signed-off-by: Dan Scott --- tools/patron-load/ldap_osrf_sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patron-load/ldap_osrf_sync b/tools/patron-load/ldap_osrf_sync index 3796c2834d..260be8044b 100755 --- a/tools/patron-load/ldap_osrf_sync +++ b/tools/patron-load/ldap_osrf_sync @@ -83,7 +83,7 @@ class User: self.cname = raw_cn self.ldap_atts = raw_atts - self.cn = self._simple_map('cn') + self.cn = self._simple_map('cn').lower() self.lang_pref = self._simple_map('preferredLanguage') if 'mail' not in self.ldap_atts: -- 2.11.0