100% satisfaction guarantee Immediately available after payment Read online or as PDF No strings attached 4.6 TrustPilot
logo-home
Summary

Summary linux lts joinen in ad .docx

Rating
-
Sold
-
Pages
7
Uploaded on
26-11-2025
Written in
2025/2026

linux lts joinen in ad .docx

Institution
Course

Content preview

Absolutely! Here's a step-by-step guide to join your Ubuntu 22.04 LTS
VM to an Active Directory (AD) domain using the realmd method,
which is the most straightforward and supported way to domain-join
modern Ubuntu systems.

Win server 2025



✅ Assumptions

 Ubuntu hostname: ubuntu-client (you can change it).

 Ubuntu IP: 192.168.100.20

 AD Domain: lorenzo-meli.be

 Domain Controller (DC) IP: 192.168.100.10

 You have a domain admin account (e.g., Administrator or any user
with join privileges).

 DNS is correctly set to point to the AD DC.



🔧 Step 1: Set the hostname (Optional but recommended)

bash

KopiërenBewerken

sudo hostnamectl set-hostname ubuntu-client



🛜 Step 2: Set DNS to point to the AD server

Edit your Netplan config or resolv.conf temporarily:

bash

KopiërenBewerken

sudo nano /etc/systemd/resolved.conf

Uncomment and edit:

ini

KopiërenBewerken

DNS=192.168.100.10

Domains=lorenzo-meli.be

, Then restart resolved:

bash

KopiërenBewerken

sudo systemctl restart systemd-resolved

Verify DNS resolution:

bash

KopiërenBewerken

dig lorenzo-meli.be



📦 Step 3: Install necessary packages

bash

KopiërenBewerken

sudo apt update

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



🔍 Step 4: Discover the domain

bash

KopiërenBewerken

realm discover lorenzo-meli.be

Expected output (or similar):

Yaml

KopiërenBewerken

lorenzo-meli.be

type: kerberos

realm-name: LORENZO-MELI.BE

domain-name: lorenzo-meli.be

configured: no

Written for

Course

Document information

Uploaded on
November 26, 2025
Number of pages
7
Written in
2025/2026
Type
SUMMARY

Subjects

$9.17
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Read online or as PDF
No strings attached

Get to know the seller
Seller avatar
lorenzomeli

Get to know the seller

Seller avatar
lorenzomeli Hogeschool Gent
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 months
Number of followers
0
Documents
29
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions