[CalendarServer-dev] Groups and membership

Wilfredo Sánchez Vega wsanchez at apple.com
Mon Sep 8 13:58:39 PDT 2008


On Sep 8, 2008, at 11:08 AM, Cyrus Daboo wrote:

> 1) As far as I recall DS itself does not have a "is X a member of Y"  
> API call. Instead we have to use memberd. The PyAppleAuth module  
> that the wiki uses has an API into memberd, though interesting they  
> force memberd to reload its cache each time due to a purported bug.  
> The question is whether memberd is doing anything different than  
> what we are doing today? All we may end up doing is removing the  
> complexity we have in favor of memberd - but then we depend on that  
> to work properly.

   The kernel does a lot of "is X in group Y" lookups.  DaveO tells me  
this is very fast.  Doug, do you know what this flushing the cache is  
about?

	-wsv




More information about the calendarserver-dev mailing list