1 .TH CLDAP_OPEN 3 "22 September 1998" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 cldap_open \- Prepare for Connectionless LDAP Communication
13 LDAP *cldap_open(host, port)
21 routine is called to prepare for connectionless LDAP
24 It allocates an LDAP structure which
25 is passed to future search requests.
29 \fIhost\fP, the nane of the host on which the LDAP server is running, and
30 \fIport\fP, the port number to which to connect. If the default
31 IANA-assigned port of 389 is desired, LDAP_PORT should be specified for
32 \fIport\fP. \fIhost\fP can contain a space-separated list of hosts or
35 returns a pointer to an LDAP structure, which should be
36 passed to subsequent calls to
37 .BR cldap_search_s (3),
38 .BR cldap_setretryinfo (3),
41 Certain fields in the LDAP structure can be set to
42 indicate size limit, time limit, and how aliases are handled during
45 and <ldap.h> for more details.
49 will return NULL and errno will be set appropriately.
52 .BR cldap_search_s (3),
53 .BR cldap_setretryinfo (3),
58 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
60 is derived from University of Michigan LDAP 3.3 Release.