/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | extendop.c | 32 * err = ldap_extended_operation( ld, exoid, &exdata, NULL, NULL, &msgid ); 38 LDAP *ld, 62 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 68 if ( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION3 ) { 70 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); 77 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); 81 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK ); 82 msgid = ++ld->ld_msgid; 83 LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK ); 86 if ( ld 37 ldap_extended_operation( LDAP *ld, const char *exoid, const struct berval *exdata, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp ) argument 141 ldap_extended_operation_s( LDAP *ld, const char *requestoid, const struct berval *requestdata, LDAPControl **serverctrls, LDAPControl **clientctrls, char **retoidp, struct berval **retdatap ) argument 180 ldap_parse_extended_result( LDAP *ld, LDAPMessage *res, char **retoidp, struct berval **retdatap, int freeit ) argument [all...] |
H A D | saslbind.c | 41 * err = ldap_sasl_bind( ld, "cn=manager, o=university of michigan, c=us", 47 LDAP *ld, 79 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 84 ldapversion = NSLDAPI_LDAP_VERSION( ld ); 88 LDAP_SET_LDERRNO( ld, LDAP_NOT_SUPPORTED, NULL, NULL ); 92 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK ); 93 msgid = ++ld->ld_msgid; 94 LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK ); 99 if ( ld->ld_cache_on && ld 46 ldap_sasl_bind( LDAP *ld, const char *dn, const char *mechanism, const struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp ) argument 175 ldap_sasl_bind_s( LDAP *ld, const char *dn, const char *mechanism, const struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct berval **servercredp ) argument 215 ldap_parse_sasl_bind_result( LDAP *ld, LDAPMessage *res, struct berval **servercredp, int freeit ) argument [all...] |
H A D | add.c | 43 * ld LDAP descriptor 57 * msgid = ldap_add( ld, dn, attrs ); 61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) argument 67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid ) 71 return( -1 ); /* error is in ld handle */ 82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, argument 101 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 107 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 113 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); 121 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOC 190 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ) argument 196 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument [all...] |
H A D | modify.c | 43 * ld LDAP descriptor 55 * msgid = ldap_modify( ld, dn, mods ); 59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) argument 65 if ( ldap_modify_ext( ld, dn, mods, NULL, NULL, &msgid ) 69 return( -1 ); /* error is in ld handle */ 75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, argument 101 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 106 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 112 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL ); 119 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOC 190 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ) argument 197 ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument [all...] |
H A D | referral.c | 38 ldap_first_reference( LDAP *ld, LDAPMessage *res ) argument 40 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || res == NULLMSG ) { 48 return( ldap_next_reference( ld, res )); 54 ldap_next_reference( LDAP *ld, LDAPMessage *ref ) argument 56 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || ref == NULLMSG ) { 72 ldap_count_references( LDAP *ld, LDAPMessage *res ) argument 76 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 95 ldap_parse_reference( LDAP *ld, LDAPMessage *ref, char ***referralsp, argument 100 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || 105 err = nsldapi_parse_reference( ld, re 123 nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp, LDAPControl ***serverctrlsp ) argument 173 ldap_get_reference_urls(LDAP *ld, LDAPMessage *res) 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 | llib-lldap | 20 int ldap_abandon_ext(LDAP *ld, int msgid, LDAPControl **serverctrls, LDAPControl ** clientctrls); 22 int ldap_abandon( LDAP *ld, int msgid ); 27 int ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp); 29 int ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls); 31 int ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ); 32 int ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ); 37 int ldap_bind(LDAP *ld, const char *dn, const char *passwd, int authmethod); 38 int ldap_bind_s(LDAP *ld, const char *dn, const char *passwd, int authmethod); 39 void ldap_set_rebind_proc(LDAP *ld, LDAP_REBINDPROC_CALLBACK *rebindproc, void *arg); 44 int ldap_simple_bind( LDAP *ld, cons [all...] |
H A D | getentry.c | 42 ldap_first_entry( LDAP *ld, LDAPMessage *chain ) argument 44 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || chain == NULLMSG ) { 52 return( ldap_next_entry( ld, chain )); 58 ldap_next_entry( LDAP *ld, LDAPMessage *entry ) argument 60 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || entry == NULLMSG ) { 76 ldap_count_entries( LDAP *ld, LDAPMessage *chain ) argument 80 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 96 ldap_get_entry_controls( LDAP *ld, LDAPMessage *entry, argument 104 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 126 LDAP_SET_LDERRNO( ld, r [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...] |
H A D | vlistctrl.c | 42 * ld LDAP pointer to the desired connection 75 LDAP *ld, 83 if (!NSLDAPI_VALID_LDAP_POINTER( ld )) { 89 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 94 if ( LDAP_SUCCESS != nsldapi_alloc_ber_with_options( ld, &ber ) ) 96 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL ); 106 LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL ); 120 LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL ); 132 LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL ); 145 LDAP_SET_LDERRNO( ld, r 74 ldap_create_virtuallist_control( LDAP *ld, LDAPVirtualList *ldvlistp, LDAPControl **ctrlp ) argument 178 ldap_parse_virtuallist_control( LDAP *ld, LDAPControl **ctrls, unsigned long *target_posp, unsigned long *list_sizep, int *errcodep ) argument [all...] |
H A D | message.c | 51 ldap_first_message( LDAP *ld, LDAPMessage *chain ) argument 53 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 63 ldap_next_message( LDAP *ld, LDAPMessage *msg ) argument 65 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 79 ldap_count_messages( LDAP *ld, LDAPMessage *chain ) argument 83 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
|
H A D | request.c | 45 static LDAPConn *find_connection( LDAP *ld, LDAPServer *srv, int any ); 46 static void use_connection( LDAP *ld, LDAPConn *lc ); 48 static int chase_one_referral( LDAP *ld, LDAPRequest *lr, LDAPRequest *origreq, 50 static int re_encode_request( LDAP *ld, BerElement *origber, 54 static LDAPServer *dn2servers( LDAP *ld, char *dn ); 60 nsldapi_alloc_ber_with_options( LDAP *ld, BerElement **berp ) argument 64 LDAP_MUTEX_LOCK( ld, LDAP_OPTION_LOCK ); 65 if (( *berp = ber_alloc_t( ld->ld_lberoptions )) == NULLBER ) { 67 LDAP_SET_LDERRNO( ld, err, NULL, NULL ); 71 nsldapi_set_ber_options( ld, *ber 81 nsldapi_set_ber_options( LDAP *ld, BerElement *ber ) argument 96 nsldapi_send_initial_request( LDAP *ld, int msgid, unsigned long msgtype, char *dn, BerElement *ber ) argument 147 nsldapi_send_server_request( LDAP *ld, BerElement *ber, int msgid, LDAPRequest *parentreq, LDAPServer *srvlist, LDAPConn *lc, char *bindreqdn, int bind ) argument 323 nsldapi_ber_flush( LDAP *ld, Sockbuf *sb, BerElement *ber, int freeit, int async ) argument 360 nsldapi_new_connection( LDAP *ld, LDAPServer **srvlistp, int use_ldsb, int connect, int bind ) argument 533 find_connection( LDAP *ld, LDAPServer *srv, int any ) argument 563 use_connection( LDAP *ld, LDAPConn *lc ) argument 571 nsldapi_free_connection( LDAP *ld, LDAPConn *lc, LDAPControl **serverctrls, LDAPControl **clientctrls, int force, int unbind ) argument 632 nsldapi_dump_connection( LDAP *ld, LDAPConn *lconns, int all ) argument 735 nsldapi_free_request( LDAP *ld, LDAPRequest *lr, int free_conn ) argument 816 nsldapi_chase_v2_referrals( LDAP *ld, LDAPRequest *lr, char **errstrp, int *totalcountp, int *chasingcountp ) argument 893 nsldapi_chase_v3_refs( LDAP *ld, LDAPRequest *lr, char **v3refs, int is_reference, int *totalcountp, int *chasingcountp ) argument 948 chase_one_referral( LDAP *ld, LDAPRequest *lr, LDAPRequest *origreq, char *refurl, char *desc, int *unknownp ) argument 1075 nsldapi_append_referral( LDAP *ld, char **referralsp, char *s ) argument 1107 re_encode_request( LDAP *ld, BerElement *origber, int msgid, LDAPURLDesc *ludp, BerElement **berp ) argument 1223 nsldapi_find_request_by_msgid( LDAP *ld, int msgid ) argument 1244 nsldapi_connection_lost_nolock( LDAP *ld, Sockbuf *sb ) argument 1270 dn2servers( LDAP *ld, char *dn ) argument [all...] |
H A D | getattr.c | 60 ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **ber ) argument 68 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 73 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 77 if ( nsldapi_alloc_ber_with_options( ld, ber ) != LDAP_SUCCESS ) { 104 LDAP_SET_LDERRNO( ld, err, NULL, NULL ); 115 ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber ) argument 122 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 127 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 140 LDAP_SET_LDERRNO( ld, err, NULL, NULL );
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-int.h | 81 int prldap_install_io_functions( LDAP *ld, int shared ); 82 int prldap_session_arg_from_ld( LDAP *ld, PRLDAPIOSessionArg **sessargpp ); 87 int prldap_socket_arg_from_ld( LDAP *ld, PRLDAPIOSocketArg **sockargpp ); 93 int prldap_install_thread_functions( LDAP *ld, int shared ); 94 int prldap_thread_new_handle( LDAP *ld, void *sessionarg ); 95 void prldap_thread_dispose_handle( LDAP *ld, void *sessionarg ); 101 int prldap_install_dns_functions( LDAP *ld ); 103 int prldap_x_install_dns_skipdb( LDAP *ld, const char *skip );
|
H A D | ldappr-public.c | 54 LDAP *ld; local 56 if (( ld = ldap_init( defhost, defport )) != NULL ) { 57 if ( prldap_install_routines( ld, shared ) != LDAP_SUCCESS ) { 59 ldap_unbind( ld ); 60 ld = NULL; 64 return( ld ); 72 * 'ld'. 74 * If 'ld' is NULL, the functions are installed as the default functions 84 prldap_install_routines( LDAP *ld, int shared ) argument 87 if ( prldap_install_io_functions( ld, share 110 prldap_set_session_option( LDAP *ld, void *sessionarg, int option, ... ) argument 151 prldap_get_session_option( LDAP *ld, void *sessionarg, int option, ... ) argument 189 prldap_set_session_info( LDAP *ld, void *sessionarg, PRLDAPSessionInfo *seip ) argument 225 prldap_get_session_info( LDAP *ld, void *sessionarg, PRLDAPSessionInfo *seip ) argument 317 prldap_get_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip ) argument 355 prldap_set_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip ) argument [all...] |
/osnet-11/usr/src/cmd/ldap/common/ |
H A D | ldaptool-sasl.h | 15 void *ldaptool_set_sasl_defaults ( LDAP *ld, char *mech, char *authid, char *username, char *passwd, char *realm ); 16 int ldaptool_sasl_interact ( LDAP *ld, unsigned flags, void *defaults, void *p );
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | vlistctrl.c | 22 int ldap_create_virtuallist_control(LDAP *ld, LDAPVirtualList *ldvlistp, argument 28 if (NULL == ld) 34 if ((ber = alloc_ber_with_options(ld)) == NULLBER) { 35 ld->ld_errno = LDAP_NO_MEMORY; 41 ld->ld_errno = LDAP_ENCODING_ERROR; 50 ld->ld_errno = LDAP_ENCODING_ERROR; 58 ld->ld_errno = LDAP_ENCODING_ERROR; 65 ld->ld_errno = rc; 70 int ldap_parse_virtuallist_control(LDAP *ld, LDAPControl **ctrls, argument 77 if (NULL == ld) [all...] |
H A D | notif.c | 16 LDAPMessage *ldap_first_notif(LDAP *ld) argument 18 return ld->ld_notifs; 21 LDAPMessage *ldap_next_notif(LDAP *ld, LDAPMessage *current) argument 29 int ldap_reset_notif(LDAP *ld, int freeit) argument 36 for (L_n=ld->ld_notifs; L_n!=NULLMSG; L_n=L_n->lm_next) 51 ld->ld_notifs = NULLMSG; 56 int ldap_remove_notif(LDAP *ld, LDAPMessage *notif, int freeit) argument 60 for ( L_n=ld->ld_notifs; L_n!=NULLMSG; L_n=L_n->lm_next) 65 ld->ld_notifs = L_n->lm_next; 81 int ldap_add_notif(LDAP *ld, LDAPMessag argument 98 ldap_insert_notif(LDAP *ld, LDAPMessage *notif) argument [all...] |
H A D | saslbind.c | 23 BerElement * ldap_build_sasl_bind_req( LDAP *ld, char *dn, char *mechanism, struct berval *creds, LDAPControl ** serverctrls) argument 44 ld->ld_errno = LDAP_PARAM_ERROR; 49 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { 52 if ( ber_printf( ber, "{it{ist{s", ++ld->ld_msgid, LDAP_REQ_BIND, ld->ld_version, dn, LDAP_AUTH_SASL, mechanism) == -1){ 53 ld->ld_errno = LDAP_ENCODING_ERROR; 59 ld->ld_errno = LDAP_ENCODING_ERROR; 65 ld->ld_errno = LDAP_ENCODING_ERROR; 73 ld->ld_errno = LDAP_ENCODING_ERROR; 77 } else if (ld 102 ldap_sasl_bind( LDAP *ld, char *dn, char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp) argument 265 ldap_sasl_bind_s( LDAP *ld, char *dn, char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct berval **servercredp) argument 288 ldap_sasl_cram_md5_bind_s( LDAP *ld, char *dn, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument [all...] |
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 | request.c | 62 static LDAPConn *find_connection( LDAP *ld, LDAPServer *srv, int any ); 63 static void use_connection( LDAP *ld, LDAPConn *lc ); 74 static LDAPServer *dn2servers( LDAP *ld, char *dn ); 82 alloc_ber_with_options( LDAP *ld ) 86 if (( ber = ber_alloc_t( ld->ld_lberoptions )) == NULLBER ) { 87 ld->ld_errno = LDAP_NO_MEMORY; 90 set_ber_options( ld, ber ); 99 set_ber_options( LDAP *ld, BerElement *ber ) argument 101 ber->ber_options = ld->ld_lberoptions; 103 if (( ld 113 send_initial_request( LDAP *ld, unsigned int msgtype, char *dn, BerElement *ber ) argument 168 send_server_request( LDAP *ld, BerElement *ber, int msgid, LDAPRequest *parentreq, LDAPServer *srvlist, LDAPConn *lc, int bind ) argument 299 new_connection( LDAP *ld, LDAPServer **srvlistp, int use_ldsb, int connect, int bind ) argument 422 find_connection( LDAP *ld, LDAPServer *srv, int any ) argument 460 use_connection( LDAP *ld, LDAPConn *lc ) argument 468 free_connection( LDAP *ld, LDAPConn *lc, int force, int unbind ) argument 518 dump_connection( LDAP *ld, LDAPConn *lconns, int all ) argument 592 free_request( LDAP *ld, LDAPRequest *lr ) argument 677 nsldapi_connection_lost_nolock( LDAP *ld, Sockbuf *sb ) argument 700 dn2servers( LDAP *ld, char *dn ) argument [all...] |
H A D | llib-lldap | 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, cha [all...] |
H A D | cache.c | 52 static void uncache_entry_or_req( LDAP *ld, char *dn, int msgid ); 65 ldap_enable_cache( LDAP *ld, time_t timeout, ssize_t maxmem ) argument 68 LOCK_LDAP(ld); 70 if ( ld->ld_cache == NULLLDCACHE ) { 71 if (( ld->ld_cache = (LDAPCache *)malloc( sizeof( LDAPCache ))) 73 ld->ld_errno = LDAP_NO_MEMORY; 75 UNLOCK_LDAP(ld); 79 (void) memset( ld->ld_cache, 0, sizeof( LDAPCache )); 80 ld->ld_cache->lc_memused = sizeof( LDAPCache ); 83 ld 111 ldap_set_cache_options( LDAP *ld, unsigned int opts ) argument 179 ldap_uncache_request( LDAP *ld, int msgid ) argument 195 ldap_uncache_entry( LDAP *ld, char *dn ) argument 211 uncache_entry_or_req( LDAP *ld, char *dn, int msgid ) argument 268 add_request_to_cache( LDAP *ld, unsigned int msgtype, BerElement *request ) argument 309 add_result_to_cache( LDAP *ld, LDAPMessage *result ) argument 423 check_cache( LDAP *ld, unsigned int msgtype, BerElement *request ) argument [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 47 LDAP *ld = __s_api_getLDAPconn(flags); local 49 return (ldap_abandon_ext(ld, msgid, serverctrls, clientctrls)); 56 LDAP *ld = __s_api_getLDAPconn(flags); local 58 return (ldap_abandon(ld, msgid)); 69 LDAP *ld = __s_api_getLDAPconn(flags); local 71 return (ldap_add_ext(ld, dn, attrs, 80 LDAP *ld = __s_api_getLDAPconn(flags); local 82 return (ldap_add_ext_s(ld, dn, attrs, serverctrls, clientctrls)); 89 LDAP *ld = __s_api_getLDAPconn(flags); local 91 return (ldap_add(ld, d 98 LDAP *ld = __s_api_getLDAPconn(flags); local 111 LDAP *ld = __s_api_getLDAPconn(flags); local 122 LDAP *ld = __s_api_getLDAPconn(flags); local 132 LDAP *ld = __s_api_getLDAPconn(flags); local 141 LDAP *ld = __s_api_getLDAPconn(flags); local 154 LDAP *ld = __s_api_getLDAPconn(flags); local 164 LDAP *ld = __s_api_getLDAPconn(flags); local 173 LDAP *ld = __s_api_getLDAPconn(flags); local 182 LDAP *ld = __s_api_getLDAPconn(flags); local 195 LDAP *ld = __s_api_getLDAPconn(flags); local 206 LDAP *ld = __s_api_getLDAPconn(flags); local 216 LDAP *ld = __s_api_getLDAPconn(flags); local 225 LDAP *ld = __s_api_getLDAPconn(flags); local 238 LDAP *ld = __s_api_getLDAPconn(flags); local 247 LDAP *ld = __s_api_getLDAPconn(flags); local 256 LDAP *ld = __s_api_getLDAPconn(flags); local 265 LDAP *ld = __s_api_getLDAPconn(flags); local 279 LDAP *ld = __s_api_getLDAPconn(flags); local 292 LDAP *ld = __s_api_getLDAPconn(flags); local 306 LDAP *ld = __s_api_getLDAPconn(flags); local 321 LDAP *ld = __s_api_getLDAPconn(flags); local 335 LDAP *ld = __s_api_getLDAPconn(flags); local 347 LDAP *ld = __s_api_getLDAPconn(flags); local 357 LDAP *ld = __s_api_getLDAPconn(flags); local 369 LDAP *ld = __s_api_getLDAPconn(flags); local [all...] |
/osnet-11/usr/src/lib/libldap4/include/ |
H A D | ldap-int.h | 40 void add_request_to_cache( LDAP *ld, unsigned int msgtype, 42 void add_result_to_cache( LDAP *ld, LDAPMessage *result ); 43 int check_cache( LDAP *ld, unsigned int msgtype, BerElement *request ); 56 char *get_kerberosv4_credentials( LDAP *ld, char *who, char *service, 67 int ldap_insert_notif(LDAP *ld, LDAPMessage *notif); 68 int ldap_add_notif(LDAP *ld, LDAPMessage *notif); 76 int open_default_ldap_connection(LDAP *ld); 77 int open_ldap_connection( LDAP *ld, Sockbuf *sb, char *host, int defport, 88 int ldap_get_option (LDAP *ld, int option, void *outvalue); 113 int do_ldap_select( LDAP *ld, struc [all...] |