I'm trying to implement django-ldap-auth in my project and everything seems to work just fine. The problem is, that package doesn't support user profile
field population for Django versions newer than 1.7.
From docs:
Note Django 1.7 and later do not directly support user profiles. In these versions, LDAPBackend will ignore the profile-related settings.
I've added this to my settings.py
but nothing happens(as expected):
AUTH_LDAP_PROFILE_ATTR_MAP = {"description": "description"}
My question is: How can I enable AUTH_LDAP_PROFILE_ATTR_MAP
in newer django versions?
EDIT: I'm thinking of using custom user model but I'm not sure if that's the best way here..