<?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: HowTo specify OU in Set-NaCifs in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20747#M982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not very experienced with Active Directory, but do you need to specify the container?&amp;nbsp; You might add "CN=Computers" into your OU string.&amp;nbsp;&amp;nbsp; I'm not sure if ONTAP will automatically infer the container if it isn't present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2012 17:26:06 GMT</pubDate>
    <dc:creator>timothyn</dc:creator>
    <dc:date>2012-07-11T17:26:06Z</dc:date>
    <item>
      <title>HowTo specify OU in Set-NaCifs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20731#M979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to do a cifs setup in a WFA workflow with this cmdlet. If I have to specify the OU during the cifs setup the cmdlet fails with could not create active directory account. Error 32: No such object. On the cli in Data Ontap the OU is specified "OU=Fileserver, OU=Server, OU=VRZ". However, this syntax doesn't work with the power shell cmdlet. Any hints are highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:23:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20731#M979</guid>
      <dc:creator>skellner</dc:creator>
      <dc:date>2025-06-05T06:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: HowTo specify OU in Set-NaCifs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20737#M980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using the "-OrganizationalUnit" parameter? Please list the syntax you are using and full output.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 20:48:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20737#M980</guid>
      <dc:creator>timothyn</dc:creator>
      <dc:date>2012-07-10T20:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: HowTo specify OU in Set-NaCifs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20742#M981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it's the -OrganizationalUnit parameter. The command looks like this&lt;/P&gt;&lt;P&gt;########################&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Set the Cifs Server Organizational Unit. Only Valid for Active Directory environments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($OrganizationalUnit)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ouSet = " under the Organizational Unit: " + $OrganizationalUnit&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Set the Cifs Server Active Directory Site. Only Valid for Active Directory environments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($AD_Site)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $siteSet = " in the Site: " + $AD_Site&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Execute the Cifs Setup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($CifsAuthType -eq "true")&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get-WFALogger -Info -message $("Connecting to the Active Directory Domain: " + $DomainName + $siteSet + " " + $ouSet + " as ServerName: " + $CifsServer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-NaCifs -CifsServer $CifsServer -AuthType ad -SecurityStyle $SecurityType -Domain $DomainName -User $DomainUser -Password $DomainPass -OrganizationalUnit $OrganizationalUnit -Site $AD_Site&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The string that is passed as $OrganizationalUnit is specified as "OU=Fileserver, OU=Server, OU=VRZ"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only have the output from wfa. I assume that it's the error from the Set-NaCifs call but I'm not sure. It says Unknown error. Check your input and try again. &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>Wed, 11 Jul 2012 06:42:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20742#M981</guid>
      <dc:creator>skellner</dc:creator>
      <dc:date>2012-07-11T06:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: HowTo specify OU in Set-NaCifs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20747#M982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not very experienced with Active Directory, but do you need to specify the container?&amp;nbsp; You might add "CN=Computers" into your OU string.&amp;nbsp;&amp;nbsp; I'm not sure if ONTAP will automatically infer the container if it isn't present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 17:26:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20747#M982</guid>
      <dc:creator>timothyn</dc:creator>
      <dc:date>2012-07-11T17:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: HowTo specify OU in Set-NaCifs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20750#M983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where do I have to add cn=computers. I assume at the end so the string would look like "OU=Filerserver, OU=Server, OU=VRZ, CN=Computers", right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 08:43:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20750#M983</guid>
      <dc:creator>skellner</dc:creator>
      <dc:date>2012-07-12T08:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: HowTo specify OU in Set-NaCifs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20754#M984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I believe that's right.&amp;nbsp; Please give it a shot and report back.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 14:09:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20754#M984</guid>
      <dc:creator>timothyn</dc:creator>
      <dc:date>2012-07-12T14:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: HowTo specify OU in Set-NaCifs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20759#M985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any resolution to this?&amp;nbsp; I am having the same issue.&amp;nbsp; "Unknown Error.&amp;nbsp; Check your input and try again".&amp;nbsp; The OU specified work fine at the "cifs setup" cli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 17:05:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20759#M985</guid>
      <dc:creator>kleemola</dc:creator>
      <dc:date>2013-05-07T17:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: HowTo specify OU in Set-NaCifs</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20764#M986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately not. However, I have an assumpion what the problem is. I think it doesn't have to do with the OU itself. When you do a cifs setup on the cli and you logged in to the domain you are getting an error message. You can't get the list of joinable ou from the domain. I think this is where the error message "unknown error" comes from. Maybe this error isn't handled by the api call so that the command fails with this error. But I'm not sure on this. I tried to find out why my user account is not authenticated to get the list of joinable ous but didn't find something. Could be a GPO, an access right or whatever. In the customer environment I'm getting the error in the production domain. In a test domain the list of joinable ous is displayed on the cli and therefore the cifs setup cmdlet also works.&lt;/P&gt;&lt;P&gt;Maybe someone of the development teams of the api and the powershell toolkit can have a look at this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 05:47:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/HowTo-specify-OU-in-Set-NaCifs/m-p/20764#M986</guid>
      <dc:creator>skellner</dc:creator>
      <dc:date>2013-05-08T05:47:51Z</dc:date>
    </item>
  </channel>
</rss>

