<?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 Adding User in Vfiler in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adding-User-in-Vfiler/m-p/30264#M6262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to add a user in a vfiler. New-NaUser does not work in the vfiler context. It fails with an error message. Now I try to do it with Invoke-NaSsh to the hosting filer and the command useradmin user add miguser -p xxxx -g migration. The command works in the workflow. However, the user is not added in the vfiler although there is no error message in the messages. When I issue the same command on the cli the user is added. Any ideas? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached a few log extracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/etc/messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workflow execution:&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:08:58 CEST [E100BPMC003:cmds.vfiler.storUnit.add:notice]: Storage unit /vol/e041_its_001 was added to vFiler unit v998spnvv1041e.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:09:16 CEST [E100BPMC003:wafl.scan.start:info]: Starting SIS volume scan on volume e041_its_001.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:09:25 CEST [v998spnvv1041e@E100BPMC003:wafl.quota.sec.change:notice]: security style for /vol/e041_its_001/ changed from unix to ntfs&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:09:46 CEST [E100BPMC003:wafl.scan.start:info]: Starting quota initialization on volume e041_its_001.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:09:57 CEST [v998spnvv1041e@E100BPMC003:useradmin.added.deleted:info]: The role 'Migration' has been added.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:10:04 CEST [v998spnvv1041e@E100BPMC003:useradmin.added.deleted:info]: The group 'Migration' has been added.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:11:32 CEST [E100BPMC003:wafl.scan.start:info]: Starting quota initialization on volume emc003_cifs_audit.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:12:23 CEST [v998spnvv1041e@E100BPMC003:cifs.auditfile.enable.on:info]: ALF: CIFS auditing started.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:12:24 CEST [v998spnvv1041e@E100BPMC003:cifs.auditfile.logSetting.notice:info]: ALF: change to option cifs.audit.autosave.file.extension: Autosave file naming policy is now based on time stamping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoking "vfiler run v998spnvv1041e useradmin user add miguser -p xxx -g migration" from cli&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:17:05 CEST [v998spnvv1041e@E100BPMC003:useradmin.added.deleted:info]: The user 'miguser' has been added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/etc/log/auditlog:&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:10:04 CEST [E100BPMC003: rshd_0:debug]: wfauser@[17.247.34.177_1200]:IN:ssh2 shell:SSH INPUT COMMAND is vfiler run v998spnvv1041e useradmin group add Migration -r Migration&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:10:04 CEST [E100BPMC003: rshd_0:debug]: wfauser@[17.247.34.177_1200]:END:ssh2 shell:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error from New-NaUser:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import-Module DataONTAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$filer = "E100BPMC003.e100.intern"&lt;/P&gt;&lt;P&gt;$vfiler = "v998spnvv1041e"&lt;/P&gt;&lt;P&gt;$user = "miguser2"&lt;/P&gt;&lt;P&gt;$pw = "miguser"&lt;/P&gt;&lt;P&gt;$cmd = "vfiler run " + $vfiler + " useradmin user add " + $user + " -p " + $pw + " -g Migration"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-NaController $filer -vfiler $vfiler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New-NaUser -user $user -password $pw -groups Migration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New-NaUser : Could not add user &amp;lt;miguser2&amp;gt;. Error: User cannot access group(s) &lt;/P&gt;&lt;P&gt;Bei D:\WFA\Test_New-NaUser_Vfiler.ps1:15 Zeichen:11&lt;/P&gt;&lt;P&gt;+ New-NaUser &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; -user $user -password $pw -groups Migration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (E100BPMC003.e100.intern:NaController) [New-NaUser], EINTERNALERROR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Useradmin.NewNaUser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:03:51 GMT</pubDate>
    <dc:creator>skellner</dc:creator>
    <dc:date>2025-06-05T06:03:51Z</dc:date>
    <item>
      <title>Adding User in Vfiler</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adding-User-in-Vfiler/m-p/30264#M6262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to add a user in a vfiler. New-NaUser does not work in the vfiler context. It fails with an error message. Now I try to do it with Invoke-NaSsh to the hosting filer and the command useradmin user add miguser -p xxxx -g migration. The command works in the workflow. However, the user is not added in the vfiler although there is no error message in the messages. When I issue the same command on the cli the user is added. Any ideas? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached a few log extracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/etc/messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workflow execution:&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:08:58 CEST [E100BPMC003:cmds.vfiler.storUnit.add:notice]: Storage unit /vol/e041_its_001 was added to vFiler unit v998spnvv1041e.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:09:16 CEST [E100BPMC003:wafl.scan.start:info]: Starting SIS volume scan on volume e041_its_001.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:09:25 CEST [v998spnvv1041e@E100BPMC003:wafl.quota.sec.change:notice]: security style for /vol/e041_its_001/ changed from unix to ntfs&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:09:46 CEST [E100BPMC003:wafl.scan.start:info]: Starting quota initialization on volume e041_its_001.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:09:57 CEST [v998spnvv1041e@E100BPMC003:useradmin.added.deleted:info]: The role 'Migration' has been added.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:10:04 CEST [v998spnvv1041e@E100BPMC003:useradmin.added.deleted:info]: The group 'Migration' has been added.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:11:32 CEST [E100BPMC003:wafl.scan.start:info]: Starting quota initialization on volume emc003_cifs_audit.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:12:23 CEST [v998spnvv1041e@E100BPMC003:cifs.auditfile.enable.on:info]: ALF: CIFS auditing started.&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:12:24 CEST [v998spnvv1041e@E100BPMC003:cifs.auditfile.logSetting.notice:info]: ALF: change to option cifs.audit.autosave.file.extension: Autosave file naming policy is now based on time stamping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoking "vfiler run v998spnvv1041e useradmin user add miguser -p xxx -g migration" from cli&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:17:05 CEST [v998spnvv1041e@E100BPMC003:useradmin.added.deleted:info]: The user 'miguser' has been added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/etc/log/auditlog:&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:10:04 CEST [E100BPMC003: rshd_0:debug]: wfauser@[17.247.34.177_1200]:IN:ssh2 shell:SSH INPUT COMMAND is vfiler run v998spnvv1041e useradmin group add Migration -r Migration&lt;/P&gt;&lt;P&gt;Mon Apr 29 14:10:04 CEST [E100BPMC003: rshd_0:debug]: wfauser@[17.247.34.177_1200]:END:ssh2 shell:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error from New-NaUser:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import-Module DataONTAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$filer = "E100BPMC003.e100.intern"&lt;/P&gt;&lt;P&gt;$vfiler = "v998spnvv1041e"&lt;/P&gt;&lt;P&gt;$user = "miguser2"&lt;/P&gt;&lt;P&gt;$pw = "miguser"&lt;/P&gt;&lt;P&gt;$cmd = "vfiler run " + $vfiler + " useradmin user add " + $user + " -p " + $pw + " -g Migration"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-NaController $filer -vfiler $vfiler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New-NaUser -user $user -password $pw -groups Migration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New-NaUser : Could not add user &amp;lt;miguser2&amp;gt;. Error: User cannot access group(s) &lt;/P&gt;&lt;P&gt;Bei D:\WFA\Test_New-NaUser_Vfiler.ps1:15 Zeichen:11&lt;/P&gt;&lt;P&gt;+ New-NaUser &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; -user $user -password $pw -groups Migration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (E100BPMC003.e100.intern:NaController) [New-NaUser], EINTERNALERROR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Useradmin.NewNaUser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:03:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adding-User-in-Vfiler/m-p/30264#M6262</guid>
      <dc:creator>skellner</dc:creator>
      <dc:date>2025-06-05T06:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding User in Vfiler</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adding-User-in-Vfiler/m-p/30267#M6263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had a pretty lively conversation about this a while back.&amp;nbsp; Take a look at this link and if that doesn't help then let me know.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://community.netapp.com/thread/27159" title="https://communities.netapp.com/thread/27159" target="_blank"&gt;https://communities.netapp.com/thread/27159&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy Goodrum, NetApp&lt;/P&gt;&lt;P&gt;The Pirate&lt;/P&gt;&lt;P&gt;Twitter: @virtpirate&lt;/P&gt;&lt;P&gt;Blog: &lt;A href="http://www.virtpirate.com" target="_blank"&gt;www.virtpirate.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 14:54:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adding-User-in-Vfiler/m-p/30267#M6263</guid>
      <dc:creator>goodrum</dc:creator>
      <dc:date>2013-04-29T14:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding User in Vfiler</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adding-User-in-Vfiler/m-p/30275#M6264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;worked like a charm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 05:46:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Adding-User-in-Vfiler/m-p/30275#M6264</guid>
      <dc:creator>skellner</dc:creator>
      <dc:date>2013-04-30T05:46:48Z</dc:date>
    </item>
  </channel>
</rss>

