From: Pierangelo Masarati Date: Tue, 27 Jul 2010 01:01:24 +0000 (+0000) Subject: improve previous commit X-Git-Tag: MIGRATION_CVS2GIT~540 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1726d61e0be3e27235e9db5c46f2169c8d5125b;p=openldap improve previous commit --- diff --git a/doc/man/man3/ldap_open.3 b/doc/man/man3/ldap_open.3 index f01487470d..24bdae6d3e 100644 --- a/doc/man/man3/ldap_open.3 +++ b/doc/man/man3/ldap_open.3 @@ -171,7 +171,19 @@ The function may manipulate the URI list; the typical use consists in moving the successful URI to the head of the list, so that subsequent attempts to connect to one of the URIs using the same LDAP handle will try it first. -By default, this function is not defined. +If +.I ld +is null, +.I proc +is set as a global parameter that is inherited by all handlers +within the process that are created after the call to +.BR ldap_set_urllist_proc() . +By default, no +.I LDAP_URLLIST_PROC +is set. +In a multithreaded environment, +.B ldap_set_urllist_proc() +must be called before any concurrent operation using the LDAP handle is started. Note: the first call into the LDAP library also initializes the global options for the library. As such the first call should be single-threaded