/osnet-11/usr/src/lib/libldap4/common/ |
H A D | ufn.c | 57 static int ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, 61 static LDAPMessage *ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b ); 62 static LDAPMessage *ldap_ufn_expand( LDAP *ld, cancelptype cancelproc, 65 LDAPFiltDesc *ldap_ufn_setfilter( LDAP *ld, char *fname ); 78 * ld LDAP descriptor 96 * error = ldap_ufn_search_ctx( ld, ufncomp, 3, NULL, attrs, attrsonly, 102 ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, char *prefix, argument 130 LOCK_LDAP(ld); 171 UNLOCK_LDAP(ld); 173 return( ld 278 ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs, int attrsonly, LDAPMessage **res, cancelptype cancelproc, void *cancelparm, char *tag1, char *tag2, char *tag3 ) argument 388 ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs, int attrsonly, LDAPMessage **res, cancelptype cancelproc, void *cancelparm ) argument 399 ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs, int attrsonly, LDAPMessage **res ) argument 419 ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b ) argument 483 ldap_ufn_expand( LDAP *ld, cancelptype cancelproc, void *cancelparm, char **dns, char *filter, int scope, char **attrs, int aonly, int *err ) argument 545 ldap_ufn_setfilter( LDAP *ld, char *fname ) argument 566 ldap_ufn_setprefix( LDAP *ld, char *prefix ) argument [all...] |
H A D | url.c | 360 ldap_url_search( LDAP *ld, char *url, int attrsonly ) argument 368 LOCK_LDAP(ld); 371 ld->ld_errno = LDAP_PARAM_ERROR; 373 UNLOCK_LDAP(ld); 378 if (( ber = ldap_build_search_req( ld, ludp->lud_dn, 383 UNLOCK_LDAP(ld); 393 NULL ? ld->ld_defhost : ludp->lud_host )) == NULL ) { 397 ld->ld_errno = LDAP_NO_MEMORY; 411 err = send_server_request( ld, ber, ld 424 ldap_url_search_st( LDAP *ld, char *url, int attrsonly, struct timeval *timeout, LDAPMessage **res ) argument 460 ldap_url_search_s( LDAP *ld, char *url, int attrsonly, LDAPMessage **res ) argument 550 ldap_dns_to_url( LDAP *ld, char *dns_name, char *attrs, char *scope, char *filter ) argument 784 ldap_dn_to_url( LDAP *ld, char *dn, int nameparts ) argument [all...] |
H A D | search.c | 70 ldap_build_search_req(LDAP *ld, char *base, int scope, char *filter, argument 104 ld->ld_errno = LDAP_PARAM_ERROR; 109 if ((ber = alloc_ber_with_options(ld)) == NULLBER) { 127 theTimeLimit = ld->ld_timelimit; 131 if (ld->ld_sb.sb_naddr > 0) { 132 err = ber_printf(ber, "{ist{seeiib", ++ld->ld_msgid, 133 ld->ld_cldapdn, LDAP_REQ_SEARCH, base, scope, ld->ld_deref, 134 sizelimit == -1 ? ld->ld_sizelimit : sizelimit, theTimeLimit, 138 err = ber_printf(ber, "{it{seeiib", ++ld 220 ldap_search(LDAP *ld, char *base, int scope, char *filter, char **attrs, int attrsonly) argument 722 ldap_search_st(LDAP *ld, char *base, int scope, char *filter, char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res) argument 744 ldap_search_s(LDAP *ld, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPMessage **res) argument 760 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) argument 826 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) argument [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | charset.c | 42 ldap_set_string_translators( LDAP *ld, BERTranslateProc encode_proc, argument 45 if ( ld == NULL ) { 49 ld = &nsldapi_ld_defaults; 52 if ( NSLDAPI_VALID_LDAP_POINTER( ld )) { 53 ld->ld_lber_encode_translate_proc = encode_proc; 54 ld->ld_lber_decode_translate_proc = decode_proc; 60 ldap_enable_translation( LDAP *ld, LDAPMessage *entry, int enable ) argument 64 if ( ld == NULL ) { 68 ld = &nsldapi_ld_defaults; 71 optionsp = ( entry == NULLMSG ) ? &ld 83 ldap_translate_from_t61( LDAP *ld, char **bufp, unsigned long *lenp, int free_input ) argument 97 ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp, int free_input ) argument [all...] |
H A D | error.c | 341 ldap_perror( LDAP *ld, const char *s ) argument 361 if ( ld == NULL ) { 368 LDAP_MUTEX_LOCK( ld, LDAP_ERR_LOCK ); 369 err = LDAP_GET_LDERRNO( ld, &matched, &errmsg ); 378 LDAP_GET_ERRNO( ld ))); 393 LDAP_MUTEX_UNLOCK( ld, LDAP_ERR_LOCK ); 400 LDAP_MUTEX_UNLOCK( ld, LDAP_ERR_LOCK ); 405 ldap_result2error( LDAP *ld, LDAPMessage *r, int freeit ) argument 409 lderr_parse = ldap_parse_result( ld, r, &lderr, NULL, NULL, NULL, 421 ldap_get_lderrno( LDAP *ld, cha argument 451 ldap_set_lderrno( LDAP *ld, int e, char *m, char *s ) argument 485 ldap_parse_result( LDAP *ld, LDAPMessage *res, int *errcodep, char **matchednp, char **errmsgp, char ***referralsp, LDAPControl ***serverctrlsp, int freeit ) argument 558 nsldapi_parse_result( LDAP *ld, int msgtype, BerElement *rber, int *errcodep, char **matchednp, char **errmsgp, char ***referralsp, LDAPControl ***serverctrlsp ) argument [all...] |
H A D | getvalues.c | 42 internal_ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target, argument 52 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 57 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 65 LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR, NULL, NULL ); 74 LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR, 105 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); 330 internal_ldap_get_lang_values( LDAP *ld, LDAPMessage *entry, argument 349 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 354 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 367 vals = internal_ldap_get_values( ld, entr 448 ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target ) argument 455 ldap_get_values_len( LDAP *ld, LDAPMessage *entry, const char *target ) argument 463 ldap_get_lang_values( LDAP *ld, LDAPMessage *entry, const char *target, char **type ) argument 472 ldap_get_lang_values_len( LDAP *ld, LDAPMessage *entry, const char *target, char **type ) argument [all...] |
H A D | search.c | 44 static int nsldapi_search( LDAP *ld, const char *base, int scope, 58 static int nsldapi_search_s( LDAP *ld, const char *base, int scope, 67 * ld LDAP descriptor 78 * msgid = ldap_search( ld, "c=us@o=UM", LDAP_SCOPE_SUBTREE, "cn~=bob", 84 LDAP *ld, 96 if ( ldap_search_ext( ld, base, scope, filter, attrs, attrsonly, NULL, 100 return( -1 ); /* error is in ld handle */ 112 LDAP *ld, 120 struct timeval *timeoutp, /* NULL means use ld->ld_timelimit */ 130 if ( ld ! 83 ldap_search( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly ) argument 111 ldap_search_ext( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, int *msgidp ) argument 147 nsldapi_search( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, int timelimit, int sizelimit, int *msgidp ) argument 265 nsldapi_build_search_req( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, int timelimit, int sizelimit, int msgid, BerElement **berp ) argument 904 ldap_search_st( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res ) argument 921 ldap_search_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPMessage **res ) argument 936 ldap_search_ext_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, LDAPMessage **res ) argument 957 nsldapi_search_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *localtimeoutp, int timelimit, int sizelimit, LDAPMessage **res ) argument [all...] |
H A D | sort.c | 77 LDAP *ld, 90 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) 95 count = ldap_count_entries( ld, *chain ); 99 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL ); 111 kt[i]->kt_key = gen( arg, ld, e ); 115 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL ); 200 LDAP *ld, 211 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) 216 count = ldap_count_entries( ld, *chain ); 220 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMOR 76 ldap_keysort_entries( LDAP *ld, LDAPMessage **chain, void *arg, LDAP_KEYGEN_CALLBACK *gen, LDAP_KEYCMP_CALLBACK *cmp, LDAP_KEYFREE_CALLBACK *fre) argument 199 ldap_multisort_entries( LDAP *ld, LDAPMessage **chain, char **attr, LDAP_CMP_CALLBACK *cmp ) argument 281 ldap_sort_entries( LDAP *ld, LDAPMessage **chain, char *attr, LDAP_CMP_CALLBACK *cmp ) argument 297 ldap_sort_values( LDAP *ld, char **vals, LDAP_VALCMP_CALLBACK *cmp ) argument [all...] |
H A D | ufn.c | 47 static int ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, 51 static LDAPMessage *ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b ); 52 static LDAPMessage *ldap_ufn_expand( LDAP *ld, 60 * ld LDAP descriptor 78 * error = ldap_ufn_search_ctx( ld, ufncomp, 3, NULL, attrs, attrsonly, 85 LDAP *ld, 160 LDAP_SET_LDERRNO( ld, err, NULL, NULL ); 174 if ( (dn = ldap_get_dn( ld, tmpcand )) == NULL ) 181 LDAP_SET_LDERRNO( ld, err, 191 LDAP_SET_LDERRNO( ld, er 84 ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, char *prefix, char **attrs, int attrsonly, LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char *tag1, char *tag2, char *tag3 ) argument 255 ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs, int attrsonly, LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char *tag1, char *tag2, char *tag3 ) argument 349 ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs, int attrsonly, LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm ) argument 361 ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs, int attrsonly, LDAPMessage **res ) argument 381 ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b ) argument 445 ldap_ufn_expand( LDAP *ld, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char **dns, char *filter, int scope, char **attrs, int aonly, int *err ) argument 508 ldap_ufn_setfilter( LDAP *ld, char *fname ) argument 518 ldap_ufn_setprefix( LDAP *ld, char *prefix ) argument [all...] |
H A D | url.c | 405 ldap_url_search( LDAP *ld, const char *url, int attrsonly ) argument 413 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 418 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 422 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK ); 423 msgid = ++ld->ld_msgid; 424 LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK ); 426 if ( nsldapi_build_search_req( ld, ludp->lud_dn, ludp->lud_scope, 435 host = ld->ld_defhost; 446 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL ); 453 /* URL has no port or host - use port from ld */ 482 ldap_url_search_st( LDAP *ld, const char *url, int attrsonly, struct timeval *timeout, LDAPMessage **res ) argument 521 ldap_url_search_s( LDAP *ld, const char *url, int attrsonly, LDAPMessage **res ) argument 564 ldap_dns_to_url( LDAP *ld, char *dns_name, char *attrs, char *scope, char *filter ) argument 797 ldap_dn_to_url( LDAP *ld, char *dn, int nameparts ) argument [all...] |
H A D | open.c | 63 * these by passing a NULL "ld" to ldap_set_option(). Everything in 64 * nsldapi_ld_defaults can be overridden on a per-ld basis as well (the 65 * memory allocation functions are global to all ld's). 417 * LDAP *ld; 418 * ld = ldap_open( hostname, port ); 425 LDAP *ld; local 429 if (( ld = ldap_init( host, port )) == NULL ) { 433 LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK ); 434 if ( nsldapi_open_ldap_defconn( ld ) < 0 ) { 435 LDAP_MUTEX_UNLOCK( ld, LDAP_CONN_LOC 461 LDAP *ld; local [all...] |
H A D | result.c | 46 static int check_response_queue( LDAP *ld, int msgid, int all, 48 static int ldap_abandoned( LDAP *ld, int msgid ); 49 static int ldap_mark_abandoned( LDAP *ld, int msgid ); 50 static int wait4msg( LDAP *ld, int msgid, int all, int unlock_permitted, 52 static int read1msg( LDAP *ld, int msgid, int all, Sockbuf *sb, LDAPConn *lc, 54 static void check_for_refs( LDAP *ld, LDAPRequest *lr, BerElement *ber, 56 static int build_result_ber( LDAP *ld, BerElement **berp, LDAPRequest *lr ); 57 static void merge_error_info( LDAP *ld, LDAPRequest *parentr, LDAPRequest *lr ); 59 static int cldap_select1( LDAP *ld, struct timeval *timeout ); 61 static void link_pend( LDAP *ld, LDAPPen 83 ldap_result( LDAP *ld, int msgid, int all, struct timeval *timeout, LDAPMessage **result ) argument 110 nsldapi_result_nolock( LDAP *ld, int msgid, int all, int unlock_permitted, struct timeval *timeout, LDAPMessage **result ) argument 162 check_response_queue( LDAP *ld, int msgid, int all, int do_abandon_check, LDAPMessage **result ) argument 271 wait4msg( LDAP *ld, int msgid, int all, int unlock_permitted, struct timeval *timeout, LDAPMessage **result ) argument 493 read1msg( LDAP *ld, int msgid, int all, Sockbuf *sb, LDAPConn *lc, LDAPMessage **result ) argument 897 check_for_refs( LDAP *ld, LDAPRequest *lr, BerElement *ber, int ldapversion, int *totalcountp, int *chasingcountp ) argument 984 build_result_ber( LDAP *ld, BerElement **berp, LDAPRequest *lr ) argument 1015 merge_error_info( LDAP *ld, LDAPRequest *parentr, LDAPRequest *lr ) argument 1055 cldap_select1( LDAP *ld, struct timeval *timeout ) argument 1168 ldap_msgdelete( LDAP *ld, int msgid ) argument 1213 ldap_abandoned( LDAP *ld, int msgid ) argument 1237 ldap_mark_abandoned( LDAP *ld, int msgid ) argument 1269 cldap_getmsg( LDAP *ld, struct timeval *timeout, BerElement **ber ) argument 1297 nsldapi_post_result( LDAP *ld, int msgid, LDAPMessage *result ) argument 1370 link_pend( LDAP *ld, LDAPPend *lp ) argument [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-dns.c | 53 static int prldap_getpeername( LDAP *ld, struct sockaddr *addr, 69 * Install NSPR DNS functions into ld (if ld is NULL, they are installed 75 prldap_install_dns_functions( LDAP *ld ) 84 if ( ldap_set_option( ld, LDAP_OPT_DNS_FN_PTRS, (void *)&dnsfns ) != 0 ) { 130 prldap_getpeername( LDAP *ld, struct sockaddr *addr, char *buffer, int buflen) argument 137 if (NULL != ld) { 138 ret = prldap_socket_arg_from_ld( ld, &sa ); 197 prldap_x_install_dns_skipdb(LDAP *ld, const char *skip) argument 265 if (ldap_get_option(ld, LDAP_OPT_DNS_FN_PTR [all...] |
H A D | ldappr-threads.c | 149 static PRLDAP_TPDMap *prldap_allocate_map( LDAP *ld ); 161 * Install NSPR thread functions into ld (if ld is NULL, they are installed 167 prldap_install_thread_functions( LDAP *ld, int shared ) argument 175 ldap_set_lderrno( ld, LDAP_LOCAL_ERROR, NULL, NULL ); 195 if ( ld != NULL ) { 197 * If this is a real ld (i.e., we are not setting the global 199 * If ld is NULL we do not do this here but it is done in 202 if (( tfns.ltf_lderrno_arg = (void *)prldap_allocate_map( ld )) 210 if ( ldap_set_option( ld, LDAP_OPT_THREAD_FN_PTR 352 prldap_thread_new_handle( LDAP *ld, void *sessionarg ) argument 379 prldap_thread_dispose_handle( LDAP *ld, void *sessionarg ) argument [all...] |
H A D | ldappr-io.c | 64 static int LDAP_CALLBACK prldap_newhandle( LDAP *ld, 66 static void LDAP_CALLBACK prldap_disposehandle( LDAP *ld, 68 static int LDAP_CALLBACK prldap_shared_newhandle( LDAP *ld, 70 static void LDAP_CALLBACK prldap_shared_disposehandle( LDAP *ld, 93 * Install NSPR I/O functions into ld (if ld is NULL, they are installed 99 prldap_install_io_functions( LDAP *ld, int shared ) argument 117 if ( NULL != ld ) { 119 * If we are dealing with a real ld, we allocate the session specific 125 ldap_set_lderrno( ld, LDAP_NO_MEMOR 489 prldap_newhandle( LDAP *ld, struct lextiof_session_private *sessionarg ) argument 517 prldap_shared_newhandle( LDAP *ld, struct lextiof_session_private *sessionarg ) argument 530 prldap_disposehandle( LDAP *ld, struct lextiof_session_private *sessionarg ) argument 538 prldap_shared_disposehandle( LDAP *ld, struct lextiof_session_private *sessionarg ) argument 584 prldap_session_arg_from_ld( LDAP *ld, PRLDAPIOSessionArg **sessargpp ) argument 615 prldap_socket_arg_from_ld( LDAP *ld, PRLDAPIOSocketArg **sockargpp ) argument [all...] |
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | list_nces.c | 214 LDAP *ld; local 243 ld = nsdb_connect(host, port, NULL, NULL); 244 if (ld == NULL) { 259 if (ldap_search_s(ld, "", LDAP_SCOPE_BASE, 263 ldap_perror(ld, "ldap_search_s"); 265 (void) ldap_unbind(ld); 273 for (e = ldap_first_entry(ld, result); e != NULL; 274 e = ldap_next_entry(ld, e)) { 277 if ((dn = ldap_get_dn(ld, e)) != NULL) 284 for (a = ldap_first_attribute(ld, [all...] |
H A D | nsdb_lookup.c | 263 LDAP *ld; local 335 ld = nsdb_connect(host, port, NULL, NULL); 336 if (ld == NULL) { 362 if (ldap_search_s(ld, base, LDAP_SCOPE_SUBTREE, 367 ldap_perror(ld, "ldap_search_s"); 375 for (e = ldap_first_entry(ld, result); e != NULL; 376 e = ldap_next_entry(ld, e)) { 379 if ((dn = ldap_get_dn(ld, e)) != NULL) { 392 for (a = ldap_first_attribute(ld, e, &ber); 393 a != NULL; a = ldap_next_attribute(ld, [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | kdb_ldap.c | 183 LDAP *ld=NULL; local 194 retval = ldap_initialize(&ld, ldap_server, SSL_OFF, NULL); 206 retval = ldap_sasl_bind_s(ld, "", NULL, &cred, NULL, NULL, NULL); 213 retval = ldap_search_ext_s(ld, "", LDAP_SCOPE_BASE, NULL, attrs, 0, NULL, NULL, NULL, 0, &res); 220 msg = ldap_first_message(ld, res); 223 msg = ldap_first_entry(ld, res); 230 values = ldap_get_values(ld, msg, attribute); 256 if (ld != NULL) 257 ldap_unbind_ext_s(ld, NULL, NULL);
|
H A D | ldap_principal.c | 152 LDAP *ld=NULL; local 202 for (ent=ldap_first_entry(ld, result); ent != NULL; ent=ldap_next_entry(ld, ent)) { 203 values=ldap_get_values(ld, ent, "krbcanonicalname"); 205 values=ldap_get_values(ld, ent, "krbprincipalname"); 213 if ((st = populate_krb5_db_entry(context, ldap_context, ld, ent, principal, 253 LDAP *ld=NULL; local 287 st = ldap_delete_ext_s(ld, DN, NULL, NULL); 336 if ((st=checkattributevalue(ld, DN, "objectclass", attrvalues, &amask)) != 0) 350 st=ldap_modify_ext_s(ld, D [all...] |
H A D | ldap_services.c | 52 LDAP *ld=NULL; local 123 st = checkattributevalue(ld, service->krbrealmreferences[j], "ObjectClass", 138 if ((st=ldap_add_ext_s(ld, service->servicedn, mods, NULL, NULL)) != LDAP_SUCCESS) { 149 if ((st=updateAttribute(ld, service->krbrealmreferences[i], realmattr, 156 ldap_delete_ext_s(ld, service->servicedn, NULL, NULL); 183 LDAP *ld=NULL; local 227 st = checkattributevalue(ld, service->krbrealmreferences[j], "ObjectClass", 247 if ((st = ldap_search_ext_s (ld, 262 ent = ldap_first_entry(ld, result); 264 if ((values=ldap_get_values(ld, en 347 LDAP *ld=NULL; local 420 LDAP *ld = NULL; local 561 LDAP *ld=NULL; local [all...] |
/osnet-11/usr/src/lib/libadutils/common/ |
H A D | adutils_impl.h | 101 LDAP *ld; /* LDAP connection */ member in struct:adutils_host 160 int saslcallback(LDAP *ld, unsigned flags, void *defaults, void *prompts); 162 int adutils_set_thread_functions(LDAP *ld);
|
/osnet-11/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 50 (void) snprintf(buf, len, "<%ld>", type); 201 long double ld; member in union:__anon871 215 "%+.16LE", u.ld); 317 (void) snprintf(type, sizeof (type), "<%ld>", id);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | ldap.c | 150 LDAP *ld = NULL; local 176 save_errno = ldap_initialize(&ld, lmap->ldap_uri); 201 if (ld == NULL) 204 ld = ldap_init(lmap->ldap_host, lmap->ldap_port); 214 ld = ldap_open(lmap->ldap_host, lmap->ldap_port); 223 if (ld == NULL) 226 sm_ldap_setopts(ld, lmap); 251 bind_result = ldap_bind_s(ld, lmap->ldap_binddn, 267 lmap->ldap_ld = ld; 1369 ** ld [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_sasl.c | 283 LDAP *ld, 281 __s_api_sasl_bind_callback( LDAP *ld, unsigned flags, void *defaults, void *in) argument
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | clientinit.c | 785 static int ldapssl_tls_start(LDAP *ld, int *msgidp) argument 799 ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &version ); 802 rc = ldap_extended_operation( ld, START_TLS_OID, &extreq_data, 813 static int ldapssl_enableSSL_on_open_connection(LDAP *ld, int defsecure, argument 828 if ( prldap_get_default_socket_info( ld, &soi ) < 0 ) { 832 if ( ldapssl_install_routines( ld ) < 0 ) { 839 ldap_get_option( ld, LDAP_OPT_DESC, &sd ); 845 if ( prldap_set_default_socket_info( ld, &soi ) != LDAP_SUCCESS ) { 849 if ( ldap_set_option( ld, LDAP_OPT_SSL, 854 if ( ldapssl_import_fd( ld, defsecur 906 ldapssl_tls_start_s(LDAP *ld,int defsecure, char *certdbpath, char *keydbpath, char ***referralsp) argument [all...] |