s3-id_cache: Move id caches mgmt out of smbd
authorAndreas Schneider <asn@samba.org>
Fri, 19 Aug 2011 15:28:37 +0000 (17:28 +0200)
committerSimo Sorce <idra@samba.org>
Sun, 21 Aug 2011 13:08:25 +0000 (09:08 -0400)
commit177db0a8802842a0eb9801622bee9f4c1592ef88
tree7e6ce29f00fa7ef54649b799af50dcfc8c798e2d
parent0f4ee5d1b7bc1e8122982450dc0730ac1500a9c9
s3-id_cache: Move id caches mgmt out of smbd

We must leave the MSG_IDMAP_KILL operation in SMBD as it uses smbd
specific internal globals and makes sense only in the context of a smbd
daemon.
The rest is moved under lib/ as we need to deal with id cache cleanups
in other daemons too (like lsasd).

Signed-off-by: Simo Sorce <idra@samba.org>
source3/Makefile.in
source3/lib/id_cache.c [new file with mode: 0644]
source3/lib/id_cache.h [new file with mode: 0644]
source3/passdb/lookup_sid.c
source3/passdb/lookup_sid.h
source3/smbd/msg_idmap.c
source3/smbd/proto.h
source3/smbd/server.c
source3/wscript_build