version 1.34.2.1, 2005/01/20 18:03:47
|
version 1.34.2.4, 2005/11/03 18:02:55
|
Line 1
|
Line 1
|
.TH LDAP 3 "RELEASEDATE" "OpenLDAP LDVERSION" |
.TH LDAP 3 "RELEASEDATE" "OpenLDAP LDVERSION" |
.\" $OpenLDAP$ |
.\" $OpenLDAP: pkg/ldap/doc/man/man3/ldap.3,v 1.34.2.3 2005/08/29 18:26:09 kurt Exp $ |
.\" Copyright 1998-2005 The OpenLDAP Foundation All Rights Reserved. |
.\" Copyright 1998-2005 The OpenLDAP Foundation All Rights Reserved. |
.\" Copying restrictions apply. See COPYRIGHT/LICENSE. |
.\" Copying restrictions apply. See COPYRIGHT/LICENSE. |
.SH NAME |
.SH NAME |
Line 60 Errors can be interpreted by calling
|
Line 60 Errors can be interpreted by calling
|
.BR ldap_err2string (3). |
.BR ldap_err2string (3). |
.SH LDAP versions |
.SH LDAP versions |
This library supports version 3 of the Lightweight Directory Access |
This library supports version 3 of the Lightweight Directory Access |
Protocol (LDAPv3) as defined in RFC 3377. It also supports a varient |
Protocol (LDAPv3) as defined in RFC 3377. It also supports a variant |
of version 2 of LDAP as defined by U-Mich LDAP and, to some degree, |
of version 2 of LDAP as defined by U-Mich LDAP and, to some degree, |
RFC 1777. Version 2 (all varients) should be viewed as obsolete. |
RFC 1777. Version 2 (all variants) should be viewed as obsolete. |
Version 3 should be used instead. |
Version 3 should be used instead. |
.LP |
.LP |
For backwards compatibility reasons, the library defaults to version 2. |
For backwards compatibility reasons, the library defaults to version 2. |
Line 76 All character string input/output is exp
|
Line 76 All character string input/output is exp
|
encoded Unicode (version 3.2). |
encoded Unicode (version 3.2). |
.LP |
.LP |
Distinguished names (DN) (and relative distinguished names (RDN) to |
Distinguished names (DN) (and relative distinguished names (RDN) to |
be passed to the LDAP routines should conform to RFC 2253. The |
be passed to the LDAP routines should conform to RFC 2253 UTF\-8 |
.BR ldap_explode_dn (3) |
string representation. |
routines can be used to work with DNs. |
|
.LP |
.LP |
Search filters to be passed to the search routines are to be |
Search filters to be passed to the search routines are to be |
constructed by hand and should conform to RFC 2254. |
constructed by hand and should conform to RFC 2254 UTF\-8 |
|
string representation. |
.LP |
.LP |
LDAP URL are to be passed to routines are expected to conform |
LDAP URL are to be passed to routines are expected to conform |
to RFC 2255. |
to RFC 2255 syntax. The |
The |
|
.BR ldap_url (3) |
.BR ldap_url (3) |
routines can be used to work with LDAP URLs. |
routines can be used to work with LDAP URLs. |
.SH DISPLAYING RESULTS |
.SH DISPLAYING RESULTS |
Line 148 synchronously bind to the directory
|
Line 147 synchronously bind to the directory
|
.SM ldap_unbind_ext(3) |
.SM ldap_unbind_ext(3) |
synchronously unbind from the LDAP server and close the connection |
synchronously unbind from the LDAP server and close the connection |
.TP |
.TP |
.SM ldap_unbind_ext_s(3) |
.SM ldap_unbind(3) and ldap_unbind_s(3) are |
equivalent to |
equivalent to |
.BR ldap_unbind_ext (3) |
.BR ldap_unbind_ext (3) |
.TP |
.TP |
Line 194 return number of entries in a search res
|
Line 193 return number of entries in a search res
|
.SM ldap_get_dn(3) |
.SM ldap_get_dn(3) |
extract the DN from an entry |
extract the DN from an entry |
.TP |
.TP |
.SM ldap_explode_dn(3) |
|
convert a DN into its component parts (deprecated) |
|
.TP |
|
.SM ldap_explode_rdn(3) |
|
convert an RDN into its component parts (deprecated) |
|
.TP |
|
.SM ldap_get_values_len(3) |
.SM ldap_get_values_len(3) |
return an attribute's values with lengths |
return an attribute's values with lengths |
.TP |
.TP |