[Dovecot] Bug?: Authentication still doesn't work with imap-login

Peter Franck vic at ibas-labs.de
Mon Feb 21 22:28:29 EET 2005


I tried digging it all through. I can't find a solution.

The problem pops up in auth-master-connection.c in function 
master_input_request. It does a auth_client_connection_lookup with the 
"client_pid" (which behaves as a counter, where i would expect a 
constant process-id...) Something is very wrong with this PID.

Maybe someone can explain the Master <--> Auth IPC to me so I can 
understand and fix it myself? Where does Master take this client number 
from?

Hints are highly appreciated,
Peter

--- LOG ---
Feb 21 21:04:36 office dovecot: Dovecot v1.0-test62 starting up
Feb 21 21:04:48 office dovecot: auth(default): client in: AUTH	1 
PLAIN	service=IMAP	secured	lip=192.168.23.1	rip=192.168.23.42 
resp=AHZpYwBzeXNpbnQyMQ==
Feb 21 21:04:48 office dovecot: auth(default): client out: OK	1	user=vic
Feb 21 21:04:48 office dovecot: auth(default): master in: REQUEST	1	2	1
Feb 21 21:04:48 office dovecot: auth(default): Master requested auth for 
nonexisting client 2
--- my configuration: ---
base_dir = /var/run/dovecot/
protocols = imap imaps
ssl_cert_file = /etc/ssl/certs/imapd-192.168.23.1.pem
ssl_key_file = /etc/ssl/certs/imapd-192.168.23.1.pem
protocol imap {
}

protocol pop3 {

}
auth_verbose = yes
auth_debug = yes
auth default {
   mechanisms = plain
   passdb = pam imap
   userdb = passwd
   user = root
}



More information about the dovecot mailing list