From 3ff8733792ad9723fdd83532f6d882c073803056 Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Thu, 6 Oct 2011 13:49:02 +0200 Subject: s3: fix id_cache_kill to delete the the id-mappig from caches The intendet and documented behavior of smbcontrol smbd idmap kill is to delete the mapping from caches and additionally kill the smbd if an affected id is in use. Signed-off-by: Michael Adam --- source3/smbd/msg_idmap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd/msg_idmap.c') diff --git a/source3/smbd/msg_idmap.c b/source3/smbd/msg_idmap.c index e4a5652a9e..cb8fbcd42f 100644 --- a/source3/smbd/msg_idmap.c +++ b/source3/smbd/msg_idmap.c @@ -132,6 +132,7 @@ static void id_cache_kill(struct messaging_context *msg_ctx, if (id_in_use(validated_users, &id)) { exit_server_cleanly(msg); } + id_cache_delete_from_cache(&id); } void id_cache_register_kill_msg(struct messaging_context *ctx) -- cgit