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

123456

/osnet-11/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 );
/osnet-11/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...]
/osnet-11/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.h166 * structure for tracking LDAP server host, ports, DNs, etc.
178 * structure for representing an LDAP server connection
183 int lconn_version; /* LDAP protocol version */
214 int lr_res_errno; /* result LDAP errno */
262 int ld_version; /* LDAP protocol version */
382 /* With the 4.0 version of the LDAP SDK */
543 * handy macro to check whether LDAP struct is set up for CLDAP or not
561 * macro to return the LDAP protocol version we are using
651 char *nsldapi_get_binddn( LDAP *ld );
656 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,
/osnet-11/usr/src/lib/libldap4/common/
H A Dllib-lldap23 int ldap_abandon_ext(LDAP *ld, int msgid, LDAPControl **serverctrls, LDAPControl ** clientctrls);
24 int ldap_abandon( LDAP *ld, int msgid );
29 int ldap_add_ext( LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
30 int ldap_add_ext_s( LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls);
31 int ldap_add( LDAP *ld, char *dn, LDAPMod **attrs );
32 int ldap_add_s( LDAP *ld, char *dn, LDAPMod **attrs );
41 int ldap_simple_bind( LDAP *ld, char *who, char *passwd );
42 int ldap_simple_bind_s( LDAP *ld, char *who, char *passwd );
47 int ldap_sasl_bind(LDAP *ld, char *dn, char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
48 int ldap_sasl_bind_s(LDAP *l
[all...]
H A Dgetmsg.c20 LDAPMessage * ldap_first_message(LDAP *ld, LDAPMessage *res)
25 LDAPMessage * ldap_next_message(LDAP *ld, LDAPMessage *msg)
32 int ldap_count_messages( LDAP *ld, LDAPMessage *res)
H A Dgetentry.c41 ldap_first_entry( LDAP *ld, LDAPMessage *res )
54 LDAPMessage *ldap_next_entry( LDAP *ld, LDAPMessage *entry )
73 ldap_count_entries( LDAP *ld, LDAPMessage *res )
H A Dnotif.c16 LDAPMessage *ldap_first_notif(LDAP *ld)
21 LDAPMessage *ldap_next_notif(LDAP *ld, LDAPMessage *current)
29 int ldap_reset_notif(LDAP *ld, int freeit)
56 int ldap_remove_notif(LDAP *ld, LDAPMessage *notif, int freeit)
81 int ldap_add_notif(LDAP *ld, LDAPMessage *notif)
98 int ldap_insert_notif(LDAP *ld, LDAPMessage *notif)
H A Dgetref.c21 LDAPMessage * ldap_first_reference(LDAP *ld, LDAPMessage *res)
33 LDAPMessage * ldap_next_reference(LDAP *ld, LDAPMessage *entry)
51 ldap_count_references( LDAP *ld, LDAPMessage *res )
62 char ** ldap_get_reference_urls(LDAP *ld, LDAPMessage *res)
H A Dmodrdn.c39 * ld LDAP descriptor
48 ldap_modrdn( LDAP *ld, char *dn, char *newrdn, int deleteoldrdn )
94 ldap_modrdn0( LDAP *ld, char *dn, char *newrdn )
100 ldap_modrdn_s( LDAP *ld, char *dn, char *newrdn, int deleteoldrdn )
115 ldap_modrdn0_s( LDAP *ld, char *dn, char *newrdn )
H A Dopen.c70 * LDAP *ld;
74 LDAP *
77 LDAP *ld;
118 open_default_ldap_connection(LDAP *ld)
182 * ldap_init - initialize the LDAP library. A magic cookie to be used for
187 * LDAP *ld;
190 LDAP *
193 LDAP *ld;
203 if ((ld = (LDAP *) calloc(1, sizeof (LDAP)))
[all...]
H A Dbind.c56 ldap_bind( LDAP *ld, char *dn, char *passwd, int authmethod )
109 ldap_bind_s( LDAP *ld, char *dn, char *passwd, int authmethod )
135 ldap_set_rebind_proc( LDAP *ld, LDAP_REBIND_FUNCTION *rebindproc, void *extra_arg )
/osnet-11/usr/src/lib/libldap4/include/
H A Dldap-int.h12 * ldap-int.h - defines & prototypes internal to the LDAP library
40 void add_request_to_cache( LDAP *ld, unsigned int msgtype,
42 void add_result_to_cache( LDAP *ld, LDAPMessage *result );
43 int check_cache( LDAP *ld, unsigned int msgtype, BerElement *request );
56 char *get_kerberosv4_credentials( LDAP *ld, char *who, char *service,
67 int ldap_insert_notif(LDAP *ld, LDAPMessage *notif);
68 int ldap_add_notif(LDAP *ld, LDAPMessage *notif);
76 int open_default_ldap_connection(LDAP *ld);
77 int open_ldap_connection( LDAP *ld, Sockbuf *sb, char *host, int defport,
88 int ldap_get_option (LDAP *l
[all...]
H A Dldap.h107 /* Begin LDAP Display Template Definitions */
198 * LDAP API Information structure
203 int ldapai_protocol_version; /* highest LDAP version supported */
212 * LDAP API Feature Information
391 * Structure for LDAP modifications
413 typedef struct ldap LDAP; /* Opaque LDAP connection handle */ typedef in typeref:struct:ldap
420 typedef int (LDAP_REBIND_FUNCTION)(LDAP *ld, char **dn, char **passwd,
496 * specific LDAP instantiations of BER types we know about
798 extern LDAP *ldap_ope
[all...]
/osnet-11/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...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.h45 updateAttribute (LDAP *, char *, char *, char *);
48 deleteAttribute (LDAP *, char *, char *, char *);
51 populateServers(LDAP *, char **, char ***, char *, char **);
60 checkattributevalue(LDAP *, char *, char *, char **, int *);
105 krb5_ldap_get_value(LDAP *, LDAPMessage *, char *, int *);
108 krb5_ldap_get_string(LDAP *, LDAPMessage *, char *, char **, krb5_boolean *);
111 krb5_ldap_get_strings(LDAP *, LDAPMessage *, char *, char ***, krb5_boolean *);
114 krb5_ldap_get_time(LDAP *, LDAPMessage *, char *, krb5_timestamp *, krb5_boolean *);
135 krb5_ldap_get_reference_count (krb5_context, char *, char *, int *, LDAP *);
149 LDAP *l
[all...]
H A Dldap_misc_solaris.c25 ldap_initialize(LDAP **ldp, char *url, int use_SSL, char **errstr)
28 LDAP *ld = NULL;
32 Solaris (based on Mozilla's LDAP client code), we need the
67 /* convert to generic LDAP error */
/osnet-11/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...]
/osnet-11/usr/src/head/
H A Dldap.h61 * The following will be an RFC number once the LDAP C API Internet Draft
69 * C LDAP features we support that are not (yet) part of the LDAP C API
136 typedef struct ldap LDAP; /* opaque connection handle */ typedef in typeref:struct:ldap
141 /* structure representing an LDAP modification */
169 * LDAP API information. Can be retrieved by using a sequence like:
179 int ldapai_protocol_version; /* highest LDAP version supported */
187 * LDAP API extended features info. Can be retrieved by using a sequence like:
345 * Begin LDAP Display Template Definitions
454 int ldap_create_page_control(LDAP *l
[all...]
/osnet-11/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 *));

Completed in 98 milliseconds

123456