/osnet-11/usr/src/lib/libldap4/common/ |
H A D | getentry.c | 41 ldap_first_entry( LDAP *ld, LDAPMessage *res ) argument 54 LDAPMessage *ldap_next_entry( LDAP *ld, LDAPMessage *entry ) argument 73 ldap_count_entries( LDAP *ld, LDAPMessage *res ) argument
|
H A D | getmsg.c | 20 LDAPMessage * ldap_first_message(LDAP *ld, LDAPMessage *res) argument 25 LDAPMessage * ldap_next_message(LDAP *ld, LDAPMessage *msg) argument 32 int ldap_count_messages( LDAP *ld, LDAPMessage *res) argument
|
H A D | option.c | 21 ldap_get_option(LDAP *ld, int option, void *outvalue) argument 23 if (ld == NULL) 26 LOCK_LDAP(ld); 37 UNLOCK_LDAP(ld); 51 *(int *)outvalue = ld->ld_sb.sb_sd; 54 *(int *)outvalue = ld->ld_deref; 57 *(int *)outvalue = ld->ld_sizelimit; 60 *(int *)outvalue = ld->ld_timelimit; 63 outvalue = (void *)ld->ld_rebindproc; 66 outvalue = ld 132 ldap_set_option(LDAP *ld, int option, void *invalue) argument [all...] |
H A D | bind.c | 51 * ldap_bind( ld, "cn=manager, o=university of michigan, c=us", "secret", 56 ldap_bind( LDAP *ld, char *dn, char *passwd, int authmethod ) argument 78 return( ldap_simple_bind( ld, dn, passwd ) ); 82 return( ldap_kerberos_bind1( ld, dn ) ); 85 return( ldap_kerberos_bind2( ld, dn ) ); 89 ld->ld_errno = LDAP_AUTH_UNKNOWN; 103 * ldap_bind_s( ld, "cn=manager, o=university of michigan, c=us", 105 * ldap_bind_s( ld, "cn=manager, o=university of michigan, c=us", 109 ldap_bind_s( LDAP *ld, char *dn, char *passwd, int authmethod ) argument 115 return( ldap_simple_bind_s( ld, d 135 ldap_set_rebind_proc( LDAP *ld, LDAP_REBIND_FUNCTION *rebindproc, void *extra_arg ) argument [all...] |
H A D | getattr.c | 41 ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **ber ) argument 52 if ( (*ber = alloc_ber_with_options( ld )) == NULLBER ) { 68 ld->ld_errno = LDAP_DECODING_ERROR; 80 ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber ) argument 95 ld->ld_errno = LDAP_DECODING_ERROR; 99 ld->ld_errno = LDAP_SUCCESS;
|
H A D | delete.c | 39 BerElement * ldap_build_delete_req(LDAP *ld, char *dn, LDAPControl **serverctrls) argument 45 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { 46 ld->ld_errno = LDAP_NO_MEMORY; 50 if ( ber_printf( ber, "{its", ++ld->ld_msgid, LDAP_REQ_DELETE, dn ) == -1 ) { 51 ld->ld_errno = LDAP_ENCODING_ERROR; 60 ld->ld_errno = LDAP_ENCODING_ERROR; 64 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { 66 if (ldap_controls_code(ber, ld->ld_srvctrls) != LDAP_SUCCESS){ 67 ld 92 ldap_delete( LDAP *ld, char *dn ) argument 125 ldap_delete_s( LDAP *ld, char *dn ) argument 141 ldap_delete_ext(LDAP *ld, char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp) argument 181 ldap_delete_ext_s(LDAP *ld, char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls) argument [all...] |
H A D | error.c | 257 ldap_perror( LDAP *ld, char *s ) argument 263 if ( ld == NULL ) { 275 if ( ld->ld_errno == ldap_errlist[i].e_code ) { 278 if ( ld->ld_matched != NULL && *ld->ld_matched != '\0' ) 280 ld->ld_matched ); 281 if ( ld->ld_error != NULL && *ld->ld_error != '\0' ) 283 s, ld->ld_error ); 289 (void) fprintf( stderr, catgets(slapdcat, 1, 178, "%1$s: Not an LDAP errno %2$d\n"), s, ld 296 ldap_perror( LDAP *ld, char *s ) argument 304 ldap_result2error( LDAP *ld, LDAPMessage *r, int freeit ) argument [all...] |
H A D | extensions.c | 30 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output) argument 35 if (NULL == ld || NULL == output) 53 ld->ld_errno = rc; 57 int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie) argument
|
H A D | extop.c | 30 BerElement * ldap_build_extended_operation_req(LDAP *ld, char *exoid, struct berval *exdata, LDAPControl ** serverctrls) argument 41 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { 42 ld->ld_errno = LDAP_NO_MEMORY; 46 if ( ber_printf( ber, "{it{ts", ++ld->ld_msgid, LDAP_REQ_EXTENDED, LDAP_TAG_EXT_NAME, exoid ) == -1 ) { 47 ld->ld_errno = LDAP_ENCODING_ERROR; 53 ld->ld_errno = LDAP_ENCODING_ERROR; 59 ld->ld_errno = LDAP_ENCODING_ERROR; 67 ld->ld_errno = LDAP_ENCODING_ERROR; 71 } else if (ld->ld_srvctrls && ld 100 ldap_extended_operation(LDAP *ld, char *exoid, struct berval *exdata, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp) argument 142 ldap_extended_operation_s(LDAP *ld, char *exoid, struct berval *exdata, LDAPControl **serverctrls, LDAPControl **clientctrls, char **retoidp, struct berval **retdatap) argument [all...] |
H A D | getref.c | 21 LDAPMessage * ldap_first_reference(LDAP *ld, LDAPMessage *res) argument 33 LDAPMessage * ldap_next_reference(LDAP *ld, LDAPMessage *entry) argument 51 ldap_count_references( LDAP *ld, LDAPMessage *res ) argument 62 char ** ldap_get_reference_urls(LDAP *ld, LDAPMessage *res) argument 70 ld->ld_errno = LDAP_PARAM_ERROR; 75 ld->ld_errno = LDAP_DECODING_ERROR;
|
H A D | getvalues.c | 44 ldap_get_values( LDAP *ld, LDAPMessage *entry, char *target ) argument 59 ld->ld_errno = LDAP_DECODING_ERROR; 70 ld->ld_errno = LDAP_DECODING_ERROR; 84 ld->ld_errno = LDAP_DECODING_ERROR; 92 ldap_get_values_len( LDAP *ld, LDAPMessage *entry, char *target ) argument 107 ld->ld_errno = LDAP_DECODING_ERROR; 118 ld->ld_errno = LDAP_DECODING_ERROR; 132 ld->ld_errno = LDAP_DECODING_ERROR;
|
H A D | modrdn.c | 39 * ld LDAP descriptor 45 * msgid = ldap_modrdn( ld, dn, newrdn ); 48 ldap_modrdn( LDAP *ld, char *dn, char *newrdn, int deleteoldrdn ) argument 63 LOCK_LDAP(ld); 68 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { 70 UNLOCK_LDAP(ld); 75 if ( ber_printf( ber, "{it{ssb}}", ++ld->ld_msgid, LDAP_REQ_MODRDN, dn, 77 ld->ld_errno = LDAP_ENCODING_ERROR; 80 UNLOCK_LDAP(ld); 86 rv = send_initial_request( ld, LDAP_REQ_MODRD 94 ldap_modrdn0( LDAP *ld, char *dn, char *newrdn ) argument 100 ldap_modrdn_s( LDAP *ld, char *dn, char *newrdn, int deleteoldrdn ) argument 115 ldap_modrdn0_s( LDAP *ld, char *dn, char *newrdn ) argument [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 | sbind.c | 38 BerElement * ldap_build_simple_bind_req(LDAP *ld, char *dn, char *passwd, LDAPControl **serverctrls) argument 59 if ( (ber = alloc_ber_with_options( ld )) == NULLBER ) { 64 if ( ber_printf( ber, "{it{ists}", ++ld->ld_msgid, LDAP_REQ_BIND, ld->ld_version, dn, LDAP_AUTH_SIMPLE, passwd ) == -1 ) { 65 ld->ld_errno = LDAP_ENCODING_ERROR; 74 ld->ld_errno = LDAP_ENCODING_ERROR; 78 } else if (ld->ld_srvctrls && ld->ld_srvctrls[0]) { 80 if (ldap_controls_code(ber, ld->ld_srvctrls) != LDAP_SUCCESS){ 81 ld 107 ldap_simple_bind( LDAP *ld, char *dn, char *passwd ) argument 157 ldap_simple_bind_s( LDAP *ld, char *dn, char *passwd ) argument [all...] |
H A D | unbind.c | 46 ldap_unbind( LDAP *ld ) 50 return( ldap_ld_free( ld, 1 )); 55 ldap_ld_free( LDAP *ld, int close ) argument 62 LOCK_LDAP(ld); 64 if ( ld->ld_sb.sb_naddr == 0 ) { 66 for ( lr = ld->ld_requests; lr != NULL; lr = nextlr ) { 68 free_request( ld, lr ); 72 while ( ld->ld_conns != NULL ) { 73 free_connection( ld, ld 174 send_unbind( LDAP *ld, Sockbuf *sb ) argument [all...] |
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...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
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 | bind.c | 45 * ldap_bind( ld, "cn=manager, o=university of michigan, c=us", "secret", 51 ldap_bind( LDAP *ld, const char *dn, const char *passwd, int authmethod ) argument 67 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 73 return( ldap_simple_bind( ld, dn, passwd ) ); 76 LDAP_SET_LDERRNO( ld, LDAP_AUTH_UNKNOWN, NULL, NULL ); 90 * ldap_bind_s( ld, "cn=manager, o=university of michigan, c=us", 92 * ldap_bind_s( ld, "cn=manager, o=university of michigan, c=us", 97 ldap_bind_s( LDAP *ld, const char *dn, const char *passwd, int authmethod ) argument 105 return( ldap_simple_bind_s( ld, dn, passwd ) ); 109 LDAP_SET_LDERRNO( ld, er 117 ldap_set_rebind_proc( LDAP *ld, LDAP_REBINDPROC_CALLBACK *rebindproc, void *arg ) 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 );
|
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 | proxyauthctrl.c | 32 ld LDAP pointer to the desired connection 47 LDAP *ld, 56 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 61 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); 70 if ( ( nsldapi_alloc_ber_with_options( ld, &ber ) ) != LDAP_SUCCESS ) { 71 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL ); 81 LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL ); 89 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); 101 ld LDAP pointer to the desired connection 112 LDAP *ld, 46 ldap_create_proxyauth_control( LDAP *ld, const char *dn, const char ctl_iscritical, LDAPControl **ctrlp ) argument 111 ldap_create_proxiedauth_control( LDAP *ld, const char *authzid, LDAPControl **ctrlp ) argument [all...] |
H A D | abandon.c | 41 static int do_abandon( LDAP *ld, int origid, int msgid, 47 * ld LDAP descriptor 53 * ldap_abandon( ld, msgid ); 57 ldap_abandon( LDAP *ld, int msgid ) argument 61 if ( ldap_abandon_ext( ld, msgid, NULL, NULL ) == LDAP_SUCCESS ) { 75 ldap_abandon_ext( LDAP *ld, int msgid, LDAPControl **serverctrls, argument 82 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) { 86 LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK ); 87 LDAP_MUTEX_LOCK( ld, LDAP_REQ_LOCK ); 88 rc = do_abandon( ld, msgi 109 do_abandon( LDAP *ld, int origid, int msgid, LDAPControl **serverctrls, LDAPControl **clientctrls ) 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...] |
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-float.c | 27 double ld; local 67 ld = 2.5; 68 sm_snprintf(buf, sizeof(buf), "%.3f %.1f", d, ld);
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc_solaris.c | 28 LDAP *ld = NULL; local 50 ld = ldapssl_init(ludp->lud_host, ludp->lud_port, 1); 52 ld = ldap_init(ludp->lud_host, ludp->lud_port); 54 if (ld != NULL) 55 *ldp = ld;
|