Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: pu Dear stable release team, I would like to upload a new release of nss-pam-ldapd for squeeze that fixes a bugs that apparently locks some users out of their system. The bug itself is not a regression in 0.7.15 but it is triggered in some cases by the stable update. The bug is #645599. I think there is a similar bug in nslcd although the changes of it showing up in normal cases is a lot slimmer than in the above bug and the changes required are much bigger. I will try to get that fixed in unstable first for a while (it is really tricky to support both preseeding and properly picking up current configuration in debconf). Attached is a debdiff. Thanks, -- -- arthur - adejong@debian.org - http://people.debian.org/~adejong --
diff -Nru nss-pam-ldapd-0.7.15/ChangeLog nss-pam-ldapd-0.7.16/ChangeLog
--- nss-pam-ldapd-0.7.15/ChangeLog 2011-10-02 11:10:27.000000000 +0200
+++ nss-pam-ldapd-0.7.16/ChangeLog 2011-11-18 14:20:23.000000000 +0100
@@ -1,3 +1,14 @@
+2011-11-18 13:02 arthur
+
+ * [r1555] debian/libnss-ldapd.config: fix an issues where changes
+ to /etc/nsswitch.conf outside of debconf were not picked up
+
+2011-10-02 09:47 arthur
+
+ * [r1549] ChangeLog, NEWS, configure.ac, debian/changelog,
+ man/nslcd.8.xml, man/nslcd.conf.5.xml, man/pam_ldap.8.xml: get
+ files ready for 0.7.15 release
+
2011-10-02 09:09 arthur
* [r1548] ., debian/nslcd.config: treat the "hard" value for
diff -Nru nss-pam-ldapd-0.7.15/configure nss-pam-ldapd-0.7.16/configure
--- nss-pam-ldapd-0.7.15/configure 2011-10-02 11:35:15.000000000 +0200
+++ nss-pam-ldapd-0.7.16/configure 2011-11-18 14:41:08.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67 for nss-pam-ldapd 0.7.15.
+# Generated by GNU Autoconf 2.67 for nss-pam-ldapd 0.7.16.
#
# Report bugs to <nss-pam-ldapd-users@lists.arthurdejong.org>.
#
@@ -562,8 +562,8 @@
# Identity of this package.
PACKAGE_NAME='nss-pam-ldapd'
PACKAGE_TARNAME='nss-pam-ldapd'
-PACKAGE_VERSION='0.7.15'
-PACKAGE_STRING='nss-pam-ldapd 0.7.15'
+PACKAGE_VERSION='0.7.16'
+PACKAGE_STRING='nss-pam-ldapd 0.7.16'
PACKAGE_BUGREPORT='nss-pam-ldapd-users@lists.arthurdejong.org'
PACKAGE_URL=''
@@ -1300,7 +1300,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures nss-pam-ldapd 0.7.15 to adapt to many kinds of systems.
+\`configure' configures nss-pam-ldapd 0.7.16 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1371,7 +1371,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of nss-pam-ldapd 0.7.15:";;
+ short | recursive ) echo "Configuration of nss-pam-ldapd 0.7.16:";;
esac
cat <<\_ACEOF
@@ -1485,7 +1485,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-nss-pam-ldapd configure 0.7.15
+nss-pam-ldapd configure 0.7.16
generated by GNU Autoconf 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2045,7 +2045,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by nss-pam-ldapd $as_me 0.7.15, which was
+It was created by nss-pam-ldapd $as_me 0.7.16, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ $0 $@
@@ -2393,7 +2393,7 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-RELEASE_MONTH="Oct 2011"
+RELEASE_MONTH="Nov 2011"
@@ -2541,8 +2541,8 @@
# display notice and initialize automake
-{ $as_echo "$as_me:${as_lineno-$LINENO}: configuring nss-pam-ldapd 0.7.15" >&5
-$as_echo "$as_me: configuring nss-pam-ldapd 0.7.15" >&6;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: configuring nss-pam-ldapd 0.7.16" >&5
+$as_echo "$as_me: configuring nss-pam-ldapd 0.7.16" >&6;}
am__api_version='1.11'
# Find a good install program. We prefer a C program (faster),
@@ -2981,7 +2981,7 @@
# Define the identity of the package.
PACKAGE=nss-pam-ldapd
- VERSION=0.7.15
+ VERSION=0.7.16
cat >>confdefs.h <<_ACEOF
@@ -8241,7 +8241,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by nss-pam-ldapd $as_me 0.7.15, which was
+This file was extended by nss-pam-ldapd $as_me 0.7.16, which was
generated by GNU Autoconf 2.67. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -8307,7 +8307,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-nss-pam-ldapd config.status 0.7.15
+nss-pam-ldapd config.status 0.7.16
configured by $0, generated by GNU Autoconf 2.67,
with options \\"\$ac_cs_config\\"
diff -Nru nss-pam-ldapd-0.7.15/configure.ac nss-pam-ldapd-0.7.16/configure.ac
--- nss-pam-ldapd-0.7.15/configure.ac 2011-10-02 11:35:06.000000000 +0200
+++ nss-pam-ldapd-0.7.16/configure.ac 2011-11-18 14:25:31.000000000 +0100
@@ -32,8 +32,8 @@
configure.ac file for more details.])
# initialize and set version and bugreport address
-AC_INIT([nss-pam-ldapd],[0.7.15],[nss-pam-ldapd-users@lists.arthurdejong.org])
-RELEASE_MONTH="Oct 2011"
+AC_INIT([nss-pam-ldapd],[0.7.16],[nss-pam-ldapd-users@lists.arthurdejong.org])
+RELEASE_MONTH="Nov 2011"
AC_SUBST(RELEASE_MONTH)
AC_CONFIG_SRCDIR([nslcd.h])
diff -Nru nss-pam-ldapd-0.7.15/debian/changelog nss-pam-ldapd-0.7.16/debian/changelog
--- nss-pam-ldapd-0.7.15/debian/changelog 2011-10-02 11:14:58.000000000 +0200
+++ nss-pam-ldapd-0.7.16/debian/changelog 2011-11-18 14:04:08.000000000 +0100
@@ -1,3 +1,11 @@
+nss-pam-ldapd (0.7.16) stable; urgency=low
+
+ * fix an issue where changes in /etc/nsswitch.conf were not correctly
+ picked up and could lead to lookups being disabled on upgrade
+ (closes: #645599)
+
+ -- Arthur de Jong <adejong@debian.org> Fri, 18 Nov 2011 14:03:11 +0100
+
nss-pam-ldapd (0.7.15) stable; urgency=low
* in debconf, treat the "hard" value for tls_reqcert as if it was "demand"
diff -Nru nss-pam-ldapd-0.7.15/debian/libnss-ldapd.config nss-pam-ldapd-0.7.16/debian/libnss-ldapd.config
--- nss-pam-ldapd-0.7.15/debian/libnss-ldapd.config 2010-09-24 09:07:12.000000000 +0200
+++ nss-pam-ldapd-0.7.16/debian/libnss-ldapd.config 2011-11-18 13:55:43.000000000 +0100
@@ -14,11 +14,9 @@
#
# parse /etc/nsswitch.conf and see which services have ldap specified
-db_get libnss-ldapd/nsswitch
-if [ -z "$RET" ]
+configured=`sed -n 's/^\([a-z]*\):.*[[:space:]]ldap\([[:space:]].*\)\?/\1/p' /etc/nsswitch.conf`
+if [ -n "$configured" ]
then
- # find name services that currently use LDAP
- configured=`sed -n 's/^\([a-z]*\):.*[[:space:]]ldap\([[:space:]].*\)\?/\1/p' /etc/nsswitch.conf`
# separate by commas
configured=`echo $configured | sed 's/ /, /g'`
# store configured services
diff -Nru nss-pam-ldapd-0.7.15/man/nslcd.8 nss-pam-ldapd-0.7.16/man/nslcd.8
--- nss-pam-ldapd-0.7.15/man/nslcd.8 2011-10-01 00:23:12.000000000 +0200
+++ nss-pam-ldapd-0.7.16/man/nslcd.8 2011-11-18 14:28:39.000000000 +0100
@@ -5,7 +5,7 @@
\\$2 \(la\\$1\(ra\\$3
..
.if \n(.g .mso www.tmac
-.TH nslcd 8 "Oct 2011" "Version 0.7.15" "System Manager's Manual"
+.TH nslcd 8 "Nov 2011" "Version 0.7.16" "System Manager's Manual"
.SH NAME
nslcd \- local LDAP name service daemon.
.SH SYNOPSIS
diff -Nru nss-pam-ldapd-0.7.15/man/nslcd.8.xml nss-pam-ldapd-0.7.16/man/nslcd.8.xml
--- nss-pam-ldapd-0.7.15/man/nslcd.8.xml 2011-10-01 00:21:28.000000000 +0200
+++ nss-pam-ldapd-0.7.16/man/nslcd.8.xml 2011-11-18 14:25:23.000000000 +0100
@@ -36,9 +36,9 @@
<refmeta>
<refentrytitle>nslcd</refentrytitle>
<manvolnum>8</manvolnum>
- <refmiscinfo class="version">Version 0.7.15</refmiscinfo>
+ <refmiscinfo class="version">Version 0.7.16</refmiscinfo>
<refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
- <refmiscinfo class="date">Oct 2011</refmiscinfo>
+ <refmiscinfo class="date">Nov 2011</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff -Nru nss-pam-ldapd-0.7.15/man/nslcd.conf.5 nss-pam-ldapd-0.7.16/man/nslcd.conf.5
--- nss-pam-ldapd-0.7.15/man/nslcd.conf.5 2011-10-01 00:23:12.000000000 +0200
+++ nss-pam-ldapd-0.7.16/man/nslcd.conf.5 2011-11-18 14:28:39.000000000 +0100
@@ -5,7 +5,7 @@
\\$2 \(la\\$1\(ra\\$3
..
.if \n(.g .mso www.tmac
-.TH nslcd.conf 5 "Oct 2011" "Version 0.7.15" "System Manager's Manual"
+.TH nslcd.conf 5 "Nov 2011" "Version 0.7.16" "System Manager's Manual"
.SH NAME
nslcd.conf \- configuration file for LDAP nameservice daemon
.SH DESCRIPTION
diff -Nru nss-pam-ldapd-0.7.15/man/nslcd.conf.5.xml nss-pam-ldapd-0.7.16/man/nslcd.conf.5.xml
--- nss-pam-ldapd-0.7.15/man/nslcd.conf.5.xml 2011-10-01 00:21:21.000000000 +0200
+++ nss-pam-ldapd-0.7.16/man/nslcd.conf.5.xml 2011-11-18 14:25:12.000000000 +0100
@@ -36,9 +36,9 @@
<refmeta>
<refentrytitle>nslcd.conf</refentrytitle>
<manvolnum>5</manvolnum>
- <refmiscinfo class="version">Version 0.7.15</refmiscinfo>
+ <refmiscinfo class="version">Version 0.7.16</refmiscinfo>
<refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
- <refmiscinfo class="date">Oct 2011</refmiscinfo>
+ <refmiscinfo class="date">Nov 2011</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff -Nru nss-pam-ldapd-0.7.15/man/pam_ldap.8 nss-pam-ldapd-0.7.16/man/pam_ldap.8
--- nss-pam-ldapd-0.7.15/man/pam_ldap.8 2011-10-01 00:23:12.000000000 +0200
+++ nss-pam-ldapd-0.7.16/man/pam_ldap.8 2011-11-18 14:28:39.000000000 +0100
@@ -5,7 +5,7 @@
\\$2 \(la\\$1\(ra\\$3
..
.if \n(.g .mso www.tmac
-.TH pam_ldap 8 "Oct 2011" "Version 0.7.15" "System Manager's Manual"
+.TH pam_ldap 8 "Nov 2011" "Version 0.7.16" "System Manager's Manual"
.SH NAME
pam_ldap \- PAM module for LDAP-based authentication
.SH SYNOPSIS
diff -Nru nss-pam-ldapd-0.7.15/man/pam_ldap.8.xml nss-pam-ldapd-0.7.16/man/pam_ldap.8.xml
--- nss-pam-ldapd-0.7.15/man/pam_ldap.8.xml 2011-10-01 00:21:12.000000000 +0200
+++ nss-pam-ldapd-0.7.16/man/pam_ldap.8.xml 2011-11-18 14:25:00.000000000 +0100
@@ -35,9 +35,9 @@
<refmeta>
<refentrytitle>pam_ldap</refentrytitle>
<manvolnum>8</manvolnum>
- <refmiscinfo class="version">Version 0.7.15</refmiscinfo>
+ <refmiscinfo class="version">Version 0.7.16</refmiscinfo>
<refmiscinfo class="manual">System Manager's Manual</refmiscinfo>
- <refmiscinfo class="date">Oct 2011</refmiscinfo>
+ <refmiscinfo class="date">Nov 2011</refmiscinfo>
</refmeta>
<refnamediv id="name">
diff -Nru nss-pam-ldapd-0.7.15/NEWS nss-pam-ldapd-0.7.16/NEWS
--- nss-pam-ldapd-0.7.15/NEWS 2011-10-01 00:19:08.000000000 +0200
+++ nss-pam-ldapd-0.7.16/NEWS 2011-11-18 14:27:43.000000000 +0100
@@ -1,3 +1,9 @@
+changes from 0.7.15 to 0.7.16
+-----------------------------
+
+* Debian packaging improvement
+
+
changes from 0.7.14 to 0.7.15
-----------------------------
Attachment:
signature.asc
Description: This is a digitally signed message part