Pernilla Uhlin
2003-11-19 23:49:21 UTC
Hi,
I'm quite new to courier-imap and just installed it. I have a set of user in /etc/passwd (and my system use shadow passwords), and my configuration is as shown:
authdaemonrc:
authmodulelist="authshadow authpwd"
authmodulelistorig="authcustom authcram authuserdb authshadow authpwd"
imapd:
AUTHMODULES="authshadow authpwd"
AUTHMODULES_ORIG="authshadow authpwd"
imapd-ssl:
IMAPDSSLSTART=YES
I stop and start to make sure these configurationes are the one used by:
/etc/init.d/imap stop/start
/etc/init.d/imaps stop/start
/usr/local/libexec/authlib/authdaemond restart
In my /etc/passwd I have:
pernilla:x:1012:100:Pernilla Uhlin,,,:/home/pernilla:/bin/bash
authtest gives me:
***@server3: /usr/local/libexec/authlib/authtest pernilla
Authenticated: module authdaemon
Home directory: /home/pernilla
UID/GID: 1012/100
AUTHADDR=pernilla
AUTHFULLNAME=Pernilla Uhlin
authinfo gives me:
AUTHDAEMONMODULELIST="authcustom authcram authuserdb authshadow authpwd"
SASL_AUTHENTICATION_MODULES="CRAM-SHA1 CRAM-MD5 PLAIN LOGIN"
authshadow:
AUTHFAILURE
authpwd:
AUTHFAILURE
Then, I'm trying to login with:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See COPYING for distribution information.
a login ***@b3.sysinst.ida.liu.se password_for_pernilla
a NO Login failed.
Connection closed by foreign host.
The log-files contains:
***@server3: ~# tail /var/log/messages
Nov 20 00:13:42 server3 authdaemond.plain: authdaemon: modules="authshadow", daemons=5
Nov 20 00:14:02 server3 authdaemond.plain: authdaemon: modules="authshadow", daemons=5
Nov 20 00:20:26 server3 authdaemond.plain: authdaemon: modules="authshadow", daemons=5
Nov 20 00:23:02 server3 authdaemond.plain: authdaemon: modules="authshadow authpwd", daemons=5
Nov 20 00:41:39 server3 authdaemond.plain: authdaemon: modules="authshadow authpwd", daemons=5
/var/log/syslog:
Nov 20 00:16:24 server3 imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 20 00:20:26 server3 authdaemond.plain: authdaemon: modules="authshadow", daemons=5
Nov 20 00:20:44 server3 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 20 00:21:02 server3 imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 20 00:23:02 server3 authdaemond.plain: authdaemon: modules="authshadow authpwd", daemons=5
Can somebody please help me?
Thanks in advance!
Pernilla Uhlin
I'm quite new to courier-imap and just installed it. I have a set of user in /etc/passwd (and my system use shadow passwords), and my configuration is as shown:
authdaemonrc:
authmodulelist="authshadow authpwd"
authmodulelistorig="authcustom authcram authuserdb authshadow authpwd"
imapd:
AUTHMODULES="authshadow authpwd"
AUTHMODULES_ORIG="authshadow authpwd"
imapd-ssl:
IMAPDSSLSTART=YES
I stop and start to make sure these configurationes are the one used by:
/etc/init.d/imap stop/start
/etc/init.d/imaps stop/start
/usr/local/libexec/authlib/authdaemond restart
In my /etc/passwd I have:
pernilla:x:1012:100:Pernilla Uhlin,,,:/home/pernilla:/bin/bash
authtest gives me:
***@server3: /usr/local/libexec/authlib/authtest pernilla
Authenticated: module authdaemon
Home directory: /home/pernilla
UID/GID: 1012/100
AUTHADDR=pernilla
AUTHFULLNAME=Pernilla Uhlin
authinfo gives me:
AUTHDAEMONMODULELIST="authcustom authcram authuserdb authshadow authpwd"
SASL_AUTHENTICATION_MODULES="CRAM-SHA1 CRAM-MD5 PLAIN LOGIN"
authshadow:
AUTHFAILURE
authpwd:
AUTHFAILURE
Then, I'm trying to login with:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See COPYING for distribution information.
a login ***@b3.sysinst.ida.liu.se password_for_pernilla
a NO Login failed.
Connection closed by foreign host.
The log-files contains:
***@server3: ~# tail /var/log/messages
Nov 20 00:13:42 server3 authdaemond.plain: authdaemon: modules="authshadow", daemons=5
Nov 20 00:14:02 server3 authdaemond.plain: authdaemon: modules="authshadow", daemons=5
Nov 20 00:20:26 server3 authdaemond.plain: authdaemon: modules="authshadow", daemons=5
Nov 20 00:23:02 server3 authdaemond.plain: authdaemon: modules="authshadow authpwd", daemons=5
Nov 20 00:41:39 server3 authdaemond.plain: authdaemon: modules="authshadow authpwd", daemons=5
/var/log/syslog:
Nov 20 00:16:24 server3 imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 20 00:20:26 server3 authdaemond.plain: authdaemon: modules="authshadow", daemons=5
Nov 20 00:20:44 server3 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 20 00:21:02 server3 imapd: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 20 00:23:02 server3 authdaemond.plain: authdaemon: modules="authshadow authpwd", daemons=5
Can somebody please help me?
Thanks in advance!
Pernilla Uhlin