Subscribe
Accepted Solution

Unabe to find API with cmdlet Set-NaCifsShareAcl

I create a share on a volume with Add-NaCifsShare. This works perfect.

But with the cmdlet Set-NaCifsShareAcl to create a new cifs access i receive the following error:

PS P:\> Set-NaCifsShareAcl -share test_vol$ -user rene -AccessRights "Full Control"


Set-NaCifsShareAcl : Unable to find API: cifs-share-ace-set
At line:1 char:19
+ Set-NaCifsShareAcl <<<<  -share test_vol$ -user rene -AccessRights "Full Control"
    + CategoryInfo          : InvalidOperation: (NetApp.Ontapi.Filer.NaController:NaController) [Set-NaCifsShareAcl],
   EAPINOTFOUND
    + FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Cifs.SetNaCifsShareAcl


MountPoint                              ShareName                 Description
----------                                    ---------                           -----------
/vol/test_vol                              test_vol$


PS P:\>

Is this a problem with the cmdlet ?

Greez

rene

--

Re: Unabe to find API with cmdlet Set-NaCifsShareAcl

Hello, Rene.  Like the newer networking cmdlets, the CIFS ACL cmdlets rely on APIs that are only available in Data ONTAP 7.3.3 and later (and aren't yet in any 8.x release).

Re: Unabe to find API with cmdlet Set-NaCifsShareAcl

Thanks. That's right. I'm on Version 7.3.2P3 .

Greez

Rene

--