diff options
author | Volker Lendecke <vl@samba.org> | 2015-02-08 15:33:39 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2015-02-13 23:32:07 +0100 |
commit | 08ff9e80dee211dc1c25e10c7584e98f2e766f5e (patch) | |
tree | 725fd63e86cba6841ddbe48da88ae9e70dd4b847 /source3/lib | |
parent | 5681cca42c1c5151212eb2f9a208116ceabdd8b1 (diff) | |
download | samba-08ff9e80dee211dc1c25e10c7584e98f2e766f5e.tar.gz |
messaging4: Use messages_dgm
This replaces the transport mechanism in source4 with calls to the
messages_dgm code. It is supposed to enable "smbcontrol samba pool-usage"
as an example without having to rewrite smbcontrol using the source4
based messaging subsystem.
This moves the source3 based names.tdb (which is unused so far) to the
lock directory, source4 does not have a cache directory.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 1f085e07c83..7df7cdb699d 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -343,7 +343,7 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx, } ctx->names_db = server_id_db_init( - ctx, ctx->id, lp_cache_directory(), 0, + ctx, ctx->id, lp_lock_directory(), 0, TDB_INCOMPATIBLE_HASH|TDB_CLEAR_IF_FIRST); if (ctx->names_db == NULL) { DEBUG(10, ("%s: server_id_db_init failed\n", __func__)); |