Mercurial > dovecot > core-2.2
changeset 19926:3a190d74a1ac
doveadm-auth: Added missing code forgotten from commit 208754367
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Fri, 11 Mar 2016 19:03:34 +1300 |
parents | 1b966650aef9 |
children | fa49be8b4835 |
files | src/lib-storage/mail-storage-service.c src/lib-storage/mail-storage-service.h |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage-service.c Fri Mar 11 18:43:57 2016 +1300 +++ b/src/lib-storage/mail-storage-service.c Fri Mar 11 19:03:34 2016 +1300 @@ -324,6 +324,7 @@ info.remote_ip = input->remote_ip; info.local_port = input->local_port; info.remote_port = input->remote_port; + info.debug = input->debug; ret = auth_master_user_lookup(ctx->conn, *user, &info, pool, &new_username, fields_r);
--- a/src/lib-storage/mail-storage-service.h Fri Mar 11 18:43:57 2016 +1300 +++ b/src/lib-storage/mail-storage-service.h Fri Mar 11 19:03:34 2016 +1300 @@ -58,6 +58,8 @@ /* override MAIL_STORAGE_SERVICE_FLAG_USERDB_LOOKUP for this lookup */ unsigned int no_userdb_lookup:1; + /* Enable auth_debug=yes for this lookup */ + unsigned int debug:1; }; extern struct module *mail_storage_service_modules;