[dovecot-cvs] dovecot/src/auth passdb-pam.c,1.37.2.6,1.37.2.7
tss at dovecot.org
tss at dovecot.org
Sun Dec 3 16:59:44 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/plugins/quota quota-dict.c, 1.9.2.5, 1.9.2.6 quota-dirsize.c, 1.10.2.1, 1.10.2.2 quota-fs.c, 1.14.2.8, 1.14.2.9 quota-maildir.c, 1.9.2.4, 1.9.2.5 quota-private.h, 1.7.2.2, 1.7.2.3 quota.c, 1.8.2.2, 1.8.2.3
- Next message: [dovecot-cvs] dovecot/src/auth passdb-pam.c,1.43,1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv7074
Modified Files:
Tag: branch_1_0
passdb-pam.c
Log Message:
Set default_pass_scheme so that cache_key works instead of just
assert-crashing.
Index: passdb-pam.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-pam.c,v
retrieving revision 1.37.2.6
retrieving revision 1.37.2.7
diff -u -d -r1.37.2.6 -r1.37.2.7
--- passdb-pam.c 11 Aug 2006 15:03:44 -0000 1.37.2.6
+++ passdb-pam.c 3 Dec 2006 16:59:42 -0000 1.37.2.7
@@ -219,6 +219,8 @@
}
}
+ /* FIXME: this doesn't actually work since we're in the child
+ process.. */
status = pam_get_item(pamh, PAM_USER, (linux_const void **)&item);
if (status != PAM_SUCCESS) {
*error = t_strdup_printf("pam_get_item() failed: %s",
@@ -474,6 +476,9 @@
const char *args __attr_unused__)
{
lib_signals_set_handler(SIGCHLD, TRUE, sigchld_handler, NULL);
+ /* we're caching the password by using directly the plaintext password
+ given by the auth mechanism */
+ _module->default_pass_scheme = "PLAIN";
}
static void pam_deinit(struct passdb_module *_module __attr_unused__)
- Previous message: [dovecot-cvs] dovecot/src/plugins/quota quota-dict.c, 1.9.2.5, 1.9.2.6 quota-dirsize.c, 1.10.2.1, 1.10.2.2 quota-fs.c, 1.14.2.8, 1.14.2.9 quota-maildir.c, 1.9.2.4, 1.9.2.5 quota-private.h, 1.7.2.2, 1.7.2.3 quota.c, 1.8.2.2, 1.8.2.3
- Next message: [dovecot-cvs] dovecot/src/auth passdb-pam.c,1.43,1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list