Subscribe

Setting permision on vFiler folder with Powershell

[ Edited ]

Hello everybody, 

 

For my first post here, I need you.

I'm trying to make a powershell script to automate creation of subfolder on NetApp vFiler.

We use local NetApp groups that we set on folder (and in this group we add an AD group).

My problem is I don't find how to set those permisions with powershell... 

I tryed Set-ACL but I have got the error : Exception calling "AddAccessRule" with "1" argument(s): "Some or all identity references could not be translated."

How can I make my local NetApp groups reconize by the command ? 

It just take AD group or local server group... 

 

I'm a french guy, so if my subject is not very clear tel me (with simple words please Smiley Very Happy

 

Thanks

 

Regards

 

Re: Setting permision on vFiler folder with Powershell

Hi,

 

Do you want Data ONTAP to set ACL on a folder hosted on the vFiler? Like running 'cifs access <share> [-g] <user|group> <rights>' on the command line? Then Set-NaCifsShareAcl is the cmdlet to use.

 

Hope this helps,

Aparajita