On Mon, Jan 17, 2011 at 08:14:35AM -0500, Stephen Gallagher wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 01/13/2011 03:37 PM, Stephen Gallagher wrote: > > Sometimes, a value in LDAP will cease to exist (the classic > > example being shadowExpire). We need to make sure we purge that > > value from SSSD's sysdb as well. > > > > Fixes https://fedorahosted.org/sssd/ticket/750 > > > > Attaching rebased version atop Sumit's patch for search timeouts.
The patch works as expected. I'm just wondering if it wouldn't be better to start the transaction before calling sysdb_set_user_attr(). Otherwise we might leave the object in an inconsistent state, where the new values and attributes are already added, but the old ones are not removed. This would be pretty much the current state which we try to improve. 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/ > > iEYEARECAAYFAk00QLsACgkQeiVVYja6o6MNyACePAigFrvKC2wc7AVDe5LxTFAY > FV0AmQHFfH8iX0fiR0pC0tDrfercCSDp > =TnPu > -----END PGP SIGNATURE----- _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel