Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-05-25 | Ensure we only return NT_STATUS_DELETE_PENDING if the share modes are valid. | Jeremy Allison | 1 | -3/+20 | |
Ensure we only return *file_existed = true if there were valid share modes. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-05-25 | s3: Check for serverid_exists in find_oplock_types | Volker Lendecke | 1 | -0/+18 | |
Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-05-25 | s3: Check for serverid_exists in open_mode_check | Volker Lendecke | 1 | -0/+5 | |
Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-05-18 | s3: Revert the serverid changes, they need more work | Volker Lendecke | 1 | -25/+0 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 18 13:12:14 CEST 2012 on sn-devel-104 | |||||
2012-05-17 | s3: Check for serverid_exists in find_oplock_types | Volker Lendecke | 1 | -0/+20 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-17 | s3: Check for serverid_exists in open_mode_check | Volker Lendecke | 1 | -0/+5 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-05-04 | s3: Remove an unused parameter from check_parent_access() | Volker Lendecke | 1 | -10/+3 | |
2012-05-04 | s3: In mkdir_internal, don't retrieve parent_dir from check_parent_access | Volker Lendecke | 1 | -1/+1 | |
We have already created that ourselves a few lines above | |||||
2012-05-04 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2012-02-19 | s3: Remove a pointless else branch | Volker Lendecke | 1 | -2/+1 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 19 23:14:15 CET 2012 on sn-devel-104 | |||||
2012-02-19 | s3: get_share_mode_lock_fresh->get_share_mode_lock | Volker Lendecke | 1 | -9/+9 | |
get_share_mode_lock_fresh is just a confusing name Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 19 19:16:41 CET 2012 on sn-devel-104 | |||||
2012-02-19 | s3: get_share_mode_lock->get_existing_share_mode_lock | Volker Lendecke | 1 | -1/+2 | |
2012-02-14 | s3: files_struct->mode is only written, remove it | Volker Lendecke | 1 | -2/+0 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 14 19:14:29 CET 2012 on sn-devel-104 | |||||
2012-01-31 | s3: Simplify an if-statement | Volker Lendecke | 1 | -1/+1 | |
is_ntfs_default_stream_smb_fname already contains all checks that the variable "stream_name" gives us here. | |||||
2012-01-31 | s3: Unify stream testing in open_directory | Volker Lendecke | 1 | -9/+5 | |
The second if-statement could never have kicked in, assuming the SMB_ASSERT above was right. Jeremy, please check! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jan 31 20:15:36 CET 2012 on sn-devel-104 | |||||
2012-01-31 | s3: Re-indent an && sequence for better understanding | Volker Lendecke | 1 | -2/+2 | |
2012-01-23 | Another fix for bug #8556 - ACL permissions ignored when SMBsetatr is requested. | Richard Sharpe | 1 | -0/+1 | |
Prevent systems with "store dos attributes = yes" from overriding FILE_WRITE_ATTRIBUITES. | |||||
2012-01-18 | Revert "Fix bug #8175 - smbd deadlock." | Volker Lendecke | 1 | -68/+26 | |
This reverts commit 5a2b5b6cfed74e0e9c2965525995f64cdad7b7c9. | |||||
2012-01-12 | s3: Put an indirection layer into share_mode_lock | Volker Lendecke | 1 | -19/+19 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-01-12 | s3: Introduce get_share_mode_lock_fresh() | Volker Lendecke | 1 | -9/+6 | |
This slightly simplifies the code path for all callers which assume that a share mode exists already. Only the callers in open_file_ntcreate and open_directory will ever create new share modes. Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-01-03 | s3: Remove the unused "file_existed" parameter from smbd_calculate_access_mask | Volker Lendecke | 1 | -3/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jan 3 15:16:50 CET 2012 on sn-devel-104 | |||||
2012-01-03 | s3: Avoid "file_existed" in smbd_calculate_maximum_allowed_access | Volker Lendecke | 1 | -36/+35 | |
We access the file by name anyway, so we can just try to access it. The file system will for sure tell us if the file does not exist. | |||||
2012-01-03 | s3: Remove some else{} branches in smbd_calculate_maximum_allowed_access | Volker Lendecke | 1 | -3/+7 | |
2012-01-03 | s3: Directly use *p_access_mask in smbd_calculate_maximum_allowed_access | Volker Lendecke | 1 | -6/+4 | |
2012-01-03 | s3: Factor out smbd_calculate_maximum_allowed_access | Volker Lendecke | 1 | -40/+59 | |
2011-12-20 | Allow an object to be deleted from a directory if the caller has ↵ | Jeremy Allison | 1 | -1/+9 | |
DELETE_CHILD access even if we don't have access to read the ACL on the object. Fixes bug #8673 - NT ACL issue. Different fix needed for 3.6.x. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 20 22:13:51 CET 2011 on sn-devel-104 | |||||
2011-12-17 | check_name() not needed in mkdir. | Jeremy Allison | 1 | -5/+0 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 17 02:44:55 CET 2011 on sn-devel-104 | |||||
2011-12-17 | Ensure VALID_STAT before accessing fields. | Jeremy Allison | 1 | -1/+3 | |
2011-12-16 | s3:smbd: avoid using sconn_server_id() | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2011-12-16 | s3: Add some const to find_oplock_types | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 16 09:10:07 CET 2011 on sn-devel-104 | |||||
2011-12-16 | s3: Make open_file_ntcreate a bit easier to read | Volker Lendecke | 1 | -3/+2 | |
Move the declaration of "id" closer to its use | |||||
2011-12-16 | s3: Make open_file_ntcreate a bit easier to read | Volker Lendecke | 1 | -4/+6 | |
Move the calculation of "new_file_created" closer to its use | |||||
2011-12-16 | s3: Make open_file_ntcreate a bit easier to read | Volker Lendecke | 1 | -3/+3 | |
Remove a negation where it's not necessary | |||||
2011-12-16 | s3: Slightly simplify delay_for_exclusive_oplocks | Volker Lendecke | 1 | -9/+15 | |
2011-12-16 | s3: Slightly simplify delay_for_batch_oplocks | Volker Lendecke | 1 | -6/+6 | |
2011-12-16 | Third part of fix for bug #8663 - deleting a symlink fails if the symlink ↵ | Jeremy Allison | 1 | -0/+8 | |
target is outside of the share. smbd_check_access_rights() - we can always delete a symlink. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 16 03:32:15 CET 2011 on sn-devel-104 | |||||
2011-12-15 | First part of fix for bug #8663 - deleting a symlink fails if the symlink ↵ | Jeremy Allison | 1 | -12/+0 | |
target is outside of the share. Remove two unneeded check_name() calls. They have already been done in order to get here. | |||||
2011-12-14 | s3: Slightly simplify the logic in defer_open | Volker Lendecke | 1 | -5/+3 | |
Doing 3 &&ed conditions in a single if-statement is easier to understand to me than continuing out separately. | |||||
2011-12-14 | s3: Remove UNUSED_SHARE_MODE_ENTRY | Volker Lendecke | 1 | -2/+1 | |
2011-12-14 | s3:smbd/open: use talloc_get_type_abort() as private_data can't be NULL | Stefan Metzmacher | 1 | -5/+1 | |
metze | |||||
2011-12-13 | s3: Remove an else{} in remove_deferred_open_entry | Volker Lendecke | 1 | -3/+3 | |
2011-12-13 | s3:smbd/open: pass smbd_server_connection as private_data to ↵ | Stefan Metzmacher | 1 | -3/+3 | |
msg_file_was_renamed() metze | |||||
2011-12-02 | s3: Use autogenerated open_files.idl | Volker Lendecke | 1 | -0/+1 | |
2011-11-22 | Move setting the inherited ACL into the main open code path. Next will | Jeremy Allison | 1 | -1/+110 | |
remove it from the ACL modules. | |||||
2011-11-22 | Move the "set SD" code into provided SD and "inherit acls" branches. | Jeremy Allison | 1 | -29/+32 | |
2011-11-22 | Only add the SD if it's not a new stream file. | Jeremy Allison | 1 | -1/+1 | |
2011-11-22 | Move the add security descriptor code to *after* all the other meta-data is | Jeremy Allison | 1 | -35/+35 | |
updated. We may be adding an SD that restricts our own access. | |||||
2011-11-04 | No longer do the pre-check on DELETE_ACCESS - we're correctly checking the ↵ | Jeremy Allison | 1 | -22/+0 | |
ACL every time now. | |||||
2011-11-04 | Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!). | Jeremy Allison | 1 | -1/+3 | |
2011-11-04 | Remove can_access_file_data() - make it use the standard ↵ | Jeremy Allison | 1 | -2/+2 | |
smbd_check_access_rights() instead. |