| /onnv-gate/usr/src/lib/libldap5/sources/ldap/common/ |
| H A D | unbind.c | 48 ldap_unbind( LDAP *ld ) in ldap_unbind() argument 52 return( ldap_ld_free( ld, NULL, NULL, 1 ) ); in ldap_unbind() 58 ldap_unbind_s( LDAP *ld ) in ldap_unbind_s() argument 60 return( ldap_ld_free( ld, NULL, NULL, 1 )); in ldap_unbind_s() 66 ldap_unbind_ext( LDAP *ld, LDAPControl **serverctrls, in ldap_unbind_ext() argument 69 return( ldap_ld_free( ld, serverctrls, clientctrls, 1 )); in ldap_unbind_ext() 78 ldap_ld_free( LDAP *ld, LDAPControl **serverctrls, in ldap_ld_free() argument 85 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { in ldap_ld_free() 89 if ( ld->ld_sbp->sb_naddr == 0 ) { in ldap_ld_free() 90 LDAP_MUTEX_LOCK( ld, LDAP_REQ_LOCK ); in ldap_ld_free() [all …]
|
| H A D | setoption.c | 41 #define LDAP_SETCLR_BITOPT(ld, bit, optdata) \ argument 43 (ld)->ld_options |= bit; \ 45 (ld)->ld_options &= ~bit; \ 51 ldap_set_option(LDAP *ld, int option, const void *optdata) in ldap_set_option() argument 98 if (ld == NULL) { in ldap_set_option() 99 ld = &nsldapi_ld_defaults; in ldap_set_option() 109 if (!NSLDAPI_VALID_LDAP_POINTER(ld)) { in ldap_set_option() 114 if (ld != &nsldapi_ld_defaults && in ldap_set_option() 117 LDAP_MUTEX_LOCK(ld, LDAP_OPTION_LOCK); in ldap_set_option() 123 LDAP_SETCLR_BITOPT(ld, LDAP_BITOPT_DNS, optdata); in ldap_set_option() [all …]
|
| H A D | sbind.c | 40 static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, 42 static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd ); 56 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd ) in ldap_simple_bind() argument 62 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { in ldap_simple_bind() 66 rc = simple_bind_nolock( ld, dn, passwd, 1 ); in ldap_simple_bind() 73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, in simple_bind_nolock() argument 91 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK ); in simple_bind_nolock() 92 msgid = ++ld->ld_msgid; in simple_bind_nolock() 93 LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK ); in simple_bind_nolock() 100 if ( ld->ld_cache_on && ld->ld_cache_bind != NULL ) { in simple_bind_nolock() [all …]
|
| H A D | ldap-int.h | 325 #define NSLDAPI_USING_CLASSIC_IO_FUNCTIONS( ld ) ((ld)->ld_io_fns_ptr != NULL) argument 418 #define LDAP_MUTEX_ALLOC( ld ) \ argument 419 (((ld)->ld_mutex_alloc_fn != NULL) ? (ld)->ld_mutex_alloc_fn() : NULL) 422 #define LDAP_MUTEX_FREE( ld, m ) \ argument 423 if ( (ld)->ld_mutex_free_fn != NULL && m != NULL ) { \ 424 (ld)->ld_mutex_free_fn( m ); \ 439 #define LDAP_MUTEX_LOCK(ld, lock) \ argument 440 if ((ld)->ld_mutex_lock_fn != NULL && ld->ld_mutex != NULL) { \ 441 if ((ld)->ld_threadid_fn != NULL) { \ 442 if ((ld)->ld_mutex_threadid[lock] == (ld)->ld_threadid_fn()) { \ [all …]
|
| H A D | rename.c | 62 LDAP *ld, in ldap_rename() argument 87 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { in ldap_rename() 91 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); in ldap_rename() 99 if (( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION3 ) in ldap_rename() 102 LDAP_SET_LDERRNO( ld, LDAP_NOT_SUPPORTED, NULL, NULL ); in ldap_rename() 107 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); in ldap_rename() 111 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK ); in ldap_rename() 112 *msgidp = ++ld->ld_msgid; in ldap_rename() 113 LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK ); in ldap_rename() 116 if ( ld->ld_cache_on ) { in ldap_rename() [all …]
|
| H A D | getoption.c | 31 #define LDAP_GET_BITOPT( ld, bit ) \ argument 32 ((ld)->ld_options & bit ) != 0 ? 1 : 0 40 ldap_get_option( LDAP *ld, int option, void *optdata ) in ldap_get_option() argument 67 if ( ld != NULL ) { in ldap_get_option() 68 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); in ldap_get_option() 88 if ( ld == NULL ) { in ldap_get_option() 89 ld = &nsldapi_ld_defaults; in ldap_get_option() 92 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { in ldap_get_option() 97 if (ld != &nsldapi_ld_defaults) in ldap_get_option() 98 LDAP_MUTEX_LOCK( ld, LDAP_OPTION_LOCK ); in ldap_get_option() [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, LDAPPend *lp ); [all …]
|
| H A D | abandon.c | 41 static int do_abandon( LDAP *ld, int origid, int msgid, 57 ldap_abandon( LDAP *ld, int msgid ) in ldap_abandon() argument 61 if ( ldap_abandon_ext( ld, msgid, NULL, NULL ) == LDAP_SUCCESS ) { in ldap_abandon() 75 ldap_abandon_ext( LDAP *ld, int msgid, LDAPControl **serverctrls, in ldap_abandon_ext() argument 82 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { in ldap_abandon_ext() 86 LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK ); in ldap_abandon_ext() 87 LDAP_MUTEX_LOCK( ld, LDAP_REQ_LOCK ); in ldap_abandon_ext() 88 rc = do_abandon( ld, msgid, msgid, serverctrls, clientctrls ); in ldap_abandon_ext() 93 ldap_memcache_abandon( ld, msgid ); in ldap_abandon_ext() 95 LDAP_MUTEX_UNLOCK( ld, LDAP_REQ_LOCK ); in ldap_abandon_ext() [all …]
|
| H A D | delete.c | 47 ldap_delete( LDAP *ld, const char *dn ) in ldap_delete() argument 53 if ( ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) { in ldap_delete() 62 ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls, in ldap_delete_ext() argument 75 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { in ldap_delete_ext() 81 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); in ldap_delete_ext() 88 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK ); in ldap_delete_ext() 89 *msgidp = ++ld->ld_msgid; in ldap_delete_ext() 90 LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK ); in ldap_delete_ext() 93 if ( ld->ld_cache_on && ld->ld_cache_delete != NULL ) { in ldap_delete_ext() 94 LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK ); in ldap_delete_ext() [all …]
|
| /onnv-gate/usr/src/lib/libldap4/common/ |
| H A D | unbind.c | 46 ldap_unbind( LDAP *ld ) in ldap_unbind() argument 50 return( ldap_ld_free( ld, 1 )); in ldap_unbind() 55 ldap_ld_free( LDAP *ld, int close ) in ldap_ld_free() argument 62 LOCK_LDAP(ld); in ldap_ld_free() 64 if ( ld->ld_sb.sb_naddr == 0 ) { in ldap_ld_free() 66 for ( lr = ld->ld_requests; lr != NULL; lr = nextlr ) { in ldap_ld_free() 68 free_request( ld, lr ); in ldap_ld_free() 72 while ( ld->ld_conns != NULL ) { in ldap_ld_free() 73 free_connection( ld, ld->ld_conns, 1, close ); in ldap_ld_free() 78 for ( i = 0; i < ld->ld_sb.sb_naddr; ++i ) { in ldap_ld_free() [all …]
|
| H A D | option.c | 21 ldap_get_option(LDAP *ld, int option, void *outvalue) in ldap_get_option() argument 23 if (ld == NULL) in ldap_get_option() 26 LOCK_LDAP(ld); in ldap_get_option() 37 UNLOCK_LDAP(ld); in ldap_get_option() 51 *(int *)outvalue = ld->ld_sb.sb_sd; in ldap_get_option() 54 *(int *)outvalue = ld->ld_deref; in ldap_get_option() 57 *(int *)outvalue = ld->ld_sizelimit; in ldap_get_option() 60 *(int *)outvalue = ld->ld_timelimit; in ldap_get_option() 63 outvalue = (void *)ld->ld_rebindproc; in ldap_get_option() 66 outvalue = ld->ld_rebind_extra_arg; in ldap_get_option() [all …]
|
| H A D | compare.c | 36 BerElement * ldap_build_compare_req(LDAP *ld, char *dn, char *attr, in ldap_build_compare_req() argument 53 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { in ldap_build_compare_req() 54 ld->ld_errno = LDAP_NO_MEMORY; in ldap_build_compare_req() 58 if ( ber_printf( ber, "{it{s{so}}", ++ld->ld_msgid, LDAP_REQ_COMPARE, in ldap_build_compare_req() 60 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_compare_req() 69 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_compare_req() 72 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { in ldap_build_compare_req() 74 if (ldap_controls_code(ber, ld->ld_srvctrls) != LDAP_SUCCESS){ in ldap_build_compare_req() 75 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_compare_req() 80 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_compare_req() [all …]
|
| H A D | delete.c | 39 BerElement * ldap_build_delete_req(LDAP *ld, char *dn, LDAPControl **serverctrls) in ldap_build_delete_req() argument 45 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { in ldap_build_delete_req() 46 ld->ld_errno = LDAP_NO_MEMORY; in ldap_build_delete_req() 50 if ( ber_printf( ber, "{its", ++ld->ld_msgid, LDAP_REQ_DELETE, dn ) == -1 ) { in ldap_build_delete_req() 51 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_delete_req() 60 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_delete_req() 64 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { in ldap_build_delete_req() 66 if (ldap_controls_code(ber, ld->ld_srvctrls) != LDAP_SUCCESS){ in ldap_build_delete_req() 67 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_delete_req() 74 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_delete_req() [all …]
|
| H A D | add.c | 40 BerElement * ldap_build_add_req(LDAP *ld, char *dn, LDAPMod **attrs, in ldap_build_add_req() argument 58 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { in ldap_build_add_req() 59 ld->ld_errno = LDAP_NO_MEMORY; in ldap_build_add_req() 63 if ( ber_printf( ber, "{it{s{", ++ld->ld_msgid, LDAP_REQ_ADD, dn ) in ldap_build_add_req() 65 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_add_req() 80 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_add_req() 87 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_add_req() 96 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_add_req() 100 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { in ldap_build_add_req() 102 if (ldap_controls_code(ber, ld->ld_srvctrls) != LDAP_SUCCESS){ in ldap_build_add_req() [all …]
|
| H A D | abandon.c | 44 static int do_abandon( LDAP *ld, int origid, int msgid, LDAPControl **serverctrls ); 49 BerElement * ldap_build_abandon_req( LDAP *ld, int msgid, LDAPControl ** serverctrls) in ldap_build_abandon_req() argument 55 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { in ldap_build_abandon_req() 57 ld->ld_errno = LDAP_NO_MEMORY; in ldap_build_abandon_req() 61 if ( ld->ld_sb.sb_naddr > 0 ) { in ldap_build_abandon_req() 63 ++ld->ld_msgid, ld->ld_cldapdn, in ldap_build_abandon_req() 67 rc = ber_printf( ber, "{iti", ++ld->ld_msgid, in ldap_build_abandon_req() 74 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_abandon_req() 82 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_abandon_req() 85 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { in ldap_build_abandon_req() [all …]
|
| H A D | modify.c | 36 BerElement * ldap_build_modify_req(LDAP *ld, char *dn, LDAPMod ** mods, LDAPControl **serverctrls) in ldap_build_modify_req() argument 59 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { in ldap_build_modify_req() 62 if ( ber_printf( ber, "{it{s{", ++ld->ld_msgid, LDAP_REQ_MODIFY, dn ) in ldap_build_modify_req() 64 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_modify_req() 81 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_modify_req() 88 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_modify_req() 97 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_modify_req() 101 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { in ldap_build_modify_req() 103 if (ldap_controls_code(ber, ld->ld_srvctrls) != LDAP_SUCCESS){ in ldap_build_modify_req() 104 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_modify_req() [all …]
|
| H A D | open.c | 77 LDAP *ld; in ldap_open() local 80 if ((ld = ldap_init(host, port)) == NULL) { in ldap_open() 88 LOCK_LDAP(ld); in ldap_open() 90 if ((err = open_default_ldap_connection(ld)) != LDAP_SUCCESS) { in ldap_open() 92 UNLOCK_LDAP(ld); in ldap_open() 94 ldap_ld_free(ld, 0); in ldap_open() 103 (ld->ld_host == NULL) ? "(null)" : ld->ld_host, 0, 0); in ldap_open() 105 UNLOCK_LDAP(ld); in ldap_open() 107 return (ld); in ldap_open() 118 open_default_ldap_connection(LDAP *ld) in open_default_ldap_connection() argument [all …]
|
| H A D | kbind.c | 58 ldap_kerberos_bind1( LDAP *ld, char *dn ) in ldap_kerberos_bind1() argument 84 LOCK_LDAP(ld); in ldap_kerberos_bind1() 91 if ( (cred = get_kerberosv4_credentials( ld, dn, "ldapserver", in ldap_kerberos_bind1() 94 UNLOCK_LDAP(ld); in ldap_kerberos_bind1() 100 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { in ldap_kerberos_bind1() 103 UNLOCK_LDAP(ld); in ldap_kerberos_bind1() 116 rc = ber_printf( ber, "{it{isto}}", ++ld->ld_msgid, LDAP_REQ_BIND, in ldap_kerberos_bind1() 117 ld->ld_version, dn, LDAP_AUTH_KRBV41, cred, credlen ); in ldap_kerberos_bind1() 128 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_kerberos_bind1() 130 UNLOCK_LDAP(ld); in ldap_kerberos_bind1() [all …]
|
| H A D | cldap.c | 64 static int add_addr( LDAP *ld, struct sockaddr *sap ); 65 static int cldap_result( LDAP *ld, int msgid, LDAPMessage **res, 67 static int cldap_parsemsg( LDAP *ld, int msgid, BerElement *ber, 91 LDAP *ld; in cldap_open() local 120 if (( ld = ldap_init( host, port )) == NULL ) { in cldap_open() 124 if ( (ld->ld_sb.sb_fromaddr = (void *) calloc( 1, in cldap_open() 126 free( ld ); in cldap_open() 130 ld->ld_sb.sb_sd = s; in cldap_open() 131 ld->ld_sb.sb_naddr = 0; in cldap_open() 132 ld->ld_version = LDAP_VERSION; in cldap_open() [all …]
|
| H A D | rename.c | 30 BerElement * ldap_build_rename_req ( LDAP *ld, char *dn, char *newrdn, char *newparent, in ldap_build_rename_req() argument 47 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { in ldap_build_rename_req() 51 if ( ber_printf( ber, "{it{ssb", ++ld->ld_msgid, LDAP_REQ_MODRDN, dn, in ldap_build_rename_req() 53 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_rename_req() 60 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_rename_req() 66 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_rename_req() 74 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_rename_req() 78 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { in ldap_build_rename_req() 80 if (ldap_controls_code(ber, ld->ld_srvctrls) != LDAP_SUCCESS){ in ldap_build_rename_req() 81 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_rename_req() [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 ) in alloc_ber_with_options() argument 86 if (( ber = ber_alloc_t( ld->ld_lberoptions )) == NULLBER ) { in alloc_ber_with_options() 87 ld->ld_errno = LDAP_NO_MEMORY; in alloc_ber_with_options() 90 set_ber_options( ld, ber ); in alloc_ber_with_options() 99 set_ber_options( LDAP *ld, BerElement *ber ) in set_ber_options() argument 101 ber->ber_options = ld->ld_lberoptions; in set_ber_options() 103 if (( ld->ld_lberoptions & LBER_TRANSLATE_STRINGS ) != 0 ) { in set_ber_options() [all …]
|
| H A D | saslbind.c | 23 BerElement * ldap_build_sasl_bind_req( LDAP *ld, char *dn, char *mechanism, struct berval *creds, L… in ldap_build_sasl_bind_req() argument 44 ld->ld_errno = LDAP_PARAM_ERROR; in ldap_build_sasl_bind_req() 49 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { in ldap_build_sasl_bind_req() 52 …if ( ber_printf( ber, "{it{ist{s", ++ld->ld_msgid, LDAP_REQ_BIND, ld->ld_version, dn, LDAP_AUTH_SA… in ldap_build_sasl_bind_req() 53 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_sasl_bind_req() 59 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_sasl_bind_req() 65 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_sasl_bind_req() 73 ld->ld_errno = LDAP_ENCODING_ERROR; in ldap_build_sasl_bind_req() 77 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { in ldap_build_sasl_bind_req() 79 if (ldap_controls_code(ber, ld->ld_srvctrls) != LDAP_SUCCESS){ in ldap_build_sasl_bind_req() [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 ); 102 ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, char *prefix, in ldap_ufn_search_ctx() argument 130 LOCK_LDAP(ld); in ldap_ufn_search_ctx() 171 UNLOCK_LDAP(ld); in ldap_ufn_search_ctx() 173 return( ld->ld_errno = LDAP_NO_MEMORY ); in ldap_ufn_search_ctx() 186 if ( (dn = ldap_get_dn( ld, tmpcand )) == NULL ) in ldap_ufn_search_ctx() 192 ld->ld_errno = LDAP_NO_MEMORY; in ldap_ufn_search_ctx() [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 ) in ldap_enable_cache() argument 68 LOCK_LDAP(ld); in ldap_enable_cache() 70 if ( ld->ld_cache == NULLLDCACHE ) { in ldap_enable_cache() 71 if (( ld->ld_cache = (LDAPCache *)malloc( sizeof( LDAPCache ))) in ldap_enable_cache() 73 ld->ld_errno = LDAP_NO_MEMORY; in ldap_enable_cache() 75 UNLOCK_LDAP(ld); in ldap_enable_cache() 79 (void) memset( ld->ld_cache, 0, sizeof( LDAPCache )); in ldap_enable_cache() 80 ld->ld_cache->lc_memused = sizeof( LDAPCache ); in ldap_enable_cache() 83 ld->ld_cache->lc_timeout = timeout; in ldap_enable_cache() [all …]
|
| /onnv-gate/usr/src/lib/libsldap/common/ |
| H A D | ns_wrapper.c | 47 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_abandon_ext() local 49 return (ldap_abandon_ext(ld, msgid, serverctrls, clientctrls)); in _ns_ldap_abandon_ext() 56 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_abandon() local 58 return (ldap_abandon(ld, msgid)); in _ns_ldap_abandon() 69 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_ext() local 71 return (ldap_add_ext(ld, dn, attrs, in _ns_ldap_add_ext() 80 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_ext_s() local 82 return (ldap_add_ext_s(ld, dn, attrs, serverctrls, clientctrls)); in _ns_ldap_add_ext_s() 89 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add() local 91 return (ldap_add(ld, dn, attrs)); in _ns_ldap_add() [all …]
|