dovecot-2.2: doveadm user: Don't change privileges when looking ...

dovecot at dovecot.org dovecot at dovecot.org
Sun May 24 21:57:47 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/6fcaaaf13171
changeset: 18749:6fcaaaf13171
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 24 17:55:33 2015 -0400
description:
doveadm user: Don't change privileges when looking up users.
We don't need to and it might fail.

diffstat:

 src/doveadm/doveadm-auth.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 00ef92771cd9 -r 6fcaaaf13171 src/doveadm/doveadm-auth.c
--- a/src/doveadm/doveadm-auth.c	Sun May 24 17:50:26 2015 -0400
+++ b/src/doveadm/doveadm-auth.c	Sun May 24 17:55:33 2015 -0400
@@ -483,7 +483,7 @@
 			MAIL_STORAGE_SERVICE_FLAG_NO_LOG_INIT |
 			MAIL_STORAGE_SERVICE_FLAG_NO_PLUGINS |
 			MAIL_STORAGE_SERVICE_FLAG_NO_NAMESPACES |
-			MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP);
+			MAIL_STORAGE_SERVICE_FLAG_NO_RESTRICT_ACCESS);
 		mail_storage_service_set_auth_conn(storage_service, conn);
 		conn = NULL;
 		if (show_field == NULL) {


More information about the dovecot-cvs mailing list