// DB Configuration directives ************************************* $DB_servername = "localhost"; // Database server name $DB_name = "cmsdam"; // Database name $DB_username = "root"; // Database username $DB_password = ""; // Database password $DB_tbl_prefix = "cmsdam_"; // Database table suffix $DB_type = "mysql"; // Database type. Can be mysql, postgresql, defaults to mysql // END of DB Configuration directives ****************************** // LOGGING Configuration directives ************************************* $LOG_debug = "YES"; // Debug is active? [YES|NO] TODO: write debug $LOG_path = "logs"; // Relative or absolute logging path $LOG_file = "cmsdam.log"; // cmsdam $LOG_path relative filename // Don't set this too high in production environment!! Logfile will grow very quickly and could // bring down performance on sites with large users $LOG_level = 9; // Logging level, from 0 (no logging) to 10 (high logging) $LOG_debuglevel = 7; // Debuging level, from 0 (no debuging) to 10 (high debuging) // END of LOGGING Configuration directives ****************************** // LDAP Configuration directives ************************************* // IMPORTANT: LDAP SUPPORT IS READ ONLY FOR NOW!! // You must add users and group in LDAP by yourself. Cmsdam will never touch LDAP directory! //$LDAP_servername = "localhost"; // LDAP server name ("" for no LDAP use) $LDAP_servername = "localhost"; // LDAP server name ("" for no LDAP use) $LDAP_basedn = "ou=cmsdamPeople,o=stuff,c=org"; // LDAP base DN, the ldap base branch to search from $LDAP_filter = '(&(uid=*)(userPassword=*)(mail=*))'; // LDAP filter to check if a user entry is valid $LDAP_rootdn = "cn=admin,o=stuff,c=org"; // LDAP administrator DN, "" for anonymous (recommended) $LDAP_rootdnpass = "ldapadmin"; // LDAP administrator password $LDAP_groupbasedn = "ou=cmsdamGroups,o=stuff,c=org"; // LDAP groups base DN. Each entry in this DN is // a group for cmsdam, and must contain every user DN for that group. $LDAP_groupfilter = '(&(cn=*)(objectClass=groupOfUniqueNames)(uniqueMember=*))'; // LDAP filter to check if a group entry is valid $LDAP_groupstag = 'cn'; // LDAP attribute to identify group names $LDAP_groupsuserstag = 'uniqueMember'; // LDAP attribute to identify groups usernames $LDAP_exclusive = 1; // LDAP uses: // 0 -> never use LDAP, only use the DB for users login, groups, ecc... // 1 -> always use LDAP, don't use DB for readonly users operations: login, groups... // 2 -> first use LDAP, if the user is not present in LDAP or the credentials are not ok then use the DB // END of DB Configuration directives ****************************** // GENERAL Site Configuration ************************************************ /* JS Alert on erroneous login (JavaScript alert() in body onload) */ $Alert_on_login = "YES"; /* Text to use in this way on erroneous login: JavaScript: alert("=$alert_text?>"); */ $alert_text = 'Login failed!! Please try again!'; /* This is the site title (