summaryrefslogtreecommitdiff
path: root/source3/utils/smbcontrol.c
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/utils/smbcontrol.c
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/utils/smbcontrol.c')
-rw-r--r--source3/utils/smbcontrol.c9
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) {