[dovecot-cvs] dovecot/src/auth main.c,1.28,1.29

cras at dovecot.org cras at dovecot.org
Tue Sep 21 02:22:17 EEST 2004


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv9500

Modified Files:
	main.c 
Log Message:
finish the preinit change..



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/main.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- main.c	28 Aug 2004 20:08:14 -0000	1.28
+++ main.c	20 Sep 2004 23:22:15 -0000	1.29
@@ -70,8 +70,8 @@
 
 	/* Initialize databases so their configuration files can be readable
 	   only by root. Also load all modules here. */
-	userdb_init();
-	passdb_init();
+	userdb_preinit();
+	passdb_preinit();
         password_schemes_init();
 
 	/* Password lookups etc. may require roots, allow it. */
@@ -198,6 +198,9 @@
 	const char *env;
 	unsigned int pid;
 
+	userdb_init();
+	passdb_init();
+
 	lib_init_signals(sig_quit);
 	mech_init();
 



More information about the dovecot-cvs mailing list