Bug 559520

Summary: openldap cannot start when kerberos is enable, found by PES
Product: Red Hat Enterprise Linux 5 Reporter: Petr Sklenar <psklenar>
Component: openldapAssignee: Jan Zeleny <jzeleny>
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: high Docs Contact:
Priority: high    
Version: 5.5CC: dkovalsk, jplans, jscotka, omoris, ovasik
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openldap-2.3.43-9.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 08:05:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Sklenar 2010-01-28 11:24:09 UTC
Description of problem:
when kerberos configuration is enable openldap cannot start

Version-Release number of selected component (if applicable):
openldap-2.3.43-8.el5

How reproducible:
always

Steps to Reproduce:
1. set up openldap with kerberos :)
2. service ldap start fails
  
Actual results:
cannot start

Expected results:
works

Additional info:
version openldap-2.3.43-3.el5 works well,
bug appears after update to openldap-2.3.43-8.el5

all configuration files and set up system is:
pes-02.lab.eng.brq.redhat.com

up to discussion with developer, there are some changes in start script which causes of this bug

Comment 2 Jan Zeleny 2010-01-28 12:05:00 UTC
The issue is caused by sysconf file. It should provide SLAPD_LDAP=yes (or SLAPD_LDAPS/SLAPD_LDAPI) by default. This way the init script tries to start slapd without specifying where should it listen.

Comment 5 Jan Zeleny 2010-01-29 21:33:26 UTC
I added proper configuration directives in ldap.sysconfig. Changing status to MODIFIED.

Comment 7 Ondrej Moriš 2010-02-08 01:20:41 UTC
RHTS Test proposed, see QA Whiteboard.

Comment 9 Ondrej Moriš 2010-02-08 09:22:04 UTC
Successfully verified.

* RHEL5.5-Server-20100201.0 (i386, x86_64)
* RHEL5.5-Client-20100201.0 (i386, x86_64)

Via RHTS test, see QA Whiteboard.

Comment 11 errata-xmlrpc 2010-03-30 08:05:04 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 therefore 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/RHSA-2010-0198.html