All Apps and Add-ons

Getting error when using ldapsearch command, even with an admin account.

3DGjos
Communicator

Hello,

I'm working with some ldapsearch queries in my environment, but I have the following problem. Even if I execute the command from an admin account it says this:

External search command 'ldaptestconnection' returned error code 1. Script output = "error_message= # host: xxx.xx.xx.1: Could not access the directory service at ldaps://xxx.xx.xx.x:636: password is mandatory in simple bind "

Then I tried installing the ldapsearch add-on in my QA environment, and the connection test passed the first time, but the second one didn't. And when I execute any ldapsearch command queries the error is the same:

External search command 'ldaptestconnection' returned error code 1. Script output = "error_message= # host: xxx.xx.xx.1: Could not access the directory service at ldaps://xxx.xx.xx.x:636: password is mandatory in simple bind "

Even using an admin system role can delete role account with all the required capabilities.

Thanks in advance!

0 Karma
1 Solution

3DGjos
Communicator

I managed to solved it. My solution: just re-enter the password for the AD account user you are using to read the groups in the domain in the interface. and it magically worked.

View solution in original post

0 Karma

3DGjos
Communicator

I managed to solved it. My solution: just re-enter the password for the AD account user you are using to read the groups in the domain in the interface. and it magically worked.

0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...