From: Timo Sirainen Date: Thu, 14 Sep 2017 10:19:26 +0000 (+0300) Subject: director: Return temporary auth failures using the new "code" field X-Git-Tag: 2.3.0.rc1~1023 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3131b0cc20e2e702082c8de4b623d7bd71b3b8e6;p=thirdparty%2Fdovecot%2Fcore.git director: Return temporary auth failures using the new "code" field The "temp" is no longer used. --- diff --git a/src/director/login-connection.c b/src/director/login-connection.c index 5ea77bcf5c..86a26fc3eb 100644 --- a/src/director/login-connection.c +++ b/src/director/login-connection.c @@ -11,6 +11,7 @@ #include "master-service.h" #include "director.h" #include "director-request.h" +#include "auth-client-interface.h" #include "auth-connection.h" #include "login-connection.h" @@ -151,7 +152,7 @@ login_host_callback(const struct ip_addr *ip, const char *hostname, i_error("director: User %s host lookup failed: %s", request->username, errormsg); line = t_strconcat("FAIL\t", t_strcut(line_params, '\t'), - "\ttemp", NULL); + "\tcode="AUTH_CLIENT_FAIL_CODE_TEMPFAIL, NULL); } else if (request->director_proxy_maybe && login_host_request_is_self(request, ip)) { line = request->line;