samba with openldap provisioning

Andrew Bartlett abartlet at samba.org
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://git.samba.org/nivanova/samba.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:
> http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html
> 
> I installed the latest OpenLdap from the repo: git://
> git.openldap.org/openldap.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:
> 
> http://web.archive.org/web/20110210123448/http://wiki.samba.org/index.php/Samba4/LDAP_Backend/OpenLDAP

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
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Catalyst IT                   http://catalyst.net.nz




More information about the samba-technical mailing list