[SSSD] [PATCH] Never remove gecos from the sysdb cache

Stephen Gallagher sgallagh at redhat.com
Tue Apr 12 19:48:08 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/12/2011 03:41 PM, Sumit Bose wrote:
> On Tue, Apr 12, 2011 at 12:54:54PM -0400, Stephen Gallagher wrote:
> Now that gecos can come from either the 'gecos' or 'cn' attributes,
> we need to ensure that we never remove it from the cache.
> 
> We were being too greedy with our removal code. It purges from the sysdb
> cache any attributes that were requested from LDAP but that we did not
> get. However, in the case of 'gecos' (if we are falling back to 'cn')
> this would mean that we were always purging the gecos-from-cn value.
> 
> 
>> gecos field is back in 'getent passwd' output.
> 
>> ACK
> 

Pushed to master and sssd-1-5.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2krHgACgkQeiVVYja6o6M6PQCfaUPb8uAYqguG9VimjZCHGAAT
VaIAmwR2sHHoODyO1RnDAJyApFyeY1dj
=ObWI
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list