CentOS 7 Util Machine - Bobleoble/tech-journal GitHub Wiki

CentOS 7 Util Machine Configuration

This machine is purely for testing purposes. For example, deploying applications with Ansible, or testing Group Policies. Despite being a Linux based machine, the user can also log in using Domain accounts, including Windows ones.

Network Configuration

util01 configuration

  • Hostname: Util01-Unlucky
  • IP Address: 10.0.5.21
  • Primary DNS Address: 10.0.5.5
  • Alternate DNS Address: 10.0.5.6
  • Domain: unlucky.local

Joining util01 to the Domain using realmd

  • Install the following packages with yum install sssd realmd oddjob oddjob-mkhomedir adcli samba-common samba-common-tool krb5-workstation openldap-clients policycoreutils-python
  • Locate the /etc/hosts and /etc/resolv.conf files.
  • Edit /etc/hosts to contain 10.0.5.5 unlucky.local unlucky.
  • Edit /etc/resolv.conf to contain search unlucky and nameserver 10.0.5.5.
  • Now, join the Domain with realm join --user=ADMINISTRATOR unlucky.local. Enter the password for the specified user.