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"
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?
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.
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.