Hi all, trying to use DFSUTIL to create some DFS links along with their associated shares. This would be the equivalent of creating a new folder in the namespace and specifying a share which doesn't exist as your target. The DFS console warns you that it doesn't exist and prompts you to allow it to create. This works flawlessly in the GUI.
Now I'm trying to script some of these things out using DFSUTIL from the command line and I can create the target and add links just fine, but the folders referenced never show up in the file system.
DFSUtil.exe link add \\mydfs.name.local\share\XYZ \\server01\share\XYZ
The result is that the command completes successfully. I can see the link is there and it's correct. Everything checks out, the GUI confirms this. The only difference is the folder specified in \\server01\share\XYZ never gets created. The link in the namespace shows up just fine at: \\mydfs.name.local\share\xyz but it's unclickable since it's referencing a target which doesn't exist.
If I later issue a target add command:
DFSUtil.exe target add \\mydfs.name.local\share\XYZ \\server02\share\XYZ
That also completes successfully. However, just like the previous case, I see the added target in the GUI and properties on the actual namespace folder confirms it's in there and it's correct, however, as the folder doesn't generate on the target server, the link itself is invalid.
I've tried appending the -restore command line switch and doesn't seem to be any different with or without. The worst part of this is that I know it was working before.
Many thanks in advance,
AJM