summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2009-05-13s3:libsmb: let cli_smb_chain_send() also return NTSTATUSStefan Metzmacher1-2/+6
metze
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison1-4/+4
Should make Solaris 10 builds look cleaner. Jeremy.
2009-05-09Fix the mangle1 testVolker Lendecke1-1/+1
2009-05-07Fix a typoVolker Lendecke1-1/+1
2009-05-07Add simple test chaining up sesssetup and tconVolker Lendecke1-0/+53
2009-05-06Make cli_setatr async.Jeremy Allison1-2/+2
Jeremy.
2009-05-05Make cli_getatr() async.Jeremy Allison1-5/+5
Jeremy.
2009-05-04Fix the async calls for the posix_unlink and posix_rmdir.Jeremy Allison1-1/+1
Jeremy.
2009-05-04s3 torture: Only close if open was successfulTim Prouty1-4/+12
2009-05-04Torture test for bug #6315 - smbd crashes doing vfs_full_audit on IPC$ close ↵Jeremy Allison1-2/+28
event. Shows that doing a tdis with invalid uid succeeds. Jeremy.
2009-05-04s3 torture: Fix comparison is always true warningTim Prouty1-2/+2
2009-05-03Fix an invalid type warningVolker Lendecke1-1/+1
2009-05-03Fix some warnings due to uint16_t!=-1 always being trueVolker Lendecke1-4/+4
2009-05-02Attempt to fix the build on SerNet-sles8Volker Lendecke1-3/+6
That compiler does not like #if embedded into the macro NT_STATUS_IS_OK.
2009-05-01Add getaddrinfo_send/recvVolker Lendecke1-0/+55
2009-04-30Cause cli_close to return an NTSTATUS.Jeremy Allison4-67/+67
Jeremy.
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison9-415/+312
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
2009-04-29Make cli_unlink async.Jeremy Allison9-108/+108
Jeremy.
2009-04-28Convert cli_rename to async.Jeremy Allison2-6/+6
Jeremy.
2009-04-28Convert cli_posix_unlink() and cli_posix_rmdir()Jeremy Allison1-2/+2
to async. First trans calls I've done. Jeremy.
2009-04-23Fix a pointless staticVolker Lendecke1-1/+1
2009-04-22Make cli_chkpath async.Jeremy Allison1-5/+5
Jeremy
2009-04-22Fix some nonempty blank linesVolker Lendecke1-143/+142
2009-04-22Remove some shadowed definition warningsVolker Lendecke1-3/+3
2009-04-21Make rmdir async.Jeremy Allison3-3/+3
Jeremy.
2009-04-21Make cli_mkdir async. Change it to return NTSTATUS.Jeremy Allison3-7/+7
Jeremy.
2009-04-20Reproduce a bug with a custom GET_REAL_FILENAMEVolker Lendecke1-0/+54
2009-04-16Add torture tester to ensure we don't regress the ulogoff bug.Jeremy Allison1-0/+45
Jeremy.
2009-04-07s3:smbtorture Convert charcnv torture suite to use push_ucs2_talloc()Andrew Bartlett1-4/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06Add a bad hack to enable level 2 oplocks in torture_open_connection_shareVolker Lendecke1-2/+4
2009-04-06Re-add the CHAIN1 testVolker Lendecke1-0/+81
2009-04-06Convert cli_echo to tevent_reqVolker Lendecke1-14/+1
2009-04-06Remove the CHAIN1 test -- will come back laterVolker Lendecke1-99/+0
2009-03-29Fix a debug msg typoVolker Lendecke1-1/+1
2009-03-18Modify simple POSIX open test to use filenames containing a ':'Jeremy Allison1-2/+2
character. Should stop regressions of bug #6196. Jeremy.
2009-03-16Convert wb_trans to tevent_reqVolker Lendecke1-5/+4
2009-03-13Remove pwd_cache.c, it was doing nothing. Make user_name, domain, andJeremy Allison1-1/+5
password talloc'ed strings within the cli_struct. Jeremy.
2009-03-12s3 torture: Fix unitialized variable to avoid closing a random fnumTim Prouty1-1/+1
2009-03-12Revert "s3:libsmb: add an option to cli_push to let the caller provide the ↵Stefan Metzmacher1-5/+3
buffers" This reverts commit 9579a6f193f570e4ce2af80f4aac7c2f25ae5b22. It's confusing to have a boolean to alter the behavior of cli_push and as the new feature isn't used yet I revert it. We can readd a extra function later. metze
2009-03-11Add simple POSIX open, mkdir and rmdir test.Jeremy Allison1-0/+114
Jeremy.
2009-03-11s3 torture: Simple warning fixTim Prouty1-1/+1
2009-03-10s3:libsmb: add an option to cli_push to let the caller provide the buffersStefan Metzmacher1-3/+5
metze
2009-02-13Replace get_myname() with the talloc version from v3-3-testVolker Lendecke1-1/+1
2009-02-10s3: Remove some unused varsTim Prouty1-5/+3
2009-02-09Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIRSteven Danneman1-2/+33
* this allows VFS implementations that prefetch stat information on readdir to return it through one VFS call * backwards compatibility is maintained by passing in NULL * if the system readdir doesn't return stat info, the stat struct is set to invalid
2009-02-09async_sock: Use unix errnos instead of NTSTATUSKai Blin1-3/+4
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later.
2009-01-30Make cli_tcon_andx asyncVolker Lendecke3-15/+19
2009-01-28s3:torture: support SMB_CONF_PATH envvar in smbtortureStefan Metzmacher1-0/+5
metze
2009-01-23Extend NTIMES to allow setting create_timetodd stecher1-4/+7
1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today.
2009-01-22s3:msgtest: don't call message_dispatch() anymore, use tevent_loop_once() ↵Stefan Metzmacher1-8/+19
instead metze