All Apps and Add-ons

Add-on for LDAP: How to troubleshoot error "command="ldap", : unable to get options from .conf"?

jmallorquin
Builder

Hi

We are using the Add-on for LDAP and we are getting the error:

command="ldap", : unable to get default options from .conf 

the ldap.conf

server = xxxx.xxxx.xx
port = 389
usessl = 0
binddn = uid=xxxxxxxxx,o=xxxxxxx,c=xxxx
basedn = o=xxxxxxxxxxxxxxxxxx,c=xxx
password = xxxxxxxxx
ldap_filter = (objectclass=*)

We want to be able to query to openldap to create a lookup for all the users.

This configuration is the same that we use to get authentication and all works.

Tags (1)
0 Karma
1 Solution

MuS
Legend

Hi jmallorquin,

I just uploaded the latest version of the TA, which does include a better debugging. Debugging can be enabled/disabled in the python script and the log can be found in $SPLUNK_HOME/var/log/splunk

cheers, MuS

View solution in original post

MuS
Legend

Hi jmallorquin,

I just uploaded the latest version of the TA, which does include a better debugging. Debugging can be enabled/disabled in the python script and the log can be found in $SPLUNK_HOME/var/log/splunk

cheers, MuS

jmallorquin
Builder

Good news!!!

Thanks. 🙂

0 Karma

jmallorquin
Builder

Hi mus

Yes i did it

0 Karma

MuS
Legend

Hi jmallorquin,

I will soon upload an updated version of the app with more detailed debugging features ....

0 Karma

MuS
Legend

Hi jmallorquin,

did you copy it to the /local/ directory and do you have a [default] stanza in your ldap.conf?

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...