On Mon, Oct 3, 2016 at 10:39 AM, Sketch <smblist at rednsx.org> wrote:> > The standalone tools (as packaged by CentOS) don't have all of the > extensions that are built when you build a Samba DC. If you have already > rebuilt CentOS Samba packages with DC support, you need to add samba's ldb > modules to ldb's module path. >This is what I suspected. Thanks for confirming. I was able to rebuild the COS 7 RPM with the ldb-tools that work fine with active directory. I just wanted to make sure that the upstream tools would not work, and you have confirmed they won't. Thank you -- Greg J. Zartman Board Member Koozali SME Server www.koozali.org SME Server user, contributor, and community member since 2000
On Mon, 3 Oct 2016, Greg Zartman via samba wrote:> I was able to rebuild the COS 7 RPM with the ldb-tools that work fine with > active directory. I just wanted to make sure that the upstream tools > would not work, and you have confirmed they won't.I would assume they would work if you built Samba against them so that it's ldb modules were built for the same version. But that seems like a lot of work when you can just use the CentOS ldb-tools package.
On Mon, Oct 3, 2016 at 12:10 PM, Sketch <smblist at rednsx.org> wrote:> > I would assume they would work if you built Samba against them so that > it's ldb modules were built for the same version. But that seems like a > lot of work when you can just use the CentOS ldb-tools package. >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. Here are the mods I made the spec file to build the ldb tools: -%global with_internal_ldb 0 +%global with_internal_ldb 1 +Requires: libldb -Requires: pyldb +#Requires: pyldb -%{_libdir}/samba/libldb-cmdline.so +#%{_libdir}/samba/libldb-cmdline.so +%{_libdir}/samba/libldb-cmdline-samba4.so +%{_libdir}/samba/libpyldb-util.so.1 +%{_libdir}/samba/libpyldb-util.so.1.1.20 -- Greg J. Zartman Board Member Koozali SME Server www.koozali.org SME Server user, contributor, and community member since 2000