Fix up debug info on smb2_rename code.
authorJeremy Allison <jra@samba.org>
Thu, 25 Feb 2010 19:57:54 +0000 (11:57 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 25 Feb 2010 19:57:54 +0000 (11:57 -0800)
Jeremy.

source3/smbd/trans2.c

index eff5fba6760649b73e9fb3ac14876aa9561ed8d7..d24efc4dd06bbd9d1c1ca02e683b133250582003 100644 (file)
@@ -5927,16 +5927,9 @@ static NTSTATUS smb2_file_rename_information(connection_struct *conn,
                return status;
        }
 
                return status;
        }
 
-       DEBUG(10,("smb_file_rename_information: got name |%s|\n",
+       DEBUG(10,("smb2_file_rename_information: got name |%s|\n",
                                newname));
 
                                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,
        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)));
                  "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;
                }
                                                             fsp, smb_fname);
                        break;
                }
+
 #if defined(HAVE_POSIX_ACLS)
                case SMB_SET_POSIX_ACL:
                {
 #if defined(HAVE_POSIX_ACLS)
                case SMB_SET_POSIX_ACL:
                {