Redirector \\networkname\pipe\wkssvc and \\networkname\IPC$ ?????

Hello,

Sorry for my English, I am bad in English language !

I try to manage a virtual disk UNC (eg \teste) with the function FsRtlRegisterUncProvider.

It does not work at all!

In IOCTL_QUERY_PATH when I received \teste\pipe\wkssvc ,
do I have to redirect to \.\ Pipe\wkssvc ?
Currently i tested for returning the error STATUS_BAD_NETWORK_NAME and after STATUS_BAD_NETWORK_PATH, browsing it don’t works because the controller UNC is bugged!.

About the file \teste\IPC$, the controller create this file seems it is a size zero (0 byte),
About this file , Do i must return an error NTSTATUS in IRP_MJ_CREATE or let the controller UNC create this file ?
I don’t know ! because no source code available in Google search.

No IRP IRP_MJ_DIRECTORY_CONTROL is called !
I do not know.
No source code is available on Google !

Thank you for me help ! because i don’t know !

French language :
Bonjour,
Je cherche ? manager un disque virtuel UNC (ex. \teste) avec la fonction FsRtlRegisterUncProvider .

Ca ne marche pas !

Dans IOCTL_QUERY_PATH , quand je re?oit \teste\pipe\wkssvc , est que je dois le rediriger vers \.\pipe\ ?
Actuellement je retourne l’erreur STATUS_BAD_NETWORK_NAME ou STATUS_BAD_NETWORK_PATH, ca marche pas car le controleur UNC est certainement bugg? !.

Le fichier \teste\IPC$ , le controleur UNC semble le cr?er mais il fait une taille nulle (0 byte) , dois retourner une erreur dans IRP_MJ_CREATE ou laisser le controleur UNC le cr?er ?

Aucun appel ? la fonction IRP_MJ_DIRECTORY_CONTROL !!!

Je ne sais pas.
Aucun code source n’est disponible sur Google !

Bonjour,

I find the wdk doc
http://msdn.microsoft.com/en-us/library/ff556761(v=VS.85).aspx detailed
enough.
Directly citing “On Windows XP Service Pack 2 and later and on Windows
Server 2003 Service Pack 1 and later, this behavior changed slightly. MUP
issues the prefix resolution request serially and stops as soon as the first
provider claims the prefix. Thus, in the above example, if RDPNP claims a
prefix, MUP will not call the SMB or WebDAV redirectors.” Would not be what
you are experiencing ?

But you can try keywords mup / lanman interception, smb, rdr, srv, dfs on
osr ntfsd list for more info.
http://www.osronline.com/showthread.cfm?link=177632

Although not all applicable to win 7, these are valuable (but I don’t think
a french translation is high on osr priority list yet):
http://www.osronline.com/article.cfm?article=557
http://www.osronline.com/article.cfm?article=481
http://www.osronline.com/article.cfm?article=509

As per people suggestions already your questions must be more specific than
just unc doesn’t work or unc is buggy if you want answers on this list and
studying redirector/fat source code from the available various wdk samples
is a better idea than cut/paste whatever source code if any from Google.

Bonne chance en tout cas, Cordialement,

J.

wrote in message news:xxxxx@ntfsd…
Hello,

Sorry for my English, I am bad in English language !

I try to manage a virtual disk UNC (eg \teste) with the function
FsRtlRegisterUncProvider.

It does not work at all!

In IOCTL_QUERY_PATH when I received \teste\pipe\wkssvc ,
do I have to redirect to \.\ Pipe\wkssvc ?
Currently i tested for returning the error STATUS_BAD_NETWORK_NAME and after
STATUS_BAD_NETWORK_PATH, browsing it don’t works because the controller UNC
is bugged!.

About the file \teste\IPC$, the controller create this file seems it is a
size zero (0 byte),
About this file , Do i must return an error NTSTATUS in IRP_MJ_CREATE or let
the controller UNC create this file ?
I don’t know ! because no source code available in Google search.

No IRP IRP_MJ_DIRECTORY_CONTROL is called !
I do not know.
No source code is available on Google !

Thank you for me help ! because i don’t know !

French language :
Bonjour,
Je cherche à manager un disque virtuel UNC (ex. \teste) avec la fonction
FsRtlRegisterUncProvider .

Ca ne marche pas !

Dans IOCTL_QUERY_PATH , quand je reçoit \teste\pipe\wkssvc , est que je
dois le rediriger vers \.\pipe\ ?
Actuellement je retourne l’erreur STATUS_BAD_NETWORK_NAME ou
STATUS_BAD_NETWORK_PATH, ca marche pas car le controleur UNC est
certainement buggé !.

Le fichier \teste\IPC$ , le controleur UNC semble le créer mais il fait une
taille nulle (0 byte) , dois retourner une erreur dans IRP_MJ_CREATE ou
laisser le controleur UNC le créer ?

Aucun appel à la fonction IRP_MJ_DIRECTORY_CONTROL !!!

Je ne sais pas.
Aucun code source n’est disponible sur Google !

I isolated file IPC$ and pipe\.
it"s work for notepad \teste\aa\test.txt
but don’t work since explorer.exe and “net use”.

When i make net use x: \teste\aa , the querypath only \teste\ipc$ is received.

If there have a sample source code about UNC.