CVS update: samba/source/nsswitch

Jeremy Allison jra at samba.org
Wed Nov 28 12:41:02 EST 2001


On Wed, Nov 28, 2001 at 11:46:57AM +1100, Tim Potter wrote:
> On Wed, Nov 28, 2001 at 09:44:30AM +1100, Tim Potter wrote:
> 
> > > Log Message:
> > > Added negative caching to group lookups.
> > > Jeremy.
> > 
> > I added a positive and negative netbios name lookup cache to winbindd
> > as a bit of an experiment.  Look in winbindd_cm.c, cm_get_dc_name()
> > for details.  Do you think this would be useful for general samba?
> 
> I've noticed recently on the coporate network that wins lookups can
> take a second or more sometimes so having to do these multiple times
> unecessarily can affect speed somewhat.

That cache looks like a bloody good idea. Now the only
thing we don't cache in the 2.2 / HEAD winbindd is the
lists, which are harder to do anyway....

Jeremy.




More information about the samba-cvs mailing list