All Apps and Add-ons

Splunk Support for Active Directory: Why do I get an exception from the Python script for every ldapfilter command I try?

Othi
Engager

For every ldapfilter (fresh 2.0.0 install on 6.1.4) command I try, the result is an exception from the Python script, for example:

query | stats count by User | ldapfilter domain=default search="(sAMAccountName=$User$)" attrs="cn"

gives

External search command 'ldapfilter' returned error code 1. Script output = " ERROR "AttributeError at ""/opt/splunk/etc/apps/SA-ldapsearch/bin/ldapfilter.py"", line 98 : 'LdapFilterCommand' object has no attribute 'search_scope'" "

Is this a known problem? Can anyone even use ldapfilter right now?

1 Solution

ahall_splunk
Splunk Employee
Splunk Employee

We are going to be releasing a v2.0.1 shortly. Until then, downgrade to v1.1.13 for a while.

View solution in original post

0 Karma

ahall_splunk
Splunk Employee
Splunk Employee

We are going to be releasing a v2.0.1 shortly. Until then, downgrade to v1.1.13 for a while.

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

Hi from the future... December 14, 2014 is when we released it. https://splunkbase.splunk.com/app/1151/

0 Karma

musskopf
Builder

Getting lots of errors from version 2.0.0 here as well. Couldn't find a fix! I still using the older 1.1.13 which seems to work fine apart from limited features.

MuS
Legend

Hi Othi,

this is not the Add-on for LDAP app you're using. Your using the SA-ldapsearch which is the Splunk LDAP Support App for Active Directory https://apps.splunk.com/app/1151/ .. I will re-tag this question.

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...