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

Rowland Penny rpenny at samba.org
Fri Apr 25 14:03:42 UTC 2025


On Thu, 24 Apr 2025 15:29:30 +0100
Rowland Penny via samba <samba at lists.samba.org> wrote:

> On Thu, 24 Apr 2025 07:22:22 -0700
> Travis Bean via samba <samba at lists.samba.org> wrote:
> 
> > Hello,
> > 
> > I developed a Bash script to automate the installation and
> > configuration of open-source software (i.e.,
> > launchpad.net/linuxha). I want to make sure the syntax of this
> > script is perfect so I can use it as a teaching tool to educate
> > people about Linux.
> > 
> > I need to know if there is anything misconfigured with my Samba
> > syntax.
> 
> A link would be nice, I am not going to go searching for it.
> 
> Rowland
> 

So, after not receiving a link and having a bit of spare time, I went
looking for linkha and found it here:

https://bazaar.launchpad.net/~tbean74/linuxha/trunk/view/head:/LinuxHA.sh

I feel sorry about writing this, because the guy has obviously spent
quite some time writing and maintaining that bash script, but, in my
opinion, he missed the memo about NT4-style domains being dead.

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.

I cannot recommend that script to anyone.

Rowland



More information about the samba mailing list