Subversion Repositories ALCASAR

Compare Revisions

Regard whitespace Rev 2724 → Rev 2731

/web/acc/admin/ldap.php
180,9 → 180,9
 
// Bind anonymous
$ldap_srv_636 = true;
if (!@ldap_bind($ldapconn, '', '')) {
if (!@ldap_bind($ldapconn)) {
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);
if (!@ldap_bind($ldapconn, '', '')) {
if (!@ldap_bind($ldapconn)) {
$ldap_srv_636 = false;
}
}
226,9 → 226,9
 
// Bind anonymous
$ldap_srv_389 = true;
if (!@ldap_bind($ldapconn, '', '')) {
if (!@ldap_bind($ldapconn)) {
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);
if (!@ldap_bind($ldapconn, '', '')) {
if (!@ldap_bind($ldapconn)) {
$ldap_srv_389 = false;
}
}
634,6 → 634,8
var dom_ad_dns_domain = document.getElementById('ad_dns_domain');
post_data = 'ldap_server='+dom_ldap_server.value;
 
messagesElem.innerHTML = '';
 
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (this.readyState == 4) {