From: Dan Scott Date: Mon, 28 Sep 2015 19:43:17 +0000 (-0400) Subject: Use the lower-case version of the CN X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=942760ea6de2950b2cdf4e218854d4729dcedcf9;p=contrib%2FConifer.git 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 --- 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: