diff options
author | Jeremy Allison <jra@samba.org> | 2010-02-25 11:57:54 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-02-25 11:57:54 -0800 |
commit | 314a926179b02d7139016e56abc63a037e60ba43 (patch) | |
tree | ec6653e09e6c2bdae9dc16b17d24687632af028e | |
parent | 3551eb7cbfb3bf7573c00d349def884cd70c89c7 (diff) | |
download | samba-314a926179b02d7139016e56abc63a037e60ba43.tar.gz samba-314a926179b02d7139016e56abc63a037e60ba43.tar.bz2 samba-314a926179b02d7139016e56abc63a037e60ba43.zip |
Fix up debug info on smb2_rename code.
Jeremy.
-rw-r--r-- | source3/smbd/trans2.c | 12 |
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: { |