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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...