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

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...