samba-doc: Samba documentation.
samba-doc-pdf: Samba documentation (PDF format).
samba-tools: Tools provided by the Samba suite
-libpam-smbpass: pluggable authentication module for SMB password database.
libsmbclient: Shared library that allows applications to talk to SMB servers.
libsmbclient-dev: libsmbclient shared libraries.
winbind: Service to resolve user and group information from a Windows NT server.
+samba (2:4.3.0+dfsg-3) UNRELEASED; urgency=medium
+
+ * Remove libpam-smbpasswd, which is broken and slated for removal
+ upstream. Closes: #799840
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 01 Oct 2015 21:37:48 +0000
+
samba (2:4.3.0+dfsg-2) experimental; urgency=medium
* Re-enable cluster support.
.
This package contains plugins for the Samba server Virtual FileSystem.
-Package: libpam-smbpass
-Section: admin
-Priority: extra
-Architecture: any
-Multi-Arch: same
-Depends: libpam-runtime (>= 1.0.1-6),
- samba-common (= ${source:Version}),
- ${misc:Depends},
- ${shlibs:Depends}
-Pre-Depends: dpkg (>= 1.15.6~)
-Suggests: samba
-Description: pluggable authentication module for Samba
- This is a module for PAM that enables a system administrator to migrate
- user passwords from the Unix password database to the SMB password
- database as used by Samba, and to subsequently keep the two databases in
- sync. Unlike other solutions, it does this without needing users to log
- in to Samba using cleartext passwords, or requiring them to change their
- existing passwords.
-
Package: libsmbclient
Section: libs
Priority: optional
+++ /dev/null
-source3/pam_smbpass/README
-source3/pam_smbpass/TODO
+++ /dev/null
-source3/pam_smbpass/samples/README
-source3/pam_smbpass/samples/kdc-pdc
-source3/pam_smbpass/samples/password-mature
-source3/pam_smbpass/samples/password-migration
-source3/pam_smbpass/samples/password-sync
+++ /dev/null
-lib/*/security/pam_smbpass.so
-usr/share/pam-configs/smbpasswd-migrate
+++ /dev/null
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ PAM_smbpass\[[[:digit:]]+\]: username \[[^]]+\] obtained$
+++ /dev/null
-Name: SMB password synchronization
-Default: yes
-Priority: 0
-Conflicts: smbpasswd-auth
-Auth-Type: Additional
-Auth-Initial:
- optional pam_smbpass.so migrate
-Auth-Final:
- optional pam_smbpass.so migrate
-Password-Type: Additional
-Password-Initial:
- optional pam_smbpass.so nullok use_authtok use_first_pass
-Password-Final:
- optional pam_smbpass.so nullok use_authtok use_first_pass
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-pam-auth-update --package
-
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-#
-#
-
-set -e
-
-# this code is identical to the code in samba-libs.preinst
-# it is here to make sure that libpam-smbpass isn't upgraded in cases where
-# the samba-libs preinst would fail
-# if this code fails, the old version of libpam-smbpass will stay on the
-# system, and keep working (the 3.6 version of libpam-smbpass was
-# self-contained and doesn't need any shared libraries from other samba
-# packages)
-if [ "$1" = "upgrade" ]
-then
- for file in passdb.tdb secrets.tdb schannel_store.tdb idmap2.tdb
- do
- if [ -e /var/lib/samba/$file ]
- then
- if [ -e /var/lib/samba/private/$file ] &&
- [ ! /var/lib/samba/$file -ef /var/lib/samba/private/$file ]
- then
- echo $file exists in /var/lib/samba and /var/lib/samba/private, aborting libpam-smbpass preinst
- echo rename one of them to allow the install/upgrade to continue
- echo http://bugs.debian.org/726472
- ls -al /var/lib/samba /var/lib/samba/private
- exit 1
- fi
- fi
- done
- for file in passdb.tdb secrets.tdb schannel_store.tdb idmap2.tdb
- do
- if [ -e /var/lib/samba/$file ]
- then
- if ! [ -e /var/lib/samba/private/$file ]
- then
- if [ ! -d /var/lib/samba/private ]
- then
- mkdir /var/lib/samba/private
- fi
- mv /var/lib/samba/$file /var/lib/samba/private/$file
- ln /var/lib/samba/private/$file /var/lib/samba/$file
- fi
- fi
- done
-fi
-
-
-#DEBHELPER#
-
-exit 0
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ]; then
- pam-auth-update --package --remove smbpasswd-migrate
-fi
-
-#DEBHELPER#
ln -sf ../../../samba/ldb $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/ldb/modules/ldb/samba
# pam stuff
mkdir -p $(DESTDIR)/usr/share/pam-configs
- install -m 0644 debian/libpam-smbpass.pam-config $(DESTDIR)/usr/share/pam-configs/smbpasswd-migrate
install -m 0644 debian/winbind.pam-config $(DESTDIR)/usr/share/pam-configs/winbind
mv $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)/libnss_* $(DESTDIR)/lib/$(DEB_HOST_MULTIARCH)/
# we don't ship the symlinks
rm $(DESTDIR)/usr/bin/ctdb_run_cluster_tests
rm -rf $(DESTDIR)/usr/lib/*/ctdb-tests
rm -rf $(DESTDIR)/usr/share/ctdb-tests
+ # Remove libpam-smbpass, which is broken and slated for removal upstream.
+ rm -f $(DESTDIR)/lib/*/security/pam_smbpass.so
# Install ctdb conffiles
mkdir -p $(DESTDIR)/lib/systemd/system/
install -m 0644 ctdb/config/ctdb.service $(DESTDIR)/lib/systemd/system/
./debian/build-orig.sh
override_dh_installchangelogs:
- dh_installchangelogs -Nlibpam-smbpass
-ifneq (,$(filter libpam-smbpass, $(shell dh_listpackages)))
- dh_installchangelogs -plibpam-smbpass source3/pam_smbpass/CHANGELOG
-endif
+ dh_installchangelogs
override_dh_installinit:
ifneq (,$(filter samba, $(shell dh_listpackages)))
set -e
# Move files to private subdir now fhs patch is finally gone
-# this code is also present in libpam-smbpass.preinst (and should be kept in
-# sync)
if [ "$1" = "install" ]
then
for file in passdb.tdb secrets.tdb schannel_store.tdb idmap2.tdb