summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.c
AgeCommit message (Collapse)AuthorFilesLines
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>
2009-05-12Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison1-1/+1
should quieten some warnings with picky compilers on the buildfarm. Jeremy.
2009-05-09s3:libsmb: fix layering of cli_ntrename_internal and its callersStefan Metzmacher1-29/+35
It's easier to have cli_ntrename_internal as a semetric async tevent_req function. cli_ntrename() and cli_nt_hardlink() should be callers on top of cli_ntrename_internal(). metze
2009-05-07Async API needs all parameters to be kept around until sent,Jeremy Allison1-55/+15
ensure they're attached to the state structure. Thanks to Metze for pointing this out. Jeremy.
2009-05-06Make cli_setatr async.Jeremy Allison1-0/+127
Jeremy.
2009-05-06Make cli_setattrE async.Jeremy Allison1-24/+96
Jeremy.
2009-05-05Make cli_getatr() async.Jeremy Allison1-26/+125
Jeremy.
2009-05-05Make cli_getattrE async.Jeremy Allison1-28/+128
Jeremy.
2009-05-04Fix the async calls for the posix_unlink and posix_rmdir.Jeremy Allison1-13/+49
Jeremy.
2009-04-30Cause cli_close to return an NTSTATUS.Jeremy Allison1-80/+3
Jeremy.
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison1-29/+34
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-29Make cli_unlink async.Jeremy Allison1-26/+91
Jeremy.
2009-04-29More async calls in libsmb/clifile.cJeremy Allison1-50/+170
Jeremy.