summaryrefslogtreecommitdiff
path: root/source4/selftest/tests.py
diff options
context:
space:
mode:
authorBob Campbell <bobcampbell@catalyst.net.nz>2017-07-05 11:08:45 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-07-24 07:14:10 +0200
commit4779afe0d2dd14371b68e80f47d11942456bb365 (patch)
tree7fc8372c35d89238e09e183483939326eb0a87cc /source4/selftest/tests.py
parent61455ad82e293df4a094204fdf28162baad686ae (diff)
downloadsamba-4779afe0d2dd14371b68e80f47d11942456bb365.tar.gz
python/tests: add python test for cracknames
This fails due the bug, which causes the related test in drsuapi_cracknames.c to flap. It also fails due to us not yet supporting DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL or DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12842 Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/selftest/tests.py')
-rwxr-xr-xsource4/selftest/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 15037a20608..44c0b08df91 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -839,6 +839,11 @@ for env in ['ad_dc_ntvfs']:
planoldpythontestsuite(env, "samba.tests.join",
name="samba.tests.join.python(%s)" % env,
extra_args=['-U$DOMAIN/$DC_USERNAME%$DC_PASSWORD'])
+ planoldpythontestsuite(env, "cracknames",
+ extra_path=[os.path.join(samba4srcdir, 'torture/drs/python')],
+ name="samba4.drs.cracknames.python(%s)" % env,
+ environ={'DC1': "$DC_SERVER", 'DC2': '$DC_SERVER'},
+ extra_args=['-U$DOMAIN/$DC_USERNAME%$DC_PASSWORD'])
planoldpythontestsuite("chgdcpass:local", "samba.tests.blackbox.samba_dnsupdate",
environ={'DNS_SERVER_IP': '$SERVER_IP'})