dfs links are reparse points ...?

Gentllefolk

I have been having a look at DFS on the server side (as opposed to the
client side). I read that dfs links (or junctions?) are just reparse points,
so somewhat similar to ntfs junctions.

This seems to be true for Windows 2003 Server. I create a dfs link and query
the attributes and these have FILE_ATTRIBUTE_REPARSE_POINT set; if I send
FSCTL_GET_REPARSE_POINT this works and I see the dfs reparse tag okay. In
addition in my filter driver I do see an FSCTL_SET_REPARSE_POINT with the
same tag coming through the device stack when a dfs link is created; my
filter here is sitting between ntfs and dfs.sys for what its worth.

This seems however not to be true for Windows 2000 Sever. I create a dfs
link and query the attributes and these do not have
FILE_ATTRIBUTE_REPARSE_POINT set; if I send FSCTL_GET_REPARSE_POINT this
doesnt work and fails with ERROR_NOT_A_REPARSE_POINT. In addition in my
filter driver I do not see an FSCTL_SET_REPARSE_POINT coming through the
device stack when a dfs link is created; my filter here is also sitting
between ntfs and dfs.sys for what its worth.

I was hoping someone could shed some light on what a dfs link in fact is for
Windows 2000 Server …

Thanks in advance
Lyndon

Lyndon,

You are correct; DFS links on W2K are not reparse points. They are
handled by the DFS filter directly by it monitoring every open and
matching the correct path during pre-create.

Is there any particular issue you are having because of this difference?

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Friday, July 02, 2004 7:00 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] dfs links are reparse points …?

Gentllefolk

I have been having a look at DFS on the server side (as opposed to the
client side). I read that dfs links (or junctions?) are just reparse
points,
so somewhat similar to ntfs junctions.

This seems to be true for Windows 2003 Server. I create a dfs link and
query
the attributes and these have FILE_ATTRIBUTE_REPARSE_POINT set; if I
send
FSCTL_GET_REPARSE_POINT this works and I see the dfs reparse tag okay.
In
addition in my filter driver I do see an FSCTL_SET_REPARSE_POINT with
the
same tag coming through the device stack when a dfs link is created; my
filter here is sitting between ntfs and dfs.sys for what its worth.

This seems however not to be true for Windows 2000 Sever. I create a dfs
link and query the attributes and these do not have
FILE_ATTRIBUTE_REPARSE_POINT set; if I send FSCTL_GET_REPARSE_POINT this
doesnt work and fails with ERROR_NOT_A_REPARSE_POINT. In addition in my
filter driver I do not see an FSCTL_SET_REPARSE_POINT coming through the
device stack when a dfs link is created; my filter here is also sitting
between ntfs and dfs.sys for what its worth.

I was hoping someone could shed some light on what a dfs link in fact is
for
Windows 2000 Server …

Thanks in advance
Lyndon


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

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

Hi Neal

Thanks for your speedy reply which is clear. I guess the follow up question
is where does dfs store infos like the link target on W2K? Say in the case
of server based dfs namespace in a workgroup environment.

Cheers
Lyndon

“Neal Christiansen” wrote in message
news:xxxxx@ntfsd…
Lyndon,

You are correct; DFS links on W2K are not reparse points. They are
handled by the DFS filter directly by it monitoring every open and
matching the correct path during pre-create.

Is there any particular issue you are having because of this difference?

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Friday, July 02, 2004 7:00 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] dfs links are reparse points …?

Gentllefolk

I have been having a look at DFS on the server side (as opposed to the
client side). I read that dfs links (or junctions?) are just reparse
points,
so somewhat similar to ntfs junctions.

This seems to be true for Windows 2003 Server. I create a dfs link and
query
the attributes and these have FILE_ATTRIBUTE_REPARSE_POINT set; if I
send
FSCTL_GET_REPARSE_POINT this works and I see the dfs reparse tag okay.
In
addition in my filter driver I do see an FSCTL_SET_REPARSE_POINT with
the
same tag coming through the device stack when a dfs link is created; my
filter here is sitting between ntfs and dfs.sys for what its worth.

This seems however not to be true for Windows 2000 Sever. I create a dfs
link and query the attributes and these do not have
FILE_ATTRIBUTE_REPARSE_POINT set; if I send FSCTL_GET_REPARSE_POINT this
doesnt work and fails with ERROR_NOT_A_REPARSE_POINT. In addition in my
filter driver I do not see an FSCTL_SET_REPARSE_POINT coming through the
device stack when a dfs link is created; my filter here is also sitting
between ntfs and dfs.sys for what its worth.

I was hoping someone could shed some light on what a dfs link in fact is
for
Windows 2000 Server …

Thanks in advance
Lyndon


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

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

DFS link targets are stored in the registry (and in Active directory if it’s a domain root) of the root target server.
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techref/en-us/w2k3tr_dfs_how.asp
gives you a very indepth of review of what goes on DFS. You can find most answers there.

Ravi

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Friday, July 02, 2004 1:14 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] dfs links are reparse points …?

Hi Neal

Thanks for your speedy reply which is clear. I guess the follow up question
is where does dfs store infos like the link target on W2K? Say in the case
of server based dfs namespace in a workgroup environment.

Cheers
Lyndon

“Neal Christiansen” wrote in message
news:xxxxx@ntfsd…
Lyndon,

You are correct; DFS links on W2K are not reparse points. They are
handled by the DFS filter directly by it monitoring every open and
matching the correct path during pre-create.

Is there any particular issue you are having because of this difference?

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Friday, July 02, 2004 7:00 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] dfs links are reparse points …?

Gentllefolk

I have been having a look at DFS on the server side (as opposed to the
client side). I read that dfs links (or junctions?) are just reparse
points,
so somewhat similar to ntfs junctions.

This seems to be true for Windows 2003 Server. I create a dfs link and
query
the attributes and these have FILE_ATTRIBUTE_REPARSE_POINT set; if I
send
FSCTL_GET_REPARSE_POINT this works and I see the dfs reparse tag okay.
In
addition in my filter driver I do see an FSCTL_SET_REPARSE_POINT with
the
same tag coming through the device stack when a dfs link is created; my
filter here is sitting between ntfs and dfs.sys for what its worth.

This seems however not to be true for Windows 2000 Sever. I create a dfs
link and query the attributes and these do not have
FILE_ATTRIBUTE_REPARSE_POINT set; if I send FSCTL_GET_REPARSE_POINT this
doesnt work and fails with ERROR_NOT_A_REPARSE_POINT. In addition in my
filter driver I do not see an FSCTL_SET_REPARSE_POINT coming through the
device stack when a dfs link is created; my filter here is also sitting
between ntfs and dfs.sys for what its worth.

I was hoping someone could shed some light on what a dfs link in fact is
for
Windows 2000 Server …

Thanks in advance
Lyndon


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

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


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

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

FW: [ntfsd] dfs links are reparse points …?Hi Ravi

Thanks for the link; I had been looking at these excellent resources before starting this thread … its where I read about dfs links being reparse points. This is for W2K3 of course; how about W2K? We already establish one difference anyway is that in W2K3 the dfs link is a reparse point and in W2K the dfs link is not a reparse point.

Cheers
Lyndon
“Ravisankar Pudipeddi” wrote in message news:xxxxx@ntfsd…
DFS link targets are stored in the registry (and in Active directory if it’s a domain root) of the root target server.
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techref/en-us/w2k3tr_dfs_how.asp
gives you a very indepth of review of what goes on DFS. You can find most answers there.

Ravi

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Friday, July 02, 2004 1:14 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] dfs links are reparse points …?
Hi Neal

Thanks for your speedy reply which is clear. I guess the follow up question
is where does dfs store infos like the link target on W2K? Say in the case
of server based dfs namespace in a workgroup environment.

Cheers
Lyndon

“Neal Christiansen” wrote in message
news:xxxxx@ntfsd…
Lyndon,

You are correct; DFS links on W2K are not reparse points. They are
handled by the DFS filter directly by it monitoring every open and
matching the correct path during pre-create.

Is there any particular issue you are having because of this difference?

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Friday, July 02, 2004 7:00 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] dfs links are reparse points …?

Gentllefolk

I have been having a look at DFS on the server side (as opposed to the
client side). I read that dfs links (or junctions?) are just reparse
points,
so somewhat similar to ntfs junctions.

This seems to be true for Windows 2003 Server. I create a dfs link and
query
the attributes and these have FILE_ATTRIBUTE_REPARSE_POINT set; if I
send
FSCTL_GET_REPARSE_POINT this works and I see the dfs reparse tag okay.
In
addition in my filter driver I do see an FSCTL_SET_REPARSE_POINT with
the
same tag coming through the device stack when a dfs link is created; my
filter here is sitting between ntfs and dfs.sys for what its worth.

This seems however not to be true for Windows 2000 Sever. I create a dfs
link and query the attributes and these do not have
FILE_ATTRIBUTE_REPARSE_POINT set; if I send FSCTL_GET_REPARSE_POINT this
doesnt work and fails with ERROR_NOT_A_REPARSE_POINT. In addition in my
filter driver I do not see an FSCTL_SET_REPARSE_POINT coming through the
device stack when a dfs link is created; my filter here is also sitting
between ntfs and dfs.sys for what its worth.

I was hoping someone could shed some light on what a dfs link in fact is
for
Windows 2000 Server …

Thanks in advance
Lyndon


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

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


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

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

The NetDfs* APIs provide access to the link store. This is true and will be true on all versions of the operating system. Depending on the type of DFS namespace on the machine (standalone, domain) and the OS version, where it is physically stored and how you get to it are pretty different. This, and the physical format of the metadata, are things I hope you should be able to be insulated from.

Dan
Microsoft File System Group
This posting is provided “AS IS” with no warranties, and confers no rights.


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Sunday, July 04, 2004 2:50 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] dfs links are reparse points …?

Hi Ravi
?
Thanks for the link; I had been looking at these excellent resources before starting this thread … its where I read about dfs links being reparse points. This is for W2K3 of course; how about W2K? We already establish one difference anyway is that in W2K3 the dfs link is a reparse point and in W2K the dfs link is not a reparse point.
?
Cheers
Lyndon
“Ravisankar Pudipeddi” wrote in message news:xxxxx@ntfsd…
DFS link targets are stored in the registry (and in Active directory if it’s a domain root) of the root target server.
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/resources/documentation/windowsServ/2003/all/techref/en-us/w2k3tr_dfs_how.asp
gives you a very indepth of review of what goes on DFS. You can find most answers there.
?
Ravi

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Friday, July 02, 2004 1:14 PM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] dfs links are reparse points …?
Hi Neal
Thanks for your speedy reply which is clear. I guess the follow up question
is where does dfs store infos like the link target on W2K? Say in the case
of server based dfs namespace in a workgroup environment.
Cheers
Lyndon
“Neal Christiansen” wrote in message
news:xxxxx@ntfsd…
Lyndon,
You are correct; DFS links on W2K are not reparse points.? They are
handled by the DFS filter directly by it monitoring every open and
matching the correct path during pre-create.
Is there any particular issue you are having because of this difference?
Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lyndon J Clarke
Sent: Friday, July 02, 2004 7:00 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] dfs links are reparse points …?
Gentllefolk
I have been having a look at DFS on the server side (as opposed to the
client side). I read that dfs links (or junctions?) are just reparse
points,
so somewhat similar to ntfs junctions.
This seems to be true for Windows 2003 Server. I create a dfs link and
query
the attributes and these have FILE_ATTRIBUTE_REPARSE_POINT set; if I
send
FSCTL_GET_REPARSE_POINT this works and I see the dfs reparse tag okay.
In
addition in my filter driver I do see an FSCTL_SET_REPARSE_POINT with
the
same tag coming through the device stack when a dfs link is created; my
filter here is sitting between ntfs and dfs.sys for what its worth.
This seems however not to be true for Windows 2000 Sever. I create a dfs
link and query the attributes and these do not have
FILE_ATTRIBUTE_REPARSE_POINT set; if I send FSCTL_GET_REPARSE_POINT this
doesnt work and fails with ERROR_NOT_A_REPARSE_POINT. In addition in my
filter driver I do not see an FSCTL_SET_REPARSE_POINT coming through the
device stack when a dfs link is created; my filter here is also sitting
between ntfs and dfs.sys for what its worth.
I was hoping someone could shed some light on what a dfs link in fact is
for
Windows 2000 Server …
Thanks in advance
Lyndon


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

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

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