Re: LDAP Backend for django.contrib.auth

2008-09-13 Thread jd.strickler


> I know this probably isn't exactly what you are proposing, but have you
> looked at the LDAPBackend in ticket #2507[0]? We use it in production,
> and it works marvelously. After skimming your design spec, it seems like
> the one in ticket #2507 would fit your bill just fine. #2507 doesn't
> inherit from ModelBackend-- it still uses the User model and stores it
> in the contrib.auth table. A drawback is that when a change is made in
> LDAP, it isn't reflected on the Django side of things until that user
> logs in through the website after the update has been made.
>
> There are several other Django+ldap solutions out there, and the Django
> devs usually don't want to put features in that the community can or
> does already provide. I imagine that if a solution emerges as an obvious
> choice in the Django community, that it may get put into Django. From
> what I've seen, ldap support has a low chance of getting into trunk in
> the near future, but I wouldn't be surprised if it did make it in at
> some point.
>
> Hopefully this is helpful and reflects the thinking behind the inclusion
> of this feature.
>
> Let me know if you end up using the one from #2507!
>
> Jeff Anderson
>
> [0]http://code.djangoproject.com/ticket/2507

I hadn't seen #2507 in my first two passes (searching "ldap" on
code.djangoproject.com brings up translations of authentication.txt
before #2507, so I never looked past the first page of results).

My needs are dead simple, so I'd rather just use it and move on.  The
only reason I posted something new in the first place was because I
didn't realize other people were already working on the problem.

Sorry for the unnecessary traffic!

Joe Strickler
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



LDAP Backend for django.contrib.auth

2008-09-12 Thread jd.strickler

First time idea submission for anything, ever.  So if this sucks,
please be kind.  Let me know if you think this is worth the work:

http://www.amherst.k12.oh.us/django-ldap.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---