Package: nslcd
Version: 0.9.4-3
Severity: serious
Justification: fails to build from source



Script that starts nslcd service does not make sure that service started 
successfully. 

For example, lets spoil nslcd config file: add a comment at the end of the 
/etc/nslcd.conf 
file without newline at the end. (It consider it as an error in config) and 
then stop and start nslcd


# /etc/init.d/nslcd stop
[ ok ] Stopping nslcd (via systemctl): nslcd.service.
# /etc/init.d/nslcd start
[ ok ] Starting nslcd (via systemctl): nslcd.service.

It does not report any problem, not to the console, not to the syslog

# cat /var/log/syslog | grep nslcd

but process is not actually stared.

# ps aux | grep nslcd
root     12011  0.0  0.0  12744  2204 pts/1    S+   19:56   0:00 grep nslcd

ls -a /var/run/nslcd/
..  ..


If you try to run nslcd manually, it will properly report about config file 
problem:

# nslcd 
nslcd: /etc/nslcd.conf:34: line too long or last line missing newline


This problem should be fixed. Because it make difficult configuring LDAP 
authentication
when you are sure that nslcd is running, but it is not.




-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nslcd depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-18
ii  libgssapi-krb5-2       1.12.1+dfsg-19
ii  libldap-2.4-2          2.4.40+dfsg-1

Versions of packages nslcd recommends:
ii  bind9-host [host]           1:9.9.5.dfsg-9
ii  ldap-utils                  2.4.40+dfsg-1
ii  libnss-ldapd [libnss-ldap]  0.9.4-3
ii  libpam-ldapd [libpam-ldap]  0.9.4-3
ii  nscd                        2.19-18
ii  nslcd-utils                 0.9.4-3

Versions of packages nslcd suggests:
pn  kstart  <none>

-- debconf information excluded


-- 
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