Günther Deschner
f80d56a1a0
s4-torture: No need to disable rpc.spoolss.win test when compiled with MIT kerberos.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon May 20 20:35:33 CEST 2013 on sn-devel-104
2013-05-20 20:35:33 +02:00
Günther Deschner
00ee6a648b
s4-torture: add simple tests for spoolss_{Add|Delete}PrintProcessor.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20 18:50:01 +02:00
Günther Deschner
e8797a3ecc
s4-torture: also deal with "Microsoft XPS Document Writer v4" as default driver.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20 18:50:00 +02:00
Günther Deschner
c51866eadf
s4-torture: add simple test for spoolss_RpcSendRecvBidiData.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20 18:50:00 +02:00
Günther Deschner
aa1e5f29af
s4-torture: add test for spoolss_RpcEnumJobNamedProperties.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20 18:50:00 +02:00
Günther Deschner
b072bb76db
s4-torture: add missing NTSTATUS checks in test_AddJob().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-20 18:50:00 +02:00
Matthieu Patou
74fa70cdec
smbtorture: Show the list of cracknames we expect to have and the result
...
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-20 21:54:07 +10:00
Matthieu Patou
6c4cf59fba
smbtorture: fix a warning due to a set but unused var
...
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-20 21:54:07 +10:00
Matthieu Patou
d42a31d68f
smbtorture: fix crash when the returning a crackname with an empty name
...
when a valid one was expected
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-20 21:54:06 +10:00
Andreas Schneider
6ac1435ab3
torture: Don't leak file resource handle in spoolss test.
...
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2013-02-22 16:36:13 +01:00
Andreas Schneider
aff301d9eb
torture: Fix array access in spoolss test.
...
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2013-02-22 16:36:13 +01:00
Andreas Schneider
742296d3c3
torture: Fix samsync domain_name checks.
...
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2013-02-22 16:36:12 +01:00
Günther Deschner
000e6ba14a
s4-torture: add some basic tests for PlayGDIScriptOnPrinterIC.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Jan 24 19:20:52 CET 2013 on sn-devel-104
2013-01-24 19:20:52 +01:00
Günther Deschner
11fba10208
spoolss: make spoolss deal with ndr64 StartDocPrinter by using proper container object.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2013-01-24 17:42:25 +01:00
Günther Deschner
3b94b64481
spoolss: make spoolss deal with ndr64 SetForm by using proper container object.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-01-17 17:11:37 +01:00
Günther Deschner
8304fe73f6
spoolss: make spoolss deal with ndr64 AddForm by using proper container object.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-01-17 17:11:37 +01:00
Günther Deschner
e8feca012e
spoolss: make spoolss deal with ndr64 ULONG_PTR of devmode_ptr and secdesc_ptr.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-01-17 17:11:37 +01:00
Günther Deschner
a4dcf7b94d
spoolss: Make OpenPrinterEx work with NDR64 by using UserInfo Container.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2013-01-16 11:42:13 +01:00
Günther Deschner
563cc67ac6
libcli/auth: rename netlogon_creds_decrypt_samlogon() to netlogon_creds_decrypt_samlogon_validation().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2012-12-15 21:50:36 +01:00
Günther Deschner
f22efd402a
s4-torture: move samr_ValidatePassword test out of main samr test.
...
Makes it easier to call with ncacn_ip_tcp transport (Windows does not allow
other transports).
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-12 11:29:33 +01:00
Andreas Schneider
dc9fa1a026
torture: Fix torture_rpc_spoolss_printer_teardown_common().
...
Found by Coverity.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2012-12-12 09:42:33 +01:00
Michael Adam
498f98f126
s4:torture:rpc:samr: fix password age calculation in test_ChangePasswordUser3()
...
The min_password_age field is the negative of the age.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-12-11 14:00:00 +01:00
Michael Adam
1a4adcfcb3
s4:torture/samr: allow STATUS_PASSWORD_RESTRICTIONS from ChangePasswordUser
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-12-11 14:00:00 +01:00
Michael Adam
18a306e2f2
s4:torture:rpc:samr: add debugging of result of (many) dcerpc_samr_* calls
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-12-11 13:59:59 +01:00
Günther Deschner
ade5bfd304
s4-torture: call the s4u2self tests with arcfour and aes.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Dec 9 21:24:44 CET 2012 on sn-devel-104
2012-12-09 21:24:44 +01:00
Günther Deschner
d0bad6c335
s4-torture: precalculate expected session keys from samlogon in schannel test.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:08 +01:00
Günther Deschner
6aec126566
s4-torture: validate owf password hash and negotiate AES in forest trust test.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:08 +01:00
Günther Deschner
83b00afe9f
s4-torture: validate owf password hash and negotiate AES ServerGetTrustInfo test.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:08 +01:00
Günther Deschner
fd70870203
s4-torture: use netlogon_creds_arcfour_crypt() in samba3rpc test.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:08 +01:00
Günther Deschner
4afb7dcb43
s4-torture: exit early when join fails in samba3rpc tests.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:08 +01:00
Günther Deschner
5089442bfd
s4-torture: support AES encryption in interactive samlogon tests in rpc.samr.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:08 +01:00
Günther Deschner
d94f012f3f
s4-torture: support AES encryption in pac_verify/generic samlogon netlogon tests.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:07 +01:00
Günther Deschner
3dffd29904
s4-torture: use names for r.in.logon_level of netlogon samlogon requests.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:07 +01:00
Günther Deschner
7ea9da0c9f
s4-torture: remove trailing whitespace in smbtorture remote_pac test.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:07 +01:00
Günther Deschner
3dc8c20b8a
s4-torture: add AES support for netr_ServerPasswordSet2 tests.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:07 +01:00
Günther Deschner
0a091604a4
s4-torture: pass down netlogon flags in netr_ServerPasswordSet2 tests.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:07 +01:00
Günther Deschner
d1f481ffe1
s4-torture: remove trailing whitespace from netlogon test.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09 19:39:07 +01:00
Andreas Schneider
f3d5d14906
torture: Fix copy and paste error in debug message.
...
Found by Coverity.
2012-11-30 14:02:53 +01:00
Stefan Metzmacher
8336061096
s4:torture/rpc/handles: try to make all assoc_group tests less flakey
...
Just incrementing the assoc_group_id makes it too likely to hit
a number that is already in use.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Nov 26 13:53:22 CET 2012 on sn-devel-104
2012-11-26 13:53:21 +01:00
Stefan Metzmacher
6568a26f01
s4:torture/rpc/handles: try to make the assoc_group test less flakey
...
Just incrementing the assoc_group_id makes it too likely to hit
a number that is already in use.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-20 17:37:19 +01:00
Stefan Metzmacher
14ee2cd938
s4:torture/rpc/handles: move a torture_comment()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-20 17:37:19 +01:00
Stefan Metzmacher
9837fd8cc6
s4:tortore/rpc/lsa: make more use of torture_assert*
...
Currently samba3.rpc.lsa.privileges.lsa.Privileges(s3dc)
seems to be flakey.
We may be able to find the bug with this,
or at least mark it as flapping.
metze
2012-10-03 16:26:52 +02:00
Jelmer Vernooij
90b1a94cb4
netlogon: Per MS-NRPC, don't send unknown workstation flags back to the
...
client.
2012-09-26 22:12:07 +02:00
Andrew Bartlett
0991aed60c
torture: More torture_assert() calls in rpc.lsa
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Sep 24 05:27:46 CEST 2012 on sn-devel-104
2012-09-24 05:27:46 +02:00
Andrew Bartlett
a807a63f3d
torture: use torture_assert rather than return false in rpc.lsa
...
This will help ensure we always generate correct subunit failures.
Andrew Bartlett
2012-09-24 03:51:07 +02:00
Andrew Bartlett
f0908c1dc6
torture: tidy up rpc.lsa OpenPolicy2 test to more clearly use torture_fail()
2012-09-24 03:51:07 +02:00
Jeremy Allison
6550bc0d26
Rewrite torture_samba3_rpc_sharesec() to use a non-privileged user for share security descriptor testing.
2012-08-31 20:29:13 -07:00
Andrew Bartlett
a58bf44c1e
s4-torture: Add start of a test to confirm winbindd PAC parsing
...
So far this confirms that we can accept a ticket using the secrets.tdb
entry.
Andrew Bartlett
2012-08-29 23:46:17 +02:00
Stefan Metzmacher
ba864b83fa
s4:torture: add support for SMB_EXTENDED_SIGNATURES during SMBtconX
...
metze
2012-08-04 09:10:22 +02:00
Stefan Metzmacher
e9562530d9
s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flag
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug 2 10:54:18 CEST 2012 on sn-devel-104
2012-08-02 10:54:18 +02:00