All Apps and Add-ons

Error when running reports in splunk for active directory

showard7500
Engager

When I run any of the reports in the splunk for active directory app I get the two following errors:

  1. external search command 'ldapsearc' returned error code 1.
  2. error: java.lang.arrayindexoutofboundsexception: 17

I have installed the 1.7.7 build 11 on the splunk server. The splunk server is 2008 R2. I have checked my ldap.conf file a few times and that all seems correct. Could someone guide me where to go from here.

Thanks

ahall_splunk
Splunk Employee
Splunk Employee

I suspect the java version. Can you run "java -version" and ensure it is Java SE 1.7.

ahall_splunk
Splunk Employee
Splunk Employee

Next step -

  1. Extract the ldapsearch command and run it within the search app - make sure it produces the same error (it should)
  2. Remove $SPLUNK_HOME/var/log/splunk/SA-ldapsearch.log
  3. Re-run the command, but add "debug=T" to the end to enable debug logging
  4. Check the same log file and see if there is something obvious.

If you have a support contract, please open a support case if this does not identify the issue.

0 Karma

showard7500
Engager

Here is the results

java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

I would say it looks like the correct version

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...