[dovecot-cvs] dovecot/src/auth passdb-sql.c,1.5,1.6

cras at dovecot.org cras at dovecot.org
Fri Oct 22 20:47:31 EEST 2004


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv11828/src/auth

Modified Files:
	passdb-sql.c 
Log Message:
Make it more clear that password query must return a "password" named field.



Index: passdb-sql.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-sql.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- passdb-sql.c	21 Oct 2004 02:23:12 -0000	1.5
+++ passdb-sql.c	22 Oct 2004 17:47:29 -0000	1.6
@@ -78,8 +78,8 @@
 					  passdb_sql_cache_key, "");
 		}
 	} else if ((idx = sql_result_find_field(result, "password")) < 0) {
-		i_error("sql(%s): Password query didn't return password",
-			get_log_prefix(auth_request));
+		i_error("sql(%s): Password query must return a field named "
+			"\"password\"", get_log_prefix(auth_request));
 	} else {
 		password = t_strdup(sql_result_get_field_value(result, idx));
                 result_save_extra_fields(result, sql_request, auth_request);



More information about the dovecot-cvs mailing list