Complete !1
- Force python-ldap >= 3 to get proper bytes/string management. - Replace common['name'] with common['first_name'] because the name is already broken by get_names. Actually, allauth breaks down common['name'] in 'first_name + last_name'. - Decrease timeout of LDAP requests to 5s. - Fix get_names in case the LDAP returned a string without any space character. - Fix get_names in case the LDAP doesn't return any cn, which was failing with Py3. - Add tests about populating user data from LDAP.
This commit is contained in:
parent
fdafd407d4
commit
ce1e7d1099
4 changed files with 144 additions and 37 deletions
2
setup.py
2
setup.py
|
@ -47,6 +47,6 @@ setup(
|
|||
'django-allauth',
|
||||
'django-allauth-cas>=1.0.0b2,<1.1',
|
||||
'django-widget-tweaks',
|
||||
'python-ldap',
|
||||
'python-ldap>=3.0',
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue