<?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: add CIFS shares from CLI in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/add-CIFS-shares-from-CLI/m-p/40397#M3729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey pluckyduck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the reason, that you can't figure out how to exclude/include users with "cifs shares -add" is that you cannot do it in one step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you have to create the share: cifs shares -add share1 /vol/vol1&lt;/P&gt;&lt;P&gt;Second, remove everyone/fullC. : cifs access -delete share1 everyone&lt;/P&gt;&lt;P&gt;And the last one: cifs access share1 -g domain1\|group1 "Full Control"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Aug 2010 07:41:43 GMT</pubDate>
    <dc:creator>dennis_von_eulenburg</dc:creator>
    <dc:date>2010-08-12T07:41:43Z</dc:date>
    <item>
      <title>add CIFS shares from CLI</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/add-CIFS-shares-from-CLI/m-p/40393#M3728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to add several CIFS shares and I would prefer to do it via the CLI.&amp;nbsp; I can't figure out how to exclude "everyone" and specify certain domains/groups with the initial cifs share -add command.&amp;nbsp; For example, I want to create share1 with access for only domain1/group1, domain1/group2, &amp;amp; domain1/group3 and not have it open to everyone.&amp;nbsp; Can someone give me the exact syntax for that command?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:10:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/add-CIFS-shares-from-CLI/m-p/40393#M3728</guid>
      <dc:creator>pluckyduck</dc:creator>
      <dc:date>2025-06-05T07:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: add CIFS shares from CLI</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/add-CIFS-shares-from-CLI/m-p/40397#M3729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey pluckyduck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the reason, that you can't figure out how to exclude/include users with "cifs shares -add" is that you cannot do it in one step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you have to create the share: cifs shares -add share1 /vol/vol1&lt;/P&gt;&lt;P&gt;Second, remove everyone/fullC. : cifs access -delete share1 everyone&lt;/P&gt;&lt;P&gt;And the last one: cifs access share1 -g domain1\|group1 "Full Control"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 07:41:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/add-CIFS-shares-from-CLI/m-p/40397#M3729</guid>
      <dc:creator>dennis_von_eulenburg</dc:creator>
      <dc:date>2010-08-12T07:41:43Z</dc:date>
    </item>
  </channel>
</rss>

