b. Open the file /etc/hosts and add
IP_ADDRESS_OF_YOUR_DNS YOUR_NAME YOUR_DOMAIN_ADDRESS_NAME (e.g.:
192.168.0.151 adserver)
c. Restart the network service so that it considers the changes:
systemctl restart network
d. Check if the configuration is correct by pinging your DNS or by typing the command:
nslookup YOUR_DNS_NAME
2. Join the Active Directory
a. Now you can join the Active Directory:
realm join -–user=USER_NAME DOMAIN_NAME
b. Check if you can join correctly the active directory by typing:
realm list
c. You can also see the information of your user with the command:
id USER_NAME@DOMAIN_NAME
3. Give privileges to the Active Directory user:
a. Add the user in the evs-lsm-via-services group:
sudo usermod -aG evs-lsm-via-services USER_NAME@DOMAIN_NAME
b. For sudo add the user in the “wheel” group:
sudo usermod -aG wheel USER_NAME@DOMAIN_NAME
You may need to log out or to restart the XClient-VIA in order to apply the new membership of
the user to a group.
The command groups USER_NAME@DOMAIN_NAME should display the new group of the
user once the membership is properly applied.
4. Delete EVSusers
a. Connect to your new user.
b. Execute these commands:
sudo userdel evs
sudo userdel evsadmin
INSTALLATION AND CONFIGURATION MANUAL
LSM-VIA |2. Prerequisites| 7