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

/PHP_5_6/ext/ldap/
H A Dldap.c460 char *ldap_bind_dn = NULL, *ldap_bind_pw = NULL; local
465 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ss", &link, &ldap_bind_dn, &ldap_bind_dnlen, &ldap_bind_pw, &ldap_bind_pwlen) != SUCCESS) {
477 if (ldap_bind_pw != NULL && memchr(ldap_bind_pw, '\0', ldap_bind_pwlen) != NULL) {
489 cred.bv_val = ldap_bind_pw;
490 cred.bv_len = ldap_bind_pw ? ldap_bind_pwlen : 0;
495 rc = ldap_simple_bind_s(ld->link, ldap_bind_dn, ldap_bind_pw);

Completed in 6 milliseconds