From 0cb8ef099fd54b7dcc052ff7ecb809f624a15c7f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 15 Aug 2003 03:54:45 +0000 Subject: Print out position info, ensure NT_RENAME info level only works in a directory. Jeremy. (This used to be commit d623a51da07e3077b5dc2f92787a3ca848feb113) --- source4/torture/raw/setfileinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/torture/raw/setfileinfo.c') diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c index 0048f2e1b0..7645289128 100644 --- a/source4/torture/raw/setfileinfo.c +++ b/source4/torture/raw/setfileinfo.c @@ -419,6 +419,10 @@ BOOL torture_raw_sfileinfo(int dummy) sfinfo.rename_information.in.new_name = path_fname_new+strlen(BASEDIR)+1; CHECK_CALL_PATH(RENAME_INFORMATION, NT_STATUS_OBJECT_NAME_COLLISION); + sfinfo.rename_information.in.new_name = fnum_fname_new; + sfinfo.rename_information.in.overwrite = 1; + CHECK_CALL_FNUM(RENAME_INFORMATION, NT_STATUS_NOT_SUPPORTED); + sfinfo.rename_information.in.new_name = fnum_fname_new+strlen(BASEDIR)+1; sfinfo.rename_information.in.overwrite = 1; CHECK_CALL_FNUM(RENAME_INFORMATION, NT_STATUS_OK); -- cgit