Misconfigured hosts file causing errors during login
On Redhat machines a hosts file in this format 127.0.0.1 localhost.localdomain localhost hostname
This has been seen on RedHat machine configured for DHCP.
This can cause issues trying to authenticate after a join.
VAS_status.sh may show ouptut as shown below.
WARNING: 504 AD is not able to find the specified SPN <host/localhost.localdomain>.
Result: <Test(s) reported warnings> (03 seconds)
The solution is to re-order the hosts file so that the actual hostname comes before localhost.localdomain.
127.0.0.1 hostname localhost.localdomain localhost
Removing the hostname from the loopback entry entirely will also resolve the issue.
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center