Bug#471131: libnss-ldapd: Fail to install with two base lines in /etc/pam_ldap.conf

2008-03-16 Thread Petter Reinholdtsen
PackagE: libnss-ldapd Version: 0.6 When I tried to install libnss-ldapd on a test machine, it failed to install. I finally tracked it down to a problem in the config script, passing two lines to debconf. The source of the problem was that the existing /etc/pam_ldap.conf had two base lines in

Bug#471131: libnss-ldapd: Fail to install with two base lines in /etc/pam_ldap.conf

2008-03-16 Thread Petter Reinholdtsen
[Arthur de Jong] Thanks for you bug report. I've fixed all places in the script where a parameter is searched for and only one value is expected to do 'head -n 1'. Are you sure libnss-ldap used the first and not the last of the values if more than one was present in the file? I suggested tail

Bug#471131: libnss-ldapd: Fail to install with two base lines in /etc/pam_ldap.conf

2008-03-16 Thread Arthur de Jong
tags 471131 + pending thanks On Sun, 2008-03-16 at 09:20 +0100, Petter Reinholdtsen wrote: When I tried to install libnss-ldapd on a test machine, it failed to install. I finally tracked it down to a problem in the config script, passing two lines to debconf. Thanks for you bug report. I've

Bug#471131: libnss-ldapd: Fail to install with two base lines in /etc/pam_ldap.conf

2008-03-16 Thread Arthur de Jong
On Sun, 2008-03-16 at 15:13 +0100, Petter Reinholdtsen wrote: Are you sure libnss-ldap used the first and not the last of the values if more than one was present in the file? I suggested tail because I suspect the last value would be used. Good point, changed to tail instead of head. -- --