summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/open.c2
-rw-r--r--source3/smbd/trans2.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 311eac07e5..e54a456092 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -530,7 +530,7 @@ static void open_file(files_struct *fsp,connection_struct *conn,
}
DEBUG(2,("%s opened file %s read=%s write=%s (numopen=%d)\n",
- *sesssetup_user ? sesssetup_user : conn->user,fname,
+ *sesssetup_user ? sesssetup_user : conn->user,fsp->fsp_name,
BOOLSTR(fsp->can_read), BOOLSTR(fsp->can_write),
conn->num_files_open));
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 1dfb488b9e..fe22a21ca1 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1566,8 +1566,10 @@ static int call_trans2setfilepathinfo(connection_struct *conn,
break;
}
+ case SMB_SET_FILE_ALLOCATION_INFO:
+ break; /* We don't need to do anything for this call. */
+
case SMB_SET_FILE_DISPOSITION_INFO: /* not supported yet */
- case SMB_SET_FILE_ALLOCATION_INFO: /* not supported yet */
default:
{
return(ERROR(ERRDOS,ERRunknownlevel));