diff options
author | Andreas Schneider <asn@samba.org> | 2011-08-19 18:10:29 +0200 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-21 09:08:25 -0400 |
commit | 61ada700a6ad010846b132d866c66220e6379054 (patch) | |
tree | bdcf9da432dc302d5c276ae192fc50fe6332e23c /source3/smbd/msg_idmap.c | |
parent | 177db0a8802842a0eb9801622bee9f4c1592ef88 (diff) | |
download | samba-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/smbd/msg_idmap.c')
-rw-r--r-- | source3/smbd/msg_idmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/msg_idmap.c b/source3/smbd/msg_idmap.c index 0a24bb1626..702f545bb1 100644 --- a/source3/smbd/msg_idmap.c +++ b/source3/smbd/msg_idmap.c @@ -86,7 +86,7 @@ static bool id_in_use(const struct user_struct* user, return false; } -static void message_idmap_kill(struct messaging_context *msg_ctx, +static void id_cache_kill(struct messaging_context *msg_ctx, void *private_data, uint32_t msg_type, struct server_id server_id, @@ -106,7 +106,7 @@ static void message_idmap_kill(struct messaging_context *msg_ctx, } } -void msg_idmap_register_kill_msg(struct messaging_context *ctx) +void id_cache_register_kill_msg(struct messaging_context *ctx) { - messaging_register(ctx, NULL, MSG_IDMAP_KILL, message_idmap_kill); + messaging_register(ctx, NULL, ID_CACHE_KILL, id_cache_kill); } |