From c3ee5d6f751679e04886fa450555295e74cc56bc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 5 Aug 2005 15:34:01 +0000 Subject: r9121: use the older non-passthru level for setting delete on close disposition in the RAW-UNLINK test (this allows it to work with netapp servers) (This used to be commit 4f9cfd10bf92e5abf3c09bb0bf6cca3dfc3b6dfb) --- source4/torture/raw/unlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c index 78ff0447da..855ecaf077 100644 --- a/source4/torture/raw/unlink.c +++ b/source4/torture/raw/unlink.c @@ -195,7 +195,7 @@ static BOOL test_delete_on_close(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) printf("Testing with delete_on_close 0\n"); fnum = create_complex_file(cli, mem_ctx, fname); - sfinfo.disposition_info.level = RAW_SFILEINFO_DISPOSITION_INFORMATION; + sfinfo.disposition_info.level = RAW_SFILEINFO_DISPOSITION_INFO; sfinfo.disposition_info.file.fnum = fnum; sfinfo.disposition_info.in.delete_on_close = 0; status = smb_raw_setfileinfo(cli->tree, &sfinfo); @@ -223,7 +223,7 @@ static BOOL test_delete_on_close(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) status = create_directory_handle(cli->tree, dname, &fnum); CHECK_STATUS(status, NT_STATUS_OK); - sfinfo.disposition_info.level = RAW_SFILEINFO_DISPOSITION_INFORMATION; + sfinfo.disposition_info.level = RAW_SFILEINFO_DISPOSITION_INFO; sfinfo.disposition_info.file.fnum = fnum; sfinfo.disposition_info.in.delete_on_close = 0; status = smb_raw_setfileinfo(cli->tree, &sfinfo); -- cgit