1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

5271 Commits

Author SHA1 Message Date
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
Volker Lendecke
f118eae76d s4-torture: Test for #9058
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Aug 27 17:43:09 CEST 2012 on sn-devel-104
2012-08-27 17:43:08 +02:00
Andrew Bartlett
b5c2747cad s4-provision: pass use_ntvfs from C wrappers and set to true in tests/vampire
None of these cases need the complexity of the s3fs backend.

Andrew Bartlett
2012-08-22 01:31:57 +02:00
Andrew Bartlett
84d6e09b95 s4-torture: Use torture_fail() in the unix.unix_info2 test
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Aug 20 15:36:48 CEST 2012 on sn-devel-104
2012-08-20 15:36:47 +02:00
Andrew Bartlett
c75b6154e4 s4-torture: Show that we cannot list extended attributes on streams 2012-08-20 21:58:08 +10:00
Andrew Bartlett
f9837d15f3 s4-torture: Show that we cannot have extended attributes on streams 2012-08-20 21:58:07 +10:00
Andrew Bartlett
bf1e27bd8f s4-torture: Improve raw.streams test to cover EAs and to use torture_assert()
The extension of this test is to create an extended attribute, so we
can confirm that the easize field on a stream actually refers to the
parent file.

This has been run against Windows 7.

Andrew Bartlett
2012-08-20 21:58:07 +10:00
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