How to Join CentOS 7 to an Existing Windows Domain

How to Join CentOS 7 to an Existing Windows Domain

In this video, you will learn How to Join CentOS 7 to an Existing Windows Domain. This video is part of effort in which we finally will install SQL Server on Linux Box. In our last video, you learn how to install Linux CentOS from starch. Script used in this video:

# Installing realmd package

# yum install sssd realmd oddjob oddjob-mkhomedir adcli samba-common samba-common-tools krb5-workstation openldap-clients policycoreutils-python

Edit Host File to add DNS IP address and Server Information

# vi /etc/hosts

View File /etc/resolv.conf It should resolve Domain name and IP address Join with Windows Domain

#realm join --user=clusteradmin tbsdc.Techbrothers.local

Verify domain Join

# realm list

# id clusteradmin@Techbrothers.local

Turning off Fully Qualified Name requirement of AD user

# vi /etc/sssd/sssd.conf

systemctl restart sssd systemctl daemon-reload
Adding user to sudo or admin - Where "wheel" is group and cluster admin is active directory user

# sudo usermod -a -G wheel clusteradmin

How to Join Linux CentOS 7 to Windows Active Directory


  1. This comment has been removed by the author.

  2. Hybrid Boot can save the contents of the RAM to the hard drive to accelerate the next start of the operating system and start working where you left instead of shutdown the operating system.
    etcher download

  3. I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful blog page! windows 10

  4. This is a good post. This post gives truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. Thank you so much. Keep up the good works Ramen deuren

  5. If you don"t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries Aluminium ramen

  6. Hi, Your blog is fantastic and information is authentic too. If you want to know about the rewards of new cloth Then I suggest you read our article about NBA 2K21 Locker Code. It gets a Locker code. Plz, read it once.

  7. Very much like medication doesn't make immunizations before infections are found, thus, as well, security specialists don't fix security openings until somebody finds and takes advantage of those openings.