[Dovecot] Dovecot Error: Master requested auth for nonexisting client

Timo Sirainen tss at iki.fi
Tue Sep 27 23:11:54 EEST 2005


On Tue, 2005-09-27 at 15:36 -0400, Paul E Virgo wrote:
> The subject line says it all. It seems to be happening with regards to 
> my default auth setting in the dovecot.conf file. I currently have it 
> set to 'plain'. Am I missing something? FWIW, I am using the latest, 
> stable (alpha) release: 1.0.alpha3

It happens every time when trying to authenticate? With what OS?

IIRC there was some Linux kernel patch that caused this problem when
fork() returned different process ID than what the child's getpid()
returns.

See if this patch helps, it was already added to CVS for other reasons:

diff -u -r1.25 -r1.26
--- src/login-common/main.c	14 May 2005 20:32:06 -0000	1.25
+++ src/login-common/main.c	24 Sep 2005 12:25:25 -0000	1.26
@@ -190,7 +205,7 @@
         closing_down = FALSE;
 	main_refcount = 0;
 
-	auth_client = auth_client_new((unsigned int)getpid());
+	auth_client = auth_client_new(login_process_uid);
         auth_client_set_connect_notify(auth_client, auth_connect_notify, NULL);
 	clients_init();
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20050927/862aa81a/attachment.pgp


More information about the dovecot mailing list