DFS - Lots 'o links, need RPC to build structure fo users at login

  • Thread starter Thread starter Optional
  • Start date Start date
O

Optional

Hi!

I want to build a DFS structure like this:

(Domain Based)
\\Domain\Profiles
\\Domain\Home
\\Domain\Depts

(Stand Alone)
\\DFSserver\profile\user1
\\DFSserver\home\user1
\\DFSserver\dept\IS

I want the Domain Based to point to the stand alones. Make sense so
far?

If a user is in the IS Dept, I would like the login script to do an
RPC to the DFS server and build a link to \\DFSserver\depts\IS under
\\DFSserver\home\user1. How would I go about the RPC in the login
script? I have the DFS setup and working already. The point of this
is a users can get to their entire world @ \\Domain\%username% and
their profile is loaded from \\Domain\Profiles\%username%

Thanks for amy input.
 
I came across this recently it may well help! Basically call a remote ASP
script (runs on server) from a VBscript (or JavaScript). I am sure that a
VBscript login script could call a ASP object that could build a DFS
structure. You will see a function called RSExecute I am hoping that the url
parameter can use HTTPS for security (not sure!!).

call ASP object from script
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rmscpt/Html/rmscpt5.asp

HOWTO: Use Client-Side VBScript with Remote Scripting
http://support.microsoft.com/defaul...port/kb/articles/Q229/6/61.ASP&NoWebContent=1

As for DFS >>>>>

WMI to get DFS info
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/dfs_provider.asp

you could call DFScmd from script
http://www.microsoft.com/windowsxp/...windowsxp/home/using/productdoc/en/dfscmd.asp

As you can not 'natively' call API's from VBscript with out a wrapper:
try looking up ADSI with VBscript and DFS with ADSI this may allow you to
modify DFS via ADSI.
(I can not find any info on this yet)

regards

Andrew
 
I've heard a rumor that on Mon, 1 Sep 2003 16:32:22 +0100, "Andrew
Crook said:
I came across this recently it may well help! Basically call a remote ASP
script (runs on server) from a VBscript (or JavaScript). I am sure that a
VBscript login script could call a ASP object that could build a DFS
structure. You will see a function called RSExecute I am hoping that the url
parameter can use HTTPS for security (not sure!!).


THANK YOU!! Sounds like what I need. Thanks again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top