|
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 $ |
2 | 2 |
|
3 | 3 | ********************************************
|
4 | 4 | :py:mod:`ldap` LDAP library interface module
|
@@ -37,11 +37,13 @@ This module defines the following functions:
|
37 | 37 | and return an LDAP object (see :ref:`ldap-objects`) used to perform operations
|
38 | 38 | on that server. Parameter *uri* has to be a valid LDAP URL.
|
39 | 39 |
|
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. |
45 | 47 |
|
46 | 48 | The optional arguments are for generating debug log information:
|
47 | 49 | *trace_level* specifies the amount of information being logged,
|
|
0 commit comments