samba:install-samba-as-dc
Install Samba Binaries for a Domain Controller
This will install Samba from your current repository. Debian does not upgrade Samba to a major release until a new Debian version is released. Therefore, it is advisable to install from Debian Backports or use Michael Tokarev's Samba repositories (Michael is the official Samba packager and maintainer for Debian).
If you wish to use a more updated version of Samba, refer to:
Once you have decided and configured the version you want to use, run:
apt-get update && apt-get install --no-install-recommends \ samba samba-ad-dc krb5-user krb5-config samba-ad-provision \ samba-ad-dc samba-dsdb-modules samba-vfs-modules \ winbind libnss-winbind smbclient tdb-tools python3-cryptography
- Remember to use `-t trixie-backports` if you are installing from backports.
- You may be asked about the Kerberos realm. Use `mad.caponato.es` as the DNS domain name, and `MAD.CAPONATO.ES` as the Kerberos realm name. Note that the Kerberos configuration file will be replaced later when the AD is provisioned.
- You may now continue to provision your first Active Directory DC.
- Or you can install an additional DC for availability, resiliency, and backup purposes.
Caponato's Samba notebook. Start here or else Main menu
samba/install-samba-as-dc.txt ยท Last modified: by caponato
