/titanic_41/usr/src/head/ |
H A D | ldap.h | 138 typedef struct ldap LDAP; /* opaque connection handle */ typedef 456 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, 458 int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, 462 int ldap_sasl_cram_md5_bind_s(LDAP *ld, char *dn, 466 int ldap_x_sasl_digest_md5_bind_s(LDAP *ld, char *dn, 469 int ldap_x_sasl_digest_md5_bind(LDAP *ld, char *dn, 476 LDAP_API(LDAP *) LDAP_CALL ldap_open(const char *host, int port); 477 LDAP_API(LDAP *) LDAP_CALL ldap_init(const char *defhost, int defport); 478 int LDAP_CALL ldap_set_option(LDAP *ld, int option, 480 int LDAP_CALL ldap_get_option(LDAP *ld, int option, void *optdata); [all …]
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
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, LDAPContro… 29 int ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPCont… 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, const char *dn, const char *passwd ); [all …]
|
H A D | ldap-int.h | 654 char *nsldapi_get_binddn( LDAP *ld ); 659 void nsldapi_add_result_to_cache( LDAP *ld, LDAPMessage *result ); 670 int nsldapi_parse_result( LDAP *ld, int msgtype, BerElement *rber, 678 void nsldapi_mutex_alloc_all( LDAP *ld ); 679 void nsldapi_mutex_free_all( LDAP *ld ); 680 int nsldapi_open_ldap_defconn( LDAP *ld ); 686 int nsldapi_connect_to_host( LDAP *ld, Sockbuf *sb, const char *host, 688 void nsldapi_close_connection( LDAP *ld, Sockbuf *sb ); 690 int nsldapi_iostatus_poll( LDAP *ld, struct timeval *timeout ); 691 void nsldapi_iostatus_free( LDAP *ld ); [all …]
|
H A D | referral.c | 38 ldap_first_reference( LDAP *ld, LDAPMessage *res ) in ldap_first_reference() 54 ldap_next_reference( LDAP *ld, LDAPMessage *ref ) in ldap_next_reference() 72 ldap_count_references( LDAP *ld, LDAPMessage *res ) in ldap_count_references() 95 ldap_parse_reference( LDAP *ld, LDAPMessage *ref, char ***referralsp, in ldap_parse_reference() 123 nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp, in nsldapi_parse_reference() 173 char ** ldap_get_reference_urls(LDAP *ld, LDAPMessage *res) in ldap_get_reference_urls()
|
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 | 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() 73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, in simple_bind_nolock() 153 ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd ) in ldap_simple_bind_s() 182 simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd ) in simple_bindifnot_s()
|
H A D | getentry.c | 42 ldap_first_entry( LDAP *ld, LDAPMessage *chain ) in ldap_first_entry() 58 ldap_next_entry( LDAP *ld, LDAPMessage *entry ) in ldap_next_entry() 76 ldap_count_entries( LDAP *ld, LDAPMessage *chain ) in ldap_count_entries() 96 ldap_get_entry_controls( LDAP *ld, LDAPMessage *entry, in ldap_get_entry_controls()
|
H A D | bind.c | 51 ldap_bind( LDAP *ld, const char *dn, const char *passwd, int authmethod ) in ldap_bind() 97 ldap_bind_s( LDAP *ld, const char *dn, const char *passwd, int authmethod ) in ldap_bind_s() 117 ldap_set_rebind_proc( LDAP *ld, LDAP_REBINDPROC_CALLBACK *rebindproc, in ldap_set_rebind_proc() 141 nsldapi_get_binddn( LDAP *ld ) in nsldapi_get_binddn()
|
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 ) in nsldapi_alloc_ber_with_options() 81 nsldapi_set_ber_options( LDAP *ld, BerElement *ber ) in nsldapi_set_ber_options() 96 nsldapi_send_initial_request( LDAP *ld, int msgid, unsigned long msgtype, in nsldapi_send_initial_request() 148 LDAP *ld, /* session handle */ in nsldapi_send_server_request() 323 nsldapi_ber_flush( LDAP *ld, Sockbuf *sb, BerElement *ber, int freeit, in nsldapi_ber_flush() [all …]
|
H A D | rename.c | 62 LDAP *ld, in ldap_rename() 185 ldap_modrdn2( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) in ldap_modrdn2() 198 ldap_modrdn( LDAP *ld, const char *dn, const char *newrdn ) in ldap_modrdn() 206 LDAP *ld, in ldap_rename_s() 233 ldap_modrdn2_s( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) in ldap_modrdn2_s() 249 ldap_modrdn_s( LDAP *ld, const char *dn, const char *newrdn ) in ldap_modrdn_s()
|
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, 85 LDAP *ld, in ldap_ufn_search_ctx() 255 ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs, int attrsonly, in ldap_ufn_search_ct() 349 ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs, int attrsonly, in ldap_ufn_search_c() 361 ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs, int attrsonly, in ldap_ufn_search_s() 381 ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b ) in ldap_msg_merge() 445 ldap_ufn_expand( LDAP *ld, LDAP_CANCELPROC_CALLBACK *cancelproc, in ldap_ufn_expand() 508 ldap_ufn_setfilter( LDAP *ld, char *fname ) in ldap_ufn_setfilter() [all …]
|
H A D | message.c | 51 ldap_first_message( LDAP *ld, LDAPMessage *chain ) in ldap_first_message() 63 ldap_next_message( LDAP *ld, LDAPMessage *msg ) in ldap_next_message() 79 ldap_count_messages( LDAP *ld, LDAPMessage *chain ) in ldap_count_messages()
|
H A D | delete.c | 47 ldap_delete( LDAP *ld, const char *dn ) in ldap_delete() 62 ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls, in ldap_delete_ext() 133 ldap_delete_s( LDAP *ld, const char *dn ) in ldap_delete_s() 140 ldap_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls, in ldap_delete_ext_s()
|
H A D | unbind.c | 48 ldap_unbind( LDAP *ld ) in ldap_unbind() 58 ldap_unbind_s( LDAP *ld ) in ldap_unbind_s() 66 ldap_unbind_ext( LDAP *ld, LDAPControl **serverctrls, in ldap_unbind_ext() 78 ldap_ld_free( LDAP *ld, LDAPControl **serverctrls, in ldap_ld_free() 192 nsldapi_send_unbind( LDAP *ld, Sockbuf *sb, LDAPControl **serverctrls, in nsldapi_send_unbind()
|
H A D | os-ip.c | 126 static int nsldapi_iostatus_init_nolock( LDAP *ld ); 157 static LBER_SOCKET nsldapi_os_socket( LDAP *ld, int secure, int domain, 161 int namelen, LDAP *ld); 166 typedef LBER_SOCKET (NSLDAPI_SOCKET_FN)( LDAP *ld, int secure, int domain, 170 int namelen, LDAP *ld); 175 static int nsldapi_try_each_host( LDAP *ld, const char *hostlist, int defport, 196 nsldapi_os_socket( LDAP *ld, int secure, int domain, int type, int protocol ) in nsldapi_os_socket() 246 int salen, LDAP *ld) 466 nsldapi_connect_to_host( LDAP *ld, Sockbuf *sb, const char *hostlist, 537 nsldapi_try_each_host( LDAP *ld, const char *hostlist, [all …]
|
/titanic_41/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 33 static LDAP * 47 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_abandon_ext() 56 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_abandon() 69 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_ext() 80 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_ext_s() 89 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add() 98 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_s() 111 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_compare_ext() 122 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_compare_ext_s() 132 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_compare() [all …]
|
/titanic_41/usr/src/cmd/ldap/common/ |
H A D | ldaptool.h | 159 LDAP *ldaptool_ldap_init( int second_host ); 160 void ldaptool_bind( LDAP *ld ); 161 void ldaptool_cleanup( LDAP *ld ); 162 int ldaptool_print_lderror( LDAP *ld, char *msg, int check4ssl ); 168 int ldaptool_print_extended_response( LDAP *ld, LDAPMessage *res, char *msg ); 169 LDAPControl *ldaptool_create_proxyauth_control( LDAP *ld ); 170 LDAPControl *ldaptool_create_geteffectiveRights_control ( LDAP *ld, 181 int ldaptool_sasl_bind_s( LDAP *ld, const char *dn, const char *mechanism, 184 int ldaptool_simple_bind_s( LDAP *ld, const char *dn, const char *passwd, 186 int ldaptool_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, [all …]
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.h | 46 updateAttribute (LDAP *, char *, char *, char *); 49 deleteAttribute (LDAP *, char *, char *, char *); 52 populateServers(LDAP *, char **, char ***, char *, char **); 61 checkattributevalue(LDAP *, char *, char *, char **, int *); 106 krb5_ldap_get_value(LDAP *, LDAPMessage *, char *, int *); 109 krb5_ldap_get_string(LDAP *, LDAPMessage *, char *, char **, krb5_boolean *); 112 krb5_ldap_get_strings(LDAP *, LDAPMessage *, char *, char ***, krb5_boolean *); 115 krb5_ldap_get_time(LDAP *, LDAPMessage *, char *, krb5_timestamp *, krb5_boolean *); 136 krb5_ldap_get_reference_count (krb5_context, char *, char *, int *, LDAP *); 150 LDAP *ld,
|
/titanic_41/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 | 51 LDAP * LDAP_CALL 54 LDAP *ld; in prldap_init() 84 prldap_install_routines( LDAP *ld, int shared ) in prldap_install_routines() 110 prldap_set_session_option( LDAP *ld, void *sessionarg, int option, ... ) in prldap_set_session_option() 151 int LDAP_CALL prldap_get_session_option( LDAP *ld, void *sessionarg, in prldap_get_session_option() 189 prldap_set_session_info( LDAP *ld, void *sessionarg, PRLDAPSessionInfo *seip ) in prldap_set_session_info() 225 prldap_get_session_info( LDAP *ld, void *sessionarg, PRLDAPSessionInfo *seip ) in prldap_get_session_info() 317 prldap_get_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip ) in prldap_get_default_socket_info() 355 prldap_set_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip ) in prldap_set_default_socket_info()
|
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, 99 prldap_install_io_functions( LDAP *ld, int shared ) in prldap_install_io_functions() 489 prldap_newhandle( LDAP *ld, struct lextiof_session_private *sessionarg ) in prldap_newhandle() 517 prldap_shared_newhandle( LDAP *ld, struct lextiof_session_private *sessionarg ) in prldap_shared_newhandle() 530 prldap_disposehandle( LDAP *ld, struct lextiof_session_private *sessionarg ) in prldap_disposehandle() 538 prldap_shared_disposehandle( LDAP *ld, in prldap_shared_disposehandle() 584 prldap_session_arg_from_ld( LDAP *ld, PRLDAPIOSessionArg **sessargpp ) in prldap_session_arg_from_ld() [all …]
|
/titanic_41/usr/src/lib/libldap5/include/ldap/ |
H A D | ldappr.h | 55 LDAP * LDAP_CALL prldap_init( const char *defhost, int defport, int shared ); 72 int LDAP_CALL prldap_install_routines( LDAP *ld, int shared ); 87 int LDAP_CALL prldap_set_session_option( LDAP *ld, void *sessionarg, 103 int LDAP_CALL prldap_get_session_option( LDAP *ld, void *sessionarg, 166 int LDAP_CALL prldap_set_session_info( LDAP *ld, void *sessionarg, 181 int LDAP_CALL prldap_get_session_info( LDAP *ld, void *sessionarg, 233 int LDAP_CALL prldap_get_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip ); 244 int LDAP_CALL prldap_set_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip );
|
H A D | solaris-int.h | 255 LDAP *ld, struct lextiof_session_private *sessionarg ); 257 LDAP *ld, struct lextiof_session_private *sessionarg ); 360 LDAP *ld, struct sockaddr *netaddr, char *buffer, int buflen); 382 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_BIND_CALLBACK)(LDAP *ld, int msgid, 385 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_UNBIND_CALLBACK)(LDAP *ld, 387 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_SEARCH_CALLBACK)(LDAP *ld, 390 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_COMPARE_CALLBACK)(LDAP *ld, 393 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_ADD_CALLBACK)(LDAP *ld, 395 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_DELETE_CALLBACK)(LDAP *ld, 397 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_MODIFY_CALLBACK)(LDAP *ld, [all …]
|
H A D | disptmpl.h | 329 ldap_entry2text( LDAP *ld, char *buf, LDAPMessage *entry, 336 ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, 342 ldap_entry2text_search( LDAP *ld, char *dn, char *base, LDAPMessage *entry, 349 ldap_entry2html( LDAP *ld, char *buf, LDAPMessage *entry, 356 ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, 362 ldap_entry2html_search( LDAP *ld, char *dn, char *base, LDAPMessage *entry,
|
/titanic_41/usr/src/cmd/sendmail/include/sm/ |
H A D | ldap.h | 72 LDAP *ldap_ld; 131 extern void sm_ldap_setopts __P((LDAP *, SM_LDAP_STRUCT *)); 132 extern int sm_ldap_geterrno __P((LDAP *));
|