Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dbind.c143 char *binddn; in nsldapi_get_binddn() local
145 binddn = NULL; /* default -- assume they are not bound */ in nsldapi_get_binddn()
150 if (( binddn = ld->ld_defconn->lconn_binddn ) == NULL ) { in nsldapi_get_binddn()
151 binddn = ""; in nsldapi_get_binddn()
156 return( binddn ); in nsldapi_get_binddn()
H A Dsbind.c186 char *binddn; in simple_bindifnot_s() local
201 if ( NULL != ( binddn = nsldapi_get_binddn( ld )) in simple_bindifnot_s()
202 && 0 == strcmp( dn, binddn )) { in simple_bindifnot_s()
H A Drequest.c465 char *binddn, *passwd; in nsldapi_new_connection() local
471 binddn = passwd = ""; in nsldapi_new_connection()
474 if (( lderr = (*ld->ld_rebind_fn)( ld, &binddn, &passwd, in nsldapi_new_connection()
496 if (( lderr = ldap_bind_s( ld, binddn, passwd, in nsldapi_new_connection()
514 (*ld->ld_rebind_fn)( ld, &binddn, &passwd, in nsldapi_new_connection()
H A Dmemcache.c591 char *tmp, *defhost, *binddn, *keystr, *tmpbase; in ldap_memcache_createkey() local
617 if ((binddn = nsldapi_get_binddn(ld)) == NULL) in ldap_memcache_createkey()
618 binddn = ""; in ldap_memcache_createkey()
623 NSLDAPI_SAFE_STRLEN(binddn); in ldap_memcache_createkey()
655 sprintf(keystr, "%s\n%s\n%s\n%s\n%s\n", binddn, tmpbase, in ldap_memcache_createkey()
/titanic_41/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c93 char *binddn = NULL; in authenticate() local
109 ldaprc = __ns_ldap_uid2dn(usrname, &binddn, NULL, &errorp); in authenticate()
113 credp->cred.unix_cred.userID = strdup(binddn); in authenticate()
262 if (binddn) in authenticate()
263 free(binddn); in authenticate()
/titanic_41/usr/src/cmd/print/lpset/
H A Dlpset.c110 *binddn = NULL, in main() local
146 binddn = optarg; in main()
209 if (binddn == NULL) { in main()
229 cred->binddn = binddn; in main()
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterNS.c228 const char *binddn = NULL; in Java_com_sun_admin_pm_server_DoPrinterNS_updateldap() local
247 binddn = (*env)->GetStringUTFChars(env, jbinddn, 0); in Java_com_sun_admin_pm_server_DoPrinterNS_updateldap()
266 ret = _updateldap(action, host, binddn, passwd, printername, in Java_com_sun_admin_pm_server_DoPrinterNS_updateldap()
H A DNS.c237 char *binddn; member
448 const char *binddn, in _updateldap() argument
474 cred->binddn = strdup((char *)binddn); in _updateldap()
H A DDoPrinterNS.java43 String host, String binddn, String passwd, in updateldap() argument
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_connect.c2340 char *binddn, *passwd, errstr[MAXERROR], *errmsg; in doSimpleBind() local
2347 binddn = auth->cred.unix_cred.userID; in doSimpleBind()
2350 binddn == NULL || *binddn == '\0') { in doSimpleBind()
2363 msgId = ldap_simple_bind(ld, binddn, passwd); in doSimpleBind()
2438 char *binddn, *passwd, *digest_md5_name, in doSASLBind() local
2462 binddn = auth->cred.unix_cred.userID; in doSASLBind()
2465 binddn == NULL || *binddn == '\0') { in doSASLBind()
2495 if ((ldap_rc = ldap_sasl_cram_md5_bind_s(ld, binddn, in doSASLBind()
2510 digest_md5_name = malloc(strlen(binddn) + 5); in doSASLBind()
2517 (void) strcat(digest_md5_name, binddn); in doSASLBind()
/titanic_41/usr/src/cmd/ldap/common/
H A Dcommon.c213 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;
/titanic_41/usr/src/lib/print/libprint/common/
H A Dns.h129 char *binddn; member
H A Dnss_ldap.c422 ((cred->passwd == NULL) || (cred->binddn == NULL))) in _connectToLDAP()
474 cred->binddn, cred->passwd); in _connectToLDAP()
485 &(cred->binddn), &(cred->passwd), in _connectToLDAP()
/titanic_41/usr/src/lib/passwdutil/
H A Dldap_attr.c982 ldap_replaceattr(const char *dn, ns_ldap_attr_t **attrs, const char *binddn, in ldap_replaceattr() argument
1005 credp->cred.unix_cred.userID = strdup(binddn); in ldap_replaceattr()
1142 char *binddn; /* dn of user who is performing the change */ in ldap_putpwnam() local
1205 res = __ns_ldap_uid2dn(pw->pw_name, &binddn, NULL, &errorp); in ldap_putpwnam()
1210 res = ldap_replaceattr(dn, pattrs, binddn, oldpw, in ldap_putpwnam()