Question

We're in the process of adding DFS to our network setup and have a slight groggle regarding our automation processes.

We currently have a tool that creates the folder structure when a new project is created. This can be run by any Project admin. Projects reside on a network share.

The issue is that these new network shares need to be added to the DFS namespace.

If we were running locally on the Domain Controller we could call the DFSUtil.exe application from the Delphi application.

Is there any way that we can do this from a client machine on the Domain?

Was it helpful?

Solution 4

Looks like our best solution in the given timeframe will be to install the Remote Server Admin Tools on the few people with permission to create projects.

mjn - Your answer looks like it will be useful in the future, just not right now.

OTHER TIPS

Have you considered using WMI and The WMI Delphi Code Creator tool?

Instead of invoking DFSUtil, the Delphi app would call the underlying API functions on the remote machine.

You could always create an API on the domain controller that you call from the client. With IIS, you could even create your CGI program in Delphi.

You can create a share remotely using the NetShareAdd api. Delphi declarations can be found in the Jedi Apilib.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top