[Samba] Bash automation for Samba (high-availability)

Rowland Penny rpenny at samba.org
Sun Apr 27 07:57:57 UTC 2025


On Sat, 26 Apr 2025 18:44:55 -0700
Travis Bean via samba <samba at lists.samba.org> wrote:
> > So, yes there is something wrong with the Samba syntax, it is using
> > code you should no longer use when setting up a new domain.
> 
> Please show me what code is no longer supported and needs to be
> replaced so I can implement a patch.
> 

That wouldn't be easy, there is, in my opinion, so much wrong with
your script, mainly because it is based on an NT4-style domain, that it
might just be easier to point out the good bits.

Samba (and Windows) has moved on, it is no longer recommended to set up
a new NT4-style domain (PDC) because they rely on SMBv1 and AD is
better.

Active Directory is mainly composed of three components, ldap,
kerberos and dns, so as most of, if not all your components will work
with AD, you will not need openldap or kerberos, you can get Bind9 to
work with AD but you may decide you do not need that either and use the
Samba dns server. 

Then we turn to webmin, I cannot recommend using this with AD, it is
seriously out of date and should not be used with a modern version of
Samba for anything other than a standalone server.

Note that these are just my views and other views may differ.

Rowland




More information about the samba mailing list