summaryrefslogtreecommitdiffstats
path: root/source3/torture/nbio.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: libsmb : Move users of cli_dskattr to a 64-bit interface cli_disk_free().Jeremy Allison2014-06-071-2/+2
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
* s3: client : Add extra return parameter to all client open calls.Jeremy Allison2014-05-091-1/+1
| | | | | | | | | | | | | | | Add a return parameter of struct smb_create_returns *cr to cli_ntcreate() cli_ntcreate_recv() cli_nttrans_create() cli_nttrans_create_recv() Always pass in NULL for now. This fixes the create API to always fully return the data the server has given back to us on the open file to the caller. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: Call cli_flush().Andreas Schneider2013-12-061-1/+2
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Dec 6 03:07:32 CET 2013 on sn-devel-104
* s3-torture: Fix several memory leaks in delete_fn().Andreas Schneider2013-12-061-1/+5
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:torture: replace shm_setup() with anonymous_shared_allocate()Stefan Metzmacher2012-07-251-1/+1
| | | | metze
* s3-torture/nbio.c: replace cli_read_old() with cli_read()Björn Baumbach2011-07-231-4/+15
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach2011-07-201-1/+1
| | | | | | Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture/nbio.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-7/+16
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2011-04-291-3/+3
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3: Use cli_writeall instead of cli_writeVolker Lendecke2011-04-261-3/+7
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-151-0/+1
| | | | Guenther
* s3: Fix a missing return valueVolker Lendecke2010-11-171-1/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 17 20:40:18 UTC 2010 on sn-devel-104
* Fix bug #7700 - Improvement of return code of smbclientJeremy Allison2010-10-291-5/+13
| | | | | | | | | | Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>. Convert cli_list and associated functions to take calls that return NTSTATUS. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
* s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke2010-10-241-1/+2
|
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3: Remove a typedef (struct file_info)Volker Lendecke2010-07-271-2/+4
|
* s3: cli_qpathinfo->cli_qpathinfo1Volker Lendecke2010-07-251-1/+1
|
* s3:torture/nbio: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher2009-11-241-2/+5
| | | | | | start_timer/end_timer metze
* s3:fix the merged build of bin/smbtorture4Michael Adam2009-11-241-1/+1
| | | | Michael
* s3:torture: move the torture-specific headers to new torture/torture.hMichael Adam2009-11-231-0/+1
| | | | Michael
* Cause cli_close to return an NTSTATUS.Jeremy Allison2009-04-301-1/+1
| | | | Jeremy.
* Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison2009-04-301-8/+10
| | | | | | | 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.
* Make cli_unlink async.Jeremy Allison2009-04-291-1/+1
| | | | Jeremy.
* Convert cli_rename to async.Jeremy Allison2009-04-281-1/+1
| | | | Jeremy.
* Make rmdir async.Jeremy Allison2009-04-211-1/+1
| | | | Jeremy.
* Fix warnings in make test code.Jeremy Allison2009-01-021-4/+15
| | | | Jeremy.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r17363: Some C++ warningsVolker Lendecke2007-10-101-2/+2
| | | | (This used to be commit fd82f185a2e0f94bfb75f4eee072556ad94bf27d)
* r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2007-10-101-2/+0
| | | | (This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
* r7902: Fix the buildVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 6d431eb676e1df4cfdcbeaed5fa81adfbfc77325)
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-2/+2
| | | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
* r6640: Attempt to fix 'make everything' with the paranoid malloc checker.Volker Lendecke2007-10-101-1/+1
| | | | | Volker (This used to be commit 3db2799822da3711b47b60ba13daa07205ced45f)
* r5749: fix some build issuesGerald Carter2007-10-101-2/+2
| | | | (This used to be commit 3f12dbb1cfd429e537415635aaa6e551e00c2a0e)
* Two trivial warningsVolker Lendecke2003-12-021-1/+3
| | | | | Volker (This used to be commit a13e088493d91d39f730ba4b5138d5c4c5aa113a)
* Merge torture tests from HEAD - it looks like we had rather an incompleteAndrew Bartlett2003-04-231-7/+7
| | | | | | | merge last time. I hope this might fix a few failures on the build farm too. Andrew Bartlett (This used to be commit 0c837126923cc30fa60223a5a68d4f527971cc7b)
* merge in metze' smbcquotas patch from HEADGerald Carter2003-04-151-2/+2
| | | | (This used to be commit b6a77048886151435a4a5eeb9a04be44d397c504)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-0/+10
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Fixed some compile warnings.Tim Potter2002-04-041-0/+2
| | | | (This used to be commit fd8b3009eb3f3debc7a1dcf6a46437d87a341519)
* fixed NBENCH code for NT4 server ntcreatex semanticsAndrew Tridgell2002-03-051-4/+10
| | | | (This used to be commit b71a729e14e928fae288daeab4226d7e1f8b1dc5)
* - only show 1 cleanup msg per clientAndrew Tridgell2002-02-051-4/+16
| | | | | - show client count in progress (This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)
* fixed the directory removal for when the dir doesn't exitAndrew Tridgell2002-02-051-1/+1
| | | | (This used to be commit 2c67b266cc4848dff6066fcbc875ab5f91113179)
* rewrote smbtorture to use the new dbench 2 format and methodsAndrew Tridgell2002-02-051-112/+159
| | | | (This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* moved all our torture code to a separate directoryAndrew Tridgell2001-06-191-0/+240
(This used to be commit dd12c47645e2d0e832bc555492a6a8725a4495ee)