Searched refs:binddn (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dbind.c143 char *binddn; local
145 binddn = NULL; /* default -- assume they are not bound */
150 if (( binddn = ld->ld_defconn->lconn_binddn ) == NULL ) {
151 binddn = "";
156 return( binddn );
H A Dsbind.c186 char *binddn; local
201 if ( NULL != ( binddn = nsldapi_get_binddn( ld ))
202 && 0 == strcmp( dn, binddn )) {
H A Drequest.c465 char *binddn, *passwd; local
471 binddn = passwd = "";
474 if (( lderr = (*ld->ld_rebind_fn)( ld, &binddn, &passwd,
496 if (( lderr = ldap_bind_s( ld, binddn, passwd,
514 (*ld->ld_rebind_fn)( ld, &binddn, &passwd,
H A Dmemcache.c591 char *tmp, *defhost, *binddn, *keystr, *tmpbase; local
617 if ((binddn = nsldapi_get_binddn(ld)) == NULL)
618 binddn = "";
623 NSLDAPI_SAFE_STRLEN(binddn);
655 sprintf(keystr, "%s\n%s\n%s\n%s\n%s\n", binddn, tmpbase,
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c93 char *binddn = NULL; local
109 ldaprc = __ns_ldap_uid2dn(usrname, &binddn, NULL, &errorp);
113 credp->cred.unix_cred.userID = strdup(binddn);
262 if (binddn)
263 free(binddn);
/illumos-gate/usr/src/cmd/print/lpset/
H A Dlpset.c89 "[-h ldaphost] [-D binddn] [-w passwd] "
110 *binddn = NULL, local
146 binddn = optarg;
209 if (binddn == NULL) {
229 cred->binddn = binddn;
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns.h129 char *binddn; member in struct:ns_cred
H A Dnss_ldap.c422 ((cred->passwd == NULL) || (cred->binddn == NULL)))
474 cred->binddn, cred->passwd);
485 &(cred->binddn), &(cred->passwd),
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterNS.c228 const char *binddn = NULL; local
247 binddn = (*env)->GetStringUTFChars(env, jbinddn, 0);
266 ret = _updateldap(action, host, binddn, passwd, printername,
H A DNS.c237 char *binddn; member in struct:ns_cred
448 const char *binddn,
474 cred->binddn = strdup((char *)binddn);
445 _updateldap( const char *action, const char *host, const char *binddn, const char *passwd, const char *printername, const char *printserver, const char *extensions, const char *comment, const char *isdefault) argument
H A DDoPrinterNS.java43 String host, String binddn, String passwd,
411 Debug.message("SVR: binddn=" + user);
42 updateldap(String action, String host, String binddn, String passwd, String printername, String printserver, String extensions, String comment, String isdefault) argument
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c2340 char *binddn, *passwd, errstr[MAXERROR], *errmsg; local
2347 binddn = auth->cred.unix_cred.userID;
2350 binddn == NULL || *binddn == '\0') {
2363 msgId = ldap_simple_bind(ld, binddn, passwd);
2438 char *binddn, *passwd, *digest_md5_name, local
2462 binddn = auth->cred.unix_cred.userID;
2465 binddn == NULL || *binddn == '\0') {
2495 if ((ldap_rc = ldap_sasl_cram_md5_bind_s(ld, binddn,
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dcommon.c148 fprintf( stderr, gettext(" -D binddn\tbind dn\n") );
213 static char *binddn = NULL; variable
473 binddn = strdup( optarg );
811 if (binddn != NULL && passwd == NULL) {
830 if (ldaptool_require_binddn && binddn == NULL && passwd == NULL) {
1206 if ( ldversion > LDAP_VERSION2 && binddn == NULL && passwd == NULL
1220 conv = ldaptool_local2UTF8( binddn );
1247 rc = ldap_sasl_interactive_bind_s( ld, binddn, sasl_mech, NULL, NULL,
1258 if ( ldversion > LDAP_VERSION2 && binddn == NULL && passwd == NULL
1930 *whop = binddn;
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c982 ldap_replaceattr(const char *dn, ns_ldap_attr_t **attrs, const char *binddn, argument
1005 credp->cred.unix_cred.userID = strdup(binddn);
1142 char *binddn; /* dn of user who is performing the change */ local
1205 res = __ns_ldap_uid2dn(pw->pw_name, &binddn, NULL, &errorp);
1210 res = ldap_replaceattr(dn, pattrs, binddn, oldpw,

Completed in 72 milliseconds