Install Ubuntu Mate 24.04 LTS and join at Windows Server Active Directory

Hi,
I tried to install Ubuntu Mate 24.04 LTS on a desktop (laptop) PC Acer and I want to use to join to Active Diectory choice during installation. The domain controller is a Windows 2012R2 server. I entered the domain name like name.local (like on DNS register), a test connectivity is ok.
After some hours no change arrived just only a small circle when I push the "next" button but never validation to continue installation. Why ? Are there any prerequisites ?
Without joining domain I can install Ubuntu Mate on this machine.

Thanks for help !

Marc

1 Like

I'd suggest to separate these two tasks. I.e. join to AD after UM installation. Hopefully, the following link may help:

BTW, it addresses the bug you have stumbled on.

2 Likes

Hi, @Marc and welcome to the Ubuntu MATE Community!

1 Like

I'm going to try this solution in last if not other.
Thanks. I've a lot of machines I want make integration. This spend time.
Maybe do I try another version of Ubuntu that's running. I think but not tried with Ubuntu 20.10. And upgrade after if this works.

I'm afraid that would be much more time consuming process. Nevertheless, you decide.

2 Likes

If you install UM first, as recommended by Eugene (one of our Community's more insightful members), that is cleanest.

Make sure that you have a FQDN (fully qualified domain name) for your computer in the /etc/hostname file.

You will need to install adcli and realmd.

You will need to install sssd and edit /etc/sssd/sssd.conf to configure the connection to your Active Directory domain. Do not overlook the specification of a value for fallback_homedir.

If you need to access SMB shares, you need to install SAMBA.

You will need to use the sudo realm join yourdomain.com -U administrator command to join the domains of your choice.

If you need to allow specific users or groups to log in using their Active Directory credentials, you will need to use realm.

When everything is done, use realm list to confirm your system is properly joined to the domain and id username to confirm the user is properly recognized.

Best of all, once you've confirmed the sequence applicable for your context, you could create a script that could be used for every subsequent machine to automate the post distro-install process. :slight_smile:

3 Likes