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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...