Lines Matching refs:LDAP
23 int ldap_abandon_ext(LDAP *ld, int msgid, LDAPControl **serverctrls, LDAPControl ** clientctrls);
24 int ldap_abandon( LDAP *ld, int msgid );
29 int ldap_add_ext( LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
30 int ldap_add_ext_s( LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls);
31 int ldap_add( LDAP *ld, char *dn, LDAPMod **attrs );
32 int ldap_add_s( LDAP *ld, char *dn, LDAPMod **attrs );
41 int ldap_simple_bind( LDAP *ld, char *who, char *passwd );
42 int ldap_simple_bind_s( LDAP *ld, char *who, char *passwd );
47 int ldap_sasl_bind(LDAP *ld, char *dn, char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
48 int ldap_sasl_bind_s(LDAP *ld, char *dn, char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct berval **servercredp);
58 int ldap_enable_cache( LDAP *ld, time_t timeout, ssize_t maxmem );
59 void ldap_disable_cache( LDAP *ld );
60 void ldap_set_cache_options( LDAP *ld, unsigned int opts );
61 void ldap_destroy_cache( LDAP *ld );
62 void ldap_flush_cache( LDAP *ld );
63 void ldap_uncache_entry( LDAP *ld, char *dn );
64 void ldap_uncache_request( LDAP *ld, int msgid );
70 int ldap_compare_ext(LDAP *ld, char *dn, char *attr, struct berval *bvalue, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
71 int ldap_compare_ext_s(LDAP *ld, char *dn, char *attr, struct berval *bvalue, LDAPControl ** serverctrls, LDAPControl **clientctrls) ;
72 int ldap_compare( LDAP *ld, char *dn, char *attr, char *value );
73 int ldap_compare_s( LDAP *ld, char *dn, char *attr, char *value );
78 int ldap_delete_ext(LDAP *ld, char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
79 int ldap_delete_ext_s(LDAP *ld, char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls);
80 int ldap_delete( LDAP *ld, char *dn );
81 int ldap_delete_s( LDAP *ld, char *dn );
92 int ldap_modify_ext(LDAP *ld, char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
93 int ldap_modify_ext_s(LDAP *ld, char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls) ;
94 int ldap_modify( LDAP *ld, char *dn, LDAPMod **mods );
95 int ldap_modify_s( LDAP *ld, char *dn, LDAPMod **mods );
104 int ldap_rename(LDAP *ld, char *dn, char *newrdn, char *newparent, int deleteoldrdn, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
105 int ldap_rename_s(LDAP *ld, char *dn, char *newrdn, char *newparent, int deleteoldrdn, LDAPControl ** serverctrls, LDAPControl **clientctrls);
110 LDAP *ldap_init( char *defhost, int defport );
114 LDAP *ldap_ssl_init(char *defhost, int defport, char *keyname );
120 LDAPMessage *ldap_first_entry( LDAP *ld, LDAPMessage *res );
121 LDAPMessage *ldap_next_entry( LDAP *ld, LDAPMessage *entry );
122 int ldap_count_entries( LDAP *ld, LDAPMessage *res );
127 LDAPMessage *ldap_first_message( LDAP *ld, LDAPMessage *res );
128 LDAPMessage *ldap_next_message( LDAP *ld, LDAPMessage *msg );
129 int ldap_count_messages( LDAP *ld, LDAPMessage *res );
134 LDAPMessage *ldap_first_reference( LDAP *ld, LDAPMessage *res );
135 LDAPMessage *ldap_next_reference( LDAP *ld, LDAPMessage *msg );
136 int ldap_count_references( LDAP *ld, LDAPMessage *res );
137 char ** ldap_get_reference_urls( LDAP *ld, LDAPMessage *res );
149 char *ldap_get_dn( LDAP *ld, LDAPMessage *entry );
161 char *ldap_first_attribute( LDAP *ld, LDAPMessage *entry,
163 char *ldap_next_attribute( LDAP *ld, LDAPMessage *entry,
170 char **ldap_get_values( LDAP *ld, LDAPMessage *entry, char *target );
171 struct berval **ldap_get_values_len( LDAP *ld, LDAPMessage *entry,
181 int ldap_result( LDAP *ld, int msgid, int all,
183 int ldap_msgdelete( LDAP *ld, int msgid );
187 int ldap_parse_result(LDAP *ld, LDAPMessage *res, int *errcodep, char **matcheddnp, char **errmsgp, char ***referralsp, LDAPControl ***serverctrlsp, int freeit) ;
188 int ldap_parse_sasl_bind_result(LDAP *ld, LDAPMessage *res, struct berval **servercredp, int freeit);
189 int ldap_parse_extended_result(LDAP *ld, LDAPMessage *res, char **resultoidp, struct berval **resultdata, int freeit);
194 int ldap_search_ext(LDAP *ld, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, int *msgidp);
195 int ldap_search_ext_s(LDAP *ld, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, LDAPMessage **res);
197 int ldap_search( LDAP *ld, char *base, int scope, char *filter,
199 int ldap_search_s( LDAP *ld, char *base, int scope, char *filter,
201 int ldap_search_st( LDAP *ld, char *base, int scope, char *filter,
207 int ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs,
210 int ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs,
213 int ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs,
215 LDAPFiltDesc *ldap_ufn_setfilter( LDAP *ld, char *fname );
216 void ldap_ufn_setprefix( LDAP *ld, char *prefix );
223 int ldap_unbind( LDAP *ld );
224 int ldap_unbind_s( LDAP *ld );
257 LDAP *cldap_open( char *host, int port );
258 void cldap_close( LDAP *ld );
259 int cldap_search_s( LDAP *ld, char *base, int scope, char *filter,
261 void cldap_setretryinfo( LDAP *ld, int tries, time_t timeout );
267 int ldap_sort_entries( LDAP *ld, LDAPMessage **chain, char *attr,
269 int ldap_sort_values( LDAP *ld, char **vals, int (*cmp)() );
280 int ldap_url_search( LDAP *ld, char *url, int attrsonly );
281 int ldap_url_search_s( LDAP *ld, char *url, int attrsonly,
283 int ldap_url_search_st( LDAP *ld, char *url, int attrsonly,
285 char *ldap_dns_to_url(LDAP *ld, char *dns_name, char *attrs,
287 char *ldap_dn_to_url(LDAP *ld, char *dn, int nameparts);
294 void ldap_set_string_translators( LDAP *ld,
296 int ldap_translate_from_t61( LDAP *ld, char **bufp,
298 int ldap_translate_to_t61( LDAP *ld, char **bufp,
300 void ldap_enable_translation( LDAP *ld, LDAPMessage *entry,