Bug 673002

Summary: openldap-servers's rpm-file has no slapd.conf
Product: [Fedora] Fedora Reporter: Masa Oshima <moshima.web>
Component: openldapAssignee: Jan Vcelak <jvcelak>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jvcelak, rmeggins, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-02 10:09:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Masa Oshima 2011-01-26 23:53:54 UTC
Description of problem:


Version-Release number of selected component (if applicable):
openldap-servers-2.4.23-4.fc14.x86_64

How reproducible:
Always

Steps to Reproduce:
1. clear install "openldap-servers-2.4.23-4.fc14.x86_64.rpm" by gpk-application
2. ls /etc/openldap/slapd.conf
  
Actual results:
ls: cannot access /etc/openldap/slapd.conf: No such file or directory

Expected results:
/etc/openldap/slapd.conf is exists and it expects to be able to editable.

Additional info:
RPM's list of files are missing some files than CPIO's it. I think, this point 
is maybe suspect.

Steps to Diff:
1. rpm2cpio openldap-servers-2.4.23-4.fc14.x86_64.rpm | cpio --list | sed 's/^\.//' > ldap.lst-cpio
2. rpm -qlp openldap-servers-2.4.23-4.fc14.x86_64.rpm > ldap.lst-rpm
3. diff ldap.lst-cpio ldap.lst-rpm

Diff results:
19a20,21
> /etc/openldap/slapd.conf
> /etc/openldap/slapd.conf.bak
20a23
> /etc/pki/tls/certs/slapd.pem

Comment 1 Masa Oshima 2011-01-27 00:12:25 UTC
Sorry, correct 1 point.

x RPM's list of files are missing some files than CPIO's it.
o CPIO's list of files are missing some files than RPM's it.

Comment 2 Jan Vcelak 2011-02-02 10:09:08 UTC
Hi Masa,

this is expected. Configuration in '/etc/openldap/slapd.conf' is obsolete. Use '/etc/openldap/slapd.d/' directory instead (man slapd-config).

If you really need to use old slapd.conf, copy it from /usr/share/openldap-servers/slapd.conf.obsolete and delete /etc/openldap/slapd.d. But be aware that your configuration will be migrated during next package update.

Jan

(Closing this bug.)

Comment 3 Masa Oshima 2011-02-03 07:48:51 UTC
Thanks Jan, 

Thank you for your suggestion, I must to read those man-pages.
This reports was the same as found in Bug #612602 (FC13). 

If there are some mistakes in English, I'd like to apologize.

Masa