summaryrefslogtreecommitdiff
path: root/source4/torture/drs/python/replica_sync.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-08 13:37:49 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-11 11:44:07 +0200
commit29ff3ce56894d5ef0254c85d6ae9e68733558901 (patch)
tree7e4b52f789e62cb8a0a86dc6d0583d6785995f32 /source4/torture/drs/python/replica_sync.py
parentba44bd353deb518608f235ddb5ddfc54f3a4c789 (diff)
downloadsamba-29ff3ce56894d5ef0254c85d6ae9e68733558901.tar.gz
samba-29ff3ce56894d5ef0254c85d6ae9e68733558901.tar.bz2
samba-29ff3ce56894d5ef0254c85d6ae9e68733558901.zip
s4-selftest: Test samba-tool drs replicate --local --full-sync
Diffstat (limited to 'source4/torture/drs/python/replica_sync.py')
-rw-r--r--source4/torture/drs/python/replica_sync.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/torture/drs/python/replica_sync.py b/source4/torture/drs/python/replica_sync.py
index ddeb5822f5..af2da4fceb 100644
--- a/source4/torture/drs/python/replica_sync.py
+++ b/source4/torture/drs/python/replica_sync.py
@@ -63,3 +63,9 @@ class DrsReplicaSyncTestCase(drs_base.DrsBaseTestCase):
"""Tests we cann't replicate when replication is disabled"""
self._disable_inbound_repl(self.dnsname_dc1)
out = self._net_drs_replicate(DC=self.dnsname_dc1, fromDC=self.dnsname_dc2, forced=True)
+
+ def test_ReplLocal(self):
+ """Tests we can replicate direct to the local db"""
+ self._enable_inbound_repl(self.dnsname_dc1)
+ self._net_drs_replicate(DC=self.dnsname_dc1, fromDC=self.dnsname_dc2, forced=False, local=True, full_sync=True)
+