Skip to content

Commit 1e93f61

Browse files
author
stroeder
committed
better wording on lazy connect by ldap_initialize(3), added link to OpenLDAP man-page
1 parent 268b9c3 commit 1e93f61

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Doc/ldap.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: ldap.rst,v 1.34 2016/07/24 16:12:55 stroeder Exp $
1+
.. % $Id: ldap.rst,v 1.35 2017/08/16 11:34:47 stroeder Exp $
22
33
********************************************
44
:py:mod:`ldap` LDAP library interface module
@@ -37,11 +37,13 @@ This module defines the following functions:
3737
and return an LDAP object (see :ref:`ldap-objects`) used to perform operations
3838
on that server. Parameter *uri* has to be a valid LDAP URL.
3939

40-
Note that the C wrapper function :py:func:_ldap.initialize() is called which calls
41-
the OpenLDAP funtion ldap_initialize(). Calling this function just initializes
42-
the LDAP connection struct in the C API - nothing else. The first call to
43-
an operation method (bind, search etc.) then really opens the connection.
44-
Before that nothing is sent on the wire.
40+
Note that internally the OpenLDAP funtion
41+
`ldap_initialize(3) <https://www.openldap.org/software/man.cgi?query=ldap_init&sektion=3>`_
42+
is called which just initializes the LDAP connection struct in the C API
43+
- nothing else. Therefore the first call to an operation method (bind,
44+
search etc.) then really opens the connection (lazy connect). Before
45+
that nothing is sent on the wire. The error handling in the calling
46+
application has to correctly handle this behaviour.
4547

4648
The optional arguments are for generating debug log information:
4749
*trace_level* specifies the amount of information being logged,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy