Tuesday, August 25, 2015

OpenLdap permission denied issue

While starting the ldap service you will get following error:

ldif_read_file: Permission denied for "/etc/ldap/slapd.d/cn=config.ldif" 
slapadd: bad configuration file!


Solution:

Change permission to ldap. The command is 

chown ldap. /etc/openldap/slapd.d

No comments:

Post a Comment