22,12 → 22,12 |
$this->_items['password'] = ''; |
$this->_items['basedn'] = 'dc=example,dc=com'; |
$this->_items['uid'] = 'uid'; |
$this->_items['filter'] = "($this->_items['uid']=%{User-Name})"; |
$this->_items['filter'] = "({$this->_items['uid']}=%{User-Name})"; |
$this->_items['base_filter'] = ''; |
$this->_items['ldap_connections_number'] = '5'; |
$this->_items['timeout'] = '4'; |
$this->_items['timelimit'] = '3'; |
$this->_items['net_timeout'] = '1'; |
$this->_items['net_timeout'] = '1'; |
// TLS setting related items |
$this->_tls['start_tls'] = 'no'; // if no all tls config are comments |
$this->_tls['cacertfile'] = '#'; |
42,7 → 42,7 |
$this->_items['access_attr'] = '#'; |
// Mapping of RADIUS dictionary attributes to LDAP |
// directory attributes. |
$this->_items['dictionary_mapping'] = '${confdir}/ldap.attrmap'; |
$this->_items['dictionary_mapping'] = '${confdir}/ldap.attrmap'; |
// for ldap like NOVEL |
$this->_items['password_attribute'] = '#'; |
$this->_items['edir_account_policy_check'] = 'no'; |
103,7 → 103,7 |
} else { |
$this->_items['uid'] = 'uid'; |
} |
$this->_items['filter'] = "($this->_items['uid']=%{User-Name})"; |
$this->_items['filter'] = "({$this->_items['uid']}=%{User-Name})"; |
break; |
default: |
$this->_items[$attr] = $value; |