AD Integration On RHEL 7/CentOS 7

Microsoft Windows Active Directory Integration on RHEL 7/CentOS 7

  1. If YUM is configured, add the repository details, Otherwise subscribe RHEL 7 to the REDHAT.
  2. # yum install sssd realmd oddjob oddjob-mkhomedir adcli samba-common samba-common-tools krb5-workstation openldap-clients policycoreutils-python -y
  3. # yum install samba* -y
  4. # setup
    1. Select Authentication Configuration
    2. Select Only Kerberos (no need to enable to Winbind and Use Winbind Authentication)
    3. Add the Domain Name – <Domain_Name> and Enable Use DNS to resolve Hosts and KDCs
    4. Finish
  5. Add the resolv.conf details of nameserver and search domain
  1. # realm join -v -U <Username> –computer-name=<Computername> <Domain_Name>
  2. After joining a new file sssd.conf gets created automatically in /etc/sssd/sssd.conf
  3. Edit the File and do the following change
    1. Change the use_fully_qualified_names from True to False
    2. Save and exit

    # systemctl daemon-reload

    # systemctl restart sssd

    Make sure the services start without any errors – systemctl status sssd

    Also, check the /etc/nsswitch.conf file for sss authentication

The User ID fetches from the windows Active Directory

And also if you required any technology you want to learn, let us know below we will publish them in our site

Like our page in Facebook and follow us for New technical information.

Leave a Reply

Your email address will not be published. Required fields are marked *