summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-04-20 10:37:24 +0200
committerMichael Adam <obnox@samba.org>2012-04-20 23:17:36 +0200
commit499e7372bea051fa08c078d02175d6ea1e6ce8f9 (patch)
tree9bef72d318c50c8c14f5493aee483cf4ca10f152 /source3/smbd
parentc89affbd8da230cae6df25558fe621510690392c (diff)
downloadsamba-499e7372bea051fa08c078d02175d6ea1e6ce8f9.tar.gz
samba-499e7372bea051fa08c078d02175d6ea1e6ce8f9.tar.bz2
samba-499e7372bea051fa08c078d02175d6ea1e6ce8f9.zip
s3:id_cache: do not use the in-memory idmap cache (it is going to be removed)
This also removes the ID_CACHE_FLUSH message.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 912d7a129b..363203e515 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -248,17 +248,6 @@ static void smbd_parent_id_cache_kill(struct messaging_context *msg_ctx,
messaging_send_to_children(msg_ctx, msg_type, data);
}
-static void smbd_parent_id_cache_flush(struct messaging_context *ctx,
- void* data,
- uint32_t msg_type,
- struct server_id srv_id,
- DATA_BLOB* msg_data)
-{
- id_cache_flush_message(ctx, data, msg_type, srv_id, msg_data);
-
- messaging_send_to_children(ctx, msg_type, msg_data);
-}
-
static void smbd_parent_id_cache_delete(struct messaging_context *ctx,
void* data,
uint32_t msg_type,
@@ -912,8 +901,6 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent,
smb_parent_force_tdis);
messaging_register(msg_ctx, NULL,
- ID_CACHE_FLUSH, smbd_parent_id_cache_flush);
- messaging_register(msg_ctx, NULL,
ID_CACHE_DELETE, smbd_parent_id_cache_delete);
messaging_register(msg_ctx, NULL,
ID_CACHE_KILL, smbd_parent_id_cache_kill);