summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-12-02 14:56:57 +0100
committerVolker Lendecke <vl@sernet.de>2007-12-05 13:45:12 +0100
commit14d1bd25066506e047244f87ca362ee221a3e57c (patch)
treea4a0c987963aa416392b9e6171526e8c4de2c91e /source3/smbd
parentbef09af7579e376dac76c617750883d915ddb3c7 (diff)
downloadsamba-14d1bd25066506e047244f87ca362ee221a3e57c.tar.gz
samba-14d1bd25066506e047244f87ca362ee221a3e57c.tar.bz2
samba-14d1bd25066506e047244f87ca362ee221a3e57c.zip
Fix debug
(This used to be commit c268be54ee3bdd59980a6217a0e8e59dd3ec5ce2)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c10
1 files 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)) {