Creating a share with share permissions 
Author Message
 Creating a share with share permissions

All,

I've successfully created shares from a client on a NT server using VBS but,
I'm trying to find how to set the permissions on the share.  Is this
possible?

Kevin



Mon, 05 May 2003 03:00:00 GMT  
 Creating a share with share permissions
In the NT4 Resource Kit, there's  "subinacl.exe" which can set permissions
on a share.
Example:
subinacl /share \\pluto\sharename /grant="domainname\domain admins"=F
/grant="domainname\username"=C /revoke=everyone


Quote:
> All,

> I've successfully created shares from a client on a NT server using VBS
but,
> I'm trying to find how to set the permissions on the share.  Is this
> possible?

> Kevin



Tue, 06 May 2003 03:00:00 GMT  
 Creating a share with share permissions
Download the ADSI SDK and register the AdsSecurity.dll.

--
Michael Harris
Microsoft.MVP.Scripting
--

Quote:

> All,

> I've successfully created shares from a client on a NT server using VBS but,
> I'm trying to find how to set the permissions on the share.  Is this
> possible?

> Kevin



Tue, 06 May 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. enumerating shares and share permissions with vbscript

2. share permissions and enumerating shares

3. List shares and share permissions?

4. Creating shares & setting permissions on folders

5. Create Share w/ Permissions

6. adsi - creating a share and modifying permissions

7. Create Share - Set Permission HOWTO ?

8. WSH - sharing directories ( net share)

9. Setting Share permissions using VBScript

10. NTFS and Share Permissions

11. share anf file system permissions

12. How can I set permission on a share using VB/ADSI

 

 
Powered by phpBB® Forum Software