diff -Naur phpldapadmin-1.0.1/config/config.php.example phpldapadmin-1.0.1.oden/config/config.php.example --- phpldapadmin-1.0.1/config/config.php.example 2006-02-19 06:11:55.000000000 +0100 +++ phpldapadmin-1.0.1.oden/config/config.php.example 2006-05-14 13:40:32.000000000 +0200 @@ -41,19 +41,18 @@ /* phpLDAPadmin can encrypt the content of sensitive cookies if you set this to a big random string. */ -$config->custom->session['blowfish'] = ''; +$config->custom->session['blowfish'] = '_BLOWFISH_SECRET_'; /* The language setting. If you set this to 'auto', phpLDAPadmin will attempt to determine your language automatically. Otherwise, available lanaguages are: 'ct', 'de', 'en', 'es', 'fr', 'it', 'nl', and 'ru' Localization is not complete yet, but most strings have been translated. Please help by writing language files. See lang/en.php for an example. */ -// $config->custom->appearance['language'] = 'auto'; +$config->custom->appearance['language'] = 'auto'; /* The temporary storage directory where we will put jpegPhoto data This directory must be readable and writable by your web server. */ -// $config->custom->jpeg['tmpdir'] = "/tmp"; // Example for Unix systems -# $config->custom->jpeg['tmpdir'] = "c:\\temp"; // Example for Windows systems +$config->custom->jpeg['tmpdir'] = "/var/lib/phpldapadmin"; // Example for Unix systems /*********************************************/ /* Define your LDAP servers in this section */ @@ -92,7 +91,7 @@ your situation. If you choose 'cookie', your cookie contents will be encrypted using blowfish and the secret your specify above as session['blowfish']. */ -// $ldapservers->SetValue($i,'server','auth_type','cookie'); +$ldapservers->SetValue($i,'server','auth_type','cookie'); /* The DN of the user for phpLDAPadmin to bind with. For anonymous binds or 'cookie' or 'session' auth_types, LEAVE THE LOGIN_DN AND LOGIN_PASS BLANK. If diff -Naur phpldapadmin-1.0.1/htdocs/index.php phpldapadmin-1.0.1.oden/htdocs/index.php --- phpldapadmin-1.0.1/htdocs/index.php 2006-04-29 08:49:31.000000000 +0200 +++ phpldapadmin-1.0.1.oden/htdocs/index.php 2006-05-14 14:07:20.000000000 +0200 @@ -35,7 +35,7 @@ } require LIBDIR.'functions.php'; -$config_file = CONFDIR.'config.php'; +$config_file = '/etc/phpldapadmin/config.php'; ob_end_clean(); # Make sure this PHP install has gettext, we use it for language translation diff -Naur phpldapadmin-1.0.1/lib/config_default.php phpldapadmin-1.0.1.oden/lib/config_default.php --- phpldapadmin-1.0.1/lib/config_default.php 2005-12-10 11:34:55.000000000 +0100 +++ phpldapadmin-1.0.1.oden/lib/config_default.php 2006-05-14 13:32:59.000000000 +0200 @@ -353,7 +353,7 @@ # Define our configuration variable. $config = new Config; -require (CONFDIR.'config.php'); +require '/etc/phpldapadmin/config.php'; if (($config->GetValue('debug','syslog') || $config->GetValue('debug','file')) && $config->GetValue('debug','level')) define('DEBUG_ENABLED',1);