From badd7a23ed968dbf9f05c518f8c65a81ab796609 Mon Sep 17 00:00:00 2001 From: Joe Guo Date: Fri, 3 Aug 2018 16:29:26 +1200 Subject: 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 Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- python/samba/netcmd/drs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/samba/netcmd') 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) -- cgit v1.2.1