HowTo join Fedora 27 Desktop to NethServer-7 Active Directory

HowTo join Fedora 27 Desktop to NethServer-7 Active Directory

Please feel free to give me a feedback, I mean technically and formally.

This is based upon limited testing, and a small number of users. Both, Client and Server, were installed as VPS under Proxmox PVE.

Server prerequisites:
Installed NethServer 7.4 Server and updated from command line. Active Directory has been configured and the domain-name was given.

Client prerequisites:
Installed Fedora 27 (Fedora-Workstation-Live-x86_64-27-1.6.iso), with standard gnome desktop and one local user who has local admin rights. DHCP-Client was activ to get an IP from the NethServer who is acting as DHCP-and AD-Server. It is important that the Fedora Client can resolv DNS correctly.

Now we can join the Domain with

Open a Terminal on Fedora 27 and get root:

sudo su

Install some packages

yum install nano realmd oddjob oddjob-mkhomedir sssd adcli samba samba-common

Open a text editor and replace DEFAULT with LEGACY in /etc/crypto-policies/config

nano /etc/crypto-policies/config

Join AD domain

realm join --user=administrator

Check domain-join with


Open a text editor and add override_homedir and override_shell, on the end of sssd.conf

nano /etc/sssd/sssd.conf

For instance append the following lines:

override_homedir = /home/%u@%d
override_shell = /bin/bash

Optional - set sudoers permission:

echo " ALL=(ALL) ALL" | sudo tee -a /etc/sudoers`
echo " ALL=(ALL) ALL" | sudo tee -a /etc/sudoers`

Optional - Reboot Fedora Desktop or restart your desktop session


After the reboot, logon with


@davidep can help you to improve it.

Yes please…

1 Like

I just joined a Fedora 29 client to a Nethserver 7 domain, following this guide. All I needed to do was replace ‘yum’ with ‘dnf’ that’s all :slight_smile: