[CentOS] Sendmail using LDAP authentication problem

Wed Apr 21 12:50:48 UTC 2010
Craig White <craigwhite at azapple.com>

On Wed, 2010-04-21 at 19:40 +0800, sync wrote:
> Hi , all ;
>       My openldap is running fine . Sendmail  configuration is done. I
> want to use LDAP authentication only.
>       User of my mailserver should not have a Linux users .
>        I am running CentOS 5.3 i386 . Openldap-2.3.43-3.el5 ,
> sendmail-8.13.8-2.el5
>        All the software is already installed and running . LDAP has
> the following tree:
>                  uid=xxx, ou=People, dc=test, dc=com
>        I want to know what I've to change which configuration file and
> any pointer to the doc with clearly says the configuration .
>         Any help will be  appreciated. Please I am kind of stuck and
> waiting for anyone who can clear this cloud.
If you use authconfig to setup nsswitch.conf, pam.d/system-auth and
ldap.conf, you really don't have to do anything in sendmail to
specifically use ldap because pam will find the ldap users

at the point it is working, commands like 'getent passwd' and 'getent
group' will list LDAP users and groups respectively and authentication
should work.


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.