mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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>
This commit is contained in:
parent
e1a4fb5291
commit
5e000a8487
2
selftest/knownfail.d/fsmo
Normal file
2
selftest/knownfail.d/fsmo
Normal file
@ -0,0 +1,2 @@
|
||||
^samba4.drs.fsmo.python.*.fsmo.DrsFsmoTestCase.test_DomainDnsZonesMasterTransfer
|
||||
^samba4.drs.fsmo.python.*.fsmo.DrsFsmoTestCase.test_ForestDnsZonesMasterTransfer
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user