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

Sean Whalen whalenster at gmail.com
Mon Oct 3 19:41:13 EDT 2016


Good catch. I'm actually using the userPrincipalName, but did/

On Oct 3, 2016 6:11 PM, "Michael Ströder" <michael at stroeder.com> wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20161003/cd746311/attachment-0001.html>


More information about the python-ldap mailing list