IoCancelFileOpen and DFS

Hello All,

I have a legacy filter for the redirector FSD(Mrxsmb.sys). I have noticed that when I have need to cancel a file open request via nt!IoCancelFileOpen for a file that resides on a remote DFS share, it does not work. That is, the application successfully opens the file. Shouldn’t I be able to do this for DFS too? It works for non-DFS stuff. Anyone ever encountered this before?

Thanks,

Ron

Have a look at this post:

http://www.osronline.com/showThread.cfm?link=29665

You might not actually be filtering DFS at all.

t.

On Sat, 10 Feb 2007, xxxxx@hotmail.com wrote:

Hello All,

I have a legacy filter for the redirector FSD(Mrxsmb.sys). I have
noticed that when I have need to cancel a file open request via
nt!IoCancelFileOpen for a file that resides on a remote DFS share, it
does not work. That is, the application successfully opens the file.
Shouldn’t I be able to do this for DFS too? It works for non-DFS stuff.
Anyone ever encountered this before?

Thanks,

Ron


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@openmars.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

>You might not actually be filtering DFS at all.

Thanks Tracy. I have confirmed that my driver routines are on the code path
taken via the kernel debugger. I really just wanted to check whether others
have successfully done the same thing(i.e. cancel file open requests via
IoCancelFileOpen) with DFS. If so, maybe I’m calling IoCancelFileOpen at
the wrong point or am missing another step. I inherited this code, so I’m
still getting familiar with it. Also, I consider myself a novice with file
systems development, so I’m still trying to learn how all the pieces fit
together.

Ron


Check out all that glitters with the MSN Entertainment Guide to the Academy
Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2