Python Win32com.adsi Module Limits Number Of Returned Members From Ad
Using the following code... import win32com.adsi DNC=win32com.adsi.ADsGetObject('LDAP://rootDSE').Get('DefaultNamingContext') path = 'LDAP://cn=BIG_GROUP,ou=Groups,'+DNC groupobj
Solution 1:
AD returns N results at a time from a large attribute (like member), where N is the max range retrieval size. The directory supports something called ranged retrieval where you can fetch groupings of up to 1500 values per fetch. You should use the ranged retrieval control against the directory. I don't know if your LDAP API supports this but the docs should answer.
Here is a bit more in the way of info, from the MSFT docs
Post a Comment for "Python Win32com.adsi Module Limits Number Of Returned Members From Ad"