Searched refs:ldp (Results 1 - 1 of 1) sorted by relevance

/bind-9.6-ESV-R11/contrib/sdb/ldap/
H A Dldapdb.c192 ldapdb_bind(struct ldapdb_data *data, LDAP **ldp) argument
198 if (*ldp != NULL)
199 ldap_unbind(*ldp);
200 *ldp = ldap_open(data->hostname, data->portno);
201 if (*ldp == NULL)
205 ldap_set_option(*ldp, LDAP_OPT_PROTOCOL_VERSION, &ver);
210 ldap_start_tls_s(*ldp, NULL, NULL);
214 if (ldap_simple_bind_s(*ldp, data->bindname, data->bindpw) != LDAP_SUCCESS) {
215 ldap_unbind(*ldp);
216 *ldp
225 LDAP **ldp; local
[all...]

Completed in 40 milliseconds