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

Sumit Bose sbose at redhat.com
Tue Apr 12 19:41:08 UTC 2011


On Tue, Apr 12, 2011 at 12:54:54PM -0400, Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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

bye,
Sumit

> - -- 
> 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/
> 
> iEYEARECAAYFAk2kg94ACgkQeiVVYja6o6PO2QCdE8rhsVUb8rYyjOPZPVm0O42h
> 1b0An0uF5jQLOXaxnkqea6pO2PhYAGWX
> =UK4v
> -----END PGP SIGNATURE-----



More information about the sssd-devel mailing list