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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...