Security

Authentication.conf files

Orange_girl
Loves-to-Learn Everything

Hello, I am new to splunk and noticed we have two different authentication.conf files in the local folder.  I compared them two and they are the same except for information regarding groupbasedn and the host. Also the bind password doesn’t get hashed after splunk restart in one of the files. Unfortunately I don’t have more information on this and trying to understand what’s the reason for the 2nd file. If the bind password is updated in the 1st file, we are still not able to access splunk which makes me thing the 2nd file is needed for some reason. Would anyone be able to suggest the reasons for the 2nd file? I wonder if I need it. I’m concern with using the 2nd file as well since the password doesn’t get hashed. Thank you for your help! 

Labels (1)
0 Karma

Orange_girl
Loves-to-Learn Everything

I’m sorry, I should’ve been more specific. The files don’t have the same name, one is called authentication.conf and the other one authentication.conf_2. I have updated the binddnpassword in the authentication.conf file, rebooted server, the password got hashed but I’m still not able to log into splunk. 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Only the file authentication.conf is used. The other one - with different extension - is not used. (which should be shown in the output of the commanf @isoutamo provided.

Splunk only uses files with the exact name needed, not with some additional prefixes or suffixes (but they can be in various directories from which they are "layered" onto each other according to the precedence rules.

https://docs.splunk.com/Documentation/Splunk/9.2.0/Admin/Wheretofindtheconfigurationfiles

Why your authentication doesn't work though - we don't know. Not enough information. Look in your logs, look in your authentication server (LDAP?) logs. That might shed some light on the reasons.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

There is no posibility that you have two identically named files in one directory. Maybe one has a typo in its name, maybe the case of the letters in the name is wrong. We don't know but check again. (Hint - wrong named file won't be used and values in it won't get encrypted on first read).

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

there couldn’t be two files with same name on local directory! 
You should use 

splunk btool authentication list --debug

to see how splunk sees those and from which file.

r. Ismo

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...