Hi there,
Im installing and configuring a courier-imap server since a few days
and this problem is taking me crazy. The real problem that I have is
the LDAP authentication, that doesn't work.
There are two machines, one is the LDAP server and the other one is
the Courier-IMAP server. The one with LDAP is a Debian machine and I'm
sure that it's working fine becouse Ive installed courier-imap deb
package in the LDAP machine and it works fine.
The problem is located in the machine with Red Hat 4 Update 4 and
Courier IMAP compiled like this:
*********************************
INSTALATION  "AUTHLIB"
---------------------------
(as user "root")
# ./configure --with-mailuser=exim --with-mailgroup=exim --with-redhat
# make
# make install
# make install-configure

INSTALATION POP/IMAP
------------------------
(as user "exim")
# ./configure --enable-unicode --bindir=/usr/local/bin
--mandir=/usr/local/man --with-redhat
# make
# make check
(como usuario "root")
# make install
# make install-configure

********************************************************

So what I did is copy the configuration files that work in the Debian
installation to the Red Hat one. Despite they have exactly the same
sintax, the RH one doen't work.

*************************************
Here you have the imapd login:
*************************************
Feb 22 14:00:32 hermesc1 imapd: Connection, ip=[::ffff:127.0.0.1]
Feb 22 14:00:32 hermesc1 imapd: LOGIN FAILED, user=usuario1.prueba,
ip=[::ffff:127.0.0.1]
Feb 22 14:00:32 hermesc1 imapd: authentication error: Input/output error

This is the output of "authtest" command:
[EMAIL PROTECTED] authlib]# authtest usuario1.prueba xxxx
INFO: stopping authdaemond children
Authentication FAILED: Input/output error
[EMAIL PROTECTED] authlib]# INFO: restarting authdaemond children
INFO: modules="authldap", daemons=5
INFO: Uninstalling authldap
INFO: Installing libauthldap
INFO: Installation complete: authldap



**********************
The authldaprc file:
**********************
LDAP_URI        ldap://10.236.1.40
LDAP_SERVER     10.236.1.40
LDAP_PORT       389
LDAP_PROTOCOL_VERSION   3
LDAP_BASEDN             dc=atva,dc=es
LDAP_TIMEOUT            30
LDAP_AUTHBIND           1
LDAP_MAIL       uid
LDAP_GLOB_UID   exim
LDAP_GLOB_GID   exim
LDAP_DEFAULTDELIVERY    defaultDelivery
LDAP_MAILDIRQUOTA       mailQuotaSize
LDAP_FULLNAME           cn
LDAP_CRYPTPW            userPassword
LDAP_DEREF              never
LDAP_TLS                0


******************************
This is the authdaemonrc:
******************************

authmodulelist="authldap"
authmodulelistorig="authuserdb authpam authldap authmysql authcustom authpipe"
daemons=5
version=""
authdaemonvar=/usr/local/var/spool/authdaemon
DEBUG_LOGIN=2


*********************************
This is the imapd config file:
*********************************
ADDRESS=0
PORT=143
MAXDAEMONS=400
MAXPERIP=400
PIDFILE=/var/run/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
AUTHMODULES="authdaemon"
AUTHMODULES_ORIG="authdaemon
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
IMAP_KEYWORDS=1
IMAP_ACL=1
IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5
AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
IMAP_PROXY=0
IMAP_PROXY_FOREIGN=0
IMAP_IDLE_TIMEOUT=60
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
IMAP_DISABLETHREADSORT=0
IMAP_CHECK_ALL_FOLDERS=0
IMAP_OBSOLETE_CLIENT=0
IMAP_UMASK=022
IMAP_ULIMITD=65536
IMAP_USELOCKS=1
IMAP_SHAREDINDEXFILE=/usr/lib/courier-imap/etc/shared/index
IMAPDSTART=YES
MAILDIRPATH=Maildir

*****************************************************************************************************
The folder's users and permissions are the same in Debian and Red Hat
installations (but the user, that is Debian-exim in Debian and exim in
Red Hat).
I think that it has to be something with the authdaemon, but don't
know what can be. The software compilation didn't give any errors,
don't know what can be.

Thank you in advance,
 Miguelon Makinon

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to