summaryrefslogtreecommitdiff
path: root/python/samba/netcmd
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-08-03 16:29:26 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-08-15 07:08:25 +0200
commitbadd7a23ed968dbf9f05c518f8c65a81ab796609 (patch)
tree88a44e3e3692666601e4683553fb02a6612dc655 /python/samba/netcmd
parent28e2a518ff3233f49f1b61210754d044c670087b (diff)
downloadsamba-badd7a23ed968dbf9f05c518f8c65a81ab796609.tar.gz
samba-tool/drs: set dns_backend to SAMBA_INTERNAL in cmd_drs_clone_dc_database
The default value is "NONE", need to specify it to use SAMBA_INTERNAL so that the DNS partitions are replicated. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python/samba/netcmd')
-rw-r--r--python/samba/netcmd/drs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/netcmd/drs.py b/python/samba/netcmd/drs.py
index 6fb8c570a1a..8259af60069 100644
--- a/python/samba/netcmd/drs.py
+++ b/python/samba/netcmd/drs.py
@@ -774,8 +774,8 @@ class cmd_drs_clone_dc_database(Command):
if targetdir is None:
raise CommandError("--targetdir option must be specified")
-
- join_clone(logger=logger, server=server, creds=creds, lp=lp, domain=domain,
+ join_clone(logger=logger, server=server, creds=creds, lp=lp,
+ domain=domain, dns_backend='SAMBA_INTERNAL',
targetdir=targetdir, include_secrets=include_secrets)