mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 15:41:24 -05:00
document URI (ITS#6261)
This commit is contained in:
parent
52cd360680
commit
959fd98408
1 changed files with 28 additions and 2 deletions
|
|
@ -93,6 +93,29 @@ acts like
|
|||
but it returns an integer indicating either success or the failure reason,
|
||||
and it allows to specify details for the connection in the schema portion
|
||||
of the URI.
|
||||
The
|
||||
.I uri
|
||||
parameter may be a comma- or whitespace-separated list of URIs
|
||||
containing only the
|
||||
.IR schema ,
|
||||
the
|
||||
.IR host ,
|
||||
and the
|
||||
.I port
|
||||
fields.
|
||||
Apart from
|
||||
.BR ldap ,
|
||||
other (non-standard) recognized values of the
|
||||
.I schema
|
||||
field are
|
||||
.B ldaps
|
||||
(LDAP over TLS),
|
||||
.B ldapi
|
||||
(LDAP over IPC),
|
||||
and
|
||||
.B cldap
|
||||
(connectionless LDAP).
|
||||
If other fields are present, the behavior is undefined.
|
||||
.LP
|
||||
At this time,
|
||||
.B ldap_open()
|
||||
|
|
@ -134,14 +157,17 @@ If an error occurs,
|
|||
.B ldap_open()
|
||||
and
|
||||
.B ldap_init()
|
||||
will return NULL and errno should be set appropriately.
|
||||
will return NULL and
|
||||
.I errno
|
||||
should be set appropriately.
|
||||
.B ldap_initialize()
|
||||
and
|
||||
.B ldap_init_fd()
|
||||
will directly return the LDAP code associated to the error (or
|
||||
.I LDAP_SUCCESS
|
||||
in case of success);
|
||||
errno should be set as well whenever appropriate.
|
||||
.I errno
|
||||
should be set as well whenever appropriate.
|
||||
.SH SEE ALSO
|
||||
.BR ldap (3),
|
||||
.BR ldap_bind (3),
|
||||
|
|
|
|||
Loading…
Reference in a new issue