The NetApp Community is moving to a new platform and is in Read-Only mode. Click to learn more.
Stay connected during the transition - Join our Discord community today.

ONTAP Rest API Discussions

Unresolved Owner SID causing /file-security/permissions API call to fail

Nighthawk
1,148 Views

I am a new to Netapp and the API, but managed to build a Python script to output the acls on a list of UNC paths. I ran into a path with an unresolved SID, which I can see using the vserver security file-directory show -verserver <svm> -path <path> command at the CLI. But when I make the API call to retrieve the permissions, I get a 404 response:

{
"error": {
"message": "Failed to convert SID to a Windows name. Reason: \"SecD Error: object not found\". ",
"code": "4849677"
}
}

The owner SID is irrelevant for my current use case. Is there any way for me to modify my API call to ignore the unresolved SID and return the alcs anyway?

0 REPLIES 0
Public