diff options
author | Matthieu Patou <mat@matws.net> | 2010-10-26 16:38:42 +0400 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2010-11-12 19:40:21 +0000 |
commit | f5ea6f4b4ca21b2771b383cf9ed9295c69857bcb (patch) | |
tree | 0923b078b99304142bffd17382841dba95afa608 /source4/scripting | |
parent | 81eb7985e6d79852b3e25814cd15d6be56245d64 (diff) | |
download | samba-f5ea6f4b4ca21b2771b383cf9ed9295c69857bcb.tar.gz samba-f5ea6f4b4ca21b2771b383cf9ed9295c69857bcb.tar.bz2 samba-f5ea6f4b4ca21b2771b383cf9ed9295c69857bcb.zip |
unit tests: add testing for dns account password change
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/tests/upgradeprovisionneeddc.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/tests/upgradeprovisionneeddc.py b/source4/scripting/python/samba/tests/upgradeprovisionneeddc.py index e30906fc6b..d4d6b84fbd 100644 --- a/source4/scripting/python/samba/tests/upgradeprovisionneeddc.py +++ b/source4/scripting/python/samba/tests/upgradeprovisionneeddc.py @@ -29,6 +29,7 @@ from samba.upgradehelpers import (get_paths, get_ldbs, find_provision_key_parameters, identic_rename, updateOEMInfo, getOEMInfo, update_gpo, delta_update_basesamdb, + update_dns_account_password, search_constructed_attrs_stored, increment_calculated_keyversion_number) from samba.tests import env_loadparm, TestCaseInTempDir @@ -157,6 +158,9 @@ class UpgradeProvisionWithLdbTestCase(TestCaseInTempDir): oem = getOEMInfo(self.ldbs.sam, basedn) self.assertNotEquals(oem, "") + def test_update_dns_account(self): + update_dns_account_password(self.ldbs.sam, self.ldbs.secrets, self.names) + def test_updateOEMInfo(self): realm = self.lp.get("realm") basedn = "DC=%s" % realm.replace(".", ", DC=") |