[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#649173: pu: package nss-pam-ldapd/0.7.16



Hi Arthur,

On Fri, Nov 18, 2011 at 15:08:16 +0100, Arthur de Jong wrote:

[...]
> 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

Any chance you could consider an upload with *just* the above change
(and a changelog entry), and without the version change noise in the
rest of your diff?

Cheers,
Julien



Reply to: