Consider a LDAP URL ldap:///CN=Services,CN=Configuration,DC=com?testfile;binary
I know /// means my local machine is already communicating with the LDAP server or it has some knowledge about the LDAP server.
Now, How do I connect using ldap3 library using ldap3.Server()
or ldap3.Connection()
objects?
In the documentation of ldap3
, it is mentioned that hostname is not an optional parameter. I am wrong here?