diff options
author | Volker Lendecke <vl@samba.org> | 2017-12-03 20:47:02 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-02-08 10:01:50 +0100 |
commit | 67fcc7dbb9ad63886c594b1f563b6c1d2060cbd1 (patch) | |
tree | 06069b6bef3ec53d5960d62c1009e33a7fa1b7d4 /source3/smbd | |
parent | a6c749e76cd4f3be0f3a0db81324491314b949c0 (diff) | |
download | samba-67fcc7dbb9ad63886c594b1f563b6c1d2060cbd1.tar.gz |
lib: Make g_lock_dump use TDB_DATA
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index df92bd4f356..99baf9d519d 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1491,7 +1491,8 @@ static NTSTATUS smbd_claim_version(struct messaging_context *msg, state = (struct smbd_claim_version_state) { .mem_ctx = ctx }; - status = g_lock_dump(ctx, name, smbd_claim_version_parser, &state); + status = g_lock_dump(ctx, string_term_tdb_data(name), + smbd_claim_version_parser, &state); if (!NT_STATUS_IS_OK(status) && !NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) { DBG_ERR("Could not read samba_version_string\n"); |