<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a report of NTFS permissions based on a CIFS Share in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146403#M26635</link>
    <description>&lt;P&gt;Thanks so much for the help Gidon!&lt;/P&gt;
&lt;P&gt;Output is the same as security from CLI. Only need to format data as you mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
    <pubDate>Mon, 04 Feb 2019 20:08:45 GMT</pubDate>
    <dc:creator>TBknowledge</dc:creator>
    <dc:date>2019-02-04T20:08:45Z</dc:date>
    <item>
      <title>Creating a report of NTFS permissions based on a CIFS Share</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146364#M26623</link>
      <description>&lt;P&gt;I want to make a report which will get all DACL *Specific permission based on root CIFS shares.&lt;/P&gt;
&lt;P&gt;* Specific permissions: Take Ownership and&amp;nbsp;Change Permissions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using NetApp Powershell module.&lt;/P&gt;
&lt;P&gt;1. So, first step is to get all CIFS Shares:&lt;/P&gt;
&lt;P&gt;Get-NcCifsShare -InformationVariable ShareName | Select Sharename&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. For each CIFS Share we need to check if there is a Group/User with DACL Permissions to&amp;nbsp;&lt;SPAN&gt;Take Ownership and&amp;nbsp;Change Permissions&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;With this NetApp CLI command I can get all DACL permissions:&lt;/P&gt;
&lt;P&gt;vserver security file-directory show -vserver svm_server1 -path /TEST_DATA -expand-mask true&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will return very long output, but the part which I'm interesting to is:&lt;/P&gt;
&lt;P&gt;So here we can see "&lt;SPAN&gt;Everyone&lt;/SPAN&gt;" and they have:&amp;nbsp;Write Owner and&amp;nbsp;&amp;nbsp;Write DAC permissions.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Write Owner =&amp;nbsp;Change Permissions (In Windows NTFS)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DAC permissions = Write DAC(In Windows NTFS)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;*************************************************************************&lt;/P&gt;
&lt;P&gt;DACL - ACEs&lt;BR /&gt; ALLOW-Everyone-0x1f01ff-OI|CI&lt;BR /&gt; 0... .... .... .... .... .... .... .... = Generic Read&lt;BR /&gt; .0.. .... .... .... .... .... .... .... = Generic Write&lt;BR /&gt; ..0. .... .... .... .... .... .... .... = Generic Execute&lt;BR /&gt; ...0 .... .... .... .... .... .... .... = Generic All&lt;BR /&gt; .... ...0 .... .... .... .... .... .... = System Security&lt;BR /&gt; .... .... ...1 .... .... .... .... .... = Synchronize&lt;BR /&gt; .... .... .... 1... .... .... .... .... = Write Owner&lt;BR /&gt; .... .... .... .1.. .... .... .... .... = Write DAC&lt;BR /&gt; .... .... .... ..1. .... .... .... .... = Read Control&lt;BR /&gt; .... .... .... ...1 .... .... .... .... = Delete&lt;BR /&gt; .... .... .... .... .... ...1 .... .... = Write Attributes&lt;BR /&gt; .... .... .... .... .... .... 1... .... = Read Attributes&lt;BR /&gt; .... .... .... .... .... .... .1.. .... = Delete Child&lt;BR /&gt; .... .... .... .... .... .... ..1. .... = Execute&lt;BR /&gt; .... .... .... .... .... .... ...1 .... = Write EA&lt;BR /&gt; .... .... .... .... .... .... .... 1... = Read EA&lt;BR /&gt; .... .... .... .... .... .... .... .1.. = Append&lt;BR /&gt; .... .... .... .... .... .... .... ..1. = Write&lt;BR /&gt; .... .... .... .... .... .... .... ...1 = Read&lt;/P&gt;
&lt;P&gt;*************************************************************************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not able to find a way to complete this. I do not see a way with PS NetApp toolkit to generate this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:53:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146364#M26623</guid>
      <dc:creator>TBknowledge</dc:creator>
      <dc:date>2025-06-04T12:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a report of NTFS permissions based on a CIFS Share</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146386#M26629</link>
      <description>&lt;P&gt;sorry, the question is not clear to me. to&amp;nbsp;complete what ? i see both Write Owner and Write DAC.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 09:58:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146386#M26629</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2019-02-04T09:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a report of NTFS permissions based on a CIFS Share</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146389#M26631</link>
      <description>&lt;P&gt;Hello Gidon,&lt;/P&gt;
&lt;P&gt;thanks for the reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Imagine you have 100 root CIFS Shares. Each one of them have different NTFS Permissions applied on Group and/or User level.&lt;/P&gt;
&lt;P&gt;I want to built a report, which will display specific advanced permissions&amp;nbsp;applied on&amp;nbsp;&lt;SPAN&gt;Group and/or User level&amp;nbsp;&lt;/SPAN&gt;for each root CIFS share&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specific advanced permissions are:&amp;nbsp;"WriteOwner", "FullAccess"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to generate this with Powershell from Windows side, but not able to find a way to perform this from NetApp PS Tool Kit.&lt;/P&gt;
&lt;P&gt;Two folders in the example test: TEST1 and TEST2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of the output:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Permissions for C:\TEST1 &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;BUILTIN\Administrators&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FullAccess&lt;/SPAN&gt;&lt;BR /&gt;WriteOwner&lt;BR /&gt;--------------------------------------------------&lt;BR /&gt;NT AUTHORITY\SYSTEM&lt;BR /&gt;WriteOwner&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; Permissions for C:\TEST2 &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;BUILTIN\Users&lt;BR /&gt;&lt;SPAN&gt;FullAccess&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WriteOwner&lt;/SPAN&gt;&lt;BR /&gt;--------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 10:12:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146389#M26631</guid>
      <dc:creator>TBknowledge</dc:creator>
      <dc:date>2019-02-04T10:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a report of NTFS permissions based on a CIFS Share</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146391#M26632</link>
      <description>&lt;P&gt;Oh.&lt;/P&gt;
&lt;P&gt;Sorry i missed that the output was CLI and not PS. in PS you can use the following:&lt;/P&gt;
&lt;PRE&gt;$MyAcl = Get-NcCifsShare -ShareName SecurityAudit* -Controller $MyArray | select path,Vserver,NcController| Get-NcFileDirectorySecurity -ExpandMask | select -ExpandProperty acls&lt;/PRE&gt;
&lt;P&gt;Had to use the select on the middle as without it the pipe appends the volume name to the path twice ....&lt;/P&gt;
&lt;P&gt;the sad thing is that you still going to just have it as a string&amp;nbsp;rather properly&amp;nbsp;formatted array... so need to work on parsing the string&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 11:42:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146391#M26632</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2019-02-04T11:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a report of NTFS permissions based on a CIFS Share</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146403#M26635</link>
      <description>&lt;P&gt;Thanks so much for the help Gidon!&lt;/P&gt;
&lt;P&gt;Output is the same as security from CLI. Only need to format data as you mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 20:08:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Creating-a-report-of-NTFS-permissions-based-on-a-CIFS-Share/m-p/146403#M26635</guid>
      <dc:creator>TBknowledge</dc:creator>
      <dc:date>2019-02-04T20:08:45Z</dc:date>
    </item>
  </channel>
</rss>

