lists.arthurdejong.org
RSS feed

Re: error writing to nslcd

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

Re: error writing to nslcd



On Tue, 2012-01-17 at 00:40 +1100, Maxim Vetrov wrote:
> I compiled 0.8.5 but with no luck running it. It doesn't start (either 
> on virtutual or real machine):
> nslcd: DEBUG: ber_set_option(LBER_OPT_LOG_PRINT_FILE)
> nslcd: DEBUG: ber_set_option(LBER_OPT_DEBUG_LEVEL,-1)
> nslcd: DEBUG: ldap_set_option(LDAP_OPT_DEBUG_LEVEL,-1)
> nslcd: DEBUG: add_uri(ldap://127.0.0.1/)
> nslcd: version 0.8.5 starting
> nslcd: DEBUG: unlink() of /var/run/nslcd.ctl failed (ignored): No such file 
> or directory
> nslcd: chmod(0666) failed: No such file or directory
> nslcd: DEBUG: unlink() of /var/run/nslcd.ctl failed (ignored): No such file 
> or directory
> nslcd: version 0.8.5 bailing out
> 
> chmod is failing because process doesn't create /var/run/nslcd.ctl; 
> instead it creates /var/run/nslcd.ct (without trailing `l`).

Thanks for pointing this out. Can you try the attached patch? Apparently
the addrlen parameter to bind() is interpreted differently on FreeBSD
than on Linux.

Thanks,

-- 
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --

Attachment: nss-pam-ldapd-freebsd-bindfix.patch
Description: Text Data

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