Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_UNLINK | Tim Prouty | 1 | -1/+11 | |
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_RENAME | Tim Prouty | 1 | -1/+20 | |
2009-07-03 | Fix two pointless statics | Volker Lendecke | 1 | -1/+1 | |
2009-07-03 | Test error codes on popular streams | Volker Lendecke | 1 | -0/+54 | |
2009-06-24 | s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT | Tim Prouty | 1 | -2/+24 | |
This patch introduces two new temporary helper functions vfs_stat_smb_fname and vfs_lstat_smb_fname. They basically allowed me to call the new smb_filename version of stat, while avoiding plumbing it through callers that are still too inconvenient. As the conversion moves along, I will be able to remove callers of this, with the goal being to remove all callers. There was also a bug in create_synthetic_smb_fname_split (also a temporary utility function) that caused it to incorrectly handle filenames with ':'s in them when in posix mode. This is now fixed. | |||||
2009-06-20 | Add tldap paged searches, together with two helper routines | Volker Lendecke | 1 | -0/+55 | |
2009-06-19 | Add tiny tldap test | Volker Lendecke | 1 | -0/+36 | |
2009-06-17 | s3: Change SMB_VFS_OPEN to take an smb_filename struct | Tim Prouty | 1 | -1/+12 | |
This was a little messy because of all of the vfs modules I had to touch. Most of them were pretty straight forward, but the streams modules required a little attention to handle smb_filename. Since the use of smb_filename enables the vfs modules to access the raw, over-the-wire stream, a little bit of the handling that was being done by split_ntfs_stream_name has now been shifted into the individual stream modules. It may be a little more code, but overall it gives more flexibility to the streams modules, while also allowing correct stream handling. | |||||
2009-06-10 | Make ctemp async. Fix the test to pass against W2K3. | Jeremy Allison | 1 | -2/+1 | |
Jeremy. | |||||
2009-06-05 | Make cli_ftruncate async. Also add a simple test. | Jeremy Allison | 1 | -0/+24 | |
Jeremy. | |||||
2009-06-05 | source3/torture/vfstest.c(process_file): fixed file descriptor leak. | Slava Semushin | 1 | -0/+4 | |
Found by cppcheck: [./source3/torture/vfstest.c:400]: (error) Resource leak: file | |||||
2009-06-03 | s3:smbd: move tcon specific globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-05-30 | libwbclient: Store the winbind socket dir to use in the wb_context | Kai Blin | 1 | -1/+1 | |
2009-05-30 | libwbclient: Add async call framework. | Kai Blin | 1 | -1/+1 | |
2009-05-29 | Make cli_nt_delete_on_close() async. | Jeremy Allison | 1 | -9/+9 | |
Jeremy. | |||||
2009-05-27 | Add cli_posix_readlink() and a torture test for it. | Jeremy Allison | 1 | -1/+15 | |
Jeremy. | |||||
2009-05-27 | Add aync POSIX hardlink and symlink and torture test for them. | Jeremy Allison | 1 | -2/+71 | |
Missing call cli_readlink() is next. Jeremy. | |||||
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 1 | -82/+98 | |
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-25 | source{3,4}/torture/smbiconv.c(main): fixed file descriptor leak. | Slava Semushin | 1 | -0/+1 | |
File descriptor leaks only when we use file instead of stdout. Found by cppcheck: [./source3/torture/smbiconv.c:219]: (error) Resource leak: out [./source4/torture/smbiconv.c:211]: (error) Resource leak: out | |||||
2009-05-24 | use epoll for local-wbclient test | Volker Lendecke | 1 | -1/+1 | |
2009-05-22 | Test that POSIX open of a directory returns NT_STATUS_FILE_IS_A_DIRECTORY ↵ | Jeremy Allison | 1 | -1/+12 | |
(ERRDOS, EISDIR). Jeremy. | |||||
2009-05-21 | s3 torture: Fix warning | Tim Prouty | 1 | -1/+1 | |
2009-05-20 | Make cli_posix_open() and cli_posix_mkdir() async. | Jeremy Allison | 1 | -8/+5 | |
Jeremy. | |||||
2009-05-20 | Demonstrate a bug we have when dealing with real os-level share modes | Volker Lendecke | 1 | -0/+75 | |
Another one of those where you stare at logfiles for hours, and when you found it, it's absolutely obvious what is happening... | |||||
2009-05-19 | Make local-wbclient flexible in # of connections and ops | Volker Lendecke | 1 | -4/+6 | |
2009-05-14 | Make error message clearer on fail. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2009-05-14 | Add a test showing what ascii values cause an NTFS volume to | Jeremy Allison | 1 | -0/+133 | |
create a mangled name. We don't pass this yet, but it's not run by default. Jeremy. | |||||
2009-05-13 | s3:libsmb: let cli_smb_chain_send() also return NTSTATUS | Stefan Metzmacher | 1 | -2/+6 | |
metze | |||||
2009-05-11 | Fix a bunch of compiler warnings about wrong format types. | Jeremy Allison | 1 | -4/+4 | |
Should make Solaris 10 builds look cleaner. Jeremy. | |||||
2009-05-09 | Fix the mangle1 test | Volker Lendecke | 1 | -1/+1 | |
2009-05-07 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2009-05-07 | Add simple test chaining up sesssetup and tcon | Volker Lendecke | 1 | -0/+53 | |
2009-05-06 | Make cli_setatr async. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2009-05-05 | Make cli_getatr() async. | Jeremy Allison | 1 | -5/+5 | |
Jeremy. | |||||
2009-05-04 | Fix the async calls for the posix_unlink and posix_rmdir. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-05-04 | s3 torture: Only close if open was successful | Tim Prouty | 1 | -4/+12 | |
2009-05-04 | Torture test for bug #6315 - smbd crashes doing vfs_full_audit on IPC$ close ↵ | Jeremy Allison | 1 | -2/+28 | |
event. Shows that doing a tdis with invalid uid succeeds. Jeremy. | |||||
2009-05-04 | s3 torture: Fix comparison is always true warning | Tim Prouty | 1 | -2/+2 | |
2009-05-03 | Fix an invalid type warning | Volker Lendecke | 1 | -1/+1 | |
2009-05-03 | Fix some warnings due to uint16_t!=-1 always being true | Volker Lendecke | 1 | -4/+4 | |
2009-05-02 | Attempt to fix the build on SerNet-sles8 | Volker Lendecke | 1 | -3/+6 | |
That compiler does not like #if embedded into the macro NT_STATUS_IS_OK. | |||||
2009-05-01 | Add getaddrinfo_send/recv | Volker Lendecke | 1 | -0/+55 | |
2009-04-30 | Cause cli_close to return an NTSTATUS. | Jeremy Allison | 4 | -67/+67 | |
Jeremy. | |||||
2009-04-30 | Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int. | Jeremy Allison | 9 | -415/+312 | |
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 | 9 | -108/+108 | |
Jeremy. | |||||
2009-04-28 | Convert cli_rename to async. | Jeremy Allison | 2 | -6/+6 | |
Jeremy. | |||||
2009-04-28 | Convert cli_posix_unlink() and cli_posix_rmdir() | Jeremy Allison | 1 | -2/+2 | |
to async. First trans calls I've done. Jeremy. | |||||
2009-04-23 | Fix a pointless static | Volker Lendecke | 1 | -1/+1 | |
2009-04-22 | Make cli_chkpath async. | Jeremy Allison | 1 | -5/+5 | |
Jeremy | |||||
2009-04-22 | Fix some nonempty blank lines | Volker Lendecke | 1 | -143/+142 | |