Bug 1019836 - Missing a LineFeed a the end of file /etc/openldap/ldap.conf
Missing a LineFeed a the end of file /etc/openldap/ldap.conf
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: openldap (Show other bugs)
19
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Jan Synacek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-16 09:24 EDT by benjamin.barras@epfl.ch
Modified: 2014-11-19 06:37 EST (History)
5 users (show)

See Also:
Fixed In Version: openldap-2.4.37-1.fc21.x86_64
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-11-19 06:37:21 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description benjamin.barras@epfl.ch 2013-10-16 09:24:55 EDT
Description of problem:

Missing a LineFeed a the end of file /etc/openldap/ldap.conf

Version-Release number of selected component (if applicable):


How reproducible:

Use command line ;

authconfig ... --ldapserver=ldap.epfl.ch ...

and after

cat /etc/openldap/ldap.conf 
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

#BASE	dc=example,dc=com
#URI	ldap://ldap.example.com ldap://ldap-master.example.com:666

#SIZELIMIT	12
#TIMELIMIT	15
#DEREF		never

TLS_CACERTDIR /etc/openldap/cacerts

# Turning this off breaks GSSAPI used with krb5 when rdns = false
SASL_NOCANON	onURI ldap://ldap.epfl.ch/
BASE o=epfl,c=ch

Expected results:

cat /etc/openldap/ldap.conf 
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

#BASE	dc=example,dc=com
#URI	ldap://ldap.example.com ldap://ldap-master.example.com:666

#SIZELIMIT	12
#TIMELIMIT	15
#DEREF		never

TLS_CACERTDIR /etc/openldap/cacerts

# Turning this off breaks GSSAPI used with krb5 when rdns = false
SASL_NOCANON	on
URI ldap://ldap.epfl.ch/
BASE o=epfl,c=ch

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