All Apps and Add-ons

Splunk Supporting Add-on for Active Directory: Why am I getting test connection error "socket creation error...Name or service not known"?

suarezry
Builder

Running Splunk Supporting Add-on for Active Directory 2.1.3 on Splunk Enterprise 6.3.0

When I click on "Test connection", it fails because the URL is invalid. It's adding all the domain controllers in the URL:

Error
10.0.0.200;10.0.1.200;10.0.0.201;10.0.1.201: Could not access the directory service at ldap://10.0.0.200;10.0.1.200;10.0.0.201;10.0.1.201:389: socket creation error: [Errno -2] Name or service not known

I don't think this is a valid URL. How do I fix this?

Here is my ldap.conf

[default]
server = 10.0.0.200

[my.domain.com]
alternatedomain = mydomain
basedn = dc=my,dc=domain,dc=com
binddn = splunk@my.domain.com
ssl = 0
0 Karma

mwoods2
New Member

Separate multiple servers with commas.

https://docs.splunk.com/Documentation/SA-LdapSearch/2.1.3/User/Theldap.confconfigurationfile

Attribute : server=,;...
Description: Specifies the server or servers you want to connect to. Separate multiple servers with commas.

Default: n/a

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

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