[dovecot-cvs] dovecot/src/auth passdb-bsdauth.c,1.14,1.15

tss at dovecot.org tss at dovecot.org
Sun Oct 15 22:31:23 UTC 2006


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

Modified Files:
	passdb-bsdauth.c 
Log Message:
Don't check password field ourself. There's no point doing that and some
backends won't even return the password.



Index: passdb-bsdauth.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-bsdauth.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- passdb-bsdauth.c	13 Jan 2006 20:25:57 -0000	1.14
+++ passdb-bsdauth.c	15 Oct 2006 21:31:20 -0000	1.15
@@ -26,13 +26,6 @@
 		return;
 	}
 
-	if (!IS_VALID_PASSWD(pw->pw_passwd)) {
-		auth_request_log_info(request, "bsdauth",
-				      "invalid password field");
-		callback(PASSDB_RESULT_USER_DISABLED, request);
-		return;
-	}
-
 	/* check if the password is valid */
 	result = auth_userokay(request->user, NULL, NULL,
 			       t_strdup_noconst(password));



More information about the dovecot-cvs mailing list