diff options
author | Garming Sam <garming@catalyst.net.nz> | 2019-07-24 14:53:33 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-07-31 02:50:24 +0000 |
commit | 35c54007e6183829d9d85a24b3bd95f469739ad3 (patch) | |
tree | 583bf42d3a558a256a23d2791add000c40ff3b5f /source4/selftest | |
parent | 7d2875bd70cf727730be8dc705bfd01eacaaaa6f (diff) | |
download | samba-35c54007e6183829d9d85a24b3bd95f469739ad3.tar.gz |
tests/drs_no_dns: Check dbcheck and ldapcmp pass
When joining a DC without DNS partitions, make sure that the alternate
flow of creating them afterwards results in a database with everything
that is necessary.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14051
RN: Allow a DC join without DNS partitions, to add them later
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-x | source4/selftest/tests.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 1a7e8c757f0..bf3dd98cbef 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -949,6 +949,13 @@ for env in ['backupfromdc', 'offlinebackupdc', 'restoredc', 'renamedc', plantestsuite("samba4.blackbox.join_ldapcmp", env, ["PYTHON=%s" % python, os.path.join(bbdir, "join_ldapcmp.sh")]) +env = 'backupfromdc' +planoldpythontestsuite("%s:local" % env, "samba_tool_drs_no_dns", + extra_path=[os.path.join(samba4srcdir, 'torture/drs/python')], + name="samba4.drs.samba_tool_drs_no_dns.python(%s)" % env, + environ={'DC1': '$DC_SERVER', 'DC2': '$DC_SERVER'}, + extra_args=['-U$DOMAIN/$DC_USERNAME%$DC_PASSWORD']) + plantestsuite_loadlist("samba4.ldap.rodc.python(rodc)", "rodc", [python, os.path.join(DSDB_PYTEST_DIR, "rodc.py"), |