[Samba] GPO

Rowland penny rpenny at samba.org
Mon Jan 13 16:25:28 UTC 2020


On 13/01/2020 16:27, sandy.napoles at eccmg.cupet.cu wrote:
> That leaves us with the only question you haven't answered:
>   If you run `echo "$PATH"` in a terminal, does the output start with '/usr/local/samba/bin:/usr/local/samba/sbin:' ???
>
> --------> This is the result
> echo "$PATH"
> echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

If you are going to compile Samba, you need to have your compiled Samba 
binaries etc found before any OS Samba binaries, so run this:

export PATH="/usr/local/samba/bin:/usr/local/samba/sbin:$PATH"

>
>   You also posted this I use debian 10 as the base operating system
>
> ----------> I'm sorry, it was a mistake of mine, the base system is Debian9
To be honest, I wouldn't run Samba 4.11.x on Debian 9
>
>   I 'think' I may know what is going on, to install Louis's 4.11.x packages on Debian, you must be
>   running Debian 10 AND replace libldb1 with libldb2, I am very sure that you still have libldb1
>   installed, mainly because libldb2 isn't available for Debian 9.
>
> ------->  libldb1 is not installed

Probably not, but you may have other packages installed that shouldn't 
be used, but are being used because your PATH is wrong, see above.

Can I suggest a better way of doing things ?

Install Debian 10 on a new computer (bare metal or VM), use the repo 
here: http://apt.van-belle.nl/

Install Samba 4.11.x from the repo and join this to the domain as a new 
DC. This will work.

Rowland






More information about the samba mailing list