I’ve been working with setting up a fresh install of my homelab and have been trying to get FreeIPA to work on Ubuntu Bionic. If you happen to see the “Login failed due to an unknown reason.” error while trying to login through the web UI, try adding execute permissions for all users to the “/var/lib/krb5kdc/” directory.
root@ipa:~# chmod a+x /var/lib/krb5kdc
Try to login after that and, if the problem was the same as my own, you’ll find it working now.
Thank you, it helped!
This is exactly what I needed. Thanks!
Thanks!!
Thanks. Pointed me in the right direction.
On Fedora (31 at least) – it’s /var/kerberos/krb5kdc there
After giving the permissions also i am facing the same issue with Login failed due to an unknown reason.
My location is at /usr/sbin/krb5kdc
Hmm… I still run into problems… This is in Fedora 33 for a homelab and not suitable for production environment.
[root@ipa1 ~]# chmod a+x /var/lib/krb5kdc
chmod: cannot access ‘/var/lib/krb5kdc’: No such file or directory
[root@ipa1 ~]# mkdir /var/lib/krb5kdc
[root@ipa1 ~]# ls /var/lib/krb5kdc
(I used a unique email address specifically for this blog for security and privacy reasons.)