1 .TH CLDAP_OPEN 3 "22 September 1998" "OpenLDAP LDVERSION"
3 cldap_open \- Prepare for Connectionless LDAP Communication
11 LDAP *cldap_open(host, port)
19 routine is called to prepare for connectionless LDAP
22 It allocates an LDAP structure which
23 is passed to future search requests.
27 \fIhost\fP, the nane of the host on which the LDAP server is running, and
28 \fIport\fP, the port number to which to connect. If the default
29 IANA-assigned port of 389 is desired, LDAP_PORT should be specified for
30 \fIport\fP. \fIhost\fP can contain a space-separated list of hosts or
33 returns a pointer to an LDAP structure, which should be
34 passed to subsequent calls to
35 .BR cldap_search_s (3),
36 .BR cldap_setretryinfo (3),
39 Certain fields in the LDAP structure can be set to
40 indicate size limit, time limit, and how aliases are handled during
43 and <ldap.h> for more details.
47 will return NULL and errno will be set appropriately.
50 .BR cldap_search_s (3),
51 .BR cldap_setretryinfo (3),
56 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
58 is derived from University of Michigan LDAP 3.3 Release.