Jeremy Allison
66a04ba7c1
s3: libsmb : Move users of cli_dskattr to a 64-bit interface cli_disk_free().
...
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
2014-06-07 03:15:14 +02:00
Jeremy Allison
69e24b4e8b
s3: client : Add extra return parameter to all client open calls.
...
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>
2014-05-09 23:10:07 +02:00
Andreas Schneider
30231b256d
s3-torture: Call cli_flush().
...
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
2013-12-06 03:07:32 +01:00
Andreas Schneider
1d7b909bd2
s3-torture: Fix several memory leaks in delete_fn().
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-12-06 01:14:09 +01:00
Stefan Metzmacher
e0bc165080
s3:torture: replace shm_setup() with anonymous_shared_allocate()
...
metze
2012-07-25 12:15:01 +02:00
Björn Baumbach
473b16dcbf
s3-torture/nbio.c: replace cli_read_old() with cli_read()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23 09:18:55 +02:00
Björn Baumbach
9b168e128a
s3-libsmb: replace cli_read() with cli_read_old()
...
Will introduce new cli_read() function.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20 22:09:25 +02:00
Björn Baumbach
23e23d0836
s3-torture/nbio.c: Fix cli_errstr() usage (part of bug #7864 )
...
Convert cli_errstr() to nt_errstr()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-18 10:55:52 +02:00
Günther Deschner
27022587e3
s3-libsmb: move protos to libsmb/proto.h
...
Guenther
2011-05-06 16:37:18 +02:00
Andrew Bartlett
0eca33bbf6
s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIR
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
0a3c84b554
s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
317e19aeb3
s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDEN
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:12 +10:00
Volker Lendecke
0226428eb9
s3: Use cli_writeall instead of cli_write
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26 12:22:55 -07:00
Günther Deschner
7a91282c9f
s3-libsmb: only include rap client when needed.
...
Guenther
2011-03-15 21:16:35 +01:00
Volker Lendecke
63029eb24b
s3: Fix a missing return value
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 17 20:40:18 UTC 2010 on sn-devel-104
2010-11-17 20:40:18 +00:00
Jeremy Allison
14ff2e8de9
Fix bug #7700 - Improvement of return code of smbclient
...
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
2010-10-29 19:40:16 +00:00
Volker Lendecke
03333fc68c
s3: Rename cli_fileinfo() to cli_fileinfo_basic()
2010-10-24 11:39:29 +02:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
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
2010-10-12 05:54:10 +00:00
Volker Lendecke
dace013898
s3: Remove a typedef (struct file_info)
2010-07-27 21:05:35 +02:00
Volker Lendecke
ce3dfd777f
s3: cli_qpathinfo->cli_qpathinfo1
2010-07-25 22:29:42 +02:00
Stefan Metzmacher
0610f547aa
s3:torture/nbio: use timeval_current/timeval_elapsed instead of start_timer/end_timer
...
metze
2009-11-24 11:49:01 +01:00
Michael Adam
a46b63fd98
s3:fix the merged build of bin/smbtorture4
...
Michael
2009-11-24 11:47:30 +01:00
Michael Adam
63a801e5c9
s3:torture: move the torture-specific headers to new torture/torture.h
...
Michael
2009-11-23 23:51:07 +01:00
Jeremy Allison
f3af298e5b
Cause cli_close to return an NTSTATUS.
...
Jeremy.
2009-04-30 16:57:42 -07:00
Jeremy Allison
8cf78ff553
Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.
...
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-30 15:26:43 -07:00
Jeremy Allison
370e7209db
Make cli_unlink async.
...
Jeremy.
2009-04-29 18:26:02 -07:00
Jeremy Allison
bd6447dcf2
Convert cli_rename to async.
...
Jeremy.
2009-04-28 16:43:16 -07:00
Jeremy Allison
5ccf58ff59
Make rmdir async.
...
Jeremy.
2009-04-21 06:52:54 -07:00
Jeremy Allison
2234173220
Fix warnings in make test code.
...
Jeremy.
2009-01-02 11:38:24 -08:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Volker Lendecke
467ec2a32b
r17363: Some C++ warnings
...
(This used to be commit fd82f185a2e0f94bfb75f4eee072556ad94bf27d)
2007-10-10 11:38:28 -05:00
Tim Potter
ab398643a4
r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.
...
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10 11:00:11 -05:00
Volker Lendecke
ad54e2f0c2
r7902: Fix the build
...
(This used to be commit 6d431eb676e1df4cfdcbeaed5fa81adfbfc77325)
2007-10-10 10:58:02 -05:00
Jeremy Allison
19ca97a70f
r7882: Looks like a large patch - but what it actually does is make Samba
...
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)
2007-10-10 10:58:00 -05:00
Volker Lendecke
55739e9f86
r6640: Attempt to fix 'make everything' with the paranoid malloc checker.
...
Volker
(This used to be commit 3db2799822da3711b47b60ba13daa07205ced45f)
2007-10-10 10:56:49 -05:00
Gerald Carter
cf1ebf6b62
r5749: fix some build issues
...
(This used to be commit 3f12dbb1cfd429e537415635aaa6e551e00c2a0e)
2007-10-10 10:55:59 -05:00
Volker Lendecke
0064a113f2
Two trivial warnings
...
Volker
(This used to be commit a13e088493d91d39f730ba4b5138d5c4c5aa113a)
2003-12-02 11:36:02 +00:00
Andrew Bartlett
2206df6b30
Merge torture tests from HEAD - it looks like we had rather an incomplete
...
merge last time. I hope this might fix a few failures on the build farm too.
Andrew Bartlett
(This used to be commit 0c837126923cc30fa60223a5a68d4f527971cc7b)
2003-04-23 08:12:34 +00:00
Gerald Carter
d15cd357c7
merge in metze' smbcquotas patch from HEAD
...
(This used to be commit b6a77048886151435a4a5eeb9a04be44d397c504)
2003-04-15 19:51:17 +00:00
Andrew Tridgell
e90b652848
updated the 3.0 branch from the head branch - ready for alpha18
...
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-07-15 10:35:28 +00:00
Tim Potter
f18b466bf6
Fixed some compile warnings.
...
(This used to be commit fd8b3009eb3f3debc7a1dcf6a46437d87a341519)
2002-04-04 22:56:39 +00:00
Andrew Tridgell
ced46b906b
fixed NBENCH code for NT4 server ntcreatex semantics
...
(This used to be commit b71a729e14e928fae288daeab4226d7e1f8b1dc5)
2002-03-05 19:51:05 +00:00
Andrew Tridgell
007a9a5cdc
- only show 1 cleanup msg per client
...
- show client count in progress
(This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)
2002-02-05 03:55:20 +00:00
Andrew Tridgell
3608da565f
fixed the directory removal for when the dir doesn't exit
...
(This used to be commit 2c67b266cc4848dff6066fcbc875ab5f91113179)
2002-02-05 03:02:14 +00:00
Andrew Tridgell
38fa35571e
rewrote smbtorture to use the new dbench 2 format and methods
...
(This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)
2002-02-05 01:31:47 +00:00
Tim Potter
cd68afe312
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Andrew Tridgell
ffb63e4f8e
moved all our torture code to a separate directory
...
(This used to be commit dd12c47645e2d0e832bc555492a6a8725a4495ee)
2001-06-19 02:02:19 +00:00