Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-05 | s3:smbd: add missing return statements to the SMB2 write error cases | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-06-05 | s3:smbd: add missing return statements to the SMB2 read error cases | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-06-05 | s3:smbd: split smbd_smb2_write() into tevent_req based *_send()/_recv() ↵ | Stefan Metzmacher | 1 | -47/+129 | |
functions metze | |||||
2009-06-05 | s3:smbd: split smbd_smb2_read() into tevent_req based *_send()/_recv() functions | Stefan Metzmacher | 1 | -61/+148 | |
metze | |||||
2009-06-05 | s3:smbd: make smbd_server_connection_terminate() a macro | Stefan Metzmacher | 2 | -3/+11 | |
metze | |||||
2009-06-05 | s3:smbd: implement smbd_smb2_request_error/done() as macros on top of the ↵ | Stefan Metzmacher | 3 | -27/+23 | |
_ex() function metze | |||||
2009-06-05 | s3:smbd: add support for printers to SMB2 Create | Stefan Metzmacher | 1 | -38/+41 | |
This is not tested, but the code looks like the for SMB1, so it's likely to work:-) metze | |||||
2009-06-04 | s3:smbd: ignore NTCREATEX_OPTIONS_SYNC_ALERT and ↵ | Stefan Metzmacher | 1 | -0/+4 | |
NTCREATEX_OPTIONS_ASYNC_ALERT for SMB2 Create This should make the Windows Explorer happier. metze | |||||
2009-06-04 | s3:smbd: call set_current_service() when a SMB2 tcon will be used | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2009-06-04 | s3:smbd: fix potential fsp leak if print_fsp_open() fails | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-06-04 | Change smbd_smb2_request_error() to add a __location__. | Jeremy Allison | 2 | -10/+10 | |
This allows quick identification of smb2 parsing errors. Jeremy. | |||||
2009-06-04 | Add NTLMSSP SPNEGO to smb2 auth. Tested with Win7. | Jeremy Allison | 3 | -9/+75 | |
Jeremy. | |||||
2009-06-03 | s3:smbd: implement SMB2 Write | Stefan Metzmacher | 3 | -1/+215 | |
This only works on file shares. metze | |||||
2009-06-03 | s3:smbd: implement SMB2 Read | Stefan Metzmacher | 3 | -1/+209 | |
This only works works on file shares. metze | |||||
2009-06-03 | s3:smbd: implement SMB2 Flush | Stefan Metzmacher | 3 | -1/+122 | |
This works only on file shares yet. metze | |||||
2009-06-03 | s3:smbd: implement SMB2 Close | Stefan Metzmacher | 3 | -1/+134 | |
metze | |||||
2009-06-03 | s3:smbd: implement a simple version of SMB2 Create | Stefan Metzmacher | 3 | -1/+276 | |
It only work on file shares and just ignores any additional Create Context Values. metze | |||||
2009-06-03 | s3:smbd: add smbd_smb2_fake_smb_request() | Stefan Metzmacher | 2 | -0/+53 | |
metze | |||||
2009-06-03 | s3:smbd: return more details in the SMB2 Tree Connect response | Stefan Metzmacher | 1 | -6/+32 | |
metze | |||||
2009-06-03 | s3:smbd: create a connection_struct in SMB2 Tree Connect | Stefan Metzmacher | 4 | -1/+30 | |
metze | |||||
2009-06-03 | s3:smbd: create a user_struct for compat in SMB2 Session Setup | Stefan Metzmacher | 3 | -1/+19 | |
metze | |||||
2009-06-03 | s3:smbd: add a lazy mode for conn_new() and conn_free() for SMB2 | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
2009-06-03 | s3:smbd: make make_connection_snum() non static | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2009-06-03 | s3:smbd: move tcon specific globals to struct smbd_server_connection | Stefan Metzmacher | 9 | -74/+81 | |
metze | |||||
2009-06-03 | s3:smbd: move more session specific globals to struct smbd_server_connection | Stefan Metzmacher | 12 | -161/+221 | |
metze | |||||
2009-06-03 | s3:smbd: move some session specific globals to struct smbd_server_connection | Stefan Metzmacher | 8 | -22/+29 | |
metze | |||||
2009-06-03 | s3:smbd: move already_got_session to struct smbd_server_connection | Stefan Metzmacher | 4 | -6/+7 | |
metze | |||||
2009-06-03 | s3:smbd: move max_recv to struct smbd_server_connection | Stefan Metzmacher | 5 | -21/+22 | |
metze | |||||
2009-06-03 | s3:smbd: move negprot related globals to struct smbd_server_connection | Stefan Metzmacher | 7 | -49/+79 | |
metze | |||||
2009-06-03 | s3:smbd: move pending_auth_data list to struct smbd_server_connection | Stefan Metzmacher | 3 | -23/+37 | |
metze | |||||
2009-06-03 | s3:smbd: remove old comment, we support SMB2 signing now | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2009-06-03 | s3:smbd: allow SMB2 only if we don't use security = share | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2009-06-02 | Add SMB_VFS_CONNECTPATH operation | Volker Lendecke | 1 | -8/+22 | |
This is required for the shadow_copy2 module and "wide links = no". The file system snapshots by nature are typically outside of share directory. So the REALPATH result fails the wide links = no test. | |||||
2009-06-02 | Remove a variable used just once | Volker Lendecke | 1 | -2/+3 | |
2009-05-30 | Fix bug #6421 - POSIX read-only open fails on read-only shares. | Jeremy Allison | 2 | -8/+12 | |
The change to smbd/trans2.c opens up SETFILEINFO calls to POSIX_OPEN only. The change to first smbd/open.c closes 2 holes that would have been exposed by allowing POSIX_OPENS on readonly shares, and their ability to set arbitrary flags permutations. The O_CREAT -> O_CREAT|O_EXCL change removes an illegal combination (O_EXCL without O_CREAT) that previously was being passed down to the open syscall. Jeremy. | |||||
2009-05-30 | Simplify the dropbox patch | Jeremy Allison | 1 | -5/+10 | |
2009-05-29 | Re-Add the "dropbox" functionality with -wx rights on a directory | Volker Lendecke | 1 | -3/+3 | |
2009-05-28 | s3: Fix a few more users of stat to use stat_ex | Tim Prouty | 1 | -10/+10 | |
2009-05-27 | s3: Allow child processes to exit gracefully if we are out of fds | Marc VanHeyningen | 1 | -6/+13 | |
When we run out of file descriptors for some reason, every new connection forks a child that immediately panics causing smbd to coredump. This seems unnecessarily harsh; with this code change we now catch that error and merely log a message about it and exit without the core dump. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-05-27 | Fix some nonempty blank lines | Volker Lendecke | 1 | -14/+13 | |
2009-05-26 | Attempt to fix the build on NetBSD | Volker Lendecke | 1 | -6/+0 | |
2009-05-26 | Fix some nonempty blank lines | Volker Lendecke | 1 | -28/+27 | |
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 14 | -211/+210 | |
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-26 | s3:smbd: remove unused global 'orig_inbuf' | Stefan Metzmacher | 2 | -2/+0 | |
metze | |||||
2009-05-26 | s3:smbd: move SMB1 specific stuff into a substructure of smbd_server_connection | Stefan Metzmacher | 5 | -28/+30 | |
metze | |||||
2009-05-26 | s3:smbd: add support for SMB2 signing | Stefan Metzmacher | 4 | -53/+277 | |
metze | |||||
2009-05-26 | s3:smbd: return the correct security mode and capabilities in SMB2 Negotitate | Stefan Metzmacher | 1 | -5/+18 | |
metze | |||||
2009-05-24 | TALLOC_FREE happily lives with a NULL ptr. Tim, please check! | Volker Lendecke | 3 | -48/+16 | |
Thanks, Volker | |||||
2009-05-22 | Ensure we return NT_STATUS_FILE_IS_A_DIRECTORY on a posix open on a | Jeremy Allison | 1 | -1/+1 | |
directory name. Jeremy. | |||||
2009-05-22 | s3:smbd: implement SMB2 Tree Disconnect | Stefan Metzmacher | 3 | -1/+38 | |
metze |