LDAP (slapd) creating users with access to specific trees

Posted by Josh on Server Fault See other posts from Server Fault or by Josh
Published on 2010-03-08T21:23:26Z Indexed on 2010/03/08 21:38 UTC
Read the original article Hit count: 357

Filed under:
|
|

I am setting up a CentOS server with Virtualmin and Postfix, and I am trying to use LDAP to store unix users, groups, Postfix aliases and virtual domains. I am following the instructions from Webmin's site.

I have created an LDAP domain and configured Postfix to fetch Aliases and Virtual Domains from LDAP, but in order to do so I had to configure postfix to authenticate with the master LDAP account, cn=Manager,dc=mydomain,dc=com. This seems like a terrible idea because that account has access to the Users and Groups, which postfix does not need access to.

How can I create a new LDAP account for Postfix which only has access to the LDAP trees Postfix needs?

© Server Fault or respective owner

Related posts about ldap

Related posts about permissions