projects
/
contrib
/
Conifer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe50dfb
)
Use the lower-case version of the CN
author
Dan Scott
<dscott@laurentian.ca>
Mon, 28 Sep 2015 19:43:17 +0000
(15:43 -0400)
committer
Dan Scott
<dscott@laurentian.ca>
Mon, 28 Sep 2015 19:43:17 +0000
(15:43 -0400)
Because CamelCase names don't work well when people are logging in with
lower case names.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_osrf_sync
patch
|
blob
|
history
diff --git
a/tools/patron-load/ldap_osrf_sync
b/tools/patron-load/ldap_osrf_sync
index
3796c28
..
260be80
100755
(executable)
--- 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: