Volker Lendecke
9c664dbd8c
s3: Convert cli_set_ea() to cli_trans()
2010-11-11 16:16:24 +00:00
Volker Lendecke
caf77f7c73
s3: Use cli_setpathinfo in cli_posix_unlink_internal
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Oct 24 21:28:08 UTC 2010 on sn-devel-104
2010-10-24 21:28:08 +00:00
Volker Lendecke
2d51a24ba5
s3: Avoid passing down a boolean to cli_posix_unlink_internal_send
2010-10-24 20:46:28 +00:00
Volker Lendecke
28e243f7ad
s3: Use cli_setpathinfo in cli_posix_chown_chmod_internal
2010-10-24 20:46:28 +00:00
Volker Lendecke
dedda3e245
s3: Use cli_setpathinfo in cli_posix_link_internal
2010-10-24 20:46:28 +00:00
Volker Lendecke
c0a6b74aa4
s3: Use tevent_req_simple_recv_ntstatus where appropriate
2010-10-24 20:46:28 +00:00
Volker Lendecke
64275ebe89
s3: Pass down a level instead of a flag to cli_posix_link_internal
2010-10-24 20:46:28 +00:00
Volker Lendecke
7b3fccd5b4
s3: Add async cli_setpathinfo
2010-10-24 20:46:28 +00:00
Volker Lendecke
172a1580d2
s3: Initialize output vars in parse_ea_blob
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Oct 24 12:22:22 UTC 2010 on sn-devel-104
2010-10-24 12:22:22 +00:00
Volker Lendecke
09a1075044
s3: Remove unused cli_get_ea_list_fnum
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Oct 24 10:23:29 UTC 2010 on sn-devel-104
2010-10-24 10:23:28 +00:00
Volker Lendecke
9423257806
s3: Add async cli_qfileinfo
2010-10-24 11:39:30 +02:00
Günther Deschner
c7fe04abc7
s3-build: only include async headers where needed.
...
Guenther
2010-09-20 13:54:42 -07:00
Volker Lendecke
d7c8fb21bb
s3: async cli_list
2010-08-18 15:14:02 +02:00
Volker Lendecke
77761d9adc
s3: Add cli_flush
2010-08-18 15:14:02 +02:00
Volker Lendecke
61fb8a4fd1
s3: Explicitly pass flags2 to clistr_pull_talloc
...
Required to eventually make cli_list async
2010-08-05 14:53:54 +02:00
Volker Lendecke
1cbe8b85ae
s3: Remove some pointless wrapper functions
2010-08-05 13:57:31 +02:00
Volker Lendecke
0a224bc77b
s3: Save the received trans2 from the inbuf in cli_trans
2010-08-05 13:57:29 +02:00
Volker Lendecke
5030ba5e94
s3: Callers of cli_qpathinfo_recv might ignore the output
2010-07-26 22:58:16 +02:00
Volker Lendecke
9851e1989a
s3: Fix a structure mess-up
...
I wonder why the compiler did not complain -- maybe because
the structs have the same data members? No clue.
2010-07-26 09:51:36 +02:00
Volker Lendecke
cc8977b157
s3: Remove some unused struct members
2010-07-26 09:51:36 +02:00
Volker Lendecke
334d5bfe30
s3: Convert cli_get_ea_list_path to cli_qpathinfo_send
2010-07-25 22:29:44 +02:00
Volker Lendecke
5380f67730
s3: Factor out parse_ea_blob
2010-07-25 22:29:44 +02:00
Volker Lendecke
d5e285abae
s3: Convert cli_posix_stat to cli_qpathinfo_send
2010-07-25 22:29:44 +02:00
Volker Lendecke
786e4cd098
s3: Convert cli_posix_getfacl to cli_qpathinfo_send
2010-07-25 22:29:43 +02:00
Volker Lendecke
cb9baa7c2c
s3: Convert cli_posix_readlink to cli_qpathinfo_send
2010-07-25 22:29:43 +02:00
Volker Lendecke
535774d880
s3: Add async cli_qpathinfo
2010-07-25 22:29:43 +02:00
Volker Lendecke
b04eba165e
s3: Fix cli_posix_stat
...
nlink seems to be defined as 8 bytes, not 4
Jeremy, please check!
2010-07-25 20:45:47 +02:00
Volker Lendecke
486f734fd8
s3: Explicitly handle inbuf in cli_message_start_done
2010-02-22 23:23:20 +01:00
Volker Lendecke
be62ca1403
s3: Explicitly handle inbuf in cli_dskattr_done
2010-02-22 23:23:20 +01:00
Volker Lendecke
327f93bf1c
s3: Explicitly handle inbuf in cli_getatr_done
2010-02-22 23:23:20 +01:00
Volker Lendecke
41ebf583e8
s3: Explicitly handle inbuf in cli_getattrE_done
2010-02-22 23:23:20 +01:00
Volker Lendecke
409fd662b0
s3: Explicitly handle inbuf in cli_open_done
2010-02-22 23:23:19 +01:00
Volker Lendecke
12863ffa56
s3: Explicitly handle inbuf in cli_ntcreate_done
2010-02-22 23:23:19 +01:00
Volker Lendecke
d122bfc064
s3: Add a talloc_move for the inbuf to cli_smb_recv
2010-02-22 23:23:18 +01:00
Volker Lendecke
b69a74eeca
s3: Convert cli_raw_ioctl to use cli_smb()
2010-02-20 18:59:29 +01:00
Volker Lendecke
b1ed9a8963
s3: Fix the build on Solaris
2009-11-17 15:16:28 +01:00
Stefan Metzmacher
0762893c48
s3:libsmb: avoid passing a function call as function parameter
...
Using a helper variable makes it easier to "step" into the desired function
within gdb.
metze
2009-11-16 10:13:05 +01:00
Volker Lendecke
f4cf1c56a2
s3: Add min_setup, min_param and min_data to cli_trans_recv
...
Every caller that expects to receive something needs to check if enough was
sent. Make this check mandatory for everyone.
Yes, this makes the parameter list for cli_trans a bit silly, but that's just
the way it is: A silly protocol request :-)
While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
2009-11-14 12:20:12 +01:00
Volker Lendecke
94d5417d10
s3:torture: Add a notify-bench test
...
This is a test that creates and deletes files in a directory as fast as the
network allows it. At the same time, it opens a filechangenotify. This test is
done to just torture handling a single directory together with the notify
infrastructure.
2009-10-13 20:34:25 +02:00
Volker Lendecke
1302526a74
s3:libsmb: Add cli_notify
2009-10-13 20:34:25 +02:00
Jeremy Allison
f31138ecc7
Fix bug 6726 - Filename length overwrites oplock request field in cli_nt_create().
...
Jeremy.
2009-09-14 15:10:53 -07:00
Volker Lendecke
e8abc36d2a
Fix a valgrind error in cli_ctemp_done
...
For performance reasons cli_smb_recv does not make copies of the buffers we
received from the client, so both "vwv" and "bytes" vanish with
TALLOC_FREE(subreq). I know this is a bit counter-intuitive, but I think in
this case it's justified not to make copies.
Comments?
2009-07-27 12:47:20 +02:00
Jeremy Allison
1f5aec877f
Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.
...
Jeremy.
2009-07-15 11:49:33 -07:00
Jeremy Allison
e67de63ba6
Make cli_posix_lock/unlock asynchronous.
...
Jeremy.
2009-07-13 18:43:10 -07:00
Jeremy Allison
dc5c7b7f98
Make ctemp async. Fix the test to pass against W2K3.
...
Jeremy.
2009-06-10 11:58:00 -07:00
Jeremy Allison
64a1f17aff
Make cli_ftruncate async. Also add a simple test.
...
Jeremy.
2009-06-05 16:06:05 -07:00
Jeremy Allison
684d3dddd6
Make cli_nt_delete_on_close() async.
...
Jeremy.
2009-05-29 14:58:34 -07:00
Jeremy Allison
9df85a9374
Make cli_posix_chown()/cli_posix_chmod() async.
...
Jeremy.
2009-05-28 16:15:09 -07:00
Jeremy Allison
656e86d5fa
Make cli_posix_stat() async.
...
Jeremy.
2009-05-28 13:32:00 -07:00
Jeremy Allison
d74e42e0ec
Make getfacl async.
...
Jeremy.
2009-05-28 13:05:50 -07:00