Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows user -share permissions

0 views
Skip to first unread message

kris

unread,
Jan 12, 2009, 5:51:01 AM1/12/09
to
Hi,

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.

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.

thanks
kris

Jorge Silva

unread,
Jan 12, 2009, 4:06:58 PM1/12/09
to
Hi
Sometimes you must wait a little untill you get the SID translation, this
can be caused by network issues. DNS can also be the cause, make sure that
you can resolve the FQDN on each end. Also check if the TCP/IP NetBIOS
Helper service set to disabled if so, please enable it and try again

--
I hope that the information above helps you.
Have a Nice day.

Jorge Silva
MCSE, MVP Directory Services

Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.
"kris" <kr...@discussions.microsoft.com> wrote in message
news:E6271D1F-2E7B-489D...@microsoft.com...

0 new messages