[debian-edu-commits] debian-edu/ 04/04: ldap-tools/ldap-debian-edu-install:
Wolfgang Schweer
schweer-guest at moszumanska.debian.org
Wed Aug 17 13:05:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
schweer-guest pushed a commit to branch master
in repository debian-edu-config.
commit 120c5b06c826b1fadb08812615edb125e4596479
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Wed Aug 17 15:03:45 2016 +0200
ldap-tools/ldap-debian-edu-install:
Remove condition to test if
/var/lib/ldap is empty as this might cause problems; init_ldap () is
cleaning it up anyway before LDAP is set up from scratch.
---
debian/changelog | 3 +++
ldap-tools/ldap-debian-edu-install | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f1f5ffe..f9be46c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,9 @@ debian-edu-config (1.908) UNRELEASED; urgency=medium
* debian/debian-edu-config.postinst:
- Add condition for removal of /etc/insserv/overrides/kdm.
- Move upgrade related code from configure) to upgrade).
+ * ldap-tools/ldap-debian-edu-install: Remove condition to test if
+ /var/lib/ldap is empty as this might cause problems; init_ldap () is
+ cleaning it up anyway before LDAP is set up from scratch.
-- Wolfgang Schweer <wschweer at arcor.de> Mon, 15 Aug 2016 21:42:48 +0200
diff --git a/ldap-tools/ldap-debian-edu-install b/ldap-tools/ldap-debian-edu-install
index 0bc82c5..3d1fc3d 100755
--- a/ldap-tools/ldap-debian-edu-install
+++ b/ldap-tools/ldap-debian-edu-install
@@ -100,7 +100,7 @@ FIRSTUSERPWDHASH=$(slappasswd -s "$FIRSTUSERPWD" -h {SSHA})
## Make sure to ask for the password if it is not available
if [ -f /etc/debian-edu/config ] && grep -q Main-Server /etc/debian-edu/config \
- && [ ! -f /var/lib/ldap/__db.001 ] && [ -z "$ROOTPWDCLEAR" ]; then
+ && [ -z "$ROOTPWDCLEAR" ]; then
loop=0
while [ $loop -lt 50 ]; do
loop=$(($loop+1))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
More information about the debian-edu-commits
mailing list