[dovecot-cvs] dovecot/src/login-common common.h, 1.4, 1.5 main.c, 1.21, 1.22

cras at dovecot.org cras at dovecot.org
Tue Oct 5 19:00:20 EEST 2004


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv755/login-common

Modified Files:
	common.h main.c 
Log Message:
auth_verbose now affects imap/pop3 login processes too. Every authentication
attempt by client is logged. Also fixed replies in AUTHENTICATE/AUTH
commands when it was aborted by client.



Index: common.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/common.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- common.h	27 Sep 2004 15:58:56 -0000	1.4
+++ common.h	5 Oct 2004 16:00:18 -0000	1.5
@@ -3,8 +3,8 @@
 
 #include "lib.h"
 
-extern int disable_plaintext_auth, process_per_connection, verbose_proctitle;
-extern int verbose_ssl, greeting_capability;
+extern int disable_plaintext_auth, process_per_connection, greeting_capability;
+extern int verbose_proctitle, verbose_ssl, verbose_auth;
 char *greeting;
 extern unsigned int max_logging_users;
 extern unsigned int login_process_uid;

Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/main.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- main.c	1 Oct 2004 14:41:16 -0000	1.21
+++ main.c	5 Oct 2004 16:00:18 -0000	1.22
@@ -17,8 +17,8 @@
 #include <unistd.h>
 #include <syslog.h>
 
-int disable_plaintext_auth, process_per_connection, verbose_proctitle;
-int verbose_ssl, greeting_capability;
+int disable_plaintext_auth, process_per_connection, greeting_capability;
+int verbose_proctitle, verbose_ssl, verbose_auth;
 char *greeting;
 unsigned int max_logging_users;
 unsigned int login_process_uid;
@@ -159,6 +159,7 @@
 	process_per_connection = getenv("PROCESS_PER_CONNECTION") != NULL;
 	verbose_proctitle = getenv("VERBOSE_PROCTITLE") != NULL;
         verbose_ssl = getenv("VERBOSE_SSL") != NULL;
+        verbose_auth = getenv("VERBOSE_AUTH") != NULL;
 
 	value = getenv("MAX_LOGGING_USERS");
 	max_logging_users = value == NULL ? 0 : strtoul(value, NULL, 10);



More information about the dovecot-cvs mailing list