[dovecot-cvs] dovecot/src/master auth-process.c, 1.80, 1.81 master-settings.c, 1.88, 1.89 master-settings.h, 1.58, 1.59

cras at dovecot.org cras at dovecot.org
Sat Sep 24 15:55:25 EEST 2005


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv5113/src/master

Modified Files:
	auth-process.c master-settings.c master-settings.h 
Log Message:
Added deny password databases.



Index: auth-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/auth-process.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- auth-process.c	8 May 2005 17:19:31 -0000	1.80
+++ auth-process.c	24 Sep 2005 12:55:23 -0000	1.81
@@ -429,6 +429,8 @@
 			env_put(t_strdup_printf("PASSDB_%u_ARGS=%s",
 						i, ap->args));
 		}
+		if (ap->deny)
+			env_put(t_strdup_printf("PASSDB_%u_DENY=1", i));
 	}
 	for (au = set->userdbs, i = 1; au != NULL; au = au->next, i++) {
 		env_put(t_strdup_printf("USERDB_%u_DRIVER=%s", i, au->driver));

Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- master-settings.c	18 Sep 2005 11:46:45 -0000	1.88
+++ master-settings.c	24 Sep 2005 12:55:23 -0000	1.89
@@ -197,6 +197,7 @@
 static struct setting_def auth_passdb_setting_defs[] = {
 	DEF(SET_STR, driver),
 	DEF(SET_STR, args),
+	DEF(SET_BOOL, deny),
 
 	{ 0, NULL, 0 }
 };

Index: master-settings.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- master-settings.h	11 Sep 2005 10:52:00 -0000	1.58
+++ master-settings.h	24 Sep 2005 12:55:23 -0000	1.59
@@ -135,6 +135,7 @@
 
 	const char *driver;
 	const char *args;
+	int deny;
 };
 
 struct auth_userdb_settings {



More information about the dovecot-cvs mailing list