<?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: Splunk Support for Active Directory: Why does ldapsearch command result in &amp;quot;ERROR Missing required value for alternatedomain in ldap/default.&amp;quot;? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147227#M13073</link>
    <description>&lt;P&gt;To work around this issue until the app is updated, it works if you update @Configuration( ) to @Configuration(local=True) in ldapsearch.py, ldapfetch.py, ldapfilter.py, ldapgroup.py, and ldaptestconnection.py.&lt;/P&gt;

&lt;P&gt;If there were pre-existing settings in the parenthesis in @Connection( ), you can keep the pre-existing settings and add local=True - such as @Connection(local=True, retainsevents=True)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;EDIT&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The app now has a workaround for this in the form of a conf file:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/SA-LdapSearch/2.1.4/User/Workaroundfordefaultconfigstanzaerrorsindistributedenvironments"&gt;https://docs.splunk.com/Documentation/SA-LdapSearch/2.1.4/User/Workaroundfordefaultconfigstanzaerrorsindistributedenvironments&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2015 21:00:06 GMT</pubDate>
    <dc:creator>tlelle_splunk</dc:creator>
    <dc:date>2015-11-17T21:00:06Z</dc:date>
    <item>
      <title>Splunk Support for Active Directory: Why does ldapsearch command result in "ERROR Missing required value for alternatedomain in ldap/default."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147223#M13069</link>
      <description>&lt;P&gt;Hello Splunkers, &lt;/P&gt;

&lt;P&gt;I am at the very end of installing the Splunk App for Windows Infrastructure and everything is working great except the LDAP Search feature of the Splunk Supporting Add-on for Active Directory (SSAOAD...or SAD for short) &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; . Everything else seems to be functioning properly, but the LDAP functions support a large number of dashboards so we can't 'go live' yet. &lt;BR /&gt;
An example of one not working would be the all users macro query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ldapsearch domain="$domain$" search="(&amp;amp;(objectclass=user)(!(objectClass=computer)))"|sort sAMAccountName|table sAMAccountName,cn,userPrincipalName,userAccountControl
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or any other macro that has ldapsearch in it works until the point in the pipeline where ldapsearch is introduced. When I go to the "SAD" configuration page and do a test on my domain, the test connection passes. I have rebuilt the LDAP lookup and backed it out to the top level and it passes again. I have run the &lt;CODE&gt;|ldaptestconnection domain=mydomainname&lt;/CODE&gt; and it populates with the expected single event signifying success.&lt;BR /&gt;
When I run the &lt;CODE&gt;|ldapsearch&lt;/CODE&gt; command directly from SAD on the search head, I get the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Script output = " ERROR Missing required value for alternatedomain in ldap/default. "
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm guessing it means ldap.conf. Oddly there is a local directory, which I don't believe should require a default directory but it's looking there anyways. Everything is #'d out. Against my better judgement, I added the contents to from the LOCAL ldap.conf at the top of and restarted Splunk services on the search head and things are still not populating.&lt;/P&gt;

&lt;P&gt;What am I missing?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 23:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147223#M13069</guid>
      <dc:creator>lbogle</dc:creator>
      <dc:date>2015-04-17T23:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Support for Active Directory: Why does ldapsearch command result in "ERROR Missing required value for alternatedomain in ldap/default."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147224#M13070</link>
      <description>&lt;P&gt;Please share your inputs in ldap.conf files...&lt;/P&gt;

&lt;P&gt;I believe you are missing to add alternate domain values. Once you provide sample of your ldap.conf i would be able to help further..&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2015 07:19:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147224#M13070</guid>
      <dc:creator>krish3</dc:creator>
      <dc:date>2015-04-19T07:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Support for Active Directory: Why does ldapsearch command result in "ERROR Missing required value for alternatedomain in ldap/default."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147225#M13071</link>
      <description>&lt;P&gt;As krish3 said... but if your ldap.conf is right, let me tell you a little story. At some point, someone decided it would be cool to name the SA-ldapsearch directory configuration file ldap.conf... which has potential to conflict with the core's ldap.conf. I know of two instances where that has caused problems like this, and I don't believe anyone's been able to actually review configurations closely enough to isolate why. Perhaps your support ticket and diag will be the one that tips the balance! Tell 'em TAG-9200 sent you.&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2015 23:27:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147225#M13071</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2015-05-09T23:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Support for Active Directory: Why does ldapsearch command result in "ERROR Missing required value for alternatedomain in ldap/default."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147226#M13072</link>
      <description>&lt;P&gt;We had same issue when we updated for 1.x to 2.1.0 of SA-LDAP.&lt;/P&gt;

&lt;P&gt;It isn't clear in the documentation but the name - default is just a label and you will probably have several labels.&lt;BR /&gt;&lt;BR /&gt;
While the UI shows Domain name = default, this is just a label, your domain actually goes in the Alternative domain name.&lt;BR /&gt;
so: default = blah.blah.blah.us like default = ci.washington.dc.us&lt;BR /&gt;
This default label is what is used in searches if you do not put in any domain.&lt;/P&gt;

&lt;P&gt;Additionally, we have an internal domain name that we put a label of NETBiosName = WashingtonDC&lt;BR /&gt;
We also learned that it appears to be case sensitive in searching and added the label CAPsNETBiosName = WASHINGTONDC&lt;/P&gt;

&lt;P&gt;now when you search for WashingtonDC OR WASHINGTONDC OR ci.washington.dc.us you should get results.&lt;/P&gt;

&lt;P&gt;I was looking at this question because we also noticed that the time being returned is not parsing well, so beware of that.&lt;BR /&gt;
Now you will get times that look like 2015-04-08T16:07:57.041170Z  when they had been returning 2015/04/08 01:36:00 PDT.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 17:37:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147226#M13072</guid>
      <dc:creator>wyodoc1</dc:creator>
      <dc:date>2015-05-11T17:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Support for Active Directory: Why does ldapsearch command result in "ERROR Missing required value for alternatedomain in ldap/default."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147227#M13073</link>
      <description>&lt;P&gt;To work around this issue until the app is updated, it works if you update @Configuration( ) to @Configuration(local=True) in ldapsearch.py, ldapfetch.py, ldapfilter.py, ldapgroup.py, and ldaptestconnection.py.&lt;/P&gt;

&lt;P&gt;If there were pre-existing settings in the parenthesis in @Connection( ), you can keep the pre-existing settings and add local=True - such as @Connection(local=True, retainsevents=True)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;EDIT&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The app now has a workaround for this in the form of a conf file:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/SA-LdapSearch/2.1.4/User/Workaroundfordefaultconfigstanzaerrorsindistributedenvironments"&gt;https://docs.splunk.com/Documentation/SA-LdapSearch/2.1.4/User/Workaroundfordefaultconfigstanzaerrorsindistributedenvironments&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 21:00:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147227#M13073</guid>
      <dc:creator>tlelle_splunk</dc:creator>
      <dc:date>2015-11-17T21:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Support for Active Directory: Why does ldapsearch command result in "ERROR Missing required value for alternatedomain in ldap/default."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147228#M13074</link>
      <description>&lt;P&gt;That did the trick for me.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 09:57:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147228#M13074</guid>
      <dc:creator>lcrielaa</dc:creator>
      <dc:date>2015-11-25T09:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Support for Active Directory: Why does ldapsearch command result in "ERROR Missing required value for alternatedomain in ldap/default."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147229#M13075</link>
      <description>&lt;P&gt;This fixed the issue for me as well, thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 22:46:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147229#M13075</guid>
      <dc:creator>pdoconnell</dc:creator>
      <dc:date>2015-12-01T22:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Support for Active Directory: Why does ldapsearch command result in "ERROR Missing required value for alternatedomain in ldap/default."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147230#M13076</link>
      <description>&lt;P&gt;Hi @wyodoc1 &lt;/P&gt;

&lt;P&gt;Can you please post your config? I do not unterstand how to add multiple alternatedomains?&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;BR /&gt;
Ben&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 14:54:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Support-for-Active-Directory-Why-does-ldapsearch-command/m-p/147230#M13076</guid>
      <dc:creator>benlc</dc:creator>
      <dc:date>2017-01-30T14:54:30Z</dc:date>
    </item>
  </channel>
</rss>

