RHEL 7 AD Authentication

RHEL 7 authentication to AD is quite straight forward

If you are using minimal server setup, install the following package:

# yum install realmd sssd samba-common-tools

The following command is assuming you have AD with domain fosstech.biz setup.

# authconfig --enablesssd --update
# realm join fosstech.biz

Key in the administrator password and your system should be joined to the domain server.

Edit /etc/sssd/sssd.conf if you need to fine tune the configuration. I personally like to have the home directory with the following format: /home/username@domain.com, so I would update the following config

fallback_homedir = /home/%f

Restart sssd and have fun trying

Note: The above are tested on RHEL 7.8

Cheers

📚 Want to Learn Docker?

I wrote "Levelling Up with Docker: A Practical Guide to Containers" — a hands-on guide for Linux admins who want to learn Docker without the fluff.

What's inside:

  • Rootless Docker installation (Ubuntu, RHEL, SLES)
  • Container networking, volumes, and Docker Compose
  • Private registry setup and troubleshooting playbook

Get it on Amazon: https://www.amazon.com/dp/B0GGZ76PHW

Comments

Popular posts from this blog

SLES 15 LVM + XFS Without Separate /boot Partition

Docker Rootless on Ubuntu (2026 Guide)

pfSense and scp