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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

Hi jmallorquin,

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

0 Karma

MuS
SplunkTrust
SplunkTrust

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!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...