Linux – Ldap+kerberos authentication through AD


Is it possible to configure ldap+kerberos authentication on a linux machine without joining it to windows domain?
I have to create a pool of VMs using RHEVM with a pretty short lifetime and I do not want to join/remove them every single time to/from domain. And I strongly do not want to install a secondary ldap only for a small amount of VMs. Any ideas?

Best Answer

Yes, if you use Red Hat or any other RHEL-based distro (Feodra, CentOS, Scientify, Oracle Linux to name a few):

$ authconfig-tui

This would walk you through the setup. Use:

  • User information: LDAP
  • Authentication: Kerberos (with Shadow and Local authorization being set as well)

This should get you up and running pretty quickly.