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

Sean Whalen whalenster at gmail.com
Mon Oct 3 19:43:42 EDT 2016


Good catch. I'm actually using the userPrincipalName, but I forgot to add
the domain back on when I sanitized the credentials for the example.

On Oct 3, 2016 7:41 PM, "Sean Whalen" <whalenster at gmail.com> wrote:

> 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/5f5380a1/attachment.html>


More information about the python-ldap mailing list