Some end user tests with LMDB branch
Denis Cardon
dcardon at tranquil.it
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
remarks/notes:
* 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 join.py to force the backend
does the trick:
--- ./lib/python2.7/site-packages/samba/join.py 2018-05-11
01:23:37.047187706 +0200
+++ ./lib/python2.7/site-packages/samba/join.py.new 2018-05-11
01:23:27.031154394 +0200
@@ -849,7 +849,7 @@
machinepass=ctx.acct_pass, serverrole="active
directory domain controller",
sitename=ctx.site, lp=ctx.lp, ntdsguid=ctx.ntds_guid,
use_ntvfs=ctx.use_ntvfs, dns_backend=ctx.dns_backend,
- plaintext_secrets=ctx.plaintext_secrets)
+
plaintext_secrets=ctx.plaintext_secrets,backend_store="mdb")
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,
etc.)
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]
linked_values[0/0]
Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[804/1633]
linked_values[0/0]
Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[1206/1633]
linked_values[0/0]
Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[1610/1633]
linked_values[0/10]
Partition[CN=Configuration,DC=ad,DC=tranquil,DC=it] objects[1633/1633]
linked_values[60/60]
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.
Cheers,
Denis
[1]
https://gitlab.com/catalyst-samba/samba/-/archive/metze-master4-lmdb-full/samba-metze-master4-lmdb-full.tar.gz
--
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) 2.40.97.57.55
http://www.tranquil.it
Samba install wiki for Frenchies : https://dev.tranquil.it
WAPT, software deployment made easy : https://wapt.fr
More information about the samba-technical
mailing list