User Tools

Site Tools


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 even use Michael Tokarev's Samba repositories. (Michael is the official Debian Samba packager/maintainer for Debian.)

If you wish to use a more updated version of Samba software, please refer to the instructions for either Using backports, or Using Michael Tokarev's repos.

When you have decided and configured which version you want to use, then:

apt-get update && apt-get install --no-install-recommends samba samba-ad-dc krb5-user krb5-config samba-ad-provision samba-dsdb-modules samba-vfs-modules winbind libnss-winbind smbclient tdb-tools
  • Remember to use ‘-t bookworm-backports’ if you are installing from backports.
  • You may be asked about the Kerberos realm: mad.caponato.es is the DNS domain name, and MAD.CAPONATO.ES is the Kerberos realm name. Note that the Kerberos configuration file will be replaced later when the AD is provisioned anyway.

Caponato's Samba notebook. Start here or else Main menu

samba/install-samba-as-dc.txt · Last modified: 2024/06/26 21:41 by caponato