<?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 Cifs setup with powershell in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Cifs-setup-with-powershell/m-p/64116#M3205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a filer I have just zeroed. I have added all my licenses back, and now I am trying to setup CIFS so that I can reinstall DataONTAP since Java is missing once you zero the filer. I am having two issues. The first issue, is if I try to run the set-nacifs commandlet. I can input the name, authype and securitytype, but as soon as I try to input the next value I get an error: "Unable to continue with cifs setup, as the /etc/passwd and/or /etc/group files are missing and none of the alternative authentication methods are enabled." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my understanding, i thought this was suppose to work as if running cifs setup from the command prompt. If I do run cifs setup from the command prompt, I can then use the powershell commandlet. Is the /etc/passwd file being created when running cifs setups?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other issue I am having is trying to pass the exsisting filer name as the value for the -cifsserver parameter. I can get that value by assining a parameter the value of get-nasysteminfo, and then getting the value of that new parameter.systemname. How can I pass this to the -cifsserver parameter as the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 07:03:51 GMT</pubDate>
    <dc:creator>drwoodberry</dc:creator>
    <dc:date>2025-06-05T07:03:51Z</dc:date>
    <item>
      <title>Cifs setup with powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Cifs-setup-with-powershell/m-p/64116#M3205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a filer I have just zeroed. I have added all my licenses back, and now I am trying to setup CIFS so that I can reinstall DataONTAP since Java is missing once you zero the filer. I am having two issues. The first issue, is if I try to run the set-nacifs commandlet. I can input the name, authype and securitytype, but as soon as I try to input the next value I get an error: "Unable to continue with cifs setup, as the /etc/passwd and/or /etc/group files are missing and none of the alternative authentication methods are enabled." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my understanding, i thought this was suppose to work as if running cifs setup from the command prompt. If I do run cifs setup from the command prompt, I can then use the powershell commandlet. Is the /etc/passwd file being created when running cifs setups?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other issue I am having is trying to pass the exsisting filer name as the value for the -cifsserver parameter. I can get that value by assining a parameter the value of get-nasysteminfo, and then getting the value of that new parameter.systemname. How can I pass this to the -cifsserver parameter as the value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:03:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Cifs-setup-with-powershell/m-p/64116#M3205</guid>
      <dc:creator>drwoodberry</dc:creator>
      <dc:date>2025-06-05T07:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cifs setup with powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Cifs-setup-with-powershell/m-p/64121#M3206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the /etc/passwd and /etc/group files, you can use the Toolkit cmdlets: &lt;SPAN style="color: #0000ff; font-family: courier new,courier; "&gt;New-NaCifsGroupFile&lt;/SPAN&gt; and &lt;SPAN style="color: #0000ff; font-family: courier new,courier; "&gt;New-NaCifsPasswordFile&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the server name, you can set the name in a variable and use that in the Set-NaCifs invocation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: courier new,courier; "&gt;PS C:\&amp;gt; $name = (Get-NaSystemInfo).SystemName&lt;BR /&gt;PS C:\&amp;gt; Set-NaCifs -CifsServer $name ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 21:30:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Cifs-setup-with-powershell/m-p/64121#M3206</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2010-12-06T21:30:38Z</dc:date>
    </item>
  </channel>
</rss>

