From 14d1bd25066506e047244f87ca362ee221a3e57c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 2 Dec 2007 14:56:57 +0100 Subject: Fix debug (This used to be commit c268be54ee3bdd59980a6217a0e8e59dd3ec5ce2) --- source3/smbd/nttrans.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 15a05b5e83..669ffa1f13 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -480,10 +480,11 @@ static NTSTATUS create_file(connection_struct *conn, uint8_t oplock_granted = NO_OPLOCK_RETURN; NTSTATUS status; - DEBUG(10,("reply_ntcreate_and_X: flags = 0x%x, access_mask = 0x%x " + DEBUG(10,("create_file: flags = 0x%x, access_mask = 0x%x " "file_attributes = 0x%x, share_access = 0x%x, " "create_disposition = 0x%x create_options = 0x%x " - "root_dir_fid = 0x%x, fname = %s\n", + "root_dir_fid = 0x%x, ea_list = 0x%x, sd = 0x%x, " + "fname = %s\n", (unsigned int)flags, (unsigned int)access_mask, (unsigned int)file_attributes, @@ -491,6 +492,8 @@ static NTSTATUS create_file(connection_struct *conn, (unsigned int)create_disposition, (unsigned int)create_options, (unsigned int)root_dir_fid, + (unsigned int)ea_list, + (unsigned int)sd, fname)); SET_STAT_INVALID(sbuf); @@ -1369,6 +1372,9 @@ static void call_nt_transact_create(connection_struct *conn, } if (sd_len) { + DEBUG(10, ("call_nt_transact_create - sd_len = %d\n", + sd_len)); + status = unmarshall_sec_desc(ctx, (uint8_t *)data, sd_len, &sd); if (!NT_STATUS_IS_OK(status)) { -- cgit