<?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 &amp;quot;cifs setup&amp;quot; fails with &amp;quot;Setup cannot connect to an LDAP server for the FQDN&amp;quot; in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-cifs-setup-quot-fails-with-quot-Setup-cannot-connect-to-an-LDAP-server-for/m-p/122344#M26244</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to add 8.2.3 7-Mode filer to Windows AD via "cifs setup"&lt;BR /&gt;wizard, but it's failing with:&lt;/P&gt;&lt;P&gt;CIFS - Logged in as username@MYDOMAIN.COM&lt;BR /&gt;*** Setup cannot connect to an LDAP server for the MYDOMAIN.COM&lt;BR /&gt;*** active directory domain, and so cannot continue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the error message is misleading as the filer can talk to LDAP&lt;BR /&gt;servers (I have multiple domain controllers) and I have a tcpdump that&lt;BR /&gt;confirms it. From what I could get from the tcpdump, the filer does the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0. Sends DNS request "SRV _ldap._tcp.MYDOMAIN.COM"&lt;/P&gt;&lt;P&gt;// + some more DNS requests for "SRV _kerberos" etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 Sends LDAP search query that looks like this:&lt;/P&gt;&lt;P&gt;Filter: (&amp;amp;(&amp;amp;(DnsDomain=MYDOMAIN.COM)(Host=FILER-NAME))(NtVer=0x00000006))&lt;/P&gt;&lt;P&gt;Does it try to find itself ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Gets am empty (but successful) response, where "matchedDN" is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Sends "abondonRequest" to LDAP server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Sends "unbindRequest to LDAP server.&lt;/P&gt;&lt;P&gt;The filer repeats it for all LDAP server it fetched at step 0. and quits with the error message above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the following KBs:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=2026294&amp;amp;actp=LIST" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=2026294&amp;amp;actp=LIST&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=2018207&amp;amp;actp=LIST" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=2018207&amp;amp;actp=LIST&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All my LDAP servers have names that are less than 15 symbols, that's&lt;BR /&gt;verified. And NetBIOS is not active I was told.&lt;/P&gt;&lt;P&gt;Any ideas maybe?&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Vladimir&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 19:30:08 GMT</pubDate>
    <dc:creator>vladimirzhigulin</dc:creator>
    <dc:date>2025-06-04T19:30:08Z</dc:date>
    <item>
      <title>"cifs setup" fails with "Setup cannot connect to an LDAP server for the FQDN"</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-cifs-setup-quot-fails-with-quot-Setup-cannot-connect-to-an-LDAP-server-for/m-p/122344#M26244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to add 8.2.3 7-Mode filer to Windows AD via "cifs setup"&lt;BR /&gt;wizard, but it's failing with:&lt;/P&gt;&lt;P&gt;CIFS - Logged in as username@MYDOMAIN.COM&lt;BR /&gt;*** Setup cannot connect to an LDAP server for the MYDOMAIN.COM&lt;BR /&gt;*** active directory domain, and so cannot continue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the error message is misleading as the filer can talk to LDAP&lt;BR /&gt;servers (I have multiple domain controllers) and I have a tcpdump that&lt;BR /&gt;confirms it. From what I could get from the tcpdump, the filer does the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0. Sends DNS request "SRV _ldap._tcp.MYDOMAIN.COM"&lt;/P&gt;&lt;P&gt;// + some more DNS requests for "SRV _kerberos" etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 Sends LDAP search query that looks like this:&lt;/P&gt;&lt;P&gt;Filter: (&amp;amp;(&amp;amp;(DnsDomain=MYDOMAIN.COM)(Host=FILER-NAME))(NtVer=0x00000006))&lt;/P&gt;&lt;P&gt;Does it try to find itself ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Gets am empty (but successful) response, where "matchedDN" is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Sends "abondonRequest" to LDAP server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Sends "unbindRequest to LDAP server.&lt;/P&gt;&lt;P&gt;The filer repeats it for all LDAP server it fetched at step 0. and quits with the error message above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the following KBs:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=2026294&amp;amp;actp=LIST" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=2026294&amp;amp;actp=LIST&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=2018207&amp;amp;actp=LIST" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=2018207&amp;amp;actp=LIST&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All my LDAP servers have names that are less than 15 symbols, that's&lt;BR /&gt;verified. And NetBIOS is not active I was told.&lt;/P&gt;&lt;P&gt;Any ideas maybe?&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:30:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-cifs-setup-quot-fails-with-quot-Setup-cannot-connect-to-an-LDAP-server-for/m-p/122344#M26244</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2025-06-04T19:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: "cifs setup" fails with "Setup cannot connect to an LDAP server for the FQDN&amp;quot</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-cifs-setup-quot-fails-with-quot-Setup-cannot-connect-to-an-LDAP-server-for/m-p/122418#M26269</link>
      <description>&lt;P&gt;Here is how I resolved it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Register a new object (your&amp;nbsp;filer to be added) in your domain controller manually. Or ask respective Windows sysadmin team to do so. In my case it is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CN=FILER-NAME,CN=Computers,DC=my,DC=domain,DC=com;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Important bit: make sure LDAP "dNSHostName" attribute is populated. Otherwise the filer refuses to find itself while running "cifs setup".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Run "cifs setup" and say "yes" to overwrite the existing object when prompted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Vladimir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 12:44:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-cifs-setup-quot-fails-with-quot-Setup-cannot-connect-to-an-LDAP-server-for/m-p/122418#M26269</guid>
      <dc:creator>vladimirzhigulin</dc:creator>
      <dc:date>2016-08-18T12:44:07Z</dc:date>
    </item>
  </channel>
</rss>

