I've got a project to delete the duplicates in a large LDAP database, but so far ...
I am just trying to get the schema and I can't see anything:
>> import ldap3
>>> s = ldap3.Server('ldaps://omitted')
>>> s.schema
>>> s2 = ldap3.Server('ldaps://omitted',get_info=ldap3.ALL)
>>> s2.schema
>>> s2.info
>>> s.info
(omitted is the URL as I don't have permission yet from my employer.)
Any idea about this? The server is set up behind security and doesn't require any authentication to connect.
Well, you have to bind your connection first. Try this: