Searched refs:LDAP (Results 1 - 25 of 101) sorted by relevance

12345

/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-int.h81 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 Dldappr-public.c43 * Create a new LDAP session handle, but with NSPR I/O, threading, and DNS
47 * this LDAP * handle from more than one thread.
49 * prldap_init() returns an LDAP session handle (or NULL if an error occurs).
51 LDAP * LDAP_CALL
54 LDAP *ld;
75 * for all new LDAP * handles).
78 * this LDAP * handle from more than one thread.
80 * prldap_install_routines() returns an LDAP API error code (LDAP_SUCCESS
84 prldap_install_routines( LDAP *ld, int shared )
100 * Given an LDAP sessio
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.h15 void *ldaptool_set_sasl_defaults ( LDAP *ld, char *mech, char *authid, char *username, char *passwd, char *realm );
16 int ldaptool_sasl_interact ( LDAP *ld, unsigned flags, void *defaults, void *p );
H A Dldaptool.h159 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 *l
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dllib-lldap20 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, LDAPControl **clientctrls, int *msgidp);
29 int ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls);
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 *l
[all...]
H A Dldap-int.h169 * structure for tracking LDAP server host, ports, DNs, etc.
181 * structure for representing an LDAP server connection
186 int lconn_version; /* LDAP protocol version */
217 int lr_res_errno; /* result LDAP errno */
265 int ld_version; /* LDAP protocol version */
385 /* With the 4.0 version of the LDAP SDK */
546 * handy macro to check whether LDAP struct is set up for CLDAP or not
564 * macro to return the LDAP protocol version we are using
654 char *nsldapi_get_binddn( LDAP *ld );
659 void nsldapi_add_result_to_cache( LDAP *l
[all...]
H A Dmessage.c51 ldap_first_message( LDAP *ld, LDAPMessage *chain )
63 ldap_next_message( LDAP *ld, LDAPMessage *msg )
79 ldap_count_messages( LDAP *ld, LDAPMessage *chain )
H A Dreferral.c38 ldap_first_reference( LDAP *ld, LDAPMessage *res )
54 ldap_next_reference( LDAP *ld, LDAPMessage *ref )
72 ldap_count_references( LDAP *ld, LDAPMessage *res )
91 * returns an LDAP error code.
95 ldap_parse_reference( LDAP *ld, LDAPMessage *ref, char ***referralsp,
119 * returns an LDAP error code indicating success or failure of parsing
123 nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp,
173 char ** ldap_get_reference_urls(LDAP *ld, LDAPMessage *res)
H A Dbind.c51 ldap_bind( LDAP *ld, const char *dn, const char *passwd, int authmethod )
97 ldap_bind_s( LDAP *ld, const char *dn, const char *passwd, int authmethod )
117 ldap_set_rebind_proc( LDAP *ld, LDAP_REBINDPROC_CALLBACK *rebindproc,
141 nsldapi_get_binddn( LDAP *ld )
H A Dgetentry.c42 ldap_first_entry( LDAP *ld, LDAPMessage *chain )
58 ldap_next_entry( LDAP *ld, LDAPMessage *entry )
76 ldap_count_entries( LDAP *ld, LDAPMessage *chain )
96 ldap_get_entry_controls( LDAP *ld, LDAPMessage *entry,
H A Drename.c43 * ld LDAP descriptor
50 * serverctrls list of LDAP server controls
62 LDAP *ld,
185 ldap_modrdn2( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn )
198 ldap_modrdn( LDAP *ld, const char *dn, const char *newrdn )
206 LDAP *ld,
233 ldap_modrdn2_s( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn )
249 ldap_modrdn_s( LDAP *ld, const char *dn, const char *newrdn )
H A Dsbind.c40 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 )
73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
153 ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd )
182 simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd )
H A Dcompare.c50 ldap_compare( LDAP *ld, const char *dn, const char *attr, const char *value )
70 ldap_compare_ext( LDAP *ld, const char *dn, const char *attr,
150 ldap_compare_s( LDAP *ld, const char *dn, const char *attr,
163 ldap_compare_ext_s( LDAP *ld, const char *dn, const char *attr,
H A Ddelete.c39 * ld LDAP descriptor
47 ldap_delete( LDAP *ld, const char *dn )
62 ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls,
133 ldap_delete_s( LDAP *ld, const char *dn )
140 ldap_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls,
H A Dgetattr.c60 ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **ber )
115 ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber )
H A Dproxyauthctrl.c32 ld LDAP pointer to the desired connection
47 LDAP *ld,
101 ld LDAP pointer to the desired connection
112 LDAP *ld,
H A Dspagectrl.c24 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output)
51 int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie)
H A Dunbind.c48 ldap_unbind( LDAP *ld )
58 ldap_unbind_s( LDAP *ld )
66 ldap_unbind_ext( LDAP *ld, LDAPControl **serverctrls,
74 * Dispose of the LDAP session ld, including all associated connections
78 ldap_ld_free( LDAP *ld, LDAPControl **serverctrls,
91 /* free LDAP structure and outstanding requests/responses */
192 nsldapi_send_unbind( LDAP *ld, Sockbuf *sb, LDAPControl **serverctrls,
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dldappr.h47 * Create a new LDAP session handle, but with NSPR I/O, threading, and DNS
51 * this LDAP * handle from more than one thread.
53 * Returns an LDAP session handle (or NULL if an error occurs).
55 LDAP * LDAP_CALL prldap_init( const char *defhost, int defport, int shared );
65 * for all new LDAP * handles).
68 * this LDAP * handle from more than one thread.
70 * Returns an LDAP API error code (LDAP_SUCCESS if all goes well).
72 int LDAP_CALL prldap_install_routines( LDAP *ld, int shared );
78 * Given an LDAP session handle or a session argument such is passed to
85 * Returns an LDAP AP
[all...]
H A Dsolaris-int.h37 * LBER_USE_DER is defined for compatibility with the C LDAP API RFC.
65 * Socket buffer structure associated to the LDAP connection
175 * that is associated with the LDAP session handle (LDAP *). For others, the
180 * defined by the LDAP C API; users of this extended I/O interface should
201 * after the LDAP session handle is created, e.g., during ldap_init().
206 * before the LDAP session handle and its contents are destroyed, e.g.,
210 /* LDAP poll()-like descriptor:
255 LDAP *ld, struct lextiof_session_private *sessionarg );
257 LDAP *l
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.h46 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 *l
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_wrapper.c33 static LDAP *
47 LDAP *ld = __s_api_getLDAPconn(flags);
56 LDAP *ld = __s_api_getLDAPconn(flags);
69 LDAP *ld = __s_api_getLDAPconn(flags);
80 LDAP *ld = __s_api_getLDAPconn(flags);
89 LDAP *ld = __s_api_getLDAPconn(flags);
98 LDAP *ld = __s_api_getLDAPconn(flags);
111 LDAP *ld = __s_api_getLDAPconn(flags);
122 LDAP *ld = __s_api_getLDAPconn(flags);
132 LDAP *l
[all...]
/illumos-gate/usr/src/head/
H A Dldap.h63 * The following will be an RFC number once the LDAP C API Internet Draft
71 * C LDAP features we support that are not (yet) part of the LDAP C API
138 typedef struct ldap LDAP; /* opaque connection handle */ typedef in typeref:struct:ldap
143 /* structure representing an LDAP modification */
171 * LDAP API information. Can be retrieved by using a sequence like:
181 int ldapai_protocol_version; /* highest LDAP version supported */
189 * LDAP API extended features info. Can be retrieved by using a sequence like:
347 * Begin LDAP Display Template Definitions
456 int ldap_create_page_control(LDAP *l
[all...]
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dldap.h72 LDAP *ldap_ld;
98 /* Linked list of maps sharing the same LDAP binding */
131 extern void sm_ldap_setopts __P((LDAP *, SM_LDAP_STRUCT *));
132 extern int sm_ldap_geterrno __P((LDAP *));
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils_impl.h101 LDAP *ld; /* LDAP connection */
104 int dead; /* error on LDAP connection */
106 * Used to distinguish between different instances of LDAP
110 * share this adutils_host object but used different LDAP connections
111 * to send their LDAP searches.
115 /* LDAP DS info */
131 struct adutils_result **result; /* The LDAP search result */
133 int msgid; /* LDAP message ID */
144 uint16_t qdead; /* oops, lost LDAP connectio
[all...]

Completed in 134 milliseconds

12345