]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login: More verbose_auth -> auth_verbose changes.
authorTimo Sirainen <tss@iki.fi>
Fri, 27 Jan 2012 12:17:32 +0000 (14:17 +0200)
committerTimo Sirainen <tss@iki.fi>
Fri, 27 Jan 2012 12:17:32 +0000 (14:17 +0200)
src/imap-login/imap-proxy.c
src/pop3-login/client-authenticate.c
src/pop3-login/pop3-proxy.c

index ecbcd612eb36e773394f947cddc499406223ec14..d43d40e0ba03452e0cf0cf8ae9a871b250fb4683 100644 (file)
@@ -231,7 +231,7 @@ int imap_proxy_parse_line(struct client *client, const char *line)
                return 1;
        } else if (strncmp(line, "L ", 2) == 0) {
                line += 2;
-               if (client->set->verbose_auth) {
+               if (client->set->auth_verbose) {
                        const char *log_line = line;
 
                        if (strncasecmp(log_line, "NO ", 3) == 0)
index 27fb37a65ef3bc0c30e07cb7f6a4d5ea84725c7c..878c5365aaee45aca12e39d2254974f997500399 100644 (file)
@@ -164,7 +164,7 @@ bool cmd_apop(struct pop3_client *pop3_client, const char *args)
        unsigned int server_pid, connect_uid;
 
        if (pop3_client->apop_challenge == NULL) {
-               if (client->set->verbose_auth)
+               if (client->set->auth_verbose)
                        client_log(client, "APOP failed: APOP not enabled");
                client_send_line(client, CLIENT_CMD_REPLY_BAD,
                                 "APOP not enabled.");
@@ -174,7 +174,7 @@ bool cmd_apop(struct pop3_client *pop3_client, const char *args)
        /* <username> <md5 sum in hex> */
        p = strchr(args, ' ');
        if (p == NULL || strlen(p+1) != 32) {
-               if (client->set->verbose_auth)
+               if (client->set->auth_verbose)
                        client_log(client, "APOP failed: Invalid parameters");
                client_send_line(client, CLIENT_CMD_REPLY_BAD,
                                 "Invalid parameters.");
@@ -189,7 +189,7 @@ bool cmd_apop(struct pop3_client *pop3_client, const char *args)
        buffer_append_c(apop_data, '\0');
 
        if (hex_to_binary(p+1, apop_data) < 0) {
-               if (client->set->verbose_auth) {
+               if (client->set->auth_verbose) {
                        client_log(client, "APOP failed: "
                                   "Invalid characters in MD5 response");
                }
index 4898084a4c7c34dbb135928bf657fd9322ca09cb..4a1b7d46578babcef09f4b59d36dbe5df2fcda52 100644 (file)
@@ -151,7 +151,7 @@ int pop3_proxy_parse_line(struct client *client, const char *line)
                client_send_raw(client, t_strconcat(line, "\r\n", NULL));
        }
 
-       if (client->set->verbose_auth) {
+       if (client->set->auth_verbose) {
                if (strncmp(line, "-ERR ", 5) == 0)
                        line += 5;
                client_proxy_log_failure(client, line);