Bug 171165 - openldap should give useful error messages on permissions problems
Summary: openldap should give useful error messages on permissions problems
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: openldap
Version: 4.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: Jan Safranek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-18 21:43 UTC by Josh Kelley
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: RHBA-2007-0739
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-15 16:03:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0739 0 normal SHIPPED_LIVE openldap bug fix update 2007-11-14 17:01:29 UTC

Description Josh Kelley 2005-10-18 21:43:06 UTC
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):
openldap-2.2.13-4

How reproducible:
Always

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.

Additional info:

Comment 1 Jan Safranek 2007-06-21 14:25:09 UTC
init script will now display [WARNINIG] which will describe permission problem
(as in RHEL 5 and Fedora)

Comment 2 RHEL Program Management 2007-06-21 14:34:10 UTC
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
release.

Comment 7 errata-xmlrpc 2007-11-15 16:03:52 UTC
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.

http://rhn.redhat.com/errata/RHBA-2007-0739.html



Note You need to log in before you can comment on or make changes to this bug.