X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fman%2Fman3%2Fldap_open.3;h=293fbbff7ae05564aff0b2cc234c734609ebcab9;hb=0af878ac3f3a7ba36e2f949b8e8cbba2e97582ed;hp=7c19bc9b122c23e307a23db07e817b467a75a5fb;hpb=2a869f5a99f537b246ba8640502e2a86117cb6e8;p=openldap diff --git a/doc/man/man3/ldap_open.3 b/doc/man/man3/ldap_open.3 index 7c19bc9b12..293fbbff7a 100644 --- a/doc/man/man3/ldap_open.3 +++ b/doc/man/man3/ldap_open.3 @@ -1,10 +1,14 @@ -.TH LDAP_OPEN 3 "22 September 1998" "OpenLDAP LDVERSION" +.TH LDAP_OPEN 3 "RELEASEDATE" "OpenLDAP LDVERSION" +.\" $OpenLDAP$ +.\" Copyright 1998-2004 The OpenLDAP Foundation All Rights Reserved. +.\" Copying restrictions apply. See COPYRIGHT/LICENSE. .SH NAME ldap_init, ldap_open \- Initialize the LDAP library and open a connection to an LDAP server +.SH LIBRARY +OpenLDAP LDAP (libldap, -lldap) .SH SYNOPSIS .nf .ft B -#include #include .LP .ft B @@ -66,7 +70,7 @@ for more details. char *ld_matched; int ld_refhoplimit; unsigned long ld_options; - #define LDAP_OPT_REFERRALS 0x00000002 /* set by default */ + #define LDAP_OPT_REFERRALS 0x00000002 /* set by default */ #define LDAP_OPT_RESTART 0x00000004 /* ... other stuff you should not mess with ... */ } LDAP; @@ -81,8 +85,8 @@ but does not open a connection to the LDAP server. The actual connection open will occur when the first operation is attempted. At this time, .B ldap_init() -should only -be used if the LDAP library is compiled with LDAP_REFERRALS defined. +is preferred. +.B ldap_open() will be depreciated in a later release. .SH ERRORS If an error occurs, these routines will return NULL and errno should be set appropriately. @@ -112,7 +116,7 @@ in the LDAP structure. .BR ldap_bind (3), .BR errno (3) .SH ACKNOWLEDGEMENTS -.B OpenLDAP +.B OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). -.B OpenLDAP +.B OpenLDAP is derived from University of Michigan LDAP 3.3 Release.