From 2face29963da2192c81e62a98d181fe7fd22c977 Mon Sep 17 00:00:00 2001 From: Gary Lockyer Date: Fri, 28 Jun 2019 15:12:31 +1200 Subject: samba-tool domain dcpromo: add --backend-store-size option Add a new "samba-tool domain dcpromo" option "backend-store-size". This allows the lmdb map size to be set during a promotion, instead of hard-wiring it to 8Gb. Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett --- python/samba/netcmd/domain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index 3f6876a79bd..d7b7cdb315c 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -630,7 +630,8 @@ class cmd_domain_dcpromo(Command): machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend, promote_existing=True, plaintext_secrets=plaintext_secrets, - backend_store=backend_store) + backend_store=backend_store, + backend_store_size=backend_store_size) elif role == "RODC": join_RODC(logger=logger, server=server, creds=creds, lp=lp, domain=domain, site=site, netbios_name=netbios_name, targetdir=targetdir, -- cgit v1.2.1