[Samba] samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
rpenny at samba.org
Sun Mar 31 08:08:58 UTC 2019
On Sat, 30 Mar 2019 22:55:20 +0100
Franta Hanzlík <franta at hanzlici.cz> wrote:
> On Fri, 29 Mar 2019 09:00:08 +0000
> Rowland Penny via samba <samba at lists.samba.org> wrote:
> > This is possible, but it is more likely that they are throttled on
> > red-hat distro's because they are not expected to be provisioned as
> > a DC.
> "they" is who? I build Samba-4.9.5 from official stable release,
> downloaded from URL above.
'they' are the ldb-tools (ldbsearch, ldbmodify etc)
> > I did some checking and I have a couple of extra libs linked to
> > ldbsearch:
> > libtdb.so.1 => /lib64/libtdb.so.1 (0x00007f9a7905e000)
> > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f9a79022000)
> Those two libs I have too. For your ldbsearch program, I would expect
> that there would be additional libraries as libldap, libsasl2,
> libgssapi, libkrb5 etc. - those, which are needed for network access.
You may have them, but are they linked to ldbsearch, they are on Debian
> But - are not ldb* tools rather like as tdb tools, i.e. tool for work
> with some file types - thus they have not need for network access?
The ldb* tools work pretty much like ldap* tools, they work on a DC
directly to sam.ldb or over the wire via ldap://<DC_NAME>
> > Can you post the configure options used to compile your Samba
> > packages.
> Sorry, I forgot to include them. It is:
> But now (Errghrreahh), looking at [non]--bundled-libraries, I again
> look from where my ldbsearch really is - and in Fedora it is separate
> package, ldb-tools-1.4.6 (source
Yes, it is the same on Debian.
> I tried rebuild it, but result was same as from original Fedora
> - I had only subset of your switches.
If Fedora has done something to the package because it doesn't expect
to ever have to deal with sam.ldb, then, just rebuilding it will get
the same package.
>Not sure, if it is right, but
> as operations on LDB files seems be OK, I'm perhaps not going to solve
If it works for you, then OK, but I feel you are going to have problems
down the line.
More information about the samba