Microsoft Virtualization Discussions

Unabe to find API with cmdlet Set-NaCifsShareAcl

rene_meier

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

--

2 REPLIES 2

Re: Unabe to find API with cmdlet Set-NaCifsShareAcl

cknight

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

Re: Unabe to find API with cmdlet Set-NaCifsShareAcl

rene_meier

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

Greez

Rene

--

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public