CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Windows user -share permissions


New User

Jan 12, 2009, 2:56 AM

Post #1 of 2 (536 views)
Windows user -share permissions Can't Post


I ran into this problem while trying to change the access permissions of a windows user for a share to readonly permissions using VBS script from Linux box.

1. I created one windows user equal to Administrator on domain contraoller
2. Mapped a NAS share to the windows domain controller machine
3. From Active Directory Users and Computers->Computers->linux machine->manage->share folders->share->properties->Share permissions
4. Add the above created user with full permissions
5. I created a VBS script to change the permissions of the above user to readonly
6. I am running this script from a Linux box
7. My Windows domain controller has cygwin installed
8. After I run the VBS script, I see that the permissions are changed to readonly, but the username is displayed as "S-1-5-21....."

Can someone help me out with this. As the username displayed is "S-1-5-21....." when I try to mount the share with the above created user in step2, it fails.


Veteran / Moderator

Jan 12, 2009, 6:31 AM

Post #2 of 2 (535 views)
Re: [mmk_kris] Windows user -share permissions [In reply to] Can't Post

This is Perl forum, not VBS.

If you have a problem with a Perl script, we might be able to help, otherwise, you might get better help on a VBS forum.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives