/illumos-gate/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 …]
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 31 static LDAP * 45 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_abandon_ext() 54 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_abandon() 67 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_ext() 78 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_ext_s() 87 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add() 96 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_s() 109 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_compare_ext() 120 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_compare_ext_s() 130 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_compare() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldap-int.h | 652 char *nsldapi_get_binddn( LDAP *ld ); 657 void nsldapi_add_result_to_cache( LDAP *ld, LDAPMessage *result ); 668 int nsldapi_parse_result( LDAP *ld, int msgtype, BerElement *rber, 676 void nsldapi_mutex_alloc_all( LDAP *ld ); 677 void nsldapi_mutex_free_all( LDAP *ld ); 678 int nsldapi_open_ldap_defconn( LDAP *ld ); 684 int nsldapi_connect_to_host( LDAP *ld, Sockbuf *sb, const char *host, 686 void nsldapi_close_connection( LDAP *ld, Sockbuf *sb ); 688 int nsldapi_iostatus_poll( LDAP *ld, struct timeval *timeout ); 689 void nsldapi_iostatus_free( LDAP *ld ); [all …]
|
H A D | referral.c | 36 ldap_first_reference( LDAP *ld, LDAPMessage *res ) in ldap_first_reference() 52 ldap_next_reference( LDAP *ld, LDAPMessage *ref ) in ldap_next_reference() 70 ldap_count_references( LDAP *ld, LDAPMessage *res ) in ldap_count_references() 93 ldap_parse_reference( LDAP *ld, LDAPMessage *ref, char ***referralsp, in ldap_parse_reference() 121 nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp, in nsldapi_parse_reference() 171 char ** ldap_get_reference_urls(LDAP *ld, LDAPMessage *res) in ldap_get_reference_urls()
|
H A D | result.c | 44 static int check_response_queue( LDAP *ld, int msgid, int all, 46 static int ldap_abandoned( LDAP *ld, int msgid ); 47 static int ldap_mark_abandoned( LDAP *ld, int msgid ); 48 static int wait4msg( LDAP *ld, int msgid, int all, int unlock_permitted, 50 static int read1msg( LDAP *ld, int msgid, int all, Sockbuf *sb, LDAPConn *lc, 52 static void check_for_refs( LDAP *ld, LDAPRequest *lr, BerElement *ber, 54 static int build_result_ber( LDAP *ld, BerElement **berp, LDAPRequest *lr ); 55 static void merge_error_info( LDAP *ld, LDAPRequest *parentr, LDAPRequest *lr ); 57 static int cldap_select1( LDAP *ld, struct timeval *timeout ); 59 static void link_pend( LDAP *ld, LDAPPend *lp ); [all …]
|
H A D | request.c | 43 static LDAPConn *find_connection( LDAP *ld, LDAPServer *srv, int any ); 44 static void use_connection( LDAP *ld, LDAPConn *lc ); 46 static int chase_one_referral( LDAP *ld, LDAPRequest *lr, LDAPRequest *origreq, 48 static int re_encode_request( LDAP *ld, BerElement *origber, 52 static LDAPServer *dn2servers( LDAP *ld, char *dn ); 58 nsldapi_alloc_ber_with_options( LDAP *ld, BerElement **berp ) in nsldapi_alloc_ber_with_options() 79 nsldapi_set_ber_options( LDAP *ld, BerElement *ber ) in nsldapi_set_ber_options() 94 nsldapi_send_initial_request( LDAP *ld, int msgid, unsigned long msgtype, in nsldapi_send_initial_request() 146 LDAP *ld, /* session handle */ in nsldapi_send_server_request() 321 nsldapi_ber_flush( LDAP *ld, Sockbuf *sb, BerElement *ber, int freeit, in nsldapi_ber_flush() [all …]
|
H A D | sbind.c | 38 static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, 40 static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd ); 54 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd ) in ldap_simple_bind() 71 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, in simple_bind_nolock() 151 ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd ) in ldap_simple_bind_s() 180 simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd ) in simple_bindifnot_s()
|
H A D | ufn.c | 45 static int ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp, 49 static LDAPMessage *ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b ); 50 static LDAPMessage *ldap_ufn_expand( LDAP *ld, 83 LDAP *ld, in ldap_ufn_search_ctx() 253 ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs, int attrsonly, in ldap_ufn_search_ct() 347 ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs, int attrsonly, in ldap_ufn_search_c() 359 ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs, int attrsonly, in ldap_ufn_search_s() 379 ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b ) in ldap_msg_merge() 443 ldap_ufn_expand( LDAP *ld, LDAP_CANCELPROC_CALLBACK *cancelproc, in ldap_ufn_expand() 506 ldap_ufn_setfilter( LDAP *ld, char *fname ) in ldap_ufn_setfilter() [all …]
|
H A D | rename.c | 60 LDAP *ld, in ldap_rename() 183 ldap_modrdn2( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) in ldap_modrdn2() 196 ldap_modrdn( LDAP *ld, const char *dn, const char *newrdn ) in ldap_modrdn() 204 LDAP *ld, in ldap_rename_s() 231 ldap_modrdn2_s( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) in ldap_modrdn2_s() 247 ldap_modrdn_s( LDAP *ld, const char *dn, const char *newrdn ) in ldap_modrdn_s()
|
H A D | bind.c | 49 ldap_bind( LDAP *ld, const char *dn, const char *passwd, int authmethod ) in ldap_bind() 95 ldap_bind_s( LDAP *ld, const char *dn, const char *passwd, int authmethod ) in ldap_bind_s() 115 ldap_set_rebind_proc( LDAP *ld, LDAP_REBINDPROC_CALLBACK *rebindproc, in ldap_set_rebind_proc() 139 nsldapi_get_binddn( LDAP *ld ) in nsldapi_get_binddn()
|
H A D | getentry.c | 40 ldap_first_entry( LDAP *ld, LDAPMessage *chain ) in ldap_first_entry() 56 ldap_next_entry( LDAP *ld, LDAPMessage *entry ) in ldap_next_entry() 74 ldap_count_entries( LDAP *ld, LDAPMessage *chain ) in ldap_count_entries() 94 ldap_get_entry_controls( LDAP *ld, LDAPMessage *entry, in ldap_get_entry_controls()
|
H A D | message.c | 49 ldap_first_message( LDAP *ld, LDAPMessage *chain ) in ldap_first_message() 61 ldap_next_message( LDAP *ld, LDAPMessage *msg ) in ldap_next_message() 77 ldap_count_messages( LDAP *ld, LDAPMessage *chain ) in ldap_count_messages()
|
H A D | delete.c | 45 ldap_delete( LDAP *ld, const char *dn ) in ldap_delete() 60 ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls, in ldap_delete_ext() 131 ldap_delete_s( LDAP *ld, const char *dn ) in ldap_delete_s() 138 ldap_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls, in ldap_delete_ext_s()
|
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 …]
|
H A D | unbind.c | 46 ldap_unbind( LDAP *ld ) in ldap_unbind() 56 ldap_unbind_s( LDAP *ld ) in ldap_unbind_s() 64 ldap_unbind_ext( LDAP *ld, LDAPControl **serverctrls, in ldap_unbind_ext() 76 ldap_ld_free( LDAP *ld, LDAPControl **serverctrls, in ldap_ld_free() 190 nsldapi_send_unbind( LDAP *ld, Sockbuf *sb, LDAPControl **serverctrls, in nsldapi_send_unbind()
|
H A D | compare.c | 48 ldap_compare( LDAP *ld, const char *dn, const char *attr, const char *value ) in ldap_compare() 68 ldap_compare_ext( LDAP *ld, const char *dn, const char *attr, in ldap_compare_ext() 148 ldap_compare_s( LDAP *ld, const char *dn, const char *attr, in ldap_compare_s() 161 ldap_compare_ext_s( LDAP *ld, const char *dn, const char *attr, in ldap_compare_ext_s()
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.h | 44 updateAttribute (LDAP *, char *, char *, char *); 47 deleteAttribute (LDAP *, char *, char *, char *); 50 populateServers(LDAP *, char **, char ***, char *, char **); 59 checkattributevalue(LDAP *, char *, char *, char **, int *); 104 krb5_ldap_get_value(LDAP *, LDAPMessage *, char *, int *); 107 krb5_ldap_get_string(LDAP *, LDAPMessage *, char *, char **, krb5_boolean *); 110 krb5_ldap_get_strings(LDAP *, LDAPMessage *, char *, char ***, krb5_boolean *); 113 krb5_ldap_get_time(LDAP *, LDAPMessage *, char *, krb5_timestamp *, krb5_boolean *); 134 krb5_ldap_get_reference_count (krb5_context, char *, char *, int *, LDAP *); 148 LDAP *ld,
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-int.h | 78 int prldap_install_io_functions( LDAP *ld, int shared ); 79 int prldap_session_arg_from_ld( LDAP *ld, PRLDAPIOSessionArg **sessargpp ); 84 int prldap_socket_arg_from_ld( LDAP *ld, PRLDAPIOSocketArg **sockargpp ); 90 int prldap_install_thread_functions( LDAP *ld, int shared ); 91 int prldap_thread_new_handle( LDAP *ld, void *sessionarg ); 92 void prldap_thread_dispose_handle( LDAP *ld, void *sessionarg ); 98 int prldap_install_dns_functions( LDAP *ld ); 100 int prldap_x_install_dns_skipdb( LDAP *ld, const char *skip );
|
H A D | ldappr-public.c | 48 LDAP * LDAP_CALL 51 LDAP *ld; in prldap_init() 81 prldap_install_routines( LDAP *ld, int shared ) in prldap_install_routines() 107 prldap_set_session_option( LDAP *ld, void *sessionarg, int option, ... ) in prldap_set_session_option() 148 int LDAP_CALL prldap_get_session_option( LDAP *ld, void *sessionarg, in prldap_get_session_option() 186 prldap_set_session_info( LDAP *ld, void *sessionarg, PRLDAPSessionInfo *seip ) in prldap_set_session_info() 222 prldap_get_session_info( LDAP *ld, void *sessionarg, PRLDAPSessionInfo *seip ) in prldap_get_session_info() 314 prldap_get_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip ) in prldap_get_default_socket_info() 352 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 …]
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | ldappr.h | 53 LDAP * LDAP_CALL prldap_init( const char *defhost, int defport, int shared ); 70 int LDAP_CALL prldap_install_routines( LDAP *ld, int shared ); 85 int LDAP_CALL prldap_set_session_option( LDAP *ld, void *sessionarg, 101 int LDAP_CALL prldap_get_session_option( LDAP *ld, void *sessionarg, 164 int LDAP_CALL prldap_set_session_info( LDAP *ld, void *sessionarg, 179 int LDAP_CALL prldap_get_session_info( LDAP *ld, void *sessionarg, 231 int LDAP_CALL prldap_get_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip ); 242 int LDAP_CALL prldap_set_default_socket_info( LDAP *ld, PRLDAPSocketInfo *soip );
|
H A D | solaris-int.h | 253 LDAP *ld, struct lextiof_session_private *sessionarg ); 255 LDAP *ld, struct lextiof_session_private *sessionarg ); 358 LDAP *ld, struct sockaddr *netaddr, char *buffer, int buflen); 380 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_BIND_CALLBACK)(LDAP *ld, int msgid, 383 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_UNBIND_CALLBACK)(LDAP *ld, 385 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_SEARCH_CALLBACK)(LDAP *ld, 388 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_COMPARE_CALLBACK)(LDAP *ld, 391 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_ADD_CALLBACK)(LDAP *ld, 393 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_DELETE_CALLBACK)(LDAP *ld, 395 typedef int (LDAP_C LDAP_CALLBACK LDAP_CF_MODIFY_CALLBACK)(LDAP *ld, [all …]
|
H A D | disptmpl.h | 327 ldap_entry2text( LDAP *ld, char *buf, LDAPMessage *entry, 334 ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, 340 ldap_entry2text_search( LDAP *ld, char *dn, char *base, LDAPMessage *entry, 347 ldap_entry2html( LDAP *ld, char *buf, LDAPMessage *entry, 354 ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth, 360 ldap_entry2html_search( LDAP *ld, char *dn, char *base, LDAPMessage *entry,
|
/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/ |
H A D | inityp2l.sh | 89 to work in NIS to LDAP (N2L), rather than traditional NIS, mode 118 components to work in NIS to LDAP (N2L) mode, rather than 208 and if NIS components are desired to run in NIS to LDAP (N2L), 215 HELP - The DN which stores the configuration information in LDAP. 228 supplied, port 389 is assumed. For an LDAP server running 236 from LDAP server. The supported methods are provided in menu. 242 HELP - The transport layer security used for connection to the LDAP 279 HELP - List of directory servers for mapping data to/from LDAP. 284 port 389 is assumed. For an LDAP server running on this 292 from or to LDAP. Assumed to have the appropriate permission [all …]
|