Hi Goutam I have never used the RPMS as such but compiled from source. Can tell you the files to lookup- their locations might differ in a RPM install.
there should be two files -> a) one for courier-authlib daemon config b) another for courier-authlib and ldap config (which will conatin the mappings between your ldap and authentication attributes desired by you) As a first step -> Pls increase the debug level in the courier-authlib daemon file -> /etc/authlib/authdaemonrc (in my case - the location could be different in yours) set DEBUG_LOGIN=2 (By default the logging is done in maillog, so pls tail that file for errors) Also pls check your /var/log/messages If you see an error there, pls post the same Secondly -> check the ldap mapping in /etc/authlib/authldaprc(again your location might be different) finally since this is a permission error as it appears, pls check permissions on your ldap folder (if default RH- /var/lib/ldap) Best Wishes On Mon, 2009-03-23 at 15:34 +0530, Goutam Baul wrote: > Dear All, > > Kindly ignore the previous post. It contains a error. I am sorry for this. > > I am trying to setup a mail server using postfix as the MTA. > > I have installed the following packages on my RHEL5 box > > courier-authlib-0.61.0-1.rh5Server > courier-authlib-devel-0.61.0-1.rh5Server > courier-authlib-ldap-0.61.0-1.rh5Server > > Apart from these, I have > > openldap-2.3.27-8.el5_1.3 > nss_ldap-253-12.el5 > openldap-clients-2.3.27-8.el5_1.3 > openldap-devel-2.3.27-8.el5_1.3 > courier-authlib-ldap-0.61.0-1.rh5Server > openldap-servers-2.3.27-8.el5_1.3 > > installed. Have compiled maildrop 2.0.4 and the output of maildrop -v is > > [r...@mailbase ~]# maildrop -v > maildrop 2.0.4 Copyright 1998-2005 Double Precision, Inc. > GDBM extensions enabled. > Courier Authentication Library extension enabled. > Maildir quota extension enabled. > This program is distributed under the terms of the GNU General Public > License. See COPYING for additional information. > > The user information is stored in LDAP and maildrop is delivering the mails > at proper folders. The mail users are all virtual users. As the mail > delivery is happening as expected I was thinking that the maildrop is able > to communicate properly with authlib and my configuration of authlib is in > order. But I am finding that the command authtest is failing with the error > "Authentication FAILED: Operation not permitted" > > [r...@mailbase ~]# authtest bonhi > Authentication FAILED: Operation not permitted > > but slapcat returns the following details of the user bonhi > > dn: uid=bonhi,ou=rpg.in,dc=rpg,dc=orgn > uid: bonhi > sn: bonhi > title: bonhi > homeDirectory: /home/vmail/rpg.in/bonhi > mailMessageStore: /home/vmail/rpg.in/bonhi/Maildir/ > mail: bo...@rpg.in > mail: bo...@rpgnet.com > mailForwardingAddress: bo...@rpg.in > > May I request for some indication on what is going on here? I am at a loss. > > With regards, > > goutam > > > > > ============================================================== > Please don't print this e-mail unless you really need to. Save trees for our > children! > ============================================================== > > _______________________________________________ > ilugd mailinglist -- ilugd@lists.linux-delhi.org > http://frodo.hserus.net/mailman/listinfo/ilugd > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ Varad Gupta Keen & Able Computers Pvt Ltd FOSTERing Linux New Delhi & Gurgaon varad.gu...@fosteringlinux.com www.keenable.com fl.keenable.com +91-11-30880046/7/8/9 +91-124-4080880 FAX +91-11-41808565 +91-124-4268187 _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/