Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-12 | s3: Put an indirection layer into share_mode_lock | Volker Lendecke | 5 | -36/+36 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-01-12 | s3: Introduce get_share_mode_lock_fresh() | Volker Lendecke | 5 | -26/+14 | |
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-12 | s3:smbd: explicitly ask for GENSEC_FEATURE_UNIX_TOKEN | Stefan Metzmacher | 2 | -0/+6 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 12 11:22:53 CET 2012 on sn-devel-104 | |||||
2012-01-12 | Ensure we always free aio_ex on all error paths by moving the TALLOC_FREE | Jeremy Allison | 1 | -2/+1 | |
call out of smbd_aio_complete_aio_ex() and into the caller. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 12 03:10:52 CET 2012 on sn-devel-104 | |||||
2012-01-06 | s3-auth Rename make_auth_ntlmssp() -> make_auth_gensec() | Andrew Bartlett | 1 | -5/+5 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-05 | s3-auth remove outdated comment | Andrew Bartlett | 1 | -3/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 5 18:51:47 CET 2012 on sn-devel-104 | |||||
2012-01-05 | s3-auth remove unused ntlmssp.h | Andrew Bartlett | 1 | -1/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-05 | s3-auth Remove ntlmssp_wrap.h which is no longer required | Andrew Bartlett | 4 | -4/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-05 | s3-auth use gensec directly rather than via auth_generic_state | Andrew Bartlett | 6 | -63/+62 | |
This is possible because the s3 gensec modules are started as normal gensec modules, so we do not need a wrapper any more. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-05 | s3-auth Add TALLOC_CTX * to auth_generic_prepare() | Andrew Bartlett | 4 | -15/+9 | |
This makes the long term owner of this memory more clear. So far only the clear cases have been moved from NULL however. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-05 | s3: Move basic SMB checking to a much earlier point | Volker Lendecke | 1 | -19/+19 | |
2012-01-05 | s3: Add a suicide mode to smbd | Volker Lendecke | 1 | -0/+11 | |
To test our cleanup code paths properly, we need a way to make smbd exit hard without cleaning up | |||||
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 |