diff options
author | Björn Baumbach <bb@sernet.de> | 2019-05-24 15:46:17 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-05-30 07:12:11 +0000 |
commit | 5e000a8487d788dd196980b77ec7299c8be74abf (patch) | |
tree | b47ec026467d45ad6215b1000429a12264f8e519 /source4 | |
parent | e1a4fb5291662ed07ce18d597816dd8d6c7787a5 (diff) | |
download | samba-5e000a8487d788dd196980b77ec7299c8be74abf.tar.gz |
s4:torture:fsmo.py: test role transfers of dns partitions
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13973
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bbaumbach@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/drs/python/fsmo.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/torture/drs/python/fsmo.py b/source4/torture/drs/python/fsmo.py index 744299cc610..32817dae24b 100644 --- a/source4/torture/drs/python/fsmo.py +++ b/source4/torture/drs/python/fsmo.py @@ -52,6 +52,10 @@ class DrsFsmoTestCase(drs_base.DrsBaseTestCase): self.infrastructure_dn = "CN=Infrastructure," + self.domain_dn self.naming_dn = "CN=Partitions," + self.config_dn self.rid_dn = "CN=RID Manager$,CN=System," + self.domain_dn + self.domain_dns_dn = ( + "CN=Infrastructure,DC=DomainDnsZones, %s" % self.domain_dn ) + self.forest_dns_dn = ( + "CN=Infrastructure,DC=ForestDnsZones, %s" % self.domain_dn ) def tearDown(self): super(DrsFsmoTestCase, self).tearDown() @@ -143,3 +147,9 @@ class DrsFsmoTestCase(drs_base.DrsBaseTestCase): def test_NamingMasterTransfer(self): self._role_transfer(role="naming", role_dn=self.naming_dn) + + def test_DomainDnsZonesMasterTransfer(self): + self._role_transfer(role="domaindns", role_dn=self.domain_dns_dn) + + def test_ForestDnsZonesMasterTransfer(self): + self._role_transfer(role="forestdns", role_dn=self.forest_dns_dn) |