Michael Adam
4f4bb1f20d
s4:torture:basic: add more delete test - variants of deltest16 and deltest17
...
There seems to be a difference if the initial delete_on_close flag
was set on a handle that created the file or if the handle if was
for a file that already existed.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Aug 17 21:44:24 CEST 2012 on sn-devel-104
2012-08-17 21:44:24 +02:00
Volker Lendecke
d7515b6a88
torture: Reproducer for 64c0367
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-08-10 14:38:47 -07:00
Michael Adam
f64c970e3e
s4:torture:basic: check the return status of the last open in deltest16
...
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Thu Aug 9 18:01:50 CEST 2012 on sn-devel-104
2012-08-09 18:01:50 +02:00
Michael Adam
2352227b66
s4:torture:basic: fix a message typo in the delete17 test
2012-08-09 16:23:46 +02:00
Michael Adam
6cc5a54bc0
s4:torture:basic: fix abundance of spaces in deltest6
2012-08-09 16:23:46 +02:00
Michael Adam
fac4a0d4a7
s4:torture:basic:delete: fix 4 vs 8 spc tab formatting in check_delete_on_close()
2012-08-09 16:23:45 +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
Andrew Bartlett
31787417ca
s4-repl: Add tests for add replication conflicts and use of LostAndFound
...
LostAndFound is used when we find children of a deleted object that are not themselves deleted.
Andrew Bartlett
2012-07-31 14:15:29 +02:00
Andrew Bartlett
d6f47bd5a3
s4-torture: Fix format string errors found by -Werror=format
2012-07-30 14:25:10 +10:00
Stefan Metzmacher
0aac3c09f1
libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()
...
metze
2012-07-25 14:48:50 +02:00
Stefan Metzmacher
4d6d783afe
s4:libcli/smb2: remove unused smb2_session->pid
...
metze
2012-07-25 12:15:05 +02:00
Stefan Metzmacher
57fda88dfb
s4:libcli/smb2: remove unused elements from smb2_tree
...
metze
2012-07-25 12:15:04 +02:00
Stefan Metzmacher
56af56d041
s4:torture/smb2: create temporary smbXcli_tcon/session structures instead of changing them
...
metze
2012-07-25 12:15:04 +02:00
Stefan Metzmacher
72e047f7c5
s4:torture/smb2: use smb2cli_tcon_capabilities()
...
metze
2012-07-25 12:15:03 +02:00
Stefan Metzmacher
18bd029ffb
s4:torture: remove unused shm_setup()
...
metze
2012-07-25 12:15:02 +02:00
Stefan Metzmacher
97b1776cb6
s4:torture: replace shm_setup() with anonymous_shared_allocate()
...
metze
2012-07-25 12:15:02 +02:00
Stefan Metzmacher
41538b17c5
s4:libcli/smb2: setup a smbXcli_tcon for each smb2_tree
...
metze
2012-07-24 22:20:06 +02:00
Andrew Bartlett
faa9b2e1b1
s4-torture: Move check of map-to-guest above SID list check
...
This makes it easier to interpret failing output.
Andrew Bartlett
2012-07-19 04:04:20 +02:00
Andrew Bartlett
624f11e4b4
s4-torture: Allow unix.whoami to test against a member server
...
This compares only the domain SIDs betwen the two servers, rather than
the full token, as well known and other SIDs may be added locally
in both cases.
This also expands the test environments this is run against to verify
this between our AD server and domain members.
Andrew Bartlett
2012-07-19 04:04:20 +02:00
Andrew Bartlett
8825085ea4
s4-torture: Also print GID values in whoami test
2012-07-19 04:04:20 +02:00
Christof Schmitt
6305b4b64f
torture: Print SIDs as additional debug output in unix.whoami
2012-07-19 04:04:20 +02:00
Rusty Russell
127352c78c
source4/torture: add talloc_stackframe()
...
We need a stackframe to call lp_load().
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date(master): Wed Jul 18 09:31:07 CEST 2012 on sn-devel-104
2012-07-18 09:31:07 +02:00
Andreas Schneider
a3e835635c
s4-torture: Improve samlogon test.
2012-07-17 10:58:39 +02:00
Andreas Schneider
2c3dc04be2
s4-torture: Add DCERPC_SCHANNEL_AES tests.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2012-07-17 10:58:39 +02:00
Günther Deschner
4cafbb4e74
s4-torture: add ntprinting ndr operations testsuite.
...
Guenther
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Jul 6 20:55:26 CEST 2012 on sn-devel-104
2012-07-06 20:55:25 +02:00
Andreas Schneider
027b913a25
s4-torture: Call lsarpc tests over the correct pipe.
2012-07-06 10:00:58 +02:00
Andreas Schneider
a070ce3555
s4-torture: Don't consider NONE_MAPPED an error in LookupSids3.
2012-07-06 10:00:57 +02:00
Andreas Schneider
2a46c7fff2
s4-torture: Don't consider NONE_MAPPED an error in LookupNames4.
2012-07-06 10:00:57 +02:00
Andreas Schneider
eeba5ad9fa
s4-torture: Add a lsarpc test_GetUserName_fail function.
2012-07-06 10:00:57 +02:00
Andreas Schneider
5dc5cdaa6c
s4-torture: Add a lsarpc test_OpenPolicy2_fail function.
2012-07-06 10:00:57 +02:00
Andreas Schneider
39a13d1981
s4-torture: Add a lsarpc test_OpenPolicy_fail function.
2012-07-06 10:00:57 +02:00
Andreas Schneider
4ece074f25
s4-torture: Add a lsarpc test_LookupNames4_fail function.
2012-07-06 10:00:57 +02:00
Andreas Schneider
ed7be198c4
s4-torture: Add a lsarpc test_LookupSids3_fail function.
2012-07-06 10:00:57 +02:00
Andreas Schneider
47e5a8c2b3
s4-torture: Test LookupSids3/LookupNames4 over np and tcpip.
2012-07-06 10:00:56 +02:00
Andreas Schneider
1c46bffb11
s4-torture: Make sure lsa_OpenPolicy2 fails over TCP/IP.
2012-07-06 10:00:56 +02:00
Andreas Schneider
8bc4d7a3e6
s4-torture: Make sure lsa_OpenPolicy fails over TCP/IP.
2012-07-06 10:00:56 +02:00
Andreas Schneider
22da7106b3
s4-torture: Make sure ncacn_np tests are only called over the a pipe.
2012-07-06 10:00:56 +02:00
Andreas Schneider
00171a549a
s4-torture: Test LookupSids3 and LookupNames4 only over tcpip.
...
LookupSids3 and LookupNames4 are only available over tcpip and MUST
fail over named pipes.
2012-07-06 10:00:56 +02:00
Andreas Schneider
682277b44c
s4-torture: Use test_LookupSids3 function.
2012-07-06 10:00:56 +02:00
Andreas Schneider
1000884bb3
s4-torture: Fix build warnings in lsa test.
2012-07-06 10:00:56 +02:00
Günther Deschner
2105400028
s4-torture: more printf removal from samlogon torture test.
...
Guenther
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon Jul 2 17:19:55 CEST 2012 on sn-devel-104
2012-07-02 17:19:55 +02:00
Günther Deschner
7468ce6f93
s4-torture: fix typo in samlogon test.
...
Guenther
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Thu Jun 28 18:43:46 CEST 2012 on sn-devel-104
2012-06-28 18:43:46 +02:00
Günther Deschner
4aaeed2dac
s4-torture: use torture context for printing debug output.
...
Guenther
2012-06-28 16:45:10 +02:00
David Disseldorp
98ec5e95ca
s3-torture: Use static printer for smbd spooler test
...
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Tue Jun 26 18:04:43 CEST 2012 on sn-devel-104
2012-06-26 18:04:43 +02:00
David Disseldorp
33f08906c6
torture: add test for smbd print job spooling
...
Clients can print by performing file IO on a printer share, rather than
issuing spoolss RPCs.
This commit attempts to reproduce bug 8719.
2012-06-26 16:10:39 +02:00
Andrew Bartlett
0eab44c297
selftest: Test unix.whoami with kerberos on plugin_s4_dc
...
This also tests the comparison with LDAP on anonymous connections
and marks this as knownfail, while we investigate the correct
behaviour here.
Andrew Bartlett
2012-06-24 23:46:10 +10:00
Stefan Metzmacher
9c44f40b8d
s4:torture/raw: add raw.session.expire1
...
This demonstrates the interaction of CAP_DYNAMIC_REAUTH
and NT_STATUS_NETWORK_SESSION_EXPIRED.
metze
2012-06-22 12:56:48 +02:00
Stefan Metzmacher
31ad4d77e3
s4:torture/smb2: run smb2.session.reauth5 in a subdirectory
...
This way we can give anonymous full access to the directory.
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jun 22 11:30:06 CEST 2012 on sn-devel-104
2012-06-22 11:30:05 +02:00
Stefan Metzmacher
0c54e7c936
s4:torture/smb2: add smb2.durable-open.lock-oplock
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jun 22 03:37:54 CEST 2012 on sn-devel-104
2012-06-22 03:37:54 +02:00