I can understand your motivation, but I'm not too keen on this solution. For static groups we could add a timestamp to the cached result. Assuming the group is already in the backend's entry cache, the biggest cost is evaluating the list of members. It would be pretty cheap to examine the entry's modifyTimeStamp and determine whether a walk thru the member list is really needed or not. (For dynamic groups we can use the timestamp of the bound user's entry in the same way.)
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html