Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7446:15fbff736ab9 HEAD
Using templates in pass_attrs or user_attrs was somewhat broken, causing
errors for other fields. Fixed by richs at whidbey.net
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 01 Apr 2008 11:45:23 +0300 |
parents | 3e7592582f93 |
children | 70cf4172af74 |
files | src/auth/db-ldap.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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_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,