summaryrefslogtreecommitdiffstats
path: root/source4/torture/raw/context.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher2012-08-021-3/+3
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 2 10:54:18 CEST 2012 on sn-devel-104
* s4-torture: Improve torture test boilerplate, use torture_assert()Andrew Bartlett2012-05-181-18/+6
| | | | | | | | | This ensures that if this fails, it is reported as a subunit error correctly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 18 09:35:13 CEST 2012 on sn-devel-104
* s4:torture/raw/context: test a session setup with a given invalid vuidStefan Metzmacher2012-05-091-17/+29
| | | | | | | | | | On a session setup with EXTENDED_SECURITY we'll get ERRSRV:ERRbaduid, while a session setup without EXTENDED_SECURITY ignores the given vuid. Before this test was doing a reauth of a given vuid, which works for newer Windows versions, but Windows 2000 gives INVALID_PARAMETER. metze
* s4:torture/raw/context: add subtests as torture testcasesStefan Metzmacher2012-05-081-46/+20
| | | | | | | | | | | | | TODO: add test_session with 'use spnego = false'. We need a way to do set an option just for one test case. Note: the 'use spnego = false' was ignored before as it's only used on the first session setup on a connection. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 8 04:50:39 CEST 2012 on sn-devel-104
* s4:torture/raw/context: INVALID_PARAMETER vs. LOGON_FAILURE...Stefan Metzmacher2012-05-081-1/+7
| | | | | | | | If the try a session setup without EXTENDED_SECURITY after one with EXTENDED_SECURITY Windows 2008 R2 returns INVALID_PARAMETER, while Windows 2000 sp4 returns LOGON_FAILURE... metze
* s4:torture/raw: make torture_raw_context a test suiteStefan Metzmacher2012-05-081-2/+11
| | | | metze
* s4:torture/raw/context: make use of torture_* macros and avoid 'printf'Stefan Metzmacher2012-05-081-100/+87
| | | | metze
* s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open()Stefan Metzmacher2012-05-081-1/+3
| | | | metze
* source4/torture/raw: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+1
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-17/+17
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-3/+0
| | | | This reduces compile time somewhat.
* s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-151-8/+8
| | | | | | In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-021-2/+7
| | | | should in the future only contain some settings required for gensec.
* Pass options struct into session initialization functions rather thanJelmer Vernooij2008-09-301-8/+18
| | | | using global_loadparm.
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-0/+1
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij2007-12-211-49/+49
| | | | | | uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-34/+34
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25430: Add the loadparm context to all parametric options.Jelmer Vernooij2007-10-101-6/+6
| | | | (This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-10/+10
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25392: Add loadparm context as argument in a couple more places.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
* r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2007-10-101-6/+6
| | | | | | number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
* r24735: Use torture API in more places.Jelmer Vernooij2007-10-101-22/+13
| | | | (This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they couldAndrew Tridgell2007-10-101-5/+0
| | | | | | | | hang forever if an ealier one caused two operations to complete at once this is why RAW-CONTEXT was taking 5 minutes on the build farm (This used to be commit eeba37e25cdcaefac4a252fb4305bddaba217826)
* r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
* r14826: initialize pid1 and pid2:-)Stefan Metzmacher2007-10-101-0/+3
| | | | | metze (This used to be commit 45e28329723c15c1ba6b8420cd3689cd03613de7)
* r14734: this demonstrates that a tcon isn't autoclosed by a ulogoffStefan Metzmacher2007-10-101-0/+151
| | | | | | | the tcon can be reused using any other valid session later metze (This used to be commit b9a90ed763e7828bfc56a73578bf01174726ed50)
* r14732: fix typo noticed by derrell, thanks!Stefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit ffa500ebb45cf7b9a513f76abae3ad32806042f3)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* r14710: make more clear that SMBexit only cares about the PIDStefan Metzmacher2007-10-101-19/+28
| | | | | | | that is used in the open call metze (This used to be commit 1bc6940e7d3ffbc5e697d6f600c9455d2b41e97c)
* r14527: Fix build problems.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
* r14440: demonstrate that the smbpid is attached to a session (vuid),Stefan Metzmacher2007-10-101-11/+250
| | | | | | | | | so SMBexit() only closes files for the given user session and the given PID can someone check if samba3 passes this test, please? metze (This used to be commit fd291ff003ed934b2163d9ad93af9ef2dd631e11)
* r14363: Remove credentials.h from the global includes.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
* r14256: - rename smb_file -> smb_handleStefan Metzmacher2007-10-101-9/+9
| | | | | | | | - move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
* r14173: change smb interface structures to always useStefan Metzmacher2007-10-101-9/+9
| | | | | | | | | | | | | a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
* r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
* r12693: Move core data structures out of smb.h into core.hJelmer Vernooij2007-10-101-0/+1
| | | | | torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r10504: - seperate implementation specific stuff, from the generic compositeStefan Metzmacher2007-10-101-0/+1
| | | | | | | | | | | | | | stuff. - don't use SMBCLI_REQUEST_* state's in the genreic composite stuff - move monitor_fn to libnet. NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR state in the _send() function. I haven't fixed this bugs in this commit! We may need some composite_trigger_*() functions or so. And maybe some other generic helper functions... metze (This used to be commit 4527815a0a9b96e460f301cb1f0c0b3964c166fc)
* r9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw functionTim Potter2007-10-101-2/+2
| | | | | names. (This used to be commit 26b191b3c9529b2dae5d004819dab46657064408)
* r9045: be friendly towards servers that don't understand the 'share' form ↵Andrew Tridgell2007-10-101-2/+4
| | | | | | | for tconx, instead of the \\server\share form (This used to be commit 02a78d06e1018087859c9ec65b792b1ffcfd3981)
* r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell2007-10-101-2/+2
| | | | | | | | | | | | | | S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
* r8118: remove a debugging hack that should not have been in the last commitAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 0f76449a08955cfe50178b6accfd631d7cf42da3)
* r8117: fixed a bunch more dos error code handing.Andrew Tridgell2007-10-101-5/+5
| | | | | | | | | | | | The biggest change was fixing the RAW-CONTEXT test. It was forcing capabilities to zero in an attempt to not negotiated extended security, but as a side effect it was forcing negotiation of dos error codes. This confused the hell out of the test code! Also fixed a bunch of places incorrectly using NT_STATUS_V() instead of NT_STATUS_EQUAL() and several places that had the wrong dos status codes (This used to be commit 0b22744f40804a0d6dc94bfc40ec09306f584f7e)
* r8104: - added support for our client library to not negotiate nt status ↵Andrew Tridgell2007-10-101-2/+2
| | | | | | | | | | | | | | | | codes, controlled with 'nt status support' option. - make nt_errstr() display nice strings for dos status codes encoded using NT_STATUS_DOS() - no longer map between dos and nt status codes in the client library, instead return using NT_STATUS_DOS() - fixed the RAW-CONTEXT test to look for NT_STATUS_DOS(ERRSRV, ERRbaduid) instead of NT_STATUS_INVALID_HANDLE (This used to be commit ff5549e87ffae9f062394f30d8fd1ae95b614735)
* r7899: fixed a crash bug in the RAW-CONTEXT testAndrew Tridgell2007-10-101-2/+0
| | | | (This used to be commit 470ad9a93fcbf961d7d89fd96f751ded39660f74)
* r7675: Use correct memory context for anonymous session setup auth contextAndrew Bartlett2007-10-101-0/+21
| | | | | | | | | (no need for it to hang around forever). Add test for this behaviour. Andrew Bartlett (This used to be commit 36dc2491d778fbbff32c4abdf95faa9f83024e12)
* r6315: Allow sane session setup behaviour on SPNEGO regarding VUIDs.Andrew Bartlett2007-10-101-1/+3
| | | | | Andrew Bartlett (This used to be commit 6e2327ee9bb3a9695eb85c6891f73f46d382919f)