Re: Super slow authentication

2012-07-05 Thread Ali Mesdaq
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.



Re: Super slow authentication

2012-07-04 Thread Melvyn Sopacua
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.



Super slow authentication

2012-07-03 Thread Ali Mesdaq
Hey everyone,

I got a situation where I have SUPER slow authentication like approx 5min
to authenticate with both LDAP and default authentication mechanisms. So
my issue is two parts first is why and how is my authentication so slow?
Second is now I am having some remote users timeout on their
authentication which was not happening before but is happening now. I have
not seen anything in the logs or error messages to help me track down the
cause of this issue. The system is centos 5 and is running apache + wsgi.
The django version is 1.3.

Thanks,
Ali Mesdaq
Security Researcher
Email:  ali.mes...@fireeye.com

Next Generation Threat Protection
http://www.FireEye.com <http://www.fireeye.com/>


__
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.