summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/trans2.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index eff5fba676..d24efc4dd0 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -5927,16 +5927,9 @@ static NTSTATUS smb2_file_rename_information(connection_struct *conn,
return status;
}
- DEBUG(10,("smb_file_rename_information: got name |%s|\n",
+ DEBUG(10,("smb2_file_rename_information: got name |%s|\n",
newname));
-#if 0
- /* Check the new name has no '/' characters. */
- if (strchr_m(newname, '/')) {
- return NT_STATUS_NOT_SUPPORTED;
- }
-#endif
-
status = filename_convert(ctx,
conn,
req->flags2 & FLAGS2_DFS_PATHNAMES,
@@ -5975,7 +5968,7 @@ static NTSTATUS smb2_file_rename_information(connection_struct *conn,
}
- DEBUG(10,("smb_file_rename_information: "
+ DEBUG(10,("smb2_file_rename_information: "
"SMB_FILE_RENAME_INFORMATION (fnum %d) %s -> %s\n",
fsp->fnum, fsp_str_dbg(fsp),
smb_fname_str_dbg(smb_fname_dst)));
@@ -7584,6 +7577,7 @@ NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
fsp, smb_fname);
break;
}
+
#if defined(HAVE_POSIX_ACLS)
case SMB_SET_POSIX_ACL:
{