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

Stephen Gallagher sgallagh at redhat.com
Tue Apr 12 16:54:54 UTC 2011


-----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.

- -- 
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-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Never-remove-gecos-from-the-sysdb-cache.patch
Type: text/x-patch
Size: 1327 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110412/8e60095a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Never-remove-gecos-from-the-sysdb-cache.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110412/8e60095a/attachment.sig>


More information about the sssd-devel mailing list