[python-ldap] Querying Active Directory excessively slower than querying eDirectory

Cornelius Kölbel cornelius.koelbel at lsexperts.de
Tue May 17 14:55:42 CEST 2011

Am 17.05.2011 14:34, schrieb Thorsten Kampe:
> * Michael Ströder (2011-05-17 14:14 +0200)
>> without knowing more details one cannot really comment on this. Just wild
>> guesses:
>> Something related to DNS?
>> Or referral chasing? (MS AD returns referrals)
>> Did you try to turn off automatic referral chasing?
> It's not a connection issue. As I wrote, the data is returned from both
> DAs within the same second (actually 60 milliseconds).
>> Is the time measured only the call to connection.search_s() or does it
>> include connecting to the server?
> It includes connecting but that is less than one second.
>> Which is the search base? The search filter?
> In the Active Directory case it is the root of the domain partition
> (/dc=conto
> so,dc=com) in the eDirectory case it is the root of the tree. But that
> shouldn't matter since the response with the query data comes within
> sixty milliseconds. The filter is the default ((objectClass=*)).
> Thorsten
Hi Thorsten,
I do not know eDirectory that good.
But in Active Directory you will also find the configuration partition
underneath dc=contoso,dc=com, where you might habe no read access!
Maybe this slows some things down?
Do you also get slow results when using another search base like
   ou=myOrga,dc=contoso,dc=com ?

Kind regards
> _______________________________________________
> python-ldap mailing list
> python-ldap at python.org
> http://mail.python.org/mailman/listinfo/python-ldap

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20110517/cd4a14b0/attachment.pgp>

More information about the python-ldap mailing list