Some end user tests with LMDB branch

Denis Cardon dcardon at
Thu May 10 23:55:36 UTC 2018

Good day Andrew, Sam and everyone,

I am quite excited with the upcoming lmdb branch and I wanted to give it 
a try tonight. I've used the branch you are working on with metze over 
at gitlab [1]. I have build on a debian stretch 64bit. Here are a few 

* configure does not accept --with-lmdb flag (it although does build 
properly with lmdb if dev lib are present)

* provisioning a new domain with --backend-store=mdb works properly, and 
basics testing goes fine (adding users, groups, joining computer, 
authenticating, etc.)

* however "samba-tool domain join" does not yet accept the 
--backend-store parameter (samba-tool domain join: error: no such 
option: --backend-store). Modifying by hand to force the backend 
does the trick:

--- ./lib/python2.7/site-packages/samba/	2018-05-11 
01:23:37.047187706 +0200
+++ ./lib/python2.7/site-packages/samba/	2018-05-11 
01:23:27.031154394 +0200
@@ -849,7 +849,7 @@
                  machinepass=ctx.acct_pass, serverrole="active 
directory domain controller",
        , lp=ctx.lp, ntdsguid=ctx.ntds_guid,
                  use_ntvfs=ctx.use_ntvfs, dns_backend=ctx.dns_backend,
-                plaintext_secrets=ctx.plaintext_secrets)
          print("Provision OK for domain DN %s" % presult.domaindn)
          ctx.local_samdb = presult.samdb
          ctx.lp          = presult.lp

Then the join works and the server behaves like expected (replication 
with an existing domain, role transfer, user creation, authentication, 

By the way I had an error message during the join when synchronizing the 
configuration partition, even though I have not seen issue afterward. 
Extract from join log:

Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[402/1633] 
Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[804/1633] 
Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[1206/1633] 
Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[1610/1633] 
Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[1633/1633] 
Failed to commit objects: DOS code 0x000021bf

I'll try to do some more test tomorrow and deploy on a small non 
critical domain if everything is fine.



Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint SĂ©bastien sur Loire
tel : +33 (0)

Samba install wiki for Frenchies :
WAPT, software deployment made easy :

More information about the samba-technical mailing list