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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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