Red Hat Bugzilla – Bug 171165
openldap should give useful error messages on permissions problems
Last modified: 2007-11-30 17:07:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Description of problem:
If slapd is configured to use a certificate file or certificate key file that isn't readable by the LDAP user, it fails to start without displaying any useful error message. Since most services access their certificate keys as root before dropping permissions, checking that the cert keys are readable by the ldap user is not intuitive.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Edit /etc/openldap/slapd.conf and configure a TLSCertificateFile and TLSCertificateKeyFile.
2. Make one or both files not readable by the ldap user.
3. Start LDAP ("service slapd start").
Actual Results: "[FAILED]"
Expected Results: Error message explaining why it failed.
init script will now display [WARNINIG] which will describe permission problem
(as in RHEL 5 and Fedora)
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.