Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Unresolved Owner SID causing /file-security/permissions API call to fail
2024-10-10
10:01 AM
459 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
