/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | abandon.c | 41 static int do_abandon( LDAP *ld, int origid, int msgid, 47 * ld LDAP descriptor 57 ldap_abandon( LDAP *ld, int msgid ) 71 * Returns an LDAP error code. 75 ldap_abandon_ext( LDAP *ld, int msgid, LDAPControl **serverctrls, 106 * Returns an LDAP error code and sets it in LDAP *ld as well 109 do_abandon( LDAP *ld, int origid, int msgid, LDAPControl **serverctrls,
|
H A D | add.c | 43 * ld LDAP descriptor 61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) 78 * Returns an LDAP error code. 82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, 190 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ) 196 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs,
|
H A D | modify.c | 43 * ld LDAP descriptor 59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) 75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, 190 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ) 197 ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods,
|
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 ); 58 /* returns an LDAP error code and also sets error inside LDAP * */ 60 nsldapi_alloc_ber_with_options( LDAP *ld, BerElement **berp ) 81 nsldapi_set_ber_options( LDAP *ld, BerElement *ber ) 96 nsldapi_send_initial_request( LDAP *l [all...] |
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, 60 * ld LDAP descriptor 85 LDAP *ld, 255 ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs, int attrsonly, 349 ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs, int attrsonly, 361 ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs, int attrsonly, 381 ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b ) 445 ldap_ufn_expand( LDAP *l [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 *l [all...] |
H A D | extendop.c | 25 * LDAP error code. 38 LDAP *ld, 142 LDAP *ld, 176 * operation result. Return an LDAP error code. 181 LDAP *ld,
|
H A D | saslbind.c | 31 * and credentials of the entry to which to bind are supplied. An LDAP 47 LDAP *ld, 176 LDAP *ld, 212 /* returns an LDAP error code that indicates if parse succeeded or not */ 216 LDAP *ld,
|
H A D | getvalues.c | 42 internal_ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target, 330 internal_ldap_get_lang_values( LDAP *ld, LDAPMessage *entry, 448 ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target ) 455 ldap_get_values_len( LDAP *ld, LDAPMessage *entry, const char *target ) 463 ldap_get_lang_values( LDAP *ld, LDAPMessage *entry, const char *target, 472 ldap_get_lang_values_len( LDAP *ld, LDAPMessage *entry, const char *target,
|
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 ) 246 int salen, LDAP *ld) 466 nsldapi_connect_to_host( LDAP *ld, Sockbuf *sb, const char *hostlist, 537 nsldapi_try_each_host( LDAP *l [all...] |
H A D | cache.c | 29 * cache.c - generic caching support for LDAP 35 * ldap_cache_flush - flush part of the LDAP cache. returns an 41 ldap_cache_flush( LDAP *ld, const char *dn, const char *filter ) 62 nsldapi_add_result_to_cache( LDAP *ld, LDAPMessage *m )
|
H A D | open.c | 378 * fprintf( stderr, "LDAP SDK level insufficient\n" ); 382 * fprintf( stderr, "LDAP SDK level insufficient\n" ); 415 * LDAP *ld; 419 LDAP * 423 LDAP *ld; 447 * ldap_init - initialize the LDAP library. A magic cookie to be used for 452 * LDAP *ld; 455 LDAP * 459 LDAP *ld; 477 if ( (ld = (LDAP*)NSLDAPI_MALLO [all...] |
H A D | psearch.c | 28 ldap_create_persistentsearch_control( LDAP *ld, int changetypes, 80 ldap_parse_entrychange_control( LDAP *ld, LDAPControl **ctrls, int *chgtypep,
|
H A D | vlistctrl.c | 38 * freshly allocated LDAPControl structure. Returns an LDAP error code 42 * ld LDAP pointer to the desired connection 75 LDAP *ld, 154 * contents. Returns an LDAP error code that indicates whether the parsing 180 LDAP *ld,
|
H A D | sort.c | 36 * sort.c: LDAP library entry and value sort routines 77 LDAP *ld, 200 LDAP *ld, 282 LDAP *ld, 298 LDAP *ld,
|
H A D | search.c | 48 static int nsldapi_search( LDAP *ld, const char *base, int scope, 62 static int nsldapi_search_s( LDAP *ld, const char *base, int scope, 71 * ld LDAP descriptor 88 LDAP *ld, 111 * Returns an LDAP error code. 116 LDAP *ld, 152 LDAP *ld, 241 * send in an LDAP search request. If timeoutp is NULL, return defaultvalue. 253 timelimit = 1; /* minimum we can express in LDAP */ 267 /* returns an LDAP erro [all...] |
H A D | memcache.c | 135 LDAP *ldmemcrid_ld; 141 LDAP *ldmemcl_ld; 183 static int memcache_exist(LDAP *ld); 184 static int memcache_add_to_ld(LDAP *ld, int msgid, LDAPMessage *pMsg); 206 static int memcache_search(LDAP *ld, unsigned long key, LDAPMessage **ppRes); 207 static int memcache_add(LDAP *ld, unsigned long key, int msgid, 209 static int memcache_append(LDAP *ld, int msgid, LDAPMessage *pRes); 210 static int memcache_append_last(LDAP *ld, int msgid, LDAPMessage *pRes); 211 static int memcache_remove(LDAP *ld, int msgid); 213 static int memcache_remove_all(LDAP *l [all...] |
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapdelete.c | 28 /* ldapdelete.c - simple program to delete an entry using LDAP */ 46 static LDAP *ld; 51 static int dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls ); 161 dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls ) 182 dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls )
|
H A D | ldapmodrdn.c | 8 /* ldapmodrdn.c - generic program to modify an entry's RDN using LDAP */ 21 static LDAP *ld; 23 static int domodrdn( LDAP *ld, char *dn, char *rdn, char *newsuperior, 160 printf( gettext("LDAP Server is V2: <newsuperior> argument is ignored...\n") ); 223 domodrdn( LDAP *ld, char *dn, char *rdn, char *newsuperior, int remove_oldrdn )
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
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,
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-threads.c | 85 * LDAP session handle. One of these exists for each active LDAP session 89 LDAP *prtm_ld; /* non-NULL if in use */ 103 * we have ever allocated. We recycle them as we open and close LDAP 149 static PRLDAP_TPDMap *prldap_allocate_map( LDAP *ld ); 162 * as the default functions for new LDAP * handles). 167 prldap_install_thread_functions( LDAP *ld, int shared ) 318 * recycled and used by other LDAP sessions. All of the 345 * Called when a new LDAP * session handle is allocated. 352 prldap_thread_new_handle( LDAP *l [all...] |
H A D | ldappr-io.c | 34 * useful information. We use the default argument to hold an LDAP session 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, 94 * as the default functions for new LDAP * handles). 99 prldap_install_io_functions( LDAP *ld, int shared ) 211 int evm_ldap; /* LDAP poll event */ 254 /* populate NSPR poll info. based on LDAP info. */ 277 /* populate LDAP inf [all...] |
H A D | ldappr-dns.c | 57 static int prldap_getpeername( LDAP *ld, struct sockaddr *addr, 74 * as the default functions for new LDAP * handles). 79 prldap_install_dns_functions( LDAP *ld ) 134 prldap_getpeername( LDAP *ld, struct sockaddr *addr, char *buffer, int buflen) 180 * the hostname to an IP address when a host name is given to LDAP user. 182 * For example, libsldap cannot use LDAP to resolve the host name to an 201 prldap_x_install_dns_skipdb(LDAP *ld, const char *skip) 320 * resolve the LDAP server name. 359 * resolve the LDAP server name and so warn the system
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connmgmt.h | 144 * used, when the Native LDAP configuration change, or when the libsldap 174 * (a connection pool sharing the same native LDAP configuration) 185 * connections using the same native LDAP configuration. It is a connection 204 * Each ns_conn_mgmt references a native LDAP configuration. The config 222 ns_config_t *config; /* the native LDAP config being used */ 239 * very helpful to know exactly when the Native LDAP configuration changes 247 * change in servers' status or if the native LDAP configuration has changed. 282 int __s_api_setup_mt_ld(LDAP *ld); 292 int __s_api_check_libldap_MT_conn_support(ns_conn_user_t *, LDAP *ld,
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | libsmbns.h | 45 LDAP *ld; /* LDAP handle */
|