dovecot-1.2: Changed SQL's default password scheme to MD5.

dovecot at dovecot.org dovecot at dovecot.org
Wed Jul 9 15:23:46 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/bcd70b69c7e5
changeset: 7986:bcd70b69c7e5
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jul 09 17:53:37 2008 +0530
description:
Changed SQL's default password scheme to MD5.

diffstat:

2 files changed, 2 insertions(+), 2 deletions(-)
doc/dovecot-sql-example.conf |    2 +-
src/auth/db-sql.c            |    2 +-

diffs (24 lines):

diff -r a6d187abaa5a -r bcd70b69c7e5 doc/dovecot-sql-example.conf
--- a/doc/dovecot-sql-example.conf	Wed Jul 09 17:52:36 2008 +0530
+++ b/doc/dovecot-sql-example.conf	Wed Jul 09 17:53:37 2008 +0530
@@ -65,7 +65,7 @@
 # List of supported schemes is in
 # http://wiki.dovecot.org/Authentication/PasswordSchemes
 #
-#default_pass_scheme = PLAIN-MD5
+#default_pass_scheme = MD5
 
 # passdb query to retrieve the password. It can return fields:
 #   password - The user's password. This field must be returned.
diff -r a6d187abaa5a -r bcd70b69c7e5 src/auth/db-sql.c
--- a/src/auth/db-sql.c	Wed Jul 09 17:52:36 2008 +0530
+++ b/src/auth/db-sql.c	Wed Jul 09 17:53:37 2008 +0530
@@ -32,7 +32,7 @@ struct sql_settings default_sql_settings
 	MEMBER(password_query) "SELECT username, domain, password FROM users WHERE username = '%n' AND domain = '%d'",
 	MEMBER(user_query) "SELECT home, uid, gid FROM users WHERE username = '%n' AND domain = '%d'",
 	MEMBER(update_query) "UPDATE users SET password = '%w' WHERE username = '%n' AND domain = '%d'",
-	MEMBER(default_pass_scheme) "PLAIN-MD5"
+	MEMBER(default_pass_scheme) "MD5"
 };
 
 static struct sql_connection *connections = NULL;


More information about the dovecot-cvs mailing list