[Samba] Which guide is better for setting up and configuring Samba 4.23.5 as a Windows Server 2022 Active Directory Domain Controller?
Rowland Penny
rpenny at samba.org
Thu Feb 26 15:00:45 UTC 2026
On Thu, 26 Feb 2026 11:49:14 +0000
Turritopsis Dohrnii Teo En Ming via samba <samba at lists.samba.org> wrote:
> Subject: Which guide is better for setting up and configuring Samba
> 4.23.5 as a Windows Server 2022 Active Directory Domain Controller?
>
Now that I have had a bit more time to look into the linked tutorials,
the one at:
https://meetcyber.net/full-guide-deploying-samba-active-directory-on-fedora-and-rocky-with-hybrid-dns-and-gpo-support-30f47fab1e90
made me stop and think.
It goes into running Bind9 and the Samba internal dns server on the DC.
The provision command is this:
sudo samba-tool domain provision \
--use-rfc2307 \
--realm=FEDORA.LAN \
--domain=FEDORA \
--server-role=dc \
--dns-backend=SAMBA_INTERNAL \
--adminpass='Copa@@2026'
Then further down the page it tells you to add this line (among others) to the DCs smb.conf file:
server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
Can any one else see the inconstancy between the two ?
There a few other things that stop me recommending this tutorial.
Rowland
More information about the samba
mailing list