lists.arthurdejong.org
RSS feed

Re: nslcd/nslcd.c main() return value?

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

Re: nslcd/nslcd.c main() return value?



On Mon, 2017-02-06 at 19:16 +0000, Moravec, Stanislav (ERT) wrote:
> is there any good reason for main() of nslcd to return ERR_FAILURE?

The reason that it is there is that previously main() would not return
from the threads (exit() was called from a signal handler or
something). I've fixed this in master:
https://arthurdejong.org/git/nss-pam-ldapd/commit/?id=53f797bf8a5433d68b21023fbd960ba79385be54

> https://github.com/arthurdejong/nss-pam-
> ldapd/blob/master/nslcd/nslcd.c#L897
> 
> It leads to a failure when doing clean stop via "systemctl stop
> nslcd".

Thanks for pointing this out.

-- 
-- arthur - arthur@arthurdejong.org - https://arthurdejong.org/ --
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
https://lists.arthurdejong.org/nss-pam-ldapd-users/