We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9defd6e commit c866a20Copy full SHA for c866a20
Doc/reference/ldap.rst
@@ -973,6 +973,15 @@ and wait for and return with the server's result, or with
973
The *dn* and *attr* arguments are text strings; see :ref:`bytes_mode`.
974
975
976
+.. py:method:: LDAPObject.connect() -> None
977
+
978
+ Opens a connection to the server if one is not established already. If that
979
+ fails, an instance of :py:exc:`ldap.LDAPError` is raised.
980
981
+ Requires libldap 2.5+ and will fail with :py:exc:`NotImplementedError`
982
+ if that is not met.
983
984
985
.. py:method:: LDAPObject.delete(dn) -> int
986
987
.. py:method:: LDAPObject.delete_s(dn) -> None
0 commit comments