hello tony,
why, It works perfectly with LANMANREDIRECTOR ( RDR.SYS) . I hit the code
path where FILEOBJECT->relatedfileobject !=NULL
still, thanks for your valuable insights
regds
alex
----- Original Message -----
From: Tony Mason
To: File Systems Developers
Sent: Tuesday, May 09, 2000 3:19 PM
Subject: [ntfsd] RE: network redirector IRP_MJ_CREATE with FO->Related
FileObject != NULL
> Alex,
>
> Yes, this works, but not into a network redirector (since you cannot, in
> general, export a network volume via SRV.)
>
> SRV (the CIFS file server on Windows NT/2000) does almost all of its I/O
> operations relative. Win32 applications do not because their API is
pretty
> much restricted to whole paths only (there’s no way with CreateFile to
> specify an already opened directory, at least not as I understand it.)
>
> Regards,
>
> Tony Mason
> Consulting Partner
> OSR Open Systems Resources, Inc.
> http://www.osr.com
>
>
> -----Original Message-----
> From: Alexander Suresh [mailto:xxxxx@mobiliti.com]
> Sent: Tuesday, May 09, 2000 3:16 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: network redirector IRP_MJ_CREATE with FO->Related
> FileObject != NULL
>
>
> suddenly i remember our good old ZwCreateFile(…) with
> ObjectAttributes->RootDirectory == SOME_PREVIUOSLY_OPENED directory
object.
> Of course i think i need a mapped network drive for this test, like G: =>
> \remote_computer_name\share-name
>
> will this result in the test case?
>
> thanks & regds
> alex
>