Your message dated Sun, 20 Dec 2009 15:40:26 +0000
with message-id <[email protected]>
and subject line Bug#551455: fixed in libpam-heimdal 3.15-2.1
has caused the Debian Bug report #551455,
regarding please add support for pam-auth-update
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
551455: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551455
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpam-heimdal
Version: 3.15-2
Severity: wishlist
Tags: patch
Hi,
attached patch adds support for automatic pam configuration via
libpam-auth-update taken from libpam-krb5. Would be nice to have this
applied since it eases pam configuration a lot.
Cheers,
-- Guido
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.31 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From c14c4eb9ba81423a3b8eee462517847cba861b90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]>
Date: Sun, 18 Oct 2009 12:35:31 +0200
Subject: [PATCH] add pam-auth-update from libpam-krb5
---
debian/control | 2 +-
debian/pam-auth-update | 20 ++++++++++++++++++++
debian/postinst | 6 ++++++
debian/prerm | 20 ++++++++++++++++++++
debian/rules | 4 ++++
5 files changed, 51 insertions(+), 1 deletions(-)
create mode 100644 debian/pam-auth-update
create mode 100644 debian/postinst
create mode 100644 debian/prerm
diff --git a/debian/control b/debian/control
index 8f37842..8b47d00 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 5.0.2), heimdal-dev (>= 0.3e), libpam0g-dev, quilt
Package: libpam-heimdal
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, libpam-runtime (>= 1.0.1-6~)
Conflicts: libpam-krb5
Description: PAM module for Heimdal Kerberos 5
A Kerberos PAM module for use with Heimdal Kerberos 5. This
diff --git a/debian/pam-auth-update b/debian/pam-auth-update
new file mode 100644
index 0000000..f6a0d3a
--- /dev/null
+++ b/debian/pam-auth-update
@@ -0,0 +1,20 @@
+Name: Heimdal Kerberos authentication
+Default: yes
+Priority: 704
+Conflicts: krb5-openafs
+Auth-Type: Primary
+Auth:
+ [success=end default=ignore] pam_krb5.so minimum_uid=1000 try_first_pass
+Auth-Initial:
+ [success=end default=ignore] pam_krb5.so minimum_uid=1000
+Account-Type: Additional
+Account:
+ required pam_krb5.so minimum_uid=1000
+Password-Type: Primary
+Password:
+ requisite pam_krb5.so minimum_uid=1000 use_authtok
+Password-Initial:
+ requisite pam_krb5.so minimum_uid=1000
+Session-Type: Additional
+Session:
+ optional pam_krb5.so minimum_uid=1000
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..3e5c17c
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+pam-auth-update --package
+
+#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..177e364
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+# pam-auth-update --remove removes the named profile from the active config.
+# It arguably should be called during deconfigure as well, but deconfigure
+# can happen in some cases during a dist-upgrade and we don't want to
+# deconfigure all PAM modules in the middle of a dist-upgrade by accident.
+#
+# More importantly, with the current implementation, --remove also removes
+# all local preferences for the named config (such as whether it's enabled
+# or disabled), which we don't want to do on deconfigure.
+#
+# This may need to change later as pam-auth-update evolves.
+
+if [ "$1" = "remove" ] ; then
+ pam-auth-update --package --remove heimdal
+fi
+
+#DEBHELPER#
diff --git a/debian/rules b/debian/rules
index 616fa34..daf1e55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,6 +61,10 @@ install: build
# Add here commands to install the package into debian/tmp.
dh_install
+ install -d debian/libpam-heimdal/usr/share/pam-configs
+ install -m 644 debian/pam-auth-update \
+ debian/libpam-heimdal/usr/share/pam-configs/heimdal
+
# Build architecture-independent files here.
binary-indep: build install
--
1.6.5
--- End Message ---
--- Begin Message ---
Source: libpam-heimdal
Source-Version: 3.15-2.1
We believe that the bug you reported is fixed in the latest version of
libpam-heimdal, which is due to be installed in the Debian FTP archive:
libpam-heimdal_3.15-2.1.diff.gz
to main/libp/libpam-heimdal/libpam-heimdal_3.15-2.1.diff.gz
libpam-heimdal_3.15-2.1.dsc
to main/libp/libpam-heimdal/libpam-heimdal_3.15-2.1.dsc
libpam-heimdal_3.15-2.1_i386.deb
to main/libp/libpam-heimdal/libpam-heimdal_3.15-2.1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guido Günther <[email protected]> (supplier of updated libpam-heimdal package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 17 Dec 2009 11:11:29 +0100
Source: libpam-heimdal
Binary: libpam-heimdal
Architecture: source i386
Version: 3.15-2.1
Distribution: unstable
Urgency: low
Maintainer: Matthijs Mohlmann <[email protected]>
Changed-By: Guido Günther <[email protected]>
Description:
libpam-heimdal - PAM module for Heimdal Kerberos 5
Closes: 551455 559779
Changes:
libpam-heimdal (3.15-2.1) unstable; urgency=low
.
* Non-maintainer upload.
* Integrate with pam-auth-update (code taken from libpam-krb5) (Closes:
#551455)
* Rebuilt against newer libheimdal-dev (Closes: #559779)
Checksums-Sha1:
b44239db906b46c3edf82932ccb144faf9a0c706 1099 libpam-heimdal_3.15-2.1.dsc
a157e5477f0f91de0d753d1a0d6f8063eba23e13 8349 libpam-heimdal_3.15-2.1.diff.gz
6bb3d8e99de2326e423412502962abc7b524a82d 60974 libpam-heimdal_3.15-2.1_i386.deb
Checksums-Sha256:
ac2232ac57593d860d5e418bf46a0ce5ff28350f29717b2f9ce2763f266bdc02 1099
libpam-heimdal_3.15-2.1.dsc
9fc9cfc711c4fe7a50f5aa3727fc2099d3f0fafa39faf3497db8972ccef8c36d 8349
libpam-heimdal_3.15-2.1.diff.gz
97e55b01e8fb08939e01ab590b8e81c3c2cade2f1b3f8c0cbc9ec11bb9198d2c 60974
libpam-heimdal_3.15-2.1_i386.deb
Files:
29b382fd8fd73d79b75b7e8dd6cbc547 1099 net optional libpam-heimdal_3.15-2.1.dsc
aae042f87d4e6ccc019ec206c781921a 8349 net optional
libpam-heimdal_3.15-2.1.diff.gz
ae39b57f580a2c95feceb05846904f16 60974 net optional
libpam-heimdal_3.15-2.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFLKkcXn88szT8+ZCYRAsiDAJ0WN+THgjSGjG3hGb/GSOBSqKGthwCcCeo3
zEhP83EHg0VOr4e4wRVEVBg=
=qsn8
-----END PGP SIGNATURE-----
--- End Message ---