Package: nslcd
Followup-For: Bug #696445
Control: tags -1 + moreinfo

Hi,

I have looked into the config and postinst script to find some hints on
why this might happen. Here are some remarks, be they relevant or not:

- Using backticks in shell scripts is incompatible and might break with
  some shells, POSIX says use $()
- postinst, line 93: Just replacing any occurence of nss-ldapd with nslcd
  in the config file is a bit over the top and might^Wwill break. Simple,
  and bug-related, example: user has- their cacertfile stored in
  /etc/ssl/certs/nss-ldapd-cacert.pem or something. A fix would be to use
  look-around assertions on ^# to only replace matches on lines that are
  comments.

Arno, can you provide the config files of the two systems from *before*
they got clobbered? When sending them to the BTS as attachments, please
gzip them beforehand due to #695627 breaking plaintext attachments.

Cheers,
Nik

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (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/mksh

Versions of packages nslcd depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.48
ii  libc6                  2.13-37
ii  libgssapi-krb5-2       1.10.1+dfsg-3
ii  libldap-2.4-2          2.4.31-1

Versions of packages nslcd recommends:
ii  bind9-host [host]           1:9.8.4.dfsg.P1-1
ii  host                        1:9.8.4.dfsg.P1-1
ii  ldap-utils                  2.4.31-1
ii  libnss-ldapd [libnss-ldap]  0.8.10-4
ii  libpam-ldapd [libpam-ldap]  0.8.10-4
ii  nscd                        2.13-37

Versions of packages nslcd suggests:
pn  kstart  <none>

-- debconf information:
  nslcd/ldap-sasl-realm:
  nslcd/ldap-starttls: false
  nslcd/ldap-sasl-krb5-ccname: /var/run/nslcd/nslcd.tkt
  nslcd/ldap-auth-type: none
  nslcd/ldap-reqcert:
* nslcd/ldap-uris: ldap://172.29.10.100 ldap://172.29.10.1
  nslcd/ldap-sasl-secprops:
  nslcd/ldap-binddn:
  nslcd/ldap-sasl-authcid:
  nslcd/ldap-sasl-mech:
* nslcd/ldap-base: dc=naturalnet,dc=de
  nslcd/ldap-sasl-authzid:


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to