summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-08-19 18:10:29 +0200
committerSimo Sorce <idra@samba.org>2011-08-21 09:08:25 -0400
commit61ada700a6ad010846b132d866c66220e6379054 (patch)
treebdcf9da432dc302d5c276ae192fc50fe6332e23c /source3/utils
parent177db0a8802842a0eb9801622bee9f4c1592ef88 (diff)
downloadsamba-61ada700a6ad010846b132d866c66220e6379054.tar.gz
samba-61ada700a6ad010846b132d866c66220e6379054.tar.bz2
samba-61ada700a6ad010846b132d866c66220e6379054.zip
s3-id_cache: Use better names for id cache management ops
The IDMAP term is normally associated with Winbind's idmap stuff. These functions deal with id caching not id mapping. Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 91f6493fba..246c3aa9b8 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -197,13 +197,13 @@ static bool do_idmap(struct messaging_context *msg_ctx,
}
if (strcmp(argv[1], "flush") == 0) {
- msg_type = MSG_IDMAP_FLUSH;
+ msg_type = ID_CACHE_FLUSH;
}
else if (strcmp(argv[1], "delete") == 0) {
- msg_type = MSG_IDMAP_DELETE;
+ msg_type = ID_CACHE_DELETE;
}
else if (strcmp(argv[1], "kill") == 0) {
- msg_type = MSG_IDMAP_KILL;
+ msg_type = ID_CACHE_KILL;
}
else if (strcmp(argv[1], "help") == 0) {
fprintf(stdout, "%s", usage);