Hi all,
I am new to NetApp world and having basic scripting skills.
Here is the details :
Domain name : contoso.com (fake name)
Users naming model : firstname_secondname@contoso.com, firstname_secondname2@contoso.com
Server name : SRVBKP
Shares names : \\SRVBKP\firstname_secondname
\\SRVBKP\firstname_secondname2
\\SRVBKP\firstname_secondname3
\\SRVBKP\firstname_secondname4
The current situation is a bit confusing, I read the documentation about cifs access share [-g] user rights and cifs access -delete share [-g] user, but as it’s a production server, this why I need your assistance to create a script that:
- Remove all the permissions (whatever they are, Read,Modify or Full control) on all USERS SHARES. Remove any users, any groups from SHARE permissions
- Grant full control to each user to his own folder (personnal share)
- This is optionnal, I want to do the same as #1 but for NTFS permissions
Any help is most welcome,
Many Thanks for your help