[dovecot-cvs] dovecot/src/auth auth-request.c,1.58.2.18,1.58.2.19
tss at dovecot.org
tss at dovecot.org
Fri Jan 19 15:25:33 UTC 2007
- Previous message: [dovecot-cvs] dovecot/src/auth auth-master-connection.c, 1.46, 1.47 auth-master-connection.h, 1.13, 1.14 auth-request-handler.c, 1.22, 1.23 auth.c, 1.32, 1.33 db-ldap.h, 1.28, 1.29 main.c, 1.58, 1.59 userdb-ldap.c, 1.44, 1.45
- Next message: [dovecot-cvs] dovecot/src/auth auth-request.c,1.79,1.80
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv27499
Modified Files:
Tag: branch_1_0
auth-request.c
Log Message:
auth cache: If passdb didn't provide the password, we used the user-given
plaintext password, but we cached it with wrong scheme unless the passdb's
default scheme was plain.
Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.58.2.18
retrieving revision 1.58.2.19
diff -u -d -r1.58.2.18 -r1.58.2.19
--- auth-request.c 19 Jan 2007 13:27:36 -0000 1.58.2.18
+++ auth-request.c 19 Jan 2007 15:25:31 -0000 1.58.2.19
@@ -232,7 +232,8 @@
strdup() it so that mech_password doesn't get
cleared too early. */
request->passdb_password =
- p_strdup(request->pool, request->mech_password);
+ p_strconcat(request->pool, "{plain}",
+ request->mech_password, NULL);
}
/* save all except the currently given password in cache */
- Previous message: [dovecot-cvs] dovecot/src/auth auth-master-connection.c, 1.46, 1.47 auth-master-connection.h, 1.13, 1.14 auth-request-handler.c, 1.22, 1.23 auth.c, 1.32, 1.33 db-ldap.h, 1.28, 1.29 main.c, 1.58, 1.59 userdb-ldap.c, 1.44, 1.45
- Next message: [dovecot-cvs] dovecot/src/auth auth-request.c,1.79,1.80
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list