hello experts,
I am struggling to create a script which creates a share for every user in one particular user group, and sets NTFS security. And that particular group is an active directory group not a local system group.
Whatever method we tried it shares the folder for all groups and users.
Please help me out.
Thanx in advance.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Second hit from a Google search with the search term:

. VBScript +share +permission

produced http://cwashington.netreach.net/depo/view.asp?Index=1068

which seems to fit the bill. I presume you have code to read the group's member names?
Answered 05/19/2008 by: VBScab
Red Belt

Please log in to comment
0
Thanx Ian,
i tried this script with modifications as per the scenario but it seems to waork on local systemm but not in active directory.
I am stuck up with this since long.
Plz suggest.
Answered 05/19/2008 by: karshi
Purple Belt

Please log in to comment
0
Post your code in a reply, remembering to use the 'code' tag - click the '<%' button which is just above the text area of the 'Reply to Message' window. Alternatively, if it's very large, use http://www.senduit.com and post the link you get.
Answered 05/20/2008 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity