From 514a73594b01b09fdcc93fa1c360e5b3cf5e1361 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Wed, 12 May 2021 21:31:27 +0200 Subject: [PATCH] smbd: ndrprint lease value in leases_db_set_fn() Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- source3/locking/leases_db.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source3/locking/leases_db.c b/source3/locking/leases_db.c index eae58f5fc82..9be876a9744 100644 --- a/source3/locking/leases_db.c +++ b/source3/locking/leases_db.c @@ -487,6 +487,11 @@ static void leases_db_set_fn( value->lease_version = state->lease_version; value->epoch = state->epoch; *modified = true; + + if (CHECK_DEBUGLVL(10)) { + DBG_DEBUG("\n"); + NDR_PRINT_DEBUG(leases_db_value, value); + } } NTSTATUS leases_db_set(const struct GUID *client_guid, -- 2.11.4.GIT