1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

208 Commits

Author SHA1 Message Date
Volker Lendecke
6f3e11088c s3: Convert cli_lock64 to cli_smb 2011-01-17 08:03:43 +01:00
Volker Lendecke
dd2f234412 s3: Convert cli_lock to use cli_locktype 2011-01-17 08:03:43 +01:00
Volker Lendecke
0e2854f743 s3: Convert cli_locktype to cli_smb 2011-01-17 08:03:43 +01:00
Volker Lendecke
7b054ecaed s3: Make passing up "result_parent" from cli_smb optional 2011-01-17 08:03:43 +01:00
Volker Lendecke
21d5485e06 s3: Add cli_setpathinfo 2011-01-17 08:03:42 +01:00
Volker Lendecke
bc5554bdcc s3: Fix some nonempty blank lines 2011-01-17 08:03:40 +01:00
Volker Lendecke
3f6705e8e3 s3: Add cli_shadow_copy_data 2010-11-30 11:36:53 +01:00
Volker Lendecke
beaf14ec91 s3: Well... Fix a stupid error
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Nov 11 18:54:00 UTC 2010 on sn-devel-104
2010-11-11 18:54:00 +00:00
Volker Lendecke
e7970c02f3 s3: Make cli_set_ea_fnum return NTSTATUS
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
2010-11-11 16:59:27 +00:00
Volker Lendecke
ddd33f0351 s3: Make cli_set_ea_path return NTSTATUS 2010-11-11 16:16:24 +00:00
Volker Lendecke
1b13a4d22b s3: Remove two pointless variables 2010-11-11 16:16:24 +00:00
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