Subscribe

SDK: API call for "cifs sidcache clear"?!?

Hi all.

I cannot find an API call for "cifs sidcache clear", but would need that functionality within one of our tools.

Any way to do that kind of thing with the existing 5.2 SDK (without "fall-back" to cli-*)?

Any idea if this API functionality will be added soon?

Thanks & regards

Anton Oks

rle Former NetApp Employee

Re: SDK: API call for "cifs sidcache clear"?!?

Hi Anton,

"cifs sidcache clear" is a 7-mode command and probably will not be done.  You will have to use the system-cli API to invoke "cifs sidcache clear".  You can look at example here: https://communities.netapp.com/message/80663#80663

Regards,

   - Rick -

Re: SDK: API call for "cifs sidcache clear"?!?

Thanks Rick.

Yeah, was aware of this "cli-" stuff but it's not an option for me.

Nevertheless, thanks again.

Regards

Anton

rle Former NetApp Employee

Re: SDK: API call for "cifs sidcache clear"?!?

Hi Anton,

I curious, why it is not available to you?  Permissions are the same.

Regards,

   - Rick -

Re: SDK: API call for "cifs sidcache clear"?!?

because we have only some "api-*" capabilities granted and this one needs for sure "cli-*" and/or also the "system-cli" capability, right?

rle Former NetApp Employee

Re: SDK: API call for "cifs sidcache clear"?!?

Yes, the capability for system-cli would have to be granted along with "cifs sidecache".  I have not played around with 7-mode in a long time.

   - Rick -