"Ramiro Morales" <[EMAIL PROTECTED]> writes: > On 5/30/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: >> >> Has anyone tested out the multi-auth branch yet? I haven't heard >> anything, so either people aren't using it, or it's working well and >> the docs are good enough. Personally, I've been using it with both >> external SQL and LDAP backends for over a month now. No issues, but my >> apps are internal and don't get much traffic.
I've been away a bit, so I haven't had a chance to test it thoroughly yet. I'm interested in writing a configurable LDAP backend, similar to the LDAP support in the dovecot IMAP server, such that it can be adapted to most environments (compatible with pam_ldap, for example). I say "most" because I realize I don't know enough about LDAP to do something that works for every possible environment. > Last night I put together a PAMBackend that uses pyPAM to authenticate > users against Linux PAM. I've pondered this possibility, too, especially as we already have a working pam_ldap environment. > I understand that by modifiying the relevant /etc/pam.d/<pam service name> > file other auth backends could be used (unix password, ...) I'm afraid that in this case (and probably many others), your django app would need to be running as root. The case I was looking at, using pam_ldap, I believe the django app would need to be running as root to read /etc/ldap_secret. This caused me to abandon the idea of writing a PAM backend. But I can see from your example that there are some environments in which it would work. -- +----------------------------------------------------------------+ | Jason F. McBrayer [EMAIL PROTECTED] | | "If you wish to make Pythocles wealthy, don't give him more | | money; rather, reduce his desires." -- Epicurus | --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---