diff --git a/inc/inc.ClassSettings.php b/inc/inc.ClassSettings.php index e2cac868d..604df1eea 100644 --- a/inc/inc.ClassSettings.php +++ b/inc/inc.ClassSettings.php @@ -221,14 +221,24 @@ class Settings { /* {{{ */ var $_smtpPort = null; // SMTP : send from var $_smtpSendFrom = 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 @_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=' or 'sAMAccountName=' + // if set the search will be (&(cn=)) var $_ldapFilter = ""; var $_converters = array(); // list of commands used to convert files to text for Indexer