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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...