Security

How to configure authentication in distributed environment

upgrayyyed
New Member

I have a handful of Splunk servers. I'm trying to understand, does authentication work like deployed apps? Meaning, if I add a new role/ldap group mapping on the search head cluster master or on the deployment server, should I expect that configuration to replicate to the search heads, indexers, etc?
Or do I need to create that role and mapping on each search head individually?

0 Karma

woodcock
Esteemed Legend

If you are not using a Search Head Cluster, but instead are using individual Search Heads, you can do it like this:

https://answers.splunk.com/answers/514258/search-heads-authentication-credentials-rejected-b.html#an...

0 Karma

koshyk
Super Champion

On Search Head Clusters, you should NOT use "deployment-server" nor by cluster master, but the distributing component to manage Search Head is called as "deployer". So create an app with its authentication.conf and authorize.conf with the details and push it via deployer. It will go into the Search Head members and get's replicated automatically.

Attached is document and working code example in github

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...