STATUS_INVALID_LEVEL returned from redirector

Hi,

I have tested my filter on a redirector; the target
machine was the Linux Server

I tested the IRP_MJ_SET_INFORMATION
(FileRenameInformation) call. The call works well
on local driver and MS-servers.

But on Linux server, it returns STATUS_INVALID_LEVEL.
The rename had these parameters
(in my own rolled IRP)

* Irp->AssociatedIrp.SystemBuffer points to FILE_RENAME_INFORMATION:
ReplaceIfExists = FALSE
RootDirectory = NULL
FileNameLength = 0x20
FileName = “adv01nt5.dll.tmp”

* The next stack location is:
MajorFunction = IRP_MJ_SET_INFORMATION
MinorFunction = 0
Flags = 0
Control = 0
Parameters.SetFile.Lengh = 0x420
Parameters.SetFile.FileInformationClass = FileRenameInfo
Parameters.SetFile.FileObject = NULL;
Parameters.SetFile.ReplaceIfExists = FALSE;
Parameters.SetFile.AdvanceOnly = FALSE;
Parameters.SetFile.ClusterCount = FALSE;
Parameters.SetFile.DeleteHandle = FALSE;
DeviceObject = NULL;
FileObject = non-NULL (";T:0000000014fa1\fedora\share\adv01nt5.dll

Does anyone know where might be the problem ?

L.

I have made an upgrade of the SMB on the Linux machine
and it now returns STATUS_OBJECT_PATH_NOT_FOUND.

It seems that it is some non-standard behavior of the SMB server
on Linux machine.

L.

----- Original Message -----
From: “Ladislav Zezula”
To: “Windows File Systems Devs Interest List”
Sent: Monday, October 04, 2004 3:31 PM
Subject: [ntfsd] STATUS_INVALID_LEVEL returned from redirector

> Hi,
>
> I have tested my filter on a redirector; the target
> machine was the Linux Server
>
> I tested the IRP_MJ_SET_INFORMATION
> (FileRenameInformation) call. The call works well
> on local driver and MS-servers.
>
> But on Linux server, it returns STATUS_INVALID_LEVEL.
> The rename had these parameters
> (in my own rolled IRP)
>
> * Irp->AssociatedIrp.SystemBuffer points to FILE_RENAME_INFORMATION:
> ReplaceIfExists = FALSE
> RootDirectory = NULL
> FileNameLength = 0x20
> FileName = “adv01nt5.dll.tmp”
>
> * The next stack location is:
> MajorFunction = IRP_MJ_SET_INFORMATION
> MinorFunction = 0
> Flags = 0
> Control = 0
> Parameters.SetFile.Lengh = 0x420
> Parameters.SetFile.FileInformationClass = FileRenameInfo
> Parameters.SetFile.FileObject = NULL;
> Parameters.SetFile.ReplaceIfExists = FALSE;
> Parameters.SetFile.AdvanceOnly = FALSE;
> Parameters.SetFile.ClusterCount = FALSE;
> Parameters.SetFile.DeleteHandle = FALSE;
> DeviceObject = NULL;
> FileObject = non-NULL (";T:0000000014fa1\fedora\share\adv01nt5.dll
>
> Does anyone know where might be the problem ?
>
> L.
>
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@volny.cz
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>