Hi everyone I just created a bunch of shares using CLI using copy and paste like this
cifs share create -vserver CPTSVFIGUFS1 -share-name ana.henriques -path /volDatos/Users/ana.henriques
but all of them are on this Everyone / Full Control and i want to change all to NT AUTHORITY\Authenticated Users but not using the web service, i want to use the CLI because there are a lot of shares to change.
CPTSVFIGUFS1 ana.henriques /volDatos/Users/ oplocks - Everyone / Full Control
There is anyone who can help me with this, i just tried this sentence
CPTSVFIGUCTRL0::> vserver cifs share access-control modify -user-or-group "NT AUTHORITY\Authenticated" -share ana.henriques -permission Full_Control
Error: command failed: Failed to modify ACE on CIFS share ana.henriques when the ACE on this share/user combination doesn't exists. Need to create one first.
But i go this error
CPTSVFIGUCTRL0::> vserver cifs share access-control create -share ana.henriques -user-group-type windows -user-or-group "NT AUTHORITY\Authenticated" -permission Full_Control
Error: command failed: Failed to resolve the security identifier (SID) for the account named "NT AUTHORITY\Authenticated". Reason: Bad user 'Authenticated' or domain 'NT
So i'm stuck at this point.