Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-14 | Fix bug 6726 - Filename length overwrites oplock request field in ↵ | Jeremy Allison | 1 | -1/+1 | |
cli_nt_create(). Jeremy. | |||||
2009-07-27 | Fix a valgrind error in cli_ctemp_done | Volker Lendecke | 1 | -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-15 | Make cli_unlock and cli_unlock64 async. Fix POSIX lock test. | Jeremy Allison | 1 | -64/+206 | |
Jeremy. | |||||
2009-07-13 | Make cli_posix_lock/unlock asynchronous. | Jeremy Allison | 1 | -58/+215 | |
Jeremy. | |||||
2009-06-10 | Make ctemp async. Fix the test to pass against W2K3. | Jeremy Allison | 1 | -36/+135 | |
Jeremy. | |||||
2009-06-05 | Make cli_ftruncate async. Also add a simple test. | Jeremy Allison | 1 | -72/+116 | |
Jeremy. | |||||
2009-05-29 | Make cli_nt_delete_on_close() async. | Jeremy Allison | 1 | -0/+130 | |
Jeremy. | |||||
2009-05-28 | Make cli_posix_chown()/cli_posix_chmod() async. | Jeremy Allison | 1 | -47/+213 | |
Jeremy. | |||||
2009-05-28 | Make cli_posix_stat() async. | Jeremy Allison | 1 | -52/+143 | |
Jeremy. | |||||
2009-05-28 | Make getfacl async. | Jeremy Allison | 1 | -40/+130 | |
Jeremy. | |||||
2009-05-27 | Add cli_posix_readlink() and a torture test for it. | Jeremy Allison | 1 | -1/+183 | |
Jeremy. | |||||
2009-05-27 | Add aync POSIX hardlink and symlink and torture test for them. | Jeremy Allison | 1 | -151/+300 | |
Missing call cli_readlink() is next. Jeremy. | |||||
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 1 | -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-20 | Make cli_posix_open() and cli_posix_mkdir() async. | Jeremy Allison | 1 | -56/+217 | |
Jeremy. | |||||
2009-05-13 | s3: return proper error code in cli_smb_req_send | Bo Yang | 1 | -4/+16 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-05-12 | Clean up assignments to iov_base, ensure it's always cast to void *. This ↵ | Jeremy Allison | 1 | -1/+1 | |
should quieten some warnings with picky compilers on the buildfarm. Jeremy. | |||||
2009-05-09 | s3:libsmb: fix layering of cli_ntrename_internal and its callers | Stefan Metzmacher | 1 | -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-07 | Async API needs all parameters to be kept around until sent, | Jeremy Allison | 1 | -55/+15 | |
ensure they're attached to the state structure. Thanks to Metze for pointing this out. Jeremy. | |||||
2009-05-06 | Make cli_setatr async. | Jeremy Allison | 1 | -0/+127 | |
Jeremy. | |||||
2009-05-06 | Make cli_setattrE async. | Jeremy Allison | 1 | -24/+96 | |
Jeremy. | |||||
2009-05-05 | Make cli_getatr() async. | Jeremy Allison | 1 | -26/+125 | |
Jeremy. | |||||
2009-05-05 | Make cli_getattrE async. | Jeremy Allison | 1 | -28/+128 | |
Jeremy. | |||||
2009-05-04 | Fix the async calls for the posix_unlink and posix_rmdir. | Jeremy Allison | 1 | -13/+49 | |
Jeremy. | |||||
2009-04-30 | Cause cli_close to return an NTSTATUS. | Jeremy Allison | 1 | -80/+3 | |
Jeremy. | |||||
2009-04-30 | Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int. | Jeremy Allison | 1 | -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-29 | Make cli_unlink async. | Jeremy Allison | 1 | -26/+91 | |
Jeremy. | |||||
2009-04-29 | More async calls in libsmb/clifile.c | Jeremy Allison | 1 | -50/+170 | |
Jeremy. | |||||
2009-04-28 | Doh ! Don't need "int dummy" when we have state :-). | Jeremy Allison | 1 | -1/+0 | |
Jeremy. | |||||
2009-04-28 | Convert cli_rename to async. | Jeremy Allison | 1 | -23/+106 | |
Jeremy. | |||||
2009-04-28 | Convert cli_posix_unlink() and cli_posix_rmdir() | Jeremy Allison | 1 | -63/+190 | |
to async. First trans calls I've done. Jeremy. | |||||
2009-04-24 | find/replace. Change uintX types to uintX_t types to tidy up the code. | Jeremy Allison | 1 | -38/+38 | |
Jeremy. | |||||
2009-04-22 | Make dskattr async. | Jeremy Allison | 1 | -38/+102 | |
Jeremy. | |||||
2009-04-22 | Make cli_chkpath async. | Jeremy Allison | 1 | -0/+121 | |
Jeremy | |||||
2009-04-21 | s3:libsmb: always use the tevent_req_nomem() for checking allocation failures | Stefan Metzmacher | 1 | -6/+6 | |
This will also make sure we cleanup 'req' in case of an error. metze | |||||
2009-04-21 | Make rmdir async. | Jeremy Allison | 1 | -57/+91 | |
Jeremy. | |||||
2009-04-21 | Make cli_mkdir async. Change it to return NTSTATUS. | Jeremy Allison | 1 | -0/+110 | |
Jeremy. | |||||
2009-04-14 | Convert Samba3 to use the common lib/util/charset API | Andrew Bartlett | 1 | -4/+4 | |
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett | |||||
2009-04-06 | Convert cli_open to tevent_req | Volker Lendecke | 1 | -46/+102 | |
2009-04-06 | Convert cli_close to tevent_req | Volker Lendecke | 1 | -20/+66 | |
2009-04-06 | Convert cli_ntcreate to tevent_req | Volker Lendecke | 1 | -38/+68 | |
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 1 | -3/+3 | |
2009-01-30 | Add async cli_ntcreate | Volker Lendecke | 1 | -0/+132 | |
2009-01-29 | Add the strlen to push to smb_bytes_push_str, return the converted size | Volker Lendecke | 1 | -8/+11 | |
The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing. | |||||
2009-01-26 | Decouple clistr_pull from struct cli_state->inbuf | Volker Lendecke | 1 | -1/+1 | |
2009-01-25 | Fix an error path memleak | Volker Lendecke | 1 | -0/+1 | |
2009-01-25 | Make smb_bytes_push_str deal with a NULL buf returning NULL | Volker Lendecke | 1 | -1/+6 | |
2008-12-19 | Pass "bytes_alignment" up through cli_request_send | Volker Lendecke | 1 | -2/+2 | |
This parameter makes smb_spice_chain add padding before the bytes field | |||||
2008-12-08 | Simplify async programming a bit with helper routines | Volker Lendecke | 1 | -6/+5 | |
Introduce async_req_is_error() and async_req_simple_recv() | |||||
2008-11-18 | libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal | Kai Blin | 1 | -1/+1 | |
2008-10-14 | Use {u,}int64_t instead of SMB_BIG_{U,}INT. | Jelmer Vernooij | 1 | -6/+6 | |