Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2009-04-22 | Remove some shadowed definition warnings | Volker Lendecke | 1 | -3/+3 | |
2009-04-21 | Make rmdir async. | Jeremy Allison | 3 | -3/+3 | |
Jeremy. | |||||
2009-04-21 | Make cli_mkdir async. Change it to return NTSTATUS. | Jeremy Allison | 3 | -7/+7 | |
Jeremy. | |||||
2009-04-20 | Reproduce a bug with a custom GET_REAL_FILENAME | Volker Lendecke | 1 | -0/+54 | |
2009-04-16 | Add torture tester to ensure we don't regress the ulogoff bug. | Jeremy Allison | 1 | -0/+45 | |
Jeremy. | |||||
2009-04-07 | s3:smbtorture Convert charcnv torture suite to use push_ucs2_talloc() | Andrew Bartlett | 1 | -4/+4 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-04-06 | Add a bad hack to enable level 2 oplocks in torture_open_connection_share | Volker Lendecke | 1 | -2/+4 | |
2009-04-06 | Re-add the CHAIN1 test | Volker Lendecke | 1 | -0/+81 | |
2009-04-06 | Convert cli_echo to tevent_req | Volker Lendecke | 1 | -14/+1 | |
2009-04-06 | Remove the CHAIN1 test -- will come back later | Volker Lendecke | 1 | -99/+0 | |
2009-03-29 | Fix a debug msg typo | Volker Lendecke | 1 | -1/+1 | |
2009-03-18 | Modify simple POSIX open test to use filenames containing a ':' | Jeremy Allison | 1 | -2/+2 | |
character. Should stop regressions of bug #6196. Jeremy. | |||||
2009-03-16 | Convert wb_trans to tevent_req | Volker Lendecke | 1 | -5/+4 | |
2009-03-13 | Remove pwd_cache.c, it was doing nothing. Make user_name, domain, and | Jeremy Allison | 1 | -1/+5 | |
password talloc'ed strings within the cli_struct. Jeremy. | |||||
2009-03-12 | s3 torture: Fix unitialized variable to avoid closing a random fnum | Tim Prouty | 1 | -1/+1 | |
2009-03-12 | Revert "s3:libsmb: add an option to cli_push to let the caller provide the ↵ | Stefan Metzmacher | 1 | -5/+3 | |
buffers" This reverts commit 9579a6f193f570e4ce2af80f4aac7c2f25ae5b22. It's confusing to have a boolean to alter the behavior of cli_push and as the new feature isn't used yet I revert it. We can readd a extra function later. metze | |||||
2009-03-11 | Add simple POSIX open, mkdir and rmdir test. | Jeremy Allison | 1 | -0/+114 | |
Jeremy. |