<?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: Changing a vservers CIFS password with new-nccifspassword? in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28552#M1307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can try something like this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reset-NcCifsPassword -Controller vfiler1 -AdminUsername vinith -Password %^!%%!^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2012 11:00:02 GMT</pubDate>
    <dc:creator>vinith</dc:creator>
    <dc:date>2012-12-20T11:00:02Z</dc:date>
    <item>
      <title>Changing a vservers CIFS password with new-nccifspassword?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28542#M1305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently reviewing automation opportunities within the day to day administration of a Clustered ONTAP CIFS server.&lt;/P&gt;&lt;P&gt;One of the processes I'm looking to automate is the vserver cifs password-reset operation which updates the password of the vservers computer account in the Active Directory domain.&lt;/P&gt;&lt;P&gt;Any domain admin worht their salt will tell you they perform house keeping on the domain by looking for machine account passwords that have not be changed in X days and deleting those accounts older than X.&lt;/P&gt;&lt;P&gt;The value of X will vary depending on your organizations security and risk profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve this account password update in clustered ONTAP you use the vserver cifs password-reset command.&lt;/P&gt;&lt;P&gt;This would appear to map to the new-nccifspassword cmdlet.&lt;/P&gt;&lt;P&gt;However, unlike the CLI which asks you for credentials of a domain user with permissions to reset password on the OU where the computer account resides, the new-nccifspassword cmdlet does not accept such parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the controller in the log file /mroot/etc/log/mlog/mgwd.log you can see both the ontapi operation and the CLI operation but the ontapi stays at pending and never changes to a success state.&lt;/P&gt;&lt;P&gt;Certain information in the log extracts is masked for obvious reasons.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ONTAPI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0000001c.0001084c 000d0193 Tue Dec 18 2012 16:21:11 -05:00 [kern_mgwd:info:823] ontapi :: xxx.xxx.xxx.xxx:: admin :: &amp;lt;netapp version='1.7' xmlns='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.netapp.com/filer/admin" target="_blank"&gt;http://www.netapp.com/filer/admin&lt;/A&gt;&lt;SPAN&gt;' vfiler='xxxxxxxxx'&amp;gt;&amp;lt;cifs-password-change /&amp;gt;&amp;lt;/netapp&amp;gt;^M&amp;nbsp; :: Pending&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;0000001c.00010879 000d053c Tue Dec 18 2012 16:22:45 -05:00 [kern_mgwd:info:823] ssh :: xxx.xxx.xxx.xxx:: admin :: vserver cifs password-reset -vserver xxxxxxxxxx:: Pending&lt;/P&gt;&lt;P&gt;0000001c.0001087f 000d055e Tue Dec 18 2012 16:22:48 -05:00 [kern_mgwd:info:823] ssh :: xxx.xxx.xxx.xxx :: admin :: vserver cifs password-reset -vserver xxxxxxxxxx:: Success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a deficiency in the cmdlet or should I be using the invoke-ssh cmdlet instead for this purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:13:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28542#M1305</guid>
      <dc:creator>RichardSopp</dc:creator>
      <dc:date>2025-06-05T06:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a vservers CIFS password with new-nccifspassword?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28547#M1306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, the New-NcCifsPassword cmdlet maps to the&amp;nbsp; cifs-password-change API.&amp;nbsp; Which is slightly different.&amp;nbsp; It takes no input parameters and I believe just instructs the machine to generate a new password and update AD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried:&amp;nbsp; Reset-NcCifsPassword&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THis may be what you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 13:37:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28547#M1306</guid>
      <dc:creator>bsti</dc:creator>
      <dc:date>2012-12-19T13:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a vservers CIFS password with new-nccifspassword?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28552#M1307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can try something like this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reset-NcCifsPassword -Controller vfiler1 -AdminUsername vinith -Password %^!%%!^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 11:00:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28552#M1307</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2012-12-20T11:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Changing a vservers CIFS password with new-nccifspassword?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28560#M1308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bsti - you're right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My CLI example was wrong (note to self: don't try throwing something together at the end of a 14 hour day).&lt;/P&gt;&lt;P&gt;New-NcCifsPassword was the cmdlet I was after as I want the equivalent&amp;nbsp; of 'vserver cifs password change'.&amp;nbsp; In my mind this is the equivalent of the 'cifs changefilerpswd' command in 7-mode.&lt;/P&gt;&lt;P&gt;The Reset-NcCifsPassword cmdlet would come in useful to sync the local machine acocunt password and the domain machine account password, and is a much more elegant solution than having to re-run 'cifs setup' in 7-mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The notable behavior in the&amp;nbsp; /mroot/etc/log/mlog/mgwd.log was interesting because it reported pending and never success.&lt;/P&gt;&lt;P&gt;As in most cases there is more than one way to get confirmation that the operation was a sucess so I wrote a short AD query to determine the age of the password on the machine account in the domain.&lt;/P&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2012 21:44:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Changing-a-vservers-CIFS-password-with-new-nccifspassword/m-p/28560#M1308</guid>
      <dc:creator>RichardSopp</dc:creator>
      <dc:date>2012-12-24T21:44:17Z</dc:date>
    </item>
  </channel>
</rss>

