[Samba] Samba AD DC for Debian

Rowland Penny rpenny at samba.org
Mon Oct 25 21:18:36 UTC 2021


On Mon, 2021-10-25 at 16:49 -0400, Rob Campbell wrote:
> I wasn't building Samba.  I was trying to install via apt-get but the
> wiki doesn't say which to install.  Not which version bc I know they
> change but 'samba samba-server samba-client smbclient' etc.  
> 
> Are you saying I shouldn't install via package manager? 

No, I am saying that it is easier to install via package, but the Samba
wiki is mostly written from the point of view of building Samba
yourself. It is expected that the distros should provide their own
instructions on how to use Samba.

On Debian based distros, you need to install these packages:
samba winbind libnss-winbind libpam-winbind libpam-krb5 ntp binutils
ldb-tools krb5-user

These will pull in other packages.

However, to get the latest Samba versions (and keep getting them, Samba
is a rapidly moving package), you need to either build it yourself or
to use an external repo. Louis's repo is a good one for
Debian/Ubuntu/Raspbian, there are others. some you have to pay for,
others, like Louis's, are free (though Louis will be grateful for a
donation).

You seem to be having problems in setting up your domain, something
which is easy, but I would say that, wouldn't I, I know what to do.
What I need to do, is to pass that knowledge on to you. To do that, can
you tell us what you have already done and what doesn't work. You may
feel that you have already done this, but lets start again and get it
all in one place.

Rowland





More information about the samba mailing list