dovecot-1.1: Using templates in pass_attrs or user_attrs was som...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 1 11:45:26 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/15fbff736ab9
changeset: 7446:15fbff736ab9
user: Timo Sirainen <tss at iki.fi>
date: Tue Apr 01 11:45:23 2008 +0300
description:
Using templates in pass_attrs or user_attrs was somewhat broken, causing
errors for other fields. Fixed by richs at whidbey.net
diffstat:
1 file changed, 1 insertion(+)
src/auth/db-ldap.c | 1 +
diffs (11 lines):
diff -r 3e7592582f93 -r 15fbff736ab9 src/auth/db-ldap.c
--- a/src/auth/db-ldap.c Tue Apr 01 11:42:24 2008 +0300
+++ b/src/auth/db-ldap.c Tue Apr 01 11:45:23 2008 +0300
@@ -1009,6 +1009,7 @@ db_ldap_result_change_attr(struct db_lda
db_ldap_result_change_attr(struct db_ldap_result_iterate_context *ctx)
{
ctx->name = hash_lookup(ctx->attr_map, ctx->attr);
+ ctx->template = NULL;
if (ctx->debug != NULL) {
str_printfa(ctx->debug, " %s(%s)=", ctx->attr,
More information about the dovecot-cvs
mailing list