Refine your search:

Thanks For Downloading!

Review the documentation below and follow any custom installation steps. If no install steps are listed, most Splunk Apps and Add-ons can be installed as follows:

Windows: Decompress the downloaded file using a tool like 7-Zip and place the resulting folder into %PROGRAMFILES%\Splunk\etc\apps. Then restart Splunk using the splunk restart command or the GUI.

Unix/Linux: Decompress the downloaded file using a tool like tar -xvf and place the resulting folder into $SPLUNK_HOME/etc/apps. Then restart Splunk using the splunk restart command or the GUI.

Description

This app (also known as SA-ldapsearch) provides support functions that enable you to extract information from an Active Directory database. For instance, you can search Active Directory for records, presenting the records as events, or augment existing events with information from Active Directory based on information within the events.

This app is a requirement for the Splunk App for Active Directory, but can be used standalone. Be sure to read the configuration notes included with the app.

Versions and Release Notes

Version 1.1.9 (current version - updated Jan 31, 2013)
release notes:

Added support for Solaris, HP-UX, FreeBSD, Mac and other *nix varieties.

show older versions »
Version 1.1.6 (updated Nov 20, 2012)
release notes:

Support for 32-bit versions of java on Windows (that don't write the install location to the registry), plus support for posix:permissions on Windows.

Version 1.1.5 (updated Nov 14, 2012)
release notes:

Added logic to alter the Java classpath when the OS is Windows.

Version 1.1.4 (updated Nov 09, 2012)
release notes:

* Updated configuration file such that only a single stanza per domain is required. (The configuration file is backwards compatible)
* ldapsearch now uses temporary files to handle large data sets
* The ldap.conf file now augments the global catalog in determining the directory partition when a lookup without a domain is required. This allows the commands to work when a forest master is not available.

Version 1.1.2 (updated Aug 17, 2012)
release notes:

Corrected the error message that is displayed when JAVA is not installed properly. The old message did not actually tell you Java was not there.

If you have a working install of SA-ldapsearch, then you do not need to upgrade to v1.1.2

Version 1.1.1 (updated Aug 13, 2012)

posted 13 Aug '12, 09:06

splunk's gravatar image

splunk
7.9k111
accept rate: 100%

new version 31 Jan, 03:35

ahall_splunk's gravatar image

ahall_splunk
3.0k26


5 Reviews:
5 reviews, 1 rating, average 5.0

Where is the online documentation for this app???

comments (1)

reviewed 27 Feb, 05:12

shabbir_talib's gravatar image

shabbir_talib
111
accept rate: 0%

Documentation is with the app.

(27 Feb, 07:14) ahall_splunk

Great App, 3 issues I found.

1.When I use the ldapfilter command with a search that uses sparklines, the sparklines show up as the raw data instead of the visualization like below.

##__SPARKLINE__##,0,0,0,0,44.698039,26.687234,38.470284,.....

2.Using the ldapfilter flattens any of my multivalued fields in the original search results.

3.When using the ldapfilter command the dn Attribute is always listed in the results even if I only ask for certain ones such as attrs="telephoneNumber,displayName"

Thoughts?

comments (1)

reviewed 26 Nov '12, 11:51

cramasta's gravatar image

cramasta
615213
accept rate: 27%

edited 26 Nov '12, 12:02

Reviews are not the place for issues - I don't see them for quite some time (if ever)

(17 Dec '12, 07:08) ahall_splunk

This update instantly fixed any ldapsearch issues i had with the AD app (my Splunk is installed on Win2k8R2)

Many thanks ahall your contribution is legendary

comments (0)

reviewed 21 Nov '12, 22:01

clymbouris's gravatar image

clymbouris
1714
accept rate: 14%

Reviews related to version 1.1.6 (current is 1.1.9)

I get the message: External search command 'ldapsearch' returned error code 1. ERROR: java.lang.UnsupportedOperationException: 'posix:permissions' not supported as initial attribute

here the log entries from SA-ldapsearch.log

2012-11-19 17:05:55.313 +0100 pid=1228 [com.splunk.program.LDAPSearch:main#-1] ERROR Exception java.lang.UnsupportedOperationException thrown: 'posix:permissions' not supported as initial attribute

2012-11-19 17:05:55.313 +0100 pid=1228 [com.splunk.program.LDAPSearch:main#-1] ERROR Stack Trace sun.nio.fs.WindowsSecurityDescriptor.fromAttribute (-1)

2012-11-19 17:05:55.313 +0100 pid=1228 [com.splunk.program.LDAPSearch:main#-1] ERROR Stack Trace sun.nio.fs.WindowsFileSystemProvider.createDirectory (-1)

2012-11-19 17:05:55.313 +0100 pid=1228 [com.splunk.program.LDAPSearch:main#-1] ERROR Stack Trace java.nio.file.Files.createDirectory (-1)

2012-11-19 17:05:55.313 +0100 pid=1228 [com.splunk.program.LDAPSearch:main#-1] ERROR Stack Trace com.splunk.config.SplunkEnvironment.getTmpFile (-1)

2012-11-19 17:05:55.313 +0100 pid=1228 [com.splunk.program.LDAPSearch:main#-1] ERROR Stack Trace com.splunk.program.LDAPSearch.Execute (-1)

2012-11-19 17:05:55.313 +0100 pid=1228 [com.splunk.program.LDAPSearch:main#-1] ERROR Stack Trace com.splunk.program.LDAPSearch.main (-1)

Any ideas?

comments (1)

reviewed 19 Nov '12, 08:10

stepmmx's gravatar image

stepmmx
735
accept rate: 0%

edited 19 Nov '12, 08:17

I found the solution: you have to create manually the directory: ...varrunSA-ldapsearch The problem is the java method: getTmpFile() in SplunkEnvironment Class. Somehow the the call to Files.createDirectory(localPath, new FileAttribute[] { PosixFilePermissions.asFileAttribute(PosixFilePermissions.fromString("rwxr-xr-x")) }); doesn't have the permissions to create the new directory on the windows platform.

(19 Nov '12, 08:35) stepmmx
Reviews related to version 1.1.4 (current is 1.1.9)

There needs to be a link to this app from the Splunk for AD app. I found it very hard to find this SA.

comments (0)

reviewed 12 Sep '12, 10:23

sjohnson_splunk's gravatar image

sjohnson_splunk
311
accept rate: 0%

Your review

Did you find this app useful?

Preview toggle preview

Copyright © 2005-2012 Splunk Inc. All rights reserved.