[Samba] samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)

Franta Hanzlík franta at hanzlici.cz
Fri Mar 29 10:51:28 UTC 2019

On Thu, 28 Mar 2019 02:14:30 -0400
Nico Kadel-Garcia via samba <samba at lists.samba.org> wrote:

> On Wed, Mar 27, 2019 at 9:11 AM Rowland Penny via samba
> <samba at lists.samba.org> wrote:
> >
> > On Wed, 27 Mar 2019 13:00:42 +0100
> > Franta Hanzlík <franta at hanzlici.cz> wrote:
> >  
> > > Yes, is no difference between '-UAdministrator' and '-U
> > > Administrator'. But it seems, as ldbsearch in 4.9.5 is different than
> > > 4.9.4-. (I was furious with that, because I found lot articles on
> > > net, where -U _username_ was stated.
> > >
> > > My ldbsearch is from pure Samba-4.9.5, self compiled on Fedora 29
> > > x86_64. And now I see it even has not '-V' switch:  
> Franta, if you're trying to build on Fedora 29, would you consider
> trying my "master" branch of https://github.com/nkadel/samba4repo ?
> I've been trying to update it to 4.9.5, and a separate branch for
> 4.10.0, with Fedora 29 and the RHEL 8 beta lately. The Python3
> requirements of 4.10.0 are a serious problem for RHEL 7, but there are
> othe issues for Fedora for that even more recent release.
> Also, unless you actually build and install RPM's a manual build is
> vulnerable to all sorts of PATH and LD_LIBRARY_PATH issues if any if
> the original RPM's are sstill present on Fedora and RHEL.

Hi Nico,

thanks you for sending a link to your github repo and you work on
Samba for Fedora/Centos/RHEL.
I made my Samba4 RPM packages with .SPEC file from official Fedora 29
4.9.4 source RPM, which I modify for Heimdal Kerberos (as I wanted
reliable  SW, and I have no needs for MIT Kerberos, SSS, systemd,
journald,... ;).
Fortunately there was not too much to change and Samba sources was not
extra patched, thus it was relatively easy.
Installation on Centos 7 I excluded because its obsolescence.
Two weeks ago I, now with minimal changes, build 4.9.5 RPM packages
and upgrade to them. Version 4.10.0 I still not tried, maybe further
test I will do during the summer holidays (it is school network).
I will look at your Samba repo too, thanks.
Regards, Franta Hanzlik

More information about the samba mailing list