Re: attmap_get_value() and optional attributes
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: attmap_get_value() and optional attributes
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: nss-pam-ldapd-users <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: Re: attmap_get_value() and optional attributes
- Date: Sat, 15 May 2010 17:42:15 +0200
On Fri, 2010-05-14 at 18:03 -0400, Nalin Dahyabhai wrote:
> We ran into this in testing today: when nslcd tries to read the values
> for an optional, mappable, attribute for an entry, and the no value is
> found, the buffer which is used to hold the return value isn't cleared.
>
> A client then gets whatever happened to be in that space earlier as the
> attribute value. In this case, it was a posixAccount entry with no
> loginShell value.
Thanks for reporting this and thanks for the patch. I've fixed it in the
development repository based on your patch.
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users