completely new winbindd cache infrastructure
authorAndrew Tridgell <tridge@samba.org>
Sun, 9 Dec 2001 23:59:42 +0000 (23:59 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 9 Dec 2001 23:59:42 +0000 (23:59 +0000)
commit31842f5d017f01922cec306f7bfa2fa0fe748ca2
tree3a17ecc634f1079f60fcb81d05d3672d65b84aa0
parente3d171ff55c7afec6687616a3808637f2d4cf456
completely new winbindd cache infrastructure

this one looks like just another winbind backend, and has the
following properties:

- does -ve and +ve cacheing of all queries

- can be disabled with -n switch to winbindd

- stores all records packed, so even huge domains are not a problem
for a complete cache

- handles the server being down

- uses sequence numbers for all entries

This fixes a lot of problems with winbindd. Serving from cache is now
*very* fast.
(This used to be commit fddb4f4c04473a60a97212c0c8e143d6a4d68380)
source3/nsswitch/winbindd.c
source3/nsswitch/winbindd.h
source3/nsswitch/winbindd_ads.c
source3/nsswitch/winbindd_cache.c
source3/nsswitch/winbindd_group.c
source3/nsswitch/winbindd_proto.h
source3/nsswitch/winbindd_rpc.c
source3/nsswitch/winbindd_user.c
source3/nsswitch/winbindd_util.c