patrick peck writes:
hi,
i've been running courier-0.31 on a redhat 6.2 linux
successfully for a while now, using authpam authentication.
i'm trying to switch to authuserdb, but always get a
'login failed' on an imap login (haven't tried pop). i've made
sure that:
- authmodulelist="authuserdb authpam"
- AUTHMODULES="authdaemon"
- the libexec/authlib directory contains the files:
authdaemon authdaemond authdaemond.ldap authdaemond.plain
- authdaemon is running (as root)
- set up a password using both
userdbpw -md5 | userdb patrick set systempw
userdbpw | userdb patrick set systempw
- also tried 'pw2userdb | makeuserdb'
- userdb entry for 'patrick'
patrick home=/home/patrick|systempw=cxEcVzcw7FeIs
- run userdb through makeuserdb
- userdb permissions are:
-rw------- 1 root root 50 Jul 1 17:11 userdb
-rw-r--r-- 1 root root 12313 Jul 1 17:11 userdb.dat
-rw-r--r-- 1 root root 0 Jul 1 17:11 userdb.lock
-rw------- 1 root root 12317 Jul 1 17:11
userdbshadow.dat
- restarted courier after making any changes to any of the configs
what is it that i'm missing here?
Did you start authdaemond?