lists.arthurdejong.org
RSS feed

Re: ldap server unavailable and pam response

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

Re: ldap server unavailable and pam response



On 17/11/2010 21:09, Arthur de Jong wrote:
> On Tue, 2010-11-16 at 11:13 +0100, Pierre Gambarotto wrote:
>>
>> I have a  patch fixing this issue, working for me. But I don't know the
>> code enough to predict any unwanted effect.
> Thanks for the bugreport and patch. I've modified your patch a bit and
> committed it to the development version of nss-pam-ldapd [1].
>
Thanks, perfect !
> I was wondering about the change to nslcd/myldap.c though. It returns
> LDAP_UNAVAILABLE instead of the last error code returned. Is that needed
> for this to work (haven't done much testing yet)? I've taken a slightly
> different approach.
It should not be necessary, as the return code at this point should be
LDAP_UNAVAILABLE.
Maybe you could add a a log warning if it's not.

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