#2507: [patch] LDAPBackend in django/contrib/auth/backends.py
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: Contrib apps
Version: | Resolution:
Keywords: | Stage: Accepted
Has_patch: 1 | Needs_docs: 1
Needs_tests: 0 | Needs_better_patch: 1
--------------------------------+-------------------------------------------
Comment (by Marc <[EMAIL PROTECTED]>):
Hi Simon,
I'll try to attach my current patch this Monday (I'm out for the weekend),
it currently handles authentication (tested against Active Directory) and
getting user information. I'm working two more issues now, and I have one
question for everybody interested.
* Map arbitrary LDAP attributes to user.get_profile() fields.
* Get group membership information (creating groups if needed)
The problem with getting group membership is that django does not support
inheritance (a group being member of a group), while LDAP does. How would
you handle this? Only get the first level memberships or get all the
memberships and flatten them making the user be member of all the
inherited groups directly?
Again, I'll try to upload the authentication part which "should word" at
least with A.D. so you can put more comments this Monday and I'll work on
those two issues during the week.
--
Ticket URL: <http://code.djangoproject.com/ticket/2507#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---