dovecot-2.2: auth: Auth workers don't need to read token secret.

dovecot at dovecot.org dovecot at dovecot.org
Fri Sep 14 22:10:58 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/172a75b3bed8
changeset: 15050:172a75b3bed8
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Sep 14 22:10:49 2012 +0300
description:
auth: Auth workers don't need to read token secret.

diffstat:

 src/auth/main.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r aa6027a0a78e -r 172a75b3bed8 src/auth/main.c
--- a/src/auth/main.c	Fri Sep 14 21:48:45 2012 +0300
+++ b/src/auth/main.c	Fri Sep 14 22:10:49 2012 +0300
@@ -205,7 +205,8 @@
 		      mech_reg, services);
 
 	listeners_init();
-	auth_token_init();
+	if (!worker)
+		auth_token_init();
 
 	/* Password lookups etc. may require roots, allow it. */
 	restrict_access_by_env(NULL, FALSE);


More information about the dovecot-cvs mailing list