Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-11 | s3:auth Remove NT_USER_TOKEN | Andrew Bartlett | 1 | -1/+1 | |
The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-08-26 | s3-build: only include "fake_file.h" where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-07-29 | s3: Avoid an unnecessary ftruncate call | Volker Lendecke | 1 | -1/+1 | |
If we just created the file, it has length 0 by definition. This is still done while holding the share mode lock, so no race around wrt other cifs clients. | |||||
2010-07-27 | s3-smbd: Migrated to new spoolss functions for printing. | Simo Sorce | 1 | -2/+3 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-05 | s3: Remove procid_self() from fill_deferred_open_entry() | Volker Lendecke | 1 | -5/+10 | |
2010-07-05 | s3: Remove smbd_messaging_context() from send_break_message() | Volker Lendecke | 1 | -1/+1 | |
2010-06-03 | s3-security: use shared SECINFO_DACL define. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_SACL define. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_GROUP define. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_OWNER define. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-05-31 | s3-build: only use ndr_security.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-13 | Be more forgiving on client oplock break failure (as Windows does). Remove a ↵ | Jeremy Allison | 1 | -1/+1 | |
global. Jeremy. | |||||
2010-05-13 | Treat an open of stream ::$DATA as an open of the base file. | Jeremy Allison | 1 | -1/+23 | |
This fixes a class of SMB_ASSERT failures when doing stream tests. Jeremy. | |||||
2010-05-06 | s3: only include gen_ndr headers where needed. | Günther Deschner | 1 | -0/+1 | |
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | |||||
2010-04-23 | s3-smbd: group print relate data in own structure | Simo Sorce | 1 | -2/+2 | |
2010-04-23 | Allow smb2 create requests to be cancelled. | Jeremy Allison | 1 | -9/+18 | |
Jeremy. | |||||
2010-04-22 | Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2. | Jeremy Allison | 1 | -1/+1 | |
Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy. | |||||
2010-04-12 | Move to using 64-bit mid values in our internal open file database. | Jeremy Allison | 1 | -6/+8 | |
This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy | |||||
2010-04-09 | Plumb SMB2 stubs into all the places we defer SMB1 operations. | Jeremy Allison | 1 | -26/+26 | |
Rename functions to be internally consistent. Next step is to cope queueing single (non-compounded) SMB2 requests to put some code inside the stubs. Jeremy. | |||||
2010-03-15 | Switch over to using get_currect_XXX() accessor functions. | Jeremy Allison | 1 | -3/+3 | |
Jeremy. | |||||
2010-03-15 | Rever e80ceb1d7355c8c46a2ed90d5721cf367640f4e8 "Remove more uses of "extern ↵ | Jeremy Allison | 1 | -3/+3 | |
struct current_user current_user;"." As requested by Volker, split this into smaller commits. Jeremy. | |||||
2010-03-12 | Missed a couple more uses of conn->server_info->ptok that need to be ↵ | Jeremy Allison | 1 | -19/+22 | |
get_current_nttok(conn) Centralize the root check into smb1_file_se_access_check() so this is used by modules/vfs_acl_common.c also. Jeremy. | |||||
2010-03-12 | Remove more uses of "extern struct current_user current_user;". | Jeremy Allison | 1 | -3/+3 | |
Use accessor functions to get to this value. Tidies up much of the user context code. Volker, please look at the changes in smbd/uid.c to familiarize yourself with these changes as I think they make the logic in there cleaner. Cause smbd/posix_acls.c code to look at current user context, not stored context on the conn struct - allows correct use of these function calls under a become_root()/unbecome_root() pair. Jeremy. | |||||
2010-03-05 | Fix for bug #7189 - Open txt files with notepad on samba shares creates problem. | Jeremy Allison | 1 | -19/+36 | |
Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy. | |||||
2009-12-16 | Add helpful debug of DACL for errors on ACL access. | Jeremy Allison | 1 | -2/+10 | |
Jeremy. | |||||
2009-12-03 | Make sure we're not using the old smb_fname data. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-12-03 | Remove smb_fname duplicates that just keep the same information as in ↵ | Jeremy Allison | 1 | -13/+11 | |
fsp->fsp_name. Moving towards making VFS_OPEN/VFS_MKDIR/VFS_RMDIR handle based... Jeremy. | |||||
2009-12-02 | Remove unneeded argument from can_set_delete_on_close(). Ensure | Jeremy Allison | 1 | -2/+2 | |
can_set_delete_on_close() is correctly called before any setting of the disposition bit (clean up the do_unlink() call). Jeremy. | |||||
2009-11-25 | Fix crash due to uninitialized pointer (not a problem in 3.4.x or below). | Jeremy Allison | 1 | -2/+1 | |
Jeremy. | |||||
2009-11-23 | Remove unused code. | Jeremy Allison | 1 | -46/+0 | |
Jeremy. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit" | Volker Lendecke | 1 | -3/+2 | |
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -2/+2 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-23 | s3: Move a variable declaration to its only use | Volker Lendecke | 1 | -1/+1 | |
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -2/+2 | |
2009-11-21 | s3: Make the implicit reference to Protocol in is_in_path() explicit | Volker Lendecke | 1 | -2/+3 | |
2009-11-20 | Fix logic bug where high bits tests was being | Jeremy Allison | 1 | -1/+1 | |
done on both Windows and POSIX mkdirs instead of only on Windows mkdir (as intended). The variable "file_attributes" had already had FILE_FLAG_POSIX_SEMANTICS removed above in the function if it had already been set. Jeremy. | |||||
2009-11-17 | Remove "store create time" code, cause create time to be stored | Jeremy Allison | 1 | -15/+5 | |
in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy. | |||||
2009-10-06 | s3: Add access_mask to the flock VFS call | Abhidnya P Chirmule | 1 | -1/+1 | |
2009-09-04 | s3:smbd: Fix Coverity ID 937, REVERSE_INULL | Volker Lendecke | 1 | -2/+2 | |
2009-08-24 | Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵ | Jeremy Allison | 1 | -5/+1 | |
Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy. | |||||
2009-08-21 | Fix bug 6529 - Offline files conflict with Vista and Office 2003 | Jeremy Allison | 1 | -1/+5 | |
On filesystems that can't store less than one second timestamps, round the incoming timestamp set requests so the client can't discover that a time set request has been truncated by the filesystem. Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0. Jeremy | |||||
2009-08-19 | s3:smbd: make smbd_check_open_rights() function non-static for use in SMB2 | Stefan Metzmacher | 1 | -8/+8 | |
metze | |||||
2009-08-12 | Add "store create time" parameter (docs to follow) | Jeremy Allison | 1 | -0/+9 | |
that stores the create time in the user.DosTimestamps EA. Jeremy. | |||||
2009-08-10 | Ensure the fsp->fsp_name stat_ex struct is always | Jeremy Allison | 1 | -0/+1 | |
up to date after the open. Jeremy. | |||||
2009-07-21 | s3: Plumb smb_filename through map_open_params_to_ntcreate | Tim Prouty | 1 | -4/+6 | |
2009-07-20 | s3: Plumb smb_filename through open_fake_file | Tim Prouty | 1 | -11/+2 | |
2009-07-20 | s3: Change fsp->fsp_name to be an smb_filename struct! | Tim Prouty | 1 | -38/+36 | |
2009-07-14 | TALLOC_FREE(sd) in check_open_rights upon an error | Volker Lendecke | 1 | -0/+1 | |
2009-07-08 | s3: Prepare open.c to switch fsp_name to an smb_filename struct | Tim Prouty | 1 | -11/+15 | |
2009-07-08 | s3: Change the share_mode_lock struct to store a base_name and stream_name | Tim Prouty | 1 | -24/+47 | |