Security

How do I reload authentication from CLI?

the_wolverine
Champion

My LDAP groups membership lists change often. I need a way to programmatically tell Splunk to reload authentication. Can this be done?

1 Solution

the_wolverine
Champion

Please refer to this blog post on the command you can run from CLI. You can write a cronjob to run the command on a regular basis to keep your group membership list updated automatically.

Note that this only applies to versions 3.x and 4.0.x. In version 4.1, the manner in which we cache LDAP user/group information becomes more dynamic and so reloading authentication is not necessary.

View solution in original post

the_wolverine
Champion
$ splunk _internal call /authentication/providers/services/_reload -auth admin:changeme

the_wolverine
Champion

Please refer to this blog post on the command you can run from CLI. You can write a cronjob to run the command on a regular basis to keep your group membership list updated automatically.

Note that this only applies to versions 3.x and 4.0.x. In version 4.1, the manner in which we cache LDAP user/group information becomes more dynamic and so reloading authentication is not necessary.

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 ...