Subject: | |
From: | |
Reply To: | |
Date: | Fri, 4 Jan 2019 18:06:06 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
With EL7, the slapd.conf is generally replaced with the new ldiff-slapd backend[1] in /etc/openldap/slapd.d/
The SPEC file notes that /etc/openldap/slapd.conf is not packaged in the RPM but may be reported as a part of the package[2].
With that in mind, I believe the SL7 package is correct.
Pat
[1] https://www.openldap.org/doc/admin24/slapdconf2.html
Note: You will need to continue to use the older slapd.conf(5) configuration system if your OpenLDAP installation requires the use of one or more backends or overlays that have not been updated to use the slapd-config(5) system. As of OpenLDAP 2.4.33, all of the official backends have been updated. There may be additional contributed or experimental overlays that also have not been updated.
You'll want to scroll all the way down to the very bottom for more information on how to migrate to the new layout.
[2] ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html see the %ghost directive
--
Pat Riehecky
Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org
________________________________________
From: Mailing list for Scientific Linux developers worldwide <[log in to unmask]> on behalf of Alec Habig <[log in to unmask]>
Sent: Friday, January 4, 2019 11:40:13 AM
To: scientific-linux-devel
Subject: [SCIENTIFIC-LINUX-DEVEL] Missing files in openldap-servers-2.4.40-16.el6.x86_64
Hi folks,
Working on migrating our department ldap server from sl6->sl7. While I
figured this would be painful, I've bonked at a very early and
unexpected step. The example/default config file is missing in the rpm:
if that's really true in the repo, this should be fixed.
While rpm --verify returns with no errors, if I ask for verbose output
it does indeed report them as missing:
$ rpm -v --verify openldap-servers | grep missing
missing c /etc/openldap/slapd.conf
missing c /etc/openldap/slapd.conf.bak
I've re-installed using yum, it reports:
(...)
Installed:
openldap-servers.x86_64 0:2.4.44-20.el7
Complete!
but the files are still missing.
So, two questions.
1) Am I special, or is the master copy of the rpm really missing the
config file?
2) Why do I have to ask for verbose output for "rpm --verify" to
report the missing file? Usually the non "-v" level of output tells
you all sorts of good stuff about how what's on disk is different from
the manifest. While this is tagged as a config file, I don't think
that this should mask "plain old missing".
Thanks,
Alec
PS - the sl6 version is openldap-servers-2.4.40-16.el6.x86_64, so I'll
proceed with a direct copy of the old slapd.conf file and see what
breaks, the version number is "only" four minor versions off...
--
Alec Habig
University of Minnesota Duluth
Dept. of Physics and Astronomy
[log in to unmask]
https://urldefense.proofpoint.com/v2/url?u=http-3A__neutrino.d.umn.edu_-7Ehabig_&d=DwIBAw&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbBYBgsCHS7vSr83lHQ-aa58eXICk1KkzZlAHgohLRRrX&m=rWviYkmdl0VegJ10BXznl9TWRONTQZWYErtAPAqXb7c&s=u0sxzGweGbf-qHm3DRNDM6ln0XP3hgfbTbOsd8BqNW8&e=
|
|
|