diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2019-06-28 15:12:31 +1200 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2019-07-02 02:23:09 +0000 |
commit | 2face29963da2192c81e62a98d181fe7fd22c977 (patch) | |
tree | 4867aa2188046cee0910d85716fb8dc9833dbb4a /python | |
parent | bdd72acd32b6777b80b54d82688048e1cb0b8f32 (diff) | |
download | samba-2face29963da2192c81e62a98d181fe7fd22c977.tar.gz |
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 <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/netcmd/domain.py | 3 |
1 files changed, 2 insertions, 1 deletions
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, |