PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Squirrelmail change_mysqlpass Plugin



DrunkenFreak
09.06.05, 16:43
Hi
hab immernoch ein paar Probleme mit Squirrelmail. Und zwar hab ich jetzt das Plugin change_mysqlpass installiert. Es gibt schon mal keine Fehler zurück. Allerdings kann ich den Dialog Change Password unter Options nicht aufrufen. Ich erhalte dabei ein Connection refused von Firefox. Die Datei ist aber auf jeden Fall vorhanden. Nun frage ich mich wieso er die Seite nicht einfach aufrufen will. Die Rechte der Datei müssten eigentlich stimmen. Ich hoffe es kann mir hier jemand weiterhelfen. Es macht nämlich keinen Spaß immer über das vexim das Passwort zu ändern.


Edit: Hab mal die Datei ausgetauscht. Danach konnte ich ohne Probleme den Dialog öffnen. Es war allerdings der Fehler, dass auf die config.php kein Zugriff ist (chmod 700). Auch mal geändert und danach konnte ich wieder nicht die Seite öffnen. Ich häng mal die config.php hier ran



<?php

// Global Variables, don't touch these unless you want to break the plugin
//
global $mysql_server, $mysql_database, $mysql_table, $mysql_userid_field,
$mysql_password_field, $mysql_manager_id, $mysql_manager_pw,
$mysql_saslcrypt, $mysql_unixcrypt, $mysql_MD5crypt,
$use_ssl_for_password_change, $mysql_password_force,
$mysql_password_change_field, $mysql_password_change_field_delimiter,
$mysql_password_change_yes_value, $mysql_password_change_no_value,
$split_username_query, $split_username_expression,
$split_username_domain_field, $debug, $update_clear_passwd_field;



// The MySQL Server that SASL uses
$mysql_server = 'localhost';

// Database and table that SASL uses for auth
$mysql_database = 'vexim';
$mysql_table = 'users';

// The names of the user ID and password columns
$mysql_userid_field = 'username';
$mysql_password_field ='crypt';

// The user to log into MySQL with (must have rights)
$mysql_manager_id = 'db-user';
$mysql_manager_pw = 'pw';

// Set to 1 if the password column is encrypted
// using the MySQL password() function.
$mysql_saslcrypt = 0;

// Set to 1 if the password column is encrypted
// using the UNIX crypt() function.
$mysql_unixcrypt = 0;

// Set to 1 if the password column is to use MD5 encryption
$mysql_MD5crypt = 1;

$use_ssl_for_password_change = 1;

// Force password change mode
// Enable functionality to force users to change
// their passwords
$mysql_password_force = 0;

// Force password change field
$mysql_password_change_field = 'passwd_expire';

// Set this as a double quote if the above-defined
// field is a character data field, otherwise,
// set it to an empty string
$mysql_password_change_field_delimiter = '"';
//$mysql_password_change_field_delimiter = '';

// Force password YES and NO values
// the value the above-defined field will be set to
// to indicate that the user must change passwords
// upon next login (and not)
//
$mysql_password_change_yes_value = 'Y';
$mysql_password_change_no_value = 'N';
//$mysql_password_change_yes_value = 1;
//$mysql_password_change_no_value = 0;



// Multiple database field setup
// The following settings ONLY apply if your IMAP
// login is comprised of a join between two separate
// database columns
//
// Set this to 1 to turn such functionality on
$split_username_query = 0;

// This is typically the @ sign, although it can be any
// regular expression which should be used to split the
// full user name into two separate pieces (for example,
// using @, "jose@myowndomain.com" becomes "jose" and
// "myowndomain.com")
$split_username_expression = '@';

// This is the name of the second database column to query
$split_username_domain_field = 'domain';

$update_clear_passwd_field = 'clear';

$debug = 0;

?>


Edit #2: Es gab/gibt ein Problem mit ssl. Irgendwie scheint das noch nicht so ganz zu klappen. Aber Problem erkannt und wohl auch bald gelöst
so long