[Pkg-samba-maint] [samba] 01/01: Really remove all references to encrypted passwords: the samba-common.config script still included references, which could cause upgrade failures in some cases. Closes: #729167.
Steve Langasek
vorlon at moszumanska.debian.org
Wed Nov 27 06:17:03 UTC 2013
This is an automated email from the git hooks/post-receive script.
vorlon pushed a commit to branch master
in repository samba.
commit 77e8558b162c9357d727c8b6b43a9318659849a5
Author: Steve Langasek <vorlon at debian.org>
Date: Tue Nov 26 22:16:53 2013 -0800
Really remove all references to encrypted passwords: the samba-common.config script still included references, which could cause upgrade failures in some cases. Closes: #729167.
---
debian/changelog | 3 +++
debian/samba-common.config | 15 ---------------
2 files changed, 3 insertions(+), 15 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e013606..4276ea5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ samba (2:4.0.12+dfsg-2) UNRELEASED; urgency=low
* Move update-alternatives upgrade removal handling to the postinst, where
it belongs. Closes: #730090.
+ * Really remove all references to encrypted passwords: the
+ samba-common.config script still included references, which could cause
+ upgrade failures in some cases. Closes: #729167.
-- Steve Langasek <vorlon at debian.org> Sun, 24 Nov 2013 19:06:20 -0800
diff --git a/debian/samba-common.config b/debian/samba-common.config
index e8b0a32..08848f5 100644
--- a/debian/samba-common.config
+++ b/debian/samba-common.config
@@ -56,27 +56,12 @@ if [ -f $FILE ]; then
db_set samba-common/workgroup "$WORKGROUP"
fi
- ENCRYPT=`smbconf_retr "encrypt passwords"`
- if [ "$ENCRYPT" ]; then
- ENCRYPT=`echo $ENCRYPT | tr '[A-Z]' '[a-z]'`
- if [ "$ENCRYPT" = "yes" ]; then
- ENCRYPT=true
- elif [ "$ENCRYPT" = "no" ]; then
- ENCRYPT=false
- fi
-
- db_set samba-common/encrypt_passwords "$ENCRYPT"
- fi
fi
# Get workgroup name
db_input medium samba-common/workgroup || true
db_go
-# Use encrypted passwords?
-db_input medium samba-common/encrypt_passwords || true
-db_go
-
DHCPPRIORITY=medium
#if [ "$DEBCONF_RECONFIGURE" = 1 ] && [ -f /sbin/dhclient3 ]
if [ -f /sbin/dhclient3 ]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git
More information about the Pkg-samba-maint
mailing list