[Dovecot] login w/ IMAP & LDAP

Timo Sirainen tss at iki.fi
Thu Aug 14 04:40:50 EEST 2003


On Wed, 2003-08-13 at 21:38, Bob Hall wrote:
> > >Aug 12 21:46:31 kongemord dovecot: child 14690 (auth) killed with 
> > >signal 11
> I've never done a patch before, and I looked at the FBSD documentation 
> on it, and couldn't figure out how it was done.

cd src/auth
patch -p0 < auth-no-homedir.patch

(I forgot to make the patch against root dir so the cd command is
needed..)

>  So I modified my test 
> entry in the LDAP directory and added posixAccount with homeDirectory 
> and uidNumber and gidNumber. Restart OpenLDAP, retest, and same error 
> message. 

Well, since it's still crashing, check with gdb:

ps ax|grep dovecot-auth -> get PID
gdb /usr/local/libexec/dovecot/dovecot-auth PID
continue

Now try to login, and it should crash. Then type "bt" and copy&paste the
output and mail it to me. http://dovecot.procontrol.fi/bugreport.html
shows what the gdb output should look like.

> x login dovecot secret
> x NO Authentication failed.

Yeah. User doesn't get very specific error messages, they're in the log
file.

> OK. Dovecot (the app) runs under root. dovecot-auth (the process) runs 
> under dovecot-auth (the user), imap-login runs under dovecot (the user), 
> and nor the twain shall meet. Does that seem right?

That's fine.




More information about the dovecot mailing list