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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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