namecache redesign

Tim Potter tpot at
Fri Aug 30 16:26:01 GMT 2002

On Sat, Aug 31, 2002 at 12:40:10AM +0200, Rafal Szczesniak wrote:

> After some talks on #samba-technical the idea of redesiging
> namecache has raised. The problem is that current namecache
> is probably broken in some parts (as far as I and others have
> seen) and yet another cache for trusted domain names is needed,
> when we're just a domain member. I'm sure there's much more
> things that might be nice to cache, if possible.
> Hence the idea of redesigning the cache so that it could contain
> various values selected in type by apropriate key prefix,
> like NBT/... in case of netbios names.
> What do you think about this ?

Tridge suggested this - Samba probably needs some kind of generic 
cache mechanism for storing bits and pieces like nbt names, trusted
domain lists, any other random stuff people will think of.

How about keeping basically the same API in namecache.c (i.e expiry
based on time_t) but with an appropriate key prefix as you suggest?


More information about the samba-technical mailing list