[dovecot-cvs] dovecot/src/auth passdb-bsdauth.c,1.14,1.14.2.1
tss at dovecot.org
tss at dovecot.org
Sun Oct 15 22:31:22 UTC 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv31477
Modified Files:
Tag: branch_1_0
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.14.2.1
diff -u -d -r1.14 -r1.14.2.1
--- passdb-bsdauth.c 13 Jan 2006 20:25:57 -0000 1.14
+++ passdb-bsdauth.c 15 Oct 2006 21:31:19 -0000 1.14.2.1
@@ -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