Microsoft Virtualization Discussions

Unabe to find API with cmdlet Set-NaCifsShareAcl

rene_meier
3,326 Views

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

--

1 ACCEPTED SOLUTION

cknight
3,326 Views

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).

View solution in original post

2 REPLIES 2

cknight
3,327 Views

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).

rene_meier
3,326 Views

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

Greez

Rene

--

Public