[python-ldap] Why is Active Directory refusing to support a simple paged results search?

Michael Ströder michael at stroeder.com
Mon Oct 3 18:11:50 EDT 2016

Sean Whalen wrote:
> USERNAME ="ADLookup"
> [..]
> ad.simple_bind(USERNAME,PASSWORD)

Are you sure this is working? It might work with AD (because using the
userPrincipalName value also works).
But to be sure your app bound correctly I'd use the user entry's full bind-DN.

> LDAPError-NOT_SUPPORTED:{'desc':'Not Supported'}|
> Is is possible that the server admins have disabled paged searches, or is
> something wrong with my code?

Maybe yes. Ask your admins.

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3829 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20161004/133e1306/attachment.bin>

More information about the python-ldap mailing list