Hi All,
Following on from this conversation (https://discord.com/channels/855068651522490400/1417503639131394188) in the ansible community, I'm trying to find a way to create NTFS Security Descriptors within Ansible and subsequently REST APIs.
Here is an example of the ONTAP CLI command I need to run:
cluster1::> vserver security file-directory ntfs dacl add -vserver svm1_cluster1 -ntfs-sd secsd-test -access-type allow -account DEMO\Administrator -rights full-control -apply-to this-folder,sub-folders,files
cluster1::> vserver security file-directory ntfs dacl add -vserver svm1_cluster1 -ntfs-sd secsd-test -access-type allow -account DEMO\paul -rights full-control -apply-to this-folder,sub-folders,files
cluster1::> vserver security file-directory ntfs dacl show
Vserver: svm1_cluster1
NTFS Security Descriptor Name: secsd-test
Account Name Access Access Apply To
Type Rights
-------------- ------- ------- -----------
DEMO\Administrator allow full-control this-folder, sub-folders, files
DEMO\paul allow full-control this-folder, sub-folders, files
2 entries were displayed.
(split into two posts due to limit)