Bug 1378174

Summary: System-Level Authentication Guide makes reference to files that don't exist
Product: Red Hat Enterprise Linux 7 Reporter: rick.beldin <rick.beldin>
Component: doc-System_Level_Authentication_GuideAssignee: Marc Muehlfeld <mmuehlfe>
Status: CLOSED CURRENTRELEASE QA Contact: Kaushik Banerjee <kbanerje>
Severity: low Docs Contact:
Priority: high    
Version: 7.3CC: rhel-docs
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 08:39:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description rick.beldin@hpe.com 2016-09-21 17:34:35 UTC
Document URL: 

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/System-Level_Authentication_Guide/index.html

Same issue on RHEL 7.3 beta document 

Section Number and Name: 

9.3.2   Changing the Database-Specific Configuration
By default, the OpenLDAP server uses Berkeley DB (BDB) as a database back end. 
The configuration for this database is stored in the 
/etc/openldap/slapd.d/cn=config/olcDatabase={1}bdb.ldif file. 


Describe the issue: 

The file does not exist. 

# pwd
/etc/openldap/slapd.d/cn=config
[root@rhel72-ldap cn=config]# ls -1
cn=schema
cn=schema.ldif
olcDatabase={0}config.ldif
olcDatabase={-1}frontend.ldif
olcDatabase={1}monitor.ldif
olcDatabase={2}hdb.ldif


Suggestions for improvement: 

Document the files delivered and the defaults.  The man page for SLAPD-BDB says: 

     The  bdb backend to slapd(8) uses the Oracle Berkeley DB (BDB) package to
       store data.  It makes extensive use of indexing and caching to speed data
       access.

       Note  that BDB is deprecated and support will be dropped in future OpenL‐
       DAP releases. Installations should use the mdb backend instead.

This is not reflected in the documentation. 

Additional information:

Comment 1 rick.beldin@hpe.com 2016-09-21 17:45:32 UTC
  Doc issue only in RHEL 7.3 beta documentation. 

7.2 doesn't have the chapter.

Comment 3 Aneta Šteflová Petrová 2016-09-22 09:35:03 UTC
Thank you for the report. Marc, can you please look into this?

Comment 5 Marc Muehlfeld 2016-09-29 13:47:04 UTC
I updated the "Database-Specific Configuration" section. It shows now the correct file name, describes the correct default database back end (hdb), and notes that BDB is deprecated.

Additionally I added short sections to describe the other two files in /etc/openldap/slapd.d/cn=config/: olcDatabase={-1}frontend.ldif and olcDatabase={1}monitor.ldif

We will republish the updated guide after RHEL 7.3 GA (2016-10-25). 

Please note that we are currently thinking about moving the OpenLDAP chapter back to the System Administrator's Guide. In this case look for the updated section in the System Administrator's Guide after GA.

Comment 7 rick.beldin@hpe.com 2016-09-29 14:57:04 UTC
I think moving this back to the Sys Admin Guide might not be a bad idea. 

If you do, I think you need to beef up the section on setting this up.  The OpenLdap 2.4 configuration files are considerably different than before and the information is insufficient for someone to follow and have a minimal functioning LDAP server.   Most of the existing documentation consists of making edits to /etc/openldap/slapd.conf, which is now deprecated.   The 'new' way of doing things is to use ldapmodify, but basic instructions on how to change the rootDN password and other other basic attributes are unclear.

Comment 8 Aneta Šteflová Petrová 2016-11-04 08:39:14 UTC
The updated content is now available on the Customer Portal.