Package: libpam-ldap
Version: 178-0pm1
Severity: normal
Tags: patch

libpam-ldap's config file errorneously uses the debconf variable
"libnss-ldap/override" although it has its own "libpam-ldap/override"

I guess this is some copy'n'paste error from libnss-ldap to libpam-ldap.

The attached patch fixes the problem

CU
Peter

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libpam-ldap depends on:
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libldap2                    2.1.30-3pm1  OpenLDAP libraries
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l

-- debconf information:
* shared/ldapns/base-dn: o=ADPM,c=DE
* libpam-ldap/dbrootlogin: false
* libpam-ldap/override: false
* shared/ldapns/ldap-server: 127.0.0.1
* libpam-ldap/pam_password: exop
* libpam-ldap/binddn: cn=pam-User,ou=User,o=EDV
* libpam-ldap/rootbinddn: cn=manager,dc=eadpm,dc=de
* shared/ldapns/ldap_version: 3
* libpam-ldap/dblogin: true
--- debian/config       2005-03-31 17:41:32.000000000 +0200
+++ debian/config       2005-04-01 12:13:59.022136178 +0200
@@ -30,7 +30,7 @@
                # priority with reconfigure otherwise it's just high
                
                input($action =~ /reconfigure/ ? "critical" : "high", 
-                       "libnss-ldap/override");
+                       "libpam-ldap/override");
                $ret=go();
        };
        @current_config = <CONFIG>;
@@ -39,7 +39,7 @@
        set("libpam-ldap/override", "true");
 };
 
-if(get("libnss-ldap/override") eq "true") {
+if(get("libpam-ldap/override") eq "true") {
        # These are the same as with libnss-ldap, lets not touch those..
        read_and_input('shared/ldapns/ldap-server', 'host', 'critical');
        read_and_input('shared/ldapns/base-dn', 'base', 'critical');

Reply via email to