Package: nss-pam-ldapd / 0.9.4-3+deb8u2

Metadata

Package Version Patches format
nss-pam-ldapd 0.9.4-3+deb8u2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
use ip range for tests.patch | (download)

tests/test.ldif | 4 2 + 2 - 0 !
tests/test_nsscmds.sh | 24 12 + 12 - 0 !
2 files changed, 14 insertions(+), 14 deletions(-)

 use a different ip range for tests
 This uses IP addresses from the RFC 5737 TEST-NET-1 range that is meant
 for use in documentation. This avoids issues with running the tests
 environments that also use the 10.0.0.0/8 range.
fix issues withdaemonising.patch | (download)

nslcd/daemonize.c | 38 24 + 14 - 0 !
1 file changed, 24 insertions(+), 14 deletions(-)

 fix issues with daemonising

This fixes a problem with a buffer that could end up padded with
garbage.

This also clarifies the code a bit and adds extra logging for errors
that could occur during daemonising.

avoid signal race.patch | (download)

nslcd/nslcd.c | 27 14 + 13 - 0 !
1 file changed, 14 insertions(+), 13 deletions(-)

 avoid signal race condition on start-up

This only restores the signal mask after signal handlers are in place
and the daemon has completely daemonised to avoid a race condition in
the start-up phase of nslcd where a signal could be sent to nslcd
causing it to quit or fail to write information to the parent process.

This also block signals sooner in an attempt to avoid race conditions.

fix ppolicy expiration warnings.patch | (download)

nslcd/myldap.c | 38 21 + 17 - 0 !
pam/pam.c | 8 8 + 0 - 0 !
2 files changed, 29 insertions(+), 17 deletions(-)

 fix password policy warnings
 Previously, when a password was about to expire, nslcd would incorrectly
 signal the PAM module to force a password change. This changes this to
 only present a message to the user.
 This also ensures that the PAM module logs messages that are presented
 to the user.