<?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: Set-NaVfilerPassword does not work. in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29995#M1387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sjalla.&amp;nbsp; We weren't aware that ONTAP's vfiler-setup API had this bug you identified, so thanks for pointing it out.&amp;nbsp; Steven's suggestion should work with Toolkit 1.4, due "soon".&amp;nbsp; You might also try his suggestion of connecting directly to the vfiler and issuing Set-NaUserPassword.&amp;nbsp; I've also captured an enhancement request to add a vfiler setup cmdlet to a future release that would let you more fully configure a vfiler in one call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2011 16:11:17 GMT</pubDate>
    <dc:creator>cknight</dc:creator>
    <dc:date>2011-04-28T16:11:17Z</dc:date>
    <item>
      <title>Set-NaVfilerPassword does not work.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29970#M1382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to set up all details for cifs vfilers from a script non-interactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Filerview vFiler wizard asks for the root password, and creates the root user.&lt;/P&gt;&lt;P&gt;The root user is also created if you run the "passwd" command interactivly in the vfiler&lt;/P&gt;&lt;P&gt;context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thougth that the Set-NaVfilerPassword Cmdlet was designed for this, but it just returns&lt;/P&gt;&lt;P&gt;without creating the root user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be done? I need a working root user for other setup needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sjalla.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:56:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29970#M1382</guid>
      <dc:creator>sjallabais</dc:creator>
      <dc:date>2025-06-05T06:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set-NaVfilerPassword does not work.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29975#M1383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sjalla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, the Set-NaVfilerPassword cmdlet should set the password for the vfiler root user.&amp;nbsp; I have a few questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- What version of Data ONTAP are you using?&lt;/P&gt;&lt;P&gt;- Are you creating the vfiler using the New-NaVfiler cmdlet?&amp;nbsp; If not, how are you creating the vfiler?&lt;/P&gt;&lt;P&gt;- Are you using any other Set-NaVfiler* cmdlets in your process?&amp;nbsp; If so, which ones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***Edit (with a little more information)***&lt;/P&gt;&lt;P&gt;This is a known issue with ONTAP where the API that Set-NaVfilerPassword uses does not update the password if the root user already exists.&amp;nbsp; There is no short-term resolution plan.&amp;nbsp; You can workaround this by connecting directly to the vfiler and using Set-NaUserPassword.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:06:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29975#M1383</guid>
      <dc:creator>beam</dc:creator>
      <dc:date>2011-04-26T18:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set-NaVfilerPassword does not work.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29980#M1384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested with Toolkit 1.3 against&amp;nbsp; 7.3.5.1 and 8.0.1P3 (and also earlier releases) with the same result,&lt;/P&gt;&lt;P&gt;no root user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example script:&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;$naCred = (get-credential root)&lt;BR /&gt;Connect-NaController fas2040a -credential $naCred&lt;BR /&gt;New-NaVol -name testvf_root -aggregate aggr0 -size 100m&lt;BR /&gt;New-NaVol -name testvf_vol1 -aggregate aggr0 -size 100m&lt;BR /&gt;Set-NaQtree /vol/testvf_vol1 -SecurityStyle "ntfs"&lt;/P&gt;&lt;P&gt;New-NaVfiler testvf -addresses 10.1.1.100 -storage /vol/testvf_root,/vol/testvf_vol1&lt;BR /&gt;Set-NaVfilerPassword testvf secret1234&lt;BR /&gt;Set-NaVfilerProtocol testvf -DisallowProtocols nfs,iscsi,rsh&lt;BR /&gt;Invoke-NaSsh vfiler run testvf secureadmin setup -q ssh 768 512 768&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ipb = New-Object NetApp.Ontapi.Filer.Vfiler73.IpbindingInfo&lt;BR /&gt;$ipb.Interface = "e0a"&lt;BR /&gt;$ipb.Ipaddress = "10.1.1.100"&lt;BR /&gt;$ipb.Netmask = "255.255.255.0"&lt;BR /&gt;Set-NaVfilerAddress testvf -IpBindingInfo $ipb&lt;BR /&gt;Set-NaVfilerDns testvf -DnsDomain test.local -DnsServerAddresses 10.1.1.50&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 08:35:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29980#M1384</guid>
      <dc:creator>sjallabais</dc:creator>
      <dc:date>2011-04-27T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set-NaVfilerPassword does not work.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29985#M1385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the sample script.&amp;nbsp; With that, I was able to reproduce the behavior you are describing.&amp;nbsp; The Set-NaVfilerPassword cmdlet makes use of the vfiler-setup API, which allows us to set up several properties of the vfiler (Set-NaVfilerAddress, Set-NaVfilerAdminHost, Set-NaVfilerDns, and Set-NaVfilerNis also make use of vfiler-setup).&amp;nbsp; In order for the vfiler-setup API to create the root account, the IP bindings must be passed along in the same API call.&amp;nbsp; This is not currently how the Set-NaVfilerPassword cmdlet works, so the root account is not created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The good news is, the forthcoming toolkit 1.4 includes a cmdlet Invoke-NaSystemApi which allows you to send raw API requests to Data ONTAP.&amp;nbsp; I've copied a sample script below that I have used to successfully create a vfiler with a root account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;$vfiler = "testvf"&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;$ip = "10.10.10.25"&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;$interface = "e0a"&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;$netmask = "255.255.255.0"&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;$password = "password2"&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt; &lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;$xml = "&amp;lt;vfiler-setup&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;vfiler&amp;gt;$vfiler&amp;lt;/vfiler&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ipbindings&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ipbinding-info&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ipaddress&amp;gt;$ip&amp;lt;/ipaddress&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;interface&amp;gt;$interface&amp;lt;/interface&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;netmask&amp;gt;$netmask&amp;lt;/netmask&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ipbinding-info&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ipbindings&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;password&amp;gt;$password&amp;lt;/password&amp;gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;&amp;nbsp; &amp;lt;/vfiler-setup&amp;gt;"&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt; &lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;New-NaVfiler $vfiler -Addresses $ip -Storage /vol/vol3&lt;/DIV&gt;&lt;DIV id="_mcePaste" style="padding-left: 30px;"&gt;Invoke-NaSystemApi -Request $xml&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of the issue I mentioned in my previous post, it is recommended that any subsequent password changes are accomplished by connecting directly to the vfiler and using Set-NaUserPassword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps,&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 15:02:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29985#M1385</guid>
      <dc:creator>beam</dc:creator>
      <dc:date>2011-04-27T15:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set-NaVfilerPassword does not work.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29990#M1386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoke-NaSystemApi is a great addition to the kit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean that it is not possible to do this with PowerShell only before tollkit 1.4 is out?&lt;/P&gt;&lt;P&gt;(any estimates on when 1.4 will be out?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sjalla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 10:00:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29990#M1386</guid>
      <dc:creator>sjallabais</dc:creator>
      <dc:date>2011-04-28T10:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set-NaVfilerPassword does not work.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29995#M1387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sjalla.&amp;nbsp; We weren't aware that ONTAP's vfiler-setup API had this bug you identified, so thanks for pointing it out.&amp;nbsp; Steven's suggestion should work with Toolkit 1.4, due "soon".&amp;nbsp; You might also try his suggestion of connecting directly to the vfiler and issuing Set-NaUserPassword.&amp;nbsp; I've also captured an enhancement request to add a vfiler setup cmdlet to a future release that would let you more fully configure a vfiler in one call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 16:11:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/29995#M1387</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2011-04-28T16:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set-NaVfilerPassword does not work.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/30000#M1388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sjalla, Toolkit 1.4 is available now.&amp;nbsp; Please let us know how it goes with Invoke-NaSystemApi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 18:49:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Set-NaVfilerPassword-does-not-work/m-p/30000#M1388</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2011-04-29T18:49:29Z</dc:date>
    </item>
  </channel>
</rss>

