How can I configure dovecot to authenticate users against my OpenLDAP server with Red Hat Enterprise Linux 5?

Updated -

Assume that OpenLDAP server is running on the same machine with dovecot and the LDAP directives are configured as below:

suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw redhat

And user redhat with password redhatpwd has been added into OpenLDAP server. All the users are under the subtree "ou=People...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content