Bug 673002 - openldap-servers's rpm-file has no slapd.conf
Summary: openldap-servers's rpm-file has no slapd.conf
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Vcelak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-26 23:53 UTC by Masa Oshima
Modified: 2013-03-04 01:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-02 10:09:08 UTC
Type: ---


Attachments (Terms of Use)

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


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