diff options
author | Andreas Schneider <asn@samba.org> | 2015-02-16 08:56:28 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2015-02-23 20:01:01 +0100 |
commit | 6e5debf33bfb28ec0135a19f9cfb48b39d17fc83 (patch) | |
tree | 23408d3169864a8d69bdf888565860bce2b86040 /source3/selftest/tests.py | |
parent | bb4148450941e4949a2ff1b053719082b0514d71 (diff) | |
download | samba-6e5debf33bfb28ec0135a19f9cfb48b39d17fc83.tar.gz samba-6e5debf33bfb28ec0135a19f9cfb48b39d17fc83.tar.xz samba-6e5debf33bfb28ec0135a19f9cfb48b39d17fc83.zip |
torture: Add netr_setPassword(2) schannel test.
Thanks to Florian Weimer <fweimer@redhat.com> for the help to write
this torture test.
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Mon Feb 23 20:01:01 CET 2015 on sn-devel-104
Diffstat (limited to 'source3/selftest/tests.py')
-rwxr-xr-x | source3/selftest/tests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index c60f531e06..0a59903a53 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -278,7 +278,7 @@ rpc = ["rpc.authcontext", "rpc.samba3.bind", "rpc.samba3.srvsvc", "rpc.samba3.sh "rpc.samr.passwords.pwdlastset", "rpc.samr.passwords.lockout", "rpc.samr.passwords.badpwdcount", "rpc.samr.large-dc", "rpc.samr.machine.auth", "rpc.samr.priv", "rpc.samr.passwords.validate", "rpc.netlogon.admin", - "rpc.schannel", "rpc.schannel2", "rpc.bench-schannel1", "rpc.join", "rpc.bind"] + "rpc.schannel", "rpc.schannel2", "rpc.bench-schannel1", "rpc.schannel_anon_setpw", "rpc.join", "rpc.bind"] local = ["local.ndr"] @@ -372,6 +372,10 @@ for t in tests: elif t == "vfs.fruit": plansmbtorture4testsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --option=torture:share1=vfs_fruit --option=torture:share2=tmp --option=torture:localdir=$SELFTEST_PREFIX/s3dc/share') plansmbtorture4testsuite(t, "plugin_s4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --option=torture:share1=vfs_fruit --option=torture:share2=tmp --option=torture:localdir=$SELFTEST_PREFIX/plugin_s4_dc/share') + elif t == "rpc.schannel_anon_setpw": + plansmbtorture4testsuite(t, "s3dc", '//$SERVER_IP/tmp -U$%', description="anonymous password set") + plansmbtorture4testsuite(t, "s3dc_schannel", '//$SERVER_IP/tmp -U$%', description="anonymous password set (schannel enforced server-side)") + plansmbtorture4testsuite(t, "plugin_s4_dc", '//$SERVER/tmp -U$%', description="anonymous password set") else: plansmbtorture4testsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD') plansmbtorture4testsuite(t, "plugin_s4_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD') |