Linux

Same as we did previously, I'll use a separate VM. I'll name it "WS02", following the same naming scheme in the whole documentation. It must also be in the same network segment as DC01 and WS01. In this guide I assume you already know how to install Ubuntu, that's why I don't show it.

We firstly open a terminal and edit our /etc/hosts file.

127.0.0.1       localhost
127.0.1.1       WS02

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

# Domain
10.10.11.212 boxcreator.htb DC01.boxcreator.htb DC01

After that, we install the required packages.

sudo apt update
sudo apt install realmd sssd sssd-tools libnss-sss libpam-sss adcli samba-common-bin oddjob oddjob-mkhomedir packagekit

We discover and join the domain:

realm discover boxcreator.htb
sudo realm join --user=administrator boxcreator.htb

You'll be asked for credentials.

Written by ruycr4ft

Last updated