From 314a926179b02d7139016e56abc63a037e60ba43 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 25 Feb 2010 11:57:54 -0800 Subject: Fix up debug info on smb2_rename code. Jeremy. --- source3/smbd/trans2.c | 12 +++--------- 1 file 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: { -- cgit