MAN page from Mandrake Other ldap-devel-3.3-3.i386.rpm
CLDAP_OPEN
Section: C Library Functions (3)
Updated: 18 November 1994
Index NAME
cldap_open - Prepare for Connectionless LDAP Communication
SYNOPSIS
#include <lber.h>#include <ldap.h>LDAP *cldap_open(host, port)char *host;int port;
DESCRIPTION
Thecldap_open()routine is called to prepare for connectionless LDAPcommunication (overudp(4p)).It allocates an LDAP structure whichis passed to future search requests.
cldap_open()takeshost, the nane of the host on which the LDAP server is running, andport, the port number to which to connect. If the defaultIANA-assigned port of 389 is desired, LDAP_PORT should be specified forport. host can contain a space-separated list of hosts oraddresses to try.cldap_open()returns a pointer to an LDAP structure, which should bepassed to subsequent calls tocldap_search_s(3),cldap_setretryinfo(3),andcldap_close(3).Certain fields in the LDAP structure can be set toindicate size limit, time limit, and how aliases are handled duringoperations. Seeldap_open(3)and <ldap.h> for more details.
ERRORS
If an error occurs,
cldap_open()will return NULL and errno will be set appropriately.
SEE ALSO
ldap(3)
cldap_search_s(3),
cldap_setretryinfo(3),
cldap_close(3),
udp(4p)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- ERRORS
- SEE ALSO
This document was created byman2html,using the manual pages.