After Django 1.5 is now released I was wondering if there are already any plans how to handle additional user fields with django-auth-ldap.
The current way to do this by using "AUTH_PROFILE_MODULE" will be not possible in some future:
Deprecated in Django 1.5: With the introduction of custom User models, the use of AUTH_PROFILE_MODULE to define a single profile model is no longer supported. See the Django 1.5 release notes for more information.
Does it already work if we substitute the user model with a custom one and add the new fields to the AUTH_LDAP_USER_ATTR_MAP? e.g.:
AUTH_LDAP_USER_ATTR_MAP = {"first_name": "givenName", "last_name": "sn", "uri": "labeledURI"}
This would be one solution but not really handy if you like to extend a running system. So is the "AUTH_PROFILE_MODULE" still be the way to go in future for extended models?
Thanks for any ideas