<?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 Ldapsearch / ActiveDriectory app issue in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Ldapsearch-ActiveDriectory-app-issue/m-p/66782#M4128</link>
    <description>&lt;P&gt;I am having an issue with the ldapsearch functionality under the Active directory app in Splunk.&lt;/P&gt;

&lt;P&gt;I have been trying to get it to enumerate groups correctly. In certain circumstances I can get it to display all groups under Security &amp;gt; Reports &amp;gt; Security Groups - all.&lt;/P&gt;

&lt;P&gt;This appears to return the correct values, however it appears to be struggling to enumerate group membership, if I run the report for Security &amp;gt; Reports &amp;gt; Security Groups - Empty it merely returns the same group listing regardless of whether the group is empty or not. (This only works if I use a single domain in the ldap.conf (with the 3 required stanzas as well as the default stanza)&lt;/P&gt;

&lt;P&gt;I have a domain forest and a child domain. So presumably the ldap.conf should look something like this. (where forest is x.y.z and child domain is w.x.y.z) &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[x.y.z]
server=servername1;servername2
port=389
ssl=false
basedn=DC=x,DC=y,DC=z
binddn=CN=account,OU=OrgUnit,DC=x,DC=y,DC=z
password=password

[X]
alias=x.y.z

[DC=x,DC=y,DC=z]
alias=x.y.z

[w.x.y.z]
server=servername1;servername2
port=389
ssl=false
basedn=DC=w,DC=x,DC=y,DC=z
binddn=CN=account,OU=OrgUnit,DC=w,DC=x,DC=y,DC=z
password=password

[W]
alias=w.x.y.z

[DC=W,DC=X,DC=Y.DC=Z]
alias=w.x.y.z

[default]
server=servername1
port=389
ssl=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, when running in this configuration I see the following errors in the sa-ldapsearch.log file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[com.splunk.program.LDAPSearch:main#-1] ERROR Exception com.unboundid.ldap.sdk.LDAPSearchException thrown: 0000202B: RefErr: DSID-0310063C, data 0, 1 access points
    ref 1: 'w.x.y.z'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Followed by a series of ERROR stack traces:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[com.splunk.program.LDAPSearch:main#-1] ERROR Stack Trace com.unboundid.ldap.sdk.LDAPConnection.search (3112)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I revert to having just &lt;A href="https://community.splunk.com/and%20associated%20aliases"&gt;w.x.y.z&lt;/A&gt; and [default] removing [x.y.z] then some functionality is restored but I get the following errors logged in the log file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[com.splunk.ldap.ActiveDirectory:getConnectionForEntry#-1] ERROR Could not find entry dc=x,dc=y,dc=z in ldap.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;AND&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[com.splunk.program.LDAPGroups:Execute#-1] WARNING Context for CN=Group,CN=Directory Element,DC=w,DC=x,DC=y,DC=z was not found - dumping and skipping
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help in untangling this would be most useful, running on Windows, Java 1.7, Splunk 5.0.2, AD App v1.1.4, ldapsearch v1.1.9.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2013 09:26:17 GMT</pubDate>
    <dc:creator>ofgem_bird</dc:creator>
    <dc:date>2013-06-18T09:26:17Z</dc:date>
    <item>
      <title>Ldapsearch / ActiveDriectory app issue</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Ldapsearch-ActiveDriectory-app-issue/m-p/66782#M4128</link>
      <description>&lt;P&gt;I am having an issue with the ldapsearch functionality under the Active directory app in Splunk.&lt;/P&gt;

&lt;P&gt;I have been trying to get it to enumerate groups correctly. In certain circumstances I can get it to display all groups under Security &amp;gt; Reports &amp;gt; Security Groups - all.&lt;/P&gt;

&lt;P&gt;This appears to return the correct values, however it appears to be struggling to enumerate group membership, if I run the report for Security &amp;gt; Reports &amp;gt; Security Groups - Empty it merely returns the same group listing regardless of whether the group is empty or not. (This only works if I use a single domain in the ldap.conf (with the 3 required stanzas as well as the default stanza)&lt;/P&gt;

&lt;P&gt;I have a domain forest and a child domain. So presumably the ldap.conf should look something like this. (where forest is x.y.z and child domain is w.x.y.z) &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[x.y.z]
server=servername1;servername2
port=389
ssl=false
basedn=DC=x,DC=y,DC=z
binddn=CN=account,OU=OrgUnit,DC=x,DC=y,DC=z
password=password

[X]
alias=x.y.z

[DC=x,DC=y,DC=z]
alias=x.y.z

[w.x.y.z]
server=servername1;servername2
port=389
ssl=false
basedn=DC=w,DC=x,DC=y,DC=z
binddn=CN=account,OU=OrgUnit,DC=w,DC=x,DC=y,DC=z
password=password

[W]
alias=w.x.y.z

[DC=W,DC=X,DC=Y.DC=Z]
alias=w.x.y.z

[default]
server=servername1
port=389
ssl=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, when running in this configuration I see the following errors in the sa-ldapsearch.log file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[com.splunk.program.LDAPSearch:main#-1] ERROR Exception com.unboundid.ldap.sdk.LDAPSearchException thrown: 0000202B: RefErr: DSID-0310063C, data 0, 1 access points
    ref 1: 'w.x.y.z'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Followed by a series of ERROR stack traces:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[com.splunk.program.LDAPSearch:main#-1] ERROR Stack Trace com.unboundid.ldap.sdk.LDAPConnection.search (3112)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I revert to having just &lt;A href="https://community.splunk.com/and%20associated%20aliases"&gt;w.x.y.z&lt;/A&gt; and [default] removing [x.y.z] then some functionality is restored but I get the following errors logged in the log file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[com.splunk.ldap.ActiveDirectory:getConnectionForEntry#-1] ERROR Could not find entry dc=x,dc=y,dc=z in ldap.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;AND&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[com.splunk.program.LDAPGroups:Execute#-1] WARNING Context for CN=Group,CN=Directory Element,DC=w,DC=x,DC=y,DC=z was not found - dumping and skipping
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help in untangling this would be most useful, running on Windows, Java 1.7, Splunk 5.0.2, AD App v1.1.4, ldapsearch v1.1.9.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2013 09:26:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Ldapsearch-ActiveDriectory-app-issue/m-p/66782#M4128</guid>
      <dc:creator>ofgem_bird</dc:creator>
      <dc:date>2013-06-18T09:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ldapsearch / ActiveDriectory app issue</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Ldapsearch-ActiveDriectory-app-issue/m-p/66783#M4129</link>
      <description>&lt;P&gt;im having the same issue as this as well. Seeing the same error messages in my internal index&lt;/P&gt;

&lt;P&gt;When i test the |ldapsearch command i get no results returned but i dont get an error to indicate ldapsearch is not working...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2013 01:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Ldapsearch-ActiveDriectory-app-issue/m-p/66783#M4129</guid>
      <dc:creator>mibrahim_splunk</dc:creator>
      <dc:date>2013-06-19T01:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ldapsearch / ActiveDriectory app issue</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Ldapsearch-ActiveDriectory-app-issue/m-p/66784#M4130</link>
      <description>&lt;P&gt;mibrahim, have you checked out the SA-ldapsearch.log file (located in %Splunk%\var\log\splunk)?&lt;/P&gt;

&lt;P&gt;Also check out these pages as they may help. they helped me iron a few bugs before I got stuck at the above...&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.splunk.com/2012/10/21/splunk-app-for-active-directory-and-the-top-10-issues/"&gt;http://blogs.splunk.com/2012/10/21/splunk-app-for-active-directory-and-the-top-10-issues/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/ActiveDirectory/1.2/DeployAD/TroubleshoottheSplunkAppforActiveDirectory"&gt;http://docs.splunk.com/Documentation/ActiveDirectory/1.2/DeployAD/TroubleshoottheSplunkAppforActiveDirectory&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 14:26:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Ldapsearch-ActiveDriectory-app-issue/m-p/66784#M4130</guid>
      <dc:creator>ofgem_bird</dc:creator>
      <dc:date>2013-06-25T14:26:32Z</dc:date>
    </item>
  </channel>
</rss>

