Searched refs:LDAP (Results 51 - 75 of 101) sorted by relevance

12345

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsasl.c53 static int nsldapi_sasl_close( LDAP *ld, Sockbuf *sb );
149 LDAP *ld;
159 ld = (LDAP *)sb->sb_sasl_prld;
319 LDAP *ld;
325 ld = (LDAP *)sb->sb_sasl_prld;
379 LDAP *ld;
384 ld = (LDAP *)sb->sb_sasl_prld;
406 nsldapi_sasl_install( LDAP *ld, Sockbuf *sb, void *ctx_arg, sasl_ssf_t *ssf)
521 nsldapi_sasl_cvterrno( LDAP *ld, int err, char *msg )
569 nsldapi_sasl_open(LDAP *l
[all...]
H A Dtmplout.c31 * tmplout.c: display template library output routines for LDAP clients
48 static int do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
52 static int do_entry2text_search( LDAP *ld, char *dn, char *base,
56 static int do_vals2text( LDAP *ld, char *buf, char **vals, char *label,
67 static int searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
85 LDAP *ld,
110 LDAP *ld,
138 LDAP *ld,
387 LDAP *ld,
412 LDAP *l
[all...]
H A Durl.c35 /* LIBLDAP url.c -- LDAP URL related routines
37 * LDAP URLs look like this:
77 * return non-zero if this looks like a LDAP URL; zero if not
117 return( 0 ); /* not an LDAP URL */
126 * Pick apart the pieces of an LDAP URL.
151 * Pick apart the pieces of an LDAP URL.
405 ldap_url_search( LDAP *ld, const char *url, int attrsonly )
482 ldap_url_search_st( LDAP *ld, const char *url, int attrsonly,
521 ldap_url_search_s( LDAP *ld, const char *url, int attrsonly, LDAPMessage **res )
538 * Locate the LDAP UR
[all...]
H A Derror.c155 { LDAP_SERVER_DOWN, "Can't contact LDAP server" },
165 { LDAP_CONNECT_ERROR, "Can't connect to the LDAP server" },
166 { LDAP_NOT_SUPPORTED, "Not supported by this version of the LDAP protocol" },
167 { LDAP_CONTROL_NOT_FOUND, "Requested LDAP control not found" },
271 "Can't contact LDAP server");
286 "Can't connect to the LDAP server");
288 "Not supported by this version of the LDAP protocol");
290 "Requested LDAP control not found");
341 ldap_perror( LDAP *ld, const char *s )
397 sprintf( msg, dgettext(TEXT_DOMAIN, "%s%sNot an LDAP errn
[all...]
H A Dcram_md5.c65 LDAP *ld,
H A Dsortctrl.c26 ld LDAP pointer to the desired connection
41 LDAP *ld,
125 ld LDAP pointer to the desired connection
140 LDAP *ld,
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_pwd_policy.c57 LDAP *ld=NULL;
134 LDAP *ld=NULL;
187 LDAP *ld,
228 LDAP *ld=NULL;
337 LDAP *ld=NULL;
388 LDAP *ld=NULL;
H A Dkdb_ldap.h107 prepend_err_str(context, "LDAP handle unavailable: ", KRB5_KDB_ACCESS_ERROR, st); \
130 prepend_err_str(context, "LDAP handle unavailable: ", KRB5_KDB_ACCESS_ERROR, st); \
199 LDAP *ldap_handle;
330 ldap_initialize(LDAP **, char *, int, char **);
334 ldap_unbind_ext_s(LDAP *, LDAPControl **, LDAPControl **);
H A Dldap_services.c55 LDAP *ld=NULL;
187 LDAP *ld=NULL;
353 LDAP *ld=NULL;
431 LDAP *ld = NULL;
577 LDAP *ld=NULL;
H A Dldap_tkt_policy.c49 LDAP *ld=NULL;
126 LDAP *ld=NULL;
205 LDAP *ld=NULL;
299 LDAP *ld = NULL;
435 LDAP *ld=NULL;
H A Dldap_misc.c139 * parameters read here are DAL-LDAP specific attributes. Some of
205 * KDC, ADMIN or PASSWD dn to be used to connect to LDAP
955 LDAP *ld;
1035 LDAP *ld;
1080 LDAP *ld;
1283 LDAP *ld;
1309 LDAP *ld;
1342 LDAP *ld;
1391 LDAP *ld;
1606 krb5_set_error_message(kcontext, status, "LDAP
[all...]
H A Dldap_krbcontainer.c80 LDAP *ld=NULL;
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c49 * Information required by the function that handles the callback from LDAP
59 static void directory_provider_ad_cb(LDAP *ld, LDAPMessage **ldapres, int rc,
61 static void directory_provider_ad_cb1(LDAP *ld, LDAPMessage *msg,
68 static directory_error_t get_domain(LDAP *ld, LDAPMessage *ldapres,
340 * Callback from the LDAP functions when they get responses.
347 LDAP *ld,
365 * Process a single entry returned by an LDAP callback.
368 * Given an LDAP response, populate the directory entry for return to
370 * with LDAP, so we don't have to do any attribute translation.
375 LDAP *l
[all...]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_ldap.c53 * a LDAP directory for the Naming Service (NS) switch.
82 * LDAP objectclass atributes that the user can explicity change
135 * List of LDAP attributes that user is not allowed to explicitly change
147 static NSL_RESULT _connectToLDAP(ns_cred_t *cred, LDAP **ld);
150 static NSL_RESULT _checkPrinterExists(LDAP *ld, uchar_t *printerName,
152 static NSL_RESULT _checkPrinterDNExists(LDAP *ld, uchar_t *objectDN);
153 static NSL_RESULT _checkSunPrinter(LDAP *ld, uchar_t *printerDN);
154 static NSL_RESULT _addNewPrinterObject(LDAP *ld, uchar_t *printerName,
156 static NSL_RESULT _modifyPrinterObject(LDAP *ld, uchar_t *printerDN,
170 static NSL_RESULT _getCurrentKVPValues(LDAP *l
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c90 _ns_gethostbyaddr(LDAP *ld, const char *addr, int length, int type,
115 * LDAP session data structure.
130 LDAP *ld;
136 * LDAP socket data structure.
180 static int check_clientauth_nicknames_and_passwd( LDAP *ld,
199 LDAP *
203 LDAP *ld;
386 * Add SSL layer and let the standard NSPR to LDAP layer and enable SSL.
400 * Let the standard NSPR to LDAP layer know about the new socket and
474 ldapssl_disposehandle(LDAP *l
[all...]
H A Dclientinit.c746 static int ldapssl_tls_start(LDAP *ld, int *msgidp)
771 * Function that enables SSL on an already open non-secured LDAP connection.
774 static int ldapssl_enableSSL_on_open_connection(LDAP *ld, int defsecure,
839 * this function returns the LDAP session designed by ld will have been
867 ldapssl_tls_start_s(LDAP *ld,int defsecure, char *certdbpath, char *keydbpath,
/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/
H A Dinityp2l.sh27 # inityp2l -- Utility to generate YP (NIS) to LDAP
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 serve
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.c41 ldaptool_set_sasl_defaults ( LDAP *ld, char *mech, char *authid, char *username,
75 ldaptool_sasl_interact( LDAP *ld, unsigned flags, void *defaults, void *prompts ) {
H A Dldapmodify.c28 /* ldapmodify.c - generic program to modify or add entries using LDAP */
62 static LDAP *ld;
102 static int process_ldapmod_rec( LDAP *ld, char *rbuf );
103 static int process_ldif_rec( LDAP *ld, char *rbuf );
104 static int domodify( LDAP *ld, char *dn, LDAPMod **pmods, int newentry );
105 static int dodelete( LDAP *ld, char *dn );
106 static int dorename( LDAP *ld, char *dn, char *newrdn, char *newparent,
137 fprintf( stderr, gettext(" -l nb-connections\tnumber of LDAP connections\n"));
246 LDAP *ld;
438 process_ldif_rec( LDAP *l
[all...]
H A Dcommon.c29 * code that is shared by two or more of the LDAP command line tools
73 static int wait4result( LDAP *ld, int msgid, struct berval **servercredp,
75 static int parse_result( LDAP *ld, LDAPMessage *res,
155 fprintf( stderr, gettext(" -d level\tset LDAP debugging level to `level'\n") );
161 fprintf( stderr, gettext(" -0\t\tignore LDAP library version mismatches\n") );
280 * the LDAP tools.
281 * Handle options that are common to all of the LDAP tools.
333 * Perform a sanity check on the revision of the LDAP API library to
353 fprintf( stderr, gettext("%s: unable to retrieve LDAP library version"
354 " information;\n\tthis program requires an LDAP librar
[all...]
H A Dldaptest.c22 static void handle_result( LDAP *ld, LDAPMessage *lm );
23 static void print_ldap_result( LDAP *ld, LDAPMessage *lm, char *s );
24 static void print_search_entry( LDAP *ld, LDAPMessage *res );
220 bind_prompt( LDAP *ld, char **dnp, char **passwdp, int *authmethodp,
258 LDAP *ld;
788 getaline( line, sizeof(line), stdin, "LDAP URL? " );
797 case 'p': /* parse LDAP URL */
798 getaline( line, sizeof(line), stdin, "LDAP URL? " );
1000 printf( " [E]xplode dn [p]arse LDAP URL\n" );
1015 handle_result( LDAP *l
[all...]
H A Dldapsearch.c28 /* ldapsearch.c - generic program to search LDAP */
44 static int dosearch( LDAP *ld, char *base, int scope, char **attrs,
51 static void print_entry( LDAP *ld, LDAPMessage *entry, int attrsonly );
53 static void parse_and_display_reference( LDAP *ld, LDAPMessage *ref );
79 fprintf( stderr, gettext(" filter\tRFC-2254 compliant LDAP search filter\n") );
80 fprintf( stderr, gettext(" file\tfile containing a sequence of LDAP search filters to use\n") );
159 LDAP *ld;
604 LDAP *ld;
819 fprintf( stderr, gettext("%s: ignoring LDAP response message"
944 LDAP *l
[all...]
/illumos-gate/usr/src/lib/libadutils/common/
H A Dlibadutils.h65 * ldap_result(3LDAP).
66 * ld - LDAP handle used by ldap_result(3LDAP)
67 * res - Entry returned by ldap_result(3LDAP)
68 * rc - Return value of ldap_result(3LDAP)
73 typedef void (*adutils_ldap_res_search_cb)(LDAP *ld, LDAPMessage **res,
87 * We use the port numbers for normal LDAP and global catalog LDAP as
112 * is currently implement using libldap's ldap_search_ext(3LDAP) and
113 * ldap_result(3LDAP) API
[all...]
H A Dadutils_threadfuncs.c28 * Functions for managing thread-local storage for LDAP, and in particular
29 * for managing storage of the LDAP error state.
78 * Set up thread management functions for the specified LDAP session.
82 adutils_set_thread_functions(LDAP *ld)
177 * Get a pointer to the thread's local LDAP error state structure.
212 * Store an error report in the thread's local LDAP error state structure.
234 * Retrieve an error report from the thread's local LDAP error state structure.
256 * Free the thread's local LDAP error state structure.
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c54 LDAP *,
63 LDAP **,
66 extern int ldap_sasl_cram_md5_bind_s(LDAP *, char *, struct berval *,
68 extern int ldapssl_install_gethostbyaddr(LDAP *ld, const char *skip);
77 static int openConnection(LDAP **, const char *, const ns_cred_t *,
696 LDAP *ld = NULL;
821 "unable to make LDAP connection, "
1213 * client requests any other LDAP
1247 * for searching the LDAP directory,
1252 * on the LDAP searc
[all...]

Completed in 85 milliseconds

12345