Merge branch 'seeddms-4.3.x' into seeddms-5.0.x

This commit is contained in:
Uwe Steinmann 2016-08-10 17:49:56 +02:00
commit 002684e840
2 changed files with 19 additions and 8 deletions

View File

@ -145,8 +145,8 @@
- URIs are supported, e.g.: ldaps://ldap.host.com
- port: port of the authentification server
- baseDN: top level of the LDAP directory tree
- bindDN: XXX
- bindPw: XXX
- bindDN: use this dn for a first step bind, leave empty for annonymous bind
- bindPw: use this password for a first step bind
- filter: Additional filters which are to be checked
-->
<connector
@ -165,9 +165,10 @@
- host: hostname of the authentification server
- port: port of the authentification server
- baseDN: top level of the LDAP directory tree
- bindDN: use this dn for a first step bind, leave empty for annonymous bind
- bindPw: use this password for a first step bind
- filter: Additional filters which are to be checked
- accountDomainName: sample: example.com
- bindDN: XXX
- bindPw: XXX
-->
<connector
enable = "false"

View File

@ -227,14 +227,24 @@ class Settings { /* {{{ */
var $_smtpUser = null;
// SMTP : password
var $_smtpPassword = null;
// LDAP
var $_ldapHost = ""; // URIs are supported, e.g.: ldaps://ldap.host.com
var $_ldapPort = 389; // Optional.
// LDAP Host, URIs are supported, e.g.: ldaps://ldap.host.com
var $_ldapHost = "";
// Port of ldap server, optional.
var $_ldapPort = 389;
// Base dn for searching users, if set the user will be search below base dn
var $_ldapBaseDN = "";
// Use this dn for an initial bind for searching the user
var $_ldapBindDN = "";
// Use this password for an initial bind for searching the user
var $_ldapBindPw = "";
// Used only by AD <username>@_ldapAccountDomainName will be used for a bind
// when the user is validated
var $_ldapAccountDomainName = "";
var $_ldapType = 1; // 0 = ldap; 1 = AD
// Type of Ldap server: 0 = ldap; 1 = AD
var $_ldapType = 1;
// Additional filter when searching for the user. If not set, the user will be searched
// below basedn and the search term 'uid=<username>' or 'sAMAccountName=<username>'
// if set the search will be (&(cn=<username>)<filter>)
var $_ldapFilter = "";
var $_converters = array(); // list of commands used to convert files to text for Indexer
var $_extensions = array(); // configuration for extensions