samba with openldap provisioning

Andrew Bartlett abartlet at
Sun Sep 1 20:12:40 MDT 2013

On Thu, 2013-08-29 at 17:42 +0300, Nadezhda Ivanova wrote:
> Hi Andrew,
> I have re-introduces some of the removed provision options, and committed
> them in my repo: git://
> The branch is openldap_provision.
> The environment:
> I am running ubuntu 13.04 and installed cyrus sasl and  the latest version
> of berkeley db (6.0.20) from here:
> I installed the latest OpenLdap from the repo: git://
> This is my openldap configure command:
> LD_LIBRARY_PATH="/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.6.0/lib:/usr/local/ssl/lib"
> LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib
> -L/usr/local/ssl/lib" CPPFLAGS="-I/usr/local/include
> -I/usr/local/BerkeleyDB.6.0/include -I/usr/local/ssl/include" ./configure
> --enable-modules --enable-overlays=mod --with-cyrus-sasl
> And installed the samba4 overlays as described here:

Yay for the way-back machine.  I'm so glad you found this.  

> Turning ntlm off did solve that particular problem, but there is an error
> later - it appears to be a new part of the script which attempts to use ldb
> with tdb instead of the openldap backend:

Oddly, the thing trying to use tdb appears to be the secrets.ldb
database, which should remain in a tdb.

I'll grab your branch, and see what I can figure out.

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team 
Samba Developer, Catalyst IT         

More information about the samba-technical mailing list