summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-24s3: Use tevent_req_simple_recv_ntstatus where appropriateVolker Lendecke1-66/+11
2010-10-24s3: Pass down a level instead of a flag to cli_posix_link_internalVolker Lendecke1-7/+7
2010-10-24s3: Add async cli_setpathinfoVolker Lendecke1-0/+78
2010-10-24s3: Initialize output vars in parse_ea_blobVolker Lendecke1-0/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Oct 24 12:22:22 UTC 2010 on sn-devel-104
2010-10-24s3: Remove unused cli_get_ea_list_fnumVolker Lendecke1-62/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Oct 24 10:23:29 UTC 2010 on sn-devel-104
2010-10-24s3: Add async cli_qfileinfoVolker Lendecke1-0/+133
2010-09-20s3-build: only include async headers where needed.Günther Deschner1-0/+1
Guenther
2010-08-18s3: async cli_listVolker Lendecke1-0/+20
2010-08-18s3: Add cli_flushVolker Lendecke1-0/+83
2010-08-05s3: Explicitly pass flags2 to clistr_pull_tallocVolker Lendecke1-3/+4
Required to eventually make cli_list async
2010-08-05s3: Remove some pointless wrapper functionsVolker Lendecke1-4/+7
2010-08-05s3: Save the received trans2 from the inbuf in cli_transVolker Lendecke1-10/+11
2010-07-26s3: Callers of cli_qpathinfo_recv might ignore the outputVolker Lendecke1-2/+8
2010-07-26s3: Fix a structure mess-upVolker Lendecke1-1/+1
I wonder why the compiler did not complain -- maybe because the structs have the same data members? No clue.
2010-07-26s3: Remove some unused struct membersVolker Lendecke1-6/+0
2010-07-25s3: Convert cli_get_ea_list_path to cli_qpathinfo_sendVolker Lendecke1-20/+94
2010-07-25s3: Factor out parse_ea_blobVolker Lendecke1-25/+41
2010-07-25s3: Convert cli_posix_stat to cli_qpathinfo_sendVolker Lendecke1-57/+20
2010-07-25s3: Convert cli_posix_getfacl to cli_qpathinfo_sendVolker Lendecke1-53/+21
2010-07-25s3: Convert cli_posix_readlink to cli_qpathinfo_sendVolker Lendecke1-67/+33
2010-07-25s3: Add async cli_qpathinfoVolker Lendecke1-0/+135
2010-07-25s3: Fix cli_posix_statVolker Lendecke1-4/+4
nlink seems to be defined as 8 bytes, not 4 Jeremy, please check!
2010-02-22s3: Explicitly handle inbuf in cli_message_start_doneVolker Lendecke1-4/+3
2010-02-22s3: Explicitly handle inbuf in cli_dskattr_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_getatr_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_getattrE_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_open_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_ntcreate_doneVolker Lendecke1-2/+3
2010-02-22s3: Add a talloc_move for the inbuf to cli_smb_recvVolker Lendecke1-17/+19
2010-02-20s3: Convert cli_raw_ioctl to use cli_smb()Volker Lendecke1-18/+10
2009-11-17s3: Fix the build on SolarisVolker Lendecke1-6/+6
2009-11-16s3:libsmb: avoid passing a function call as function parameterStefan Metzmacher1-18/+18
Using a helper variable makes it easier to "step" into the desired function within gdb. metze
2009-11-14s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke1-85/+28
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-10-13s3:torture: Add a notify-bench testVolker Lendecke1-0/+4
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-13s3:libsmb: Add cli_notifyVolker Lendecke1-0/+140
2009-09-14Fix bug 6726 - Filename length overwrites oplock request field in ↵Jeremy Allison1-1/+1
cli_nt_create(). Jeremy.
2009-07-27Fix a valgrind error in cli_ctemp_doneVolker Lendecke1-1/+3
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-15Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.Jeremy Allison1-64/+206
Jeremy.
2009-07-13Make cli_posix_lock/unlock asynchronous.Jeremy Allison1-58/+215
Jeremy.
2009-06-10Make ctemp async. Fix the test to pass against W2K3.Jeremy Allison1-36/+135
Jeremy.
2009-06-05Make cli_ftruncate async. Also add a simple test.Jeremy Allison1-72/+116
Jeremy.
2009-05-29Make cli_nt_delete_on_close() async.Jeremy Allison1-0/+130
Jeremy.
2009-05-28Make cli_posix_chown()/cli_posix_chmod() async.Jeremy Allison1-47/+213
Jeremy.
2009-05-28Make cli_posix_stat() async.Jeremy Allison1-52/+143
Jeremy.
2009-05-28Make getfacl async.Jeremy Allison1-40/+130
Jeremy.
2009-05-27Add cli_posix_readlink() and a torture test for it.Jeremy Allison1-1/+183
Jeremy.
2009-05-27Add aync POSIX hardlink and symlink and torture test for them.Jeremy Allison1-151/+300
Missing call cli_readlink() is next. Jeremy.
2009-05-26Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STATVolker Lendecke1-14/+14
This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do.
2009-05-20Make cli_posix_open() and cli_posix_mkdir() async.Jeremy Allison1-56/+217
Jeremy.
2009-05-13s3: return proper error code in cli_smb_req_sendBo Yang1-4/+16
Signed-off-by: Bo Yang <boyang@samba.org>