[Samba] ldb-tools stand alone different than built-in?

Sketch smblist at rednsx.org
Mon Oct 3 19:50:42 UTC 2016


On Mon, 3 Oct 2016, Greg Zartman via samba wrote:

> Well the ldb-tools package from COS doesn't work, as we've discussed
> previously.    Rebuilding the COS 7 samba SRPM with the ldb tools isn't
> that difficult given it needs to be rebuild anyway to provide DC
> functionality.

As far as I can tell, it works fine without rebuilding ldb-tools.  Once 
you've rebuilt (and installed) the samba-dc packages (without 
internal_ldb), all of the necessary modules are in /usr/lib64/samba/ldb/.

You just need to export LDB_MODULES_PATH=/usr/lib64/samba/ldb/ before you 
run ldbadd/etc, so that it knows where to find the modules.  I suppose 
what might be cleaner is just to modify samba-dc to install them directly 
to /usr/lib64/ldb/ instead, then you wouldn't have to set any environment 
variabls.



More information about the samba mailing list