Security

HttpListener - Socket error from 127.0.0.1 while accessing /servicesNS/-/-/admin/LDAP-groups: Broken pipe error

srinathd
Contributor

I am getting "HttpListener - Socket error from 127.0.0.1 while accessing /servicesNS/-/-/admin/LDAP-groups: Broken pipe" error while trying to get the ldap groups using the rest api as below

| rest /servicesNS/-/-/admin/LDAP-groups splunk_server=* | search roles=* | table strategy title roles

Splunk settings are like this
ulimit -n : 65535
ulimit -Hn and ulimit -Sn: 65535
ulimit -u: 1032358

[httpServer]
maxThreads = 100000
maxSockets = 50000

How to fix this error?

0 Karma

andrewcg
Path Finder

I would get this when trying to map LDAP groups. Try adjusting your limits in the authentication.conf:

[test_directory]
network_timeout = 20
sizelimit = 50
timelimit = 15

For me, I had to reduce sizelimit, I had it at 1000 before.

0 Karma

sarvesh_11
Communicator

@srinathd
What version of Splunk are you using?

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...