diff options
Diffstat (limited to 'source3/utils/smbcontrol.c')
-rw-r--r-- | source3/utils/smbcontrol.c | 9 |
1 files changed, 3 insertions, 6 deletions
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 <dest> idmap <cmd> [arg]\n" - "\tcmd:\tflush [gid|uid]\n" - "\t\tdelete \"UID <uid>\"|\"GID <gid>\"|<sid>\n" + "\tcmd:" + "\tdelete \"UID <uid>\"|\"GID <gid>\"|<sid>\n" "\t\tkill \"UID <uid>\"|\"GID <gid>\"|<sid>\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) { |