Mercurial > dovecot > core-2.2
changeset 20539:97f1fdbfd385
auth: Set userdb_lookup flag correctly for blocking userdb lookups.
This caused at least userdb-related logging to log the passdb instead.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Tue, 26 Jul 2016 13:52:44 -0400 |
parents | 6923b9af73c5 |
children | 4ea94770b30c |
files | src/auth/auth-worker-client.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-worker-client.c Tue Jul 26 13:52:20 2016 -0400 +++ b/src/auth/auth-worker-client.c Tue Jul 26 13:52:44 2016 -0400 @@ -428,6 +428,7 @@ return FALSE; } + auth_request->userdb_lookup = TRUE; auth_request->userdb = auth_userdb_find_by_id(auth_request->userdb, userdb_id); if (auth_request->userdb == NULL) {