From 499e7372bea051fa08c078d02175d6ea1e6ce8f9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 20 Apr 2012 10:37:24 +0200 Subject: 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. --- source3/utils/smbcontrol.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 95c56b03c8..edfe98dbf4 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -181,8 +181,8 @@ static bool do_idmap(struct tevent_context *ev, { static const char* usage = "Usage: " "smbcontrol idmap [arg]\n" - "\tcmd:\tflush [gid|uid]\n" - "\t\tdelete \"UID \"|\"GID \"|\n" + "\tcmd:" + "\tdelete \"UID \"|\"GID \"|\n" "\t\tkill \"UID \"|\"GID \"|\n"; const char* arg = NULL; int arglen = 0; @@ -200,10 +200,7 @@ static bool do_idmap(struct tevent_context *ev, return false; } - if (strcmp(argv[1], "flush") == 0) { - msg_type = ID_CACHE_FLUSH; - } - else if (strcmp(argv[1], "delete") == 0) { + if (strcmp(argv[1], "delete") == 0) { msg_type = ID_CACHE_DELETE; } else if (strcmp(argv[1], "kill") == 0) { -- cgit