]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3/leases: log NDR decoding failure with level 0 in leases_db_get_fn()
authorRalph Boehme <slow@samba.org>
Thu, 2 Jul 2020 12:10:05 +0000 (14:10 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 6 Aug 2020 12:18:21 +0000 (12:18 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14428

Signed-off-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 383a2457bd6cbe0acd571a8d601f8bdc5365f0b4)

source3/locking/leases_db.c

index 17778050accea79cfc5942d97be8cad4404fab39..3c074c6275152ddea950889c3dda63e78bdb8df7 100644 (file)
@@ -544,8 +544,8 @@ static void leases_db_get_fn(TDB_DATA key, TDB_DATA data, void *private_data)
                &blob, value, value,
                (ndr_pull_flags_fn_t)ndr_pull_leases_db_value);
        if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
-               DBG_DEBUG("ndr_pull_struct_blob_failed: %s\n",
-                         ndr_errstr(ndr_err));
+               DBG_ERR("ndr_pull_struct_blob_failed: %s\n",
+                       ndr_errstr(ndr_err));
                TALLOC_FREE(value);
                state->status = ndr_map_error2ntstatus(ndr_err);
                return;