[dovecot-cvs] dovecot/src/master auth-process.c,1.25,1.26 settings.c,1.41,1.42 settings.h,1.22,1.23

cras at procontrol.fi cras at procontrol.fi
Tue Jan 21 09:40:57 EET 2003


Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv26410/master

Modified Files:
	auth-process.c settings.c settings.h 
Log Message:
auth_verbose = yes logs now all authentication failures and some other
stuff.



Index: auth-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/auth-process.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- auth-process.c	11 Jan 2003 19:55:57 -0000	1.25
+++ auth-process.c	21 Jan 2003 07:40:54 -0000	1.26
@@ -278,6 +278,8 @@
 
 	if (config->use_cyrus_sasl)
 		env_put("USE_CYRUS_SASL=1");
+	if (config->verbose)
+		env_put("VERBOSE=1");
 
 	restrict_process_size(config->process_size);
 

Index: settings.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/settings.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- settings.c	5 Jan 2003 15:19:50 -0000	1.41
+++ settings.c	21 Jan 2003 07:40:54 -0000	1.42
@@ -417,6 +417,9 @@
 	if (strcmp(key, "auth_cyrus_sasl") == 0)
 		return get_bool(value, &auth->use_cyrus_sasl);
 
+	if (strcmp(key, "auth_verbose") == 0)
+		return get_bool(value, &auth->verbose);
+
 	if (strcmp(key, "auth_count") == 0) {
 		int num;
 

Index: settings.h
===================================================================
RCS file: /home/cvs/dovecot/src/master/settings.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- settings.h	5 Jan 2003 15:19:50 -0000	1.22
+++ settings.h	21 Jan 2003 07:40:54 -0000	1.23
@@ -71,7 +71,7 @@
 	char *user;
 	char *chroot;
 
-	int use_cyrus_sasl;
+	int use_cyrus_sasl, verbose;
 
 	unsigned int count;
 	unsigned int process_size;




More information about the dovecot-cvs mailing list