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 0cce151 commit 51a8bd1Copy full SHA for 51a8bd1
Doc/reference/ldap.rst
@@ -972,6 +972,16 @@ and wait for and return with the server's result, or with
972
The *dn* and *attr* arguments are text strings; see :ref:`bytes_mode`.
973
974
975
+.. py:method:: LDAPObject.connect() -> None
976
+
977
+ Opens a connection to the server if one is not established already. If that
978
+ fails, an instance of :py:exc:`ldap.LDAPError` or appropriate subtype is
979
+ 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