Broadening the scope of the negative connection cache

Gerald (Jerry) Carter jerry at
Tue May 13 15:06:46 GMT 2008

Hash: SHA1

simo wrote:

>> PS: I do believe that Winbind's idmap cache needs to be cleaned
>> up.  For example, caching the forward and reverse map entries
>> should be in a single transaction.
> We should also make the cache be readable by any winbindd process too,
> so that we save some round trips, it was not done in initial design to
> keep it simpler, but it is time to IMO.

That's a different issue.  In general the design should be
that tha parent winbindd process always hits cache first
and only calls out to a child process when the cache is
empty or expired.  This is more in line with the original
dual-daemon design Tridge implemented.  Which I think
would work really well with the state machine model we
have now.

So it's not just the idmap cache that needs to be readable,
but the entire cache manager should be moved to the parent.

cheers, jerry

- --
Samba                                    -------
Likewise Software          ---------
"What man is a man who does not make the world better?"      --Balian
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


More information about the samba-technical mailing list