Sorry your right I didn't even include some basic info. Basically I am using django_auth_ldap.backend.LDAPBackend as my first authentication backend and .ModelBackend as my secondary. I have a login page that needs authentication before you can do anything useful in the views by using a decorator on my view methods and redirecting to the login url. The one thing I have noticed about this setup is that on my dev box which is 10.04 Ubuntu its not as slow as the centos 5 machine its running on however they are both slow.
Thanks, Ali Mesdaq Security Researcher Work: +1(408) 321-7779 | Fax: +1 (408) 321-9818 Email: ali.mes...@fireeye.com Next Generation Threat Protection http://www.FireEye.com <http://www.fireeye.com/> On 7/4/12 8:53 AM, "Melvyn Sopacua" <m.r.sopa...@gmail.com> wrote: >On 4-7-2012 1:57, Ali Mesdaq wrote: >> Hey everyone, >> >> I got a situation where I have SUPER slow authentication like approx >>5min >> to authenticate with both LDAP and default authentication mechanisms. > >LDAP authentication for what exactly? Django doesn't come with an >LDAP-based authentication system. > >> So >> my issue is two parts first is why and how is my authentication so slow? > >No clue. Connection timeouts are the like candidate but since you're not >providing a whole of information to go on... > >> Second is now I am having some remote users timeout on their >> authentication which was not happening before but is happening now. > >Again, authenticating against what? >-- >Melvyn Sopacua > > >-- >You received this message because you are subscribed to the Google Groups >"Django users" group. >To post to this group, send email to django-users@googlegroups.com. >To unsubscribe from this group, send email to >django-users+unsubscr...@googlegroups.com. >For more options, visit this group at >http://groups.google.com/group/django-users?hl=en. > ______________________________________________________________________ This email and any attachments thereto may contain private, confidential, and/or privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. ______________________________________________________________________ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.