[Bug 971056] Re: Upgrade overwrites LDAP config with defaults
Thomas Schweikle
971056 at bugs.launchpad.net
Tue Apr 10 12:49:01 UTC 2012
The file "/etc/ldap.conf" was backed up to "/var/backups/", while
"/etc/ldap/ldap.conf" was not. Both files are overwritten by upgrading
via "do-release-upgrade -d" while a normal upgrade doesn't overwrite
them.
The file "/etc/ldap.conf" was replaced by default values, but some
values were patched with actual system given ones. These where added at
the end of the file. This is one line added: "nss_initgroups_ignoreusers
backup,bacula,bin,daemon,games,gnats,irc,libuuid,list,lp,mail,man,messagebus,news,openldap,proxy,root,sshd,statd,sync,sys,syslog,uucp
,www-data"
The file "/etc/ldap/ldap.conf" was replaced by default values. All changes had to be made again manually.
The file:
[pre]
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
BASE dc=xxxxx,dc=de
URI ldap://ks1.xxxxx.de ldap://ks2.xxxxx.de
SASL_MECH GSSAPI
SIZELIMIT 0
TIMELIMIT 0
DEREF never
[/pre]
was replaced by
[pre]
#
# 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 certificates (needed for GnuTLS)
TLS_CACERT /etc/ssl/certs/ca-certificates.crt
[/pre]
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/971056
Title:
Upgrade overwrites LDAP config with defaults
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/971056/+subscriptions
More information about the Ubuntu-server-bugs
mailing list