<?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: we want to allow about cifs access-controll command for Domain\Admins group by script in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447994#M9946</link>
    <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We create script.&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;#ssh -l admin2 192.168.0.101 df&lt;BR /&gt;ssh -l admin2 192.168.0.101 share access-control create -share wk_volume -vserver svm01 -user-or-group "demo\Domain Admins" -permission full_Control&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;We executed this script.&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;[admin2@centos1 ~]$ ./send_nas_status.sh&lt;/P&gt;&lt;P&gt;Last login time: 9/29/2023 08:56:53&lt;BR /&gt;(vserver cifs share access-control create)&lt;/P&gt;&lt;P&gt;Error: "Admins" is an invalid value for field "-permission &amp;lt;access rights&amp;gt;"&lt;BR /&gt;Valid choices in this command's context: No_access, Read, Change,&lt;BR /&gt;Full_Control&lt;/P&gt;&lt;P&gt;[admin2@centos1 ~]$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We think about&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;"Domain\Admins" is surrounded by double quotes.&lt;BR /&gt;However, the backslash inside double quotes is not used in its original meaning.&lt;BR /&gt;I wish there was a better way to specify the group name when sending ssh commands from an external host to NetApp. If there is a workaround, please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2023 02:28:36 GMT</pubDate>
    <dc:creator>shinichiro_s</dc:creator>
    <dc:date>2023-10-02T02:28:36Z</dc:date>
    <item>
      <title>we want to allow about cifs access-controll command for Domain\Admins group by script</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447966#M9943</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to change Windows ACL about CIFS share.&lt;/P&gt;&lt;P&gt;Our environment use WEB cgi for netapp volume create,cifs create,cifs access-controll create...etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Linux script could work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now&amp;nbsp;we could allow these command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ssh cluster1 &lt;A href="mailto:admin@192.168.0.101" target="_blank"&gt;admin@192.168.0.101&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cifs share access-control create -share wk_volume -vserver svm01 -user-or-group "demo\Domain Admins" -permission full_Control&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But we could not allow becase "doemo\Domain Admins" (maybe "\"mark is problem)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we allow "\"?&lt;/P&gt;&lt;P&gt;We shuld append what mark ? ( backslash,sigle quote,chiruda....\ ' ^ ?)&lt;/P&gt;&lt;P&gt;we know this issue not netapp issue. this is general question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:44:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447966#M9943</guid>
      <dc:creator>shinichiro_s</dc:creator>
      <dc:date>2025-06-04T09:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: we want to allow about cifs access-controll command for Domain\Admins group by script</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447979#M9945</link>
      <description>&lt;P&gt;I am not sure if I understood the query correctly.&amp;nbsp; If you simply copy paste the following command to the netapp CLI it will work.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cifs share access-control create -share wk_volume -vserver svm01 -user-or-group &lt;STRONG&gt;"demo\Domain Admins"&lt;/STRONG&gt; -permission full_Control&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You mentioned - We could not allow becase "doemo\Domain Admins" (maybe "\"mark is problem) .&amp;nbsp; Can you tell us where exactly you are getting error, while running that command.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 21:46:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447979#M9945</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2023-09-29T21:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: we want to allow about cifs access-controll command for Domain\Admins group by script</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447994#M9946</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We create script.&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;#ssh -l admin2 192.168.0.101 df&lt;BR /&gt;ssh -l admin2 192.168.0.101 share access-control create -share wk_volume -vserver svm01 -user-or-group "demo\Domain Admins" -permission full_Control&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;We executed this script.&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;[admin2@centos1 ~]$ ./send_nas_status.sh&lt;/P&gt;&lt;P&gt;Last login time: 9/29/2023 08:56:53&lt;BR /&gt;(vserver cifs share access-control create)&lt;/P&gt;&lt;P&gt;Error: "Admins" is an invalid value for field "-permission &amp;lt;access rights&amp;gt;"&lt;BR /&gt;Valid choices in this command's context: No_access, Read, Change,&lt;BR /&gt;Full_Control&lt;/P&gt;&lt;P&gt;[admin2@centos1 ~]$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We think about&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;"Domain\Admins" is surrounded by double quotes.&lt;BR /&gt;However, the backslash inside double quotes is not used in its original meaning.&lt;BR /&gt;I wish there was a better way to specify the group name when sending ssh commands from an external host to NetApp. If there is a workaround, please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 02:28:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447994#M9946</guid>
      <dc:creator>shinichiro_s</dc:creator>
      <dc:date>2023-10-02T02:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: we want to allow about cifs access-controll command for Domain\Admins group by script</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447996#M9947</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We find out answer by myself.&lt;/P&gt;&lt;P&gt;We use single quotation then pass this command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;centos1 log paste.&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;P&gt;[nasmation@centos1 ~]$ cat send_nas_status.sh&lt;BR /&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;#ssh -l nasmation 192.168.0.101 df&lt;BR /&gt;ssh -l nasmation 192.168.0.101 share access-control create -share wk_volume -vserver svm01 -user-or-group &lt;STRONG&gt;'&lt;/STRONG&gt;"demo\Domain Admins"&lt;STRONG&gt;'&lt;/STRONG&gt; -permission full_Control&lt;/P&gt;&lt;P&gt;[nasmation@centos1 ~]$&lt;/P&gt;&lt;P&gt;[nasmation@centos1 ~]$&amp;nbsp; ./send_nas_status.sh&lt;/P&gt;&lt;P&gt;Last login time: 10/2/2023 08:44:19&lt;BR /&gt;(vserver cifs share access-control create)&lt;/P&gt;&lt;P&gt;[nasmation@centos1 ~]$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster1&amp;nbsp; log paste.&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; cifs share show -vserver svm01&lt;BR /&gt;Vserver Share Path Properties Comment ACL&lt;BR /&gt;-------------- ------------- ----------------- ---------- -------- -----------&lt;BR /&gt;svm01 c$ / oplocks - BUILTIN\Administrators / Full Control&lt;BR /&gt;browsable&lt;BR /&gt;changenotify&lt;BR /&gt;show-previous-versions&lt;BR /&gt;svm01 ipc$ / browsable - -&lt;BR /&gt;svm01 wk_volume /wk_volume oplocks - demo\Domain Admins / Full Control&lt;BR /&gt;browsable&lt;BR /&gt;access-based-enumeration&lt;BR /&gt;show-previous-versions&lt;BR /&gt;3 entries were displayed.&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for everythig.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 08:50:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/we-want-to-allow-about-cifs-access-controll-command-for-Domain-Admins-group-by/m-p/447996#M9947</guid>
      <dc:creator>shinichiro_s</dc:creator>
      <dc:date>2023-10-02T08:50:20Z</dc:date>
    </item>
  </channel>
</rss>

