~ttx/openldap/lucid-gssapi-495418

« back to all changes in this revision

Viewing changes to doc/man/man3/ldap_open.3

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-09-07 13:41:10 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090907134110-rsnlhy8b0r21p9bg
Tags: 2.4.18-0ubuntu1
* New upstream release: (LP: #419515):
  + pcache overlay supports disconnected mode.
* Fix nss overlay load (LP: #417163).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.TH LDAP_OPEN 3 "RELEASEDATE" "OpenLDAP LDVERSION"
2
 
.\" $OpenLDAP: pkg/ldap/doc/man/man3/ldap_open.3,v 1.16.2.5 2009/06/03 01:41:54 quanah Exp $
 
2
.\" $OpenLDAP: pkg/ldap/doc/man/man3/ldap_open.3,v 1.16.2.6 2009/08/25 22:53:47 quanah Exp $
3
3
.\" Copyright 1998-2009 The OpenLDAP Foundation All Rights Reserved.
4
4
.\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
5
5
.SH NAME
93
93
but it returns an integer indicating either success or the failure reason,
94
94
and it allows to specify details for the connection in the schema portion
95
95
of the URI.
 
96
The
 
97
.I uri
 
98
parameter may be a comma- or whitespace-separated list of URIs
 
99
containing only the
 
100
.IR schema ,
 
101
the
 
102
.IR host ,
 
103
and the
 
104
.I port
 
105
fields.
 
106
Apart from
 
107
.BR ldap ,
 
108
other (non-standard) recognized values of the
 
109
.I schema
 
110
field are
 
111
.B ldaps
 
112
(LDAP over TLS),
 
113
.B ldapi
 
114
(LDAP over IPC),
 
115
and
 
116
.B cldap
 
117
(connectionless LDAP).
 
118
If other fields are present, the behavior is undefined.
96
119
.LP
97
120
At this time,
98
121
.B ldap_open()
134
157
.B ldap_open()
135
158
and
136
159
.B ldap_init()
137
 
will return NULL and errno should be set appropriately.
 
160
will return NULL and 
 
161
.I errno
 
162
should be set appropriately.
138
163
.B ldap_initialize()
139
164
and
140
165
.B ldap_init_fd()
141
166
will directly return the LDAP code associated to the error (or
142
167
.I LDAP_SUCCESS
143
168
in case of success);
144
 
errno should be set as well whenever appropriate.
 
169
.I errno
 
170
should be set as well whenever appropriate.
145
171
.SH SEE ALSO
146
172
.BR ldap (3),
147
173
.BR ldap_bind (3),