Fixed LDAP authentication against Active Directory when group membership is required.
[timetracker.git] / WEB-INF / config.php.dist
index 5afca00..55f3474 100644 (file)
@@ -212,9 +212,17 @@ define('AUTH_MODULE', 'db');
 //  'base_dn' => 'DC=example,DC=com',   // Base distinguished name in LDAP catalog.
 //  'default_domain' => 'example.com',  // Default domain.
 //  'member_of' => array());            // List of groups, membership in which is required for user to be authenticated.
+                                        // Leave it empty if membership is not necessary. Otherwise list CN parts only.
+                                        // For example:
+                                        // array('Ldap Testers') means that the user must be a member Ldap Testers group.
+                                        // array('Ldap Testers', 'Ldap Users') means the user must be a member of both Ldap Testers and Ldap Users groups.
 
 // define('AUTH_DEBUG', false); // Note: enabling AUTH_DEBUG breaks redirects as debug output is printed before setting redirect header. Do not enable on production systems.
 
-// team manager can set monthly quota for years between these values:
-define('MONTHLY_QUOTA_YEARS_START', 2010); // if nothing is specified, it falls back to 2010
-define('MONTHLY_QUOTA_YEARS_END', 2031); // if nothing is specified it falls back to 2030
+
+// Team managers can set monthly work hour quota for years between the following  values.
+// define('MONTHLY_QUOTA_YEAR_START', 2010); // If nothing is specified, it falls back to 2015.
+// define('MONTHLY_QUOTA_YEAR_END', 2025);   // If nothing is specified, it falls back to 2030.
+
+// Height in pixels for the note input field in time.php. Defaults to 40.
+// define('NOTE_INPUT_HEIGHT', 100);