]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm user: Don't change privileges when looking up users.
authorTimo Sirainen <tss@iki.fi>
Sun, 24 May 2015 21:55:33 +0000 (17:55 -0400)
committerTimo Sirainen <tss@iki.fi>
Sun, 24 May 2015 21:55:33 +0000 (17:55 -0400)
We don't need to and it might fail.

src/doveadm/doveadm-auth.c

index 97560a3be37decd433754a34c2924c9285d50a7f..0880503246feda70978e54ed858a502e59840bda 100644 (file)
@@ -483,7 +483,7 @@ static void cmd_user(int argc, char *argv[])
                        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) {