Lucterios2 / django_auth_ldap3_ad

Simple LDAP/AD auth module for django
https://pypi.python.org/pypi/django-auth-ldap3-ad
GNU General Public License v3.0
45 stars 25 forks source link

Attributes saving as 1 character in DB #16

Closed cdobbyn closed 7 years ago

cdobbyn commented 7 years ago

When Django saves the user in the DB for all attributes it is chopping all but the first character. This ultimately causes authentication to fail and when trying to login again it tries to create another user and runs into a unique constraint error.

I'm currently using Django 1.11 and Python 2.7.

I will try with some previous versions of Django to see if I get the same results. I'll also dig around/debug and see if I can find anything that pops out at me.

cdobbyn commented 7 years ago

See Pull request #17