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
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>