Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-04 | s3: Check for the packet size before accessing it | Volker Lendecke | 1 | -2/+1 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 4 15:16:20 CET 2012 on sn-devel-104 | |||||
2012-01-03 | s3: Remove the unused "file_existed" parameter from smbd_calculate_access_mask | Volker Lendecke | 4 | -10/+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-31 | Final part of fix for bug #8679 - recvfile code path using splice() on Linux ↵ | Jeremy Allison | 1 | -5/+0 | |
leaves data in the pipe on short write. The code to set a DOS error on short writeX return is amazingly legacy code, and also breaks the reply as fixup_chain_error_packet() enforces a 2-byte wct on any reply where smb_rcls != 0. Found in testing by Andrew Bartlett. Thanks Andrew ! Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 31 08:05:35 CET 2011 on sn-devel-104 | |||||
2011-12-22 | s3-auth remove auth_ntlmssp_start(), call auth_generic_start() directly | Andrew Bartlett | 3 | -7/+7 | |
This makes it clear that this can support more than just NTLMSSP. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-12-22 | s3-auth rename auth_ntlmssp_prepare() -> auth_generic_prepare() | Andrew Bartlett | 4 | -8/+8 | |
This function handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-12-22 | s3-auth rename auth_ntlmssp_state -> auth_generic_state | Andrew Bartlett | 4 | -6/+6 | |
This structure handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-12-22 | s3:smb2_negprot: add support for PROTOCOL_SMB2_24 | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
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-20 | s3: Fix some False/NULL hickups | Volker Lendecke | 2 | -2/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 20 13:13:17 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 | Fix bug #8664 - Renaming a symlink fails if the symlink target is outside of ↵ | Jeremy Allison | 1 | -2/+4 | |
the share. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 16 23:32:26 CET 2011 on sn-devel-104 | |||||
2011-12-16 | Restrict UCF_UNIX_NAME_LOOKUP (symlink allowed) to restricted set of calls. | Jeremy Allison | 1 | -1/+4 | |
2011-12-16 | s3:smbd: remove unused sconn_server_id() | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2011-12-16 | s3:smbd: avoid using sconn_server_id() | Stefan Metzmacher | 9 | -19/+24 | |
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 | Second part of fix for bug #8663 - deleting a symlink fails if the symlink ↵ | Jeremy Allison | 1 | -1/+6 | |
target is outside of the share. Ensure we use UCF_UNIX_NAME_LOOKUP flags on filename_convert() when doing a UNIX infolevel in trans2setfilepathinfo(). | |||||
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-15 | s3:smbd/globals: remove unused msg_ctx_to_sconn() | Stefan Metzmacher | 2 | -15/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 15 14:24:59 CET 2011 on sn-devel-104 | |||||
2011-12-15 | s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵ | Stefan Metzmacher | 8 | -28/+27 | |
reload_services() metze | |||||
2011-12-15 | s3:smbd: split smb_conf_updated into parent and child versions | Stefan Metzmacher | 2 | -12/+30 | |
metze | |||||
2011-12-15 | s3:smbd: split ID_CACHE_* message handling into parent and child parts | Stefan Metzmacher | 4 | -179/+159 | |
metze | |||||
2011-12-14 | s3: Fix raw.mux after UNUSED_SHARE_MODE_ENTRY was removed | Volker Lendecke | 1 | -5/+55 | |
See the large comment in notify_deferred_opens for an explanation Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 14 19:08:30 CET 2011 on sn-devel-104 | |||||
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:smb2_lock: use talloc_get_type_abort() as private_data can't be NULL | Stefan Metzmacher | 1 | -5/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 14 13:34:25 CET 2011 on sn-devel-104 | |||||
2011-12-14 | s3:smbd/oplock: make process_oplock_async_level2_break_message() static | Stefan Metzmacher | 2 | -6/+1 | |
metze | |||||
2011-12-14 | s3:smbd/oplock: use talloc_get_type_abort() as private_data can't be NULL | Stefan Metzmacher | 1 | -25/+5 | |
metze | |||||
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-14 | s3:smbd/conn_msg: use talloc_get_type_abort() as private_data can't be NULL | Stefan Metzmacher | 1 | -5/+1 | |
metze | |||||
2011-12-14 | s3:smbd/close: use talloc_get_type_abort() as private_data can't be NULL | Stefan Metzmacher | 1 | -5/+1 | |
metze | |||||
2011-12-14 | s3:smbd/blocking: use talloc_get_type_abort() as private_data can't be NULL | Stefan Metzmacher | 1 | -10/+2 | |
metze | |||||
2011-12-14 | s3:smbd: remove brl_register_msgs() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-12-14 | s3:smbd/server: avoid msg_ctx_to_sconn() in smbd_accept_connection() | Stefan Metzmacher | 1 | -1/+1 | |
This is the place where we should create smbd_server_connection, when we're ready to remove the global variable. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 14 11:23:42 CET 2011 on sn-devel-104 | |||||
2011-12-14 | s3:smbd: remove unused smbd_messaging_context() | Stefan Metzmacher | 2 | -11/+0 | |
metze | |||||
2011-12-14 | s3:smbd/server: maintain the list of child processes under smbd_parent_context | Stefan Metzmacher | 3 | -36/+55 | |
metze | |||||
2011-12-14 | s3:smbd/server: pass smbd_parent_context to smbd_setup_sig_chld_handler() | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2011-12-14 | s3:smbd/globals: change 'int am_parent' into 'struct smbd_parent_context ↵ | Stefan Metzmacher | 3 | -10/+12 | |
*am_parent' This is a short term solution on the way to get rid of 'am_parent' completely. metze | |||||
2011-12-13 | s3:smbd/globals: remove unused extern declarations | Stefan Metzmacher | 1 | -2/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 13 22:06:02 CET 2011 on sn-devel-104 | |||||
2011-12-13 | s3:smbd/server: move smbd_open_socket and smbd_parent_context to the top | Stefan Metzmacher | 1 | -19/+19 | |
metze |