summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* First part of fix for bug #8663 - deleting a symlink fails if the symlink ↵Jeremy Allison2011-12-151-12/+0
| | | | | | | target is outside of the share. Remove two unneeded check_name() calls. They have already been done in order to get here.
* s3:smbd/globals: remove unused msg_ctx_to_sconn()Stefan Metzmacher2011-12-152-15/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 15 14:24:59 CET 2011 on sn-devel-104
* s3:smbd: pass smbd_server_connection and a snumused function pointer to ↵Stefan Metzmacher2011-12-158-28/+27
| | | | | | reload_services() metze
* s3:smbd: split smb_conf_updated into parent and child versionsStefan Metzmacher2011-12-152-12/+30
| | | | metze
* s3:smbd: split ID_CACHE_* message handling into parent and child partsStefan Metzmacher2011-12-154-179/+159
| | | | metze
* s3: Fix raw.mux after UNUSED_SHARE_MODE_ENTRY was removedVolker Lendecke2011-12-141-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
* s3: Slightly simplify the logic in defer_openVolker Lendecke2011-12-141-5/+3
| | | | | Doing 3 &&ed conditions in a single if-statement is easier to understand to me than continuing out separately.
* s3: Remove UNUSED_SHARE_MODE_ENTRYVolker Lendecke2011-12-141-2/+1
|
* s3:smb2_lock: use talloc_get_type_abort() as private_data can't be NULLStefan Metzmacher2011-12-141-5/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 14 13:34:25 CET 2011 on sn-devel-104
* s3:smbd/oplock: make process_oplock_async_level2_break_message() staticStefan Metzmacher2011-12-142-6/+1
| | | | metze
* s3:smbd/oplock: use talloc_get_type_abort() as private_data can't be NULLStefan Metzmacher2011-12-141-25/+5
| | | | metze
* s3:smbd/open: use talloc_get_type_abort() as private_data can't be NULLStefan Metzmacher2011-12-141-5/+1
| | | | metze
* s3:smbd/conn_msg: use talloc_get_type_abort() as private_data can't be NULLStefan Metzmacher2011-12-141-5/+1
| | | | metze
* s3:smbd/close: use talloc_get_type_abort() as private_data can't be NULLStefan Metzmacher2011-12-141-5/+1
| | | | metze
* s3:smbd/blocking: use talloc_get_type_abort() as private_data can't be NULLStefan Metzmacher2011-12-141-10/+2
| | | | metze
* s3:smbd: remove brl_register_msgs()Stefan Metzmacher2011-12-141-1/+2
| | | | metze
* s3:smbd/server: avoid msg_ctx_to_sconn() in smbd_accept_connection()Stefan Metzmacher2011-12-141-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
* s3:smbd: remove unused smbd_messaging_context()Stefan Metzmacher2011-12-142-11/+0
| | | | metze
* s3:smbd/server: maintain the list of child processes under smbd_parent_contextStefan Metzmacher2011-12-143-36/+55
| | | | metze
* s3:smbd/server: pass smbd_parent_context to smbd_setup_sig_chld_handler()Stefan Metzmacher2011-12-141-6/+6
| | | | metze
* s3:smbd/globals: change 'int am_parent' into 'struct smbd_parent_context ↵Stefan Metzmacher2011-12-143-10/+12
| | | | | | | | *am_parent' This is a short term solution on the way to get rid of 'am_parent' completely. metze
* s3:smbd/globals: remove unused extern declarationsStefan Metzmacher2011-12-131-2/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 13 22:06:02 CET 2011 on sn-devel-104
* s3:smbd/server: move smbd_open_socket and smbd_parent_context to the topStefan Metzmacher2011-12-131-19/+19
| | | | metze
* s3:smbd/oplock_onefs: avoid using smbd_messaging_context()Stefan Metzmacher2011-12-131-2/+2
| | | | metze
* s3:smbd/oplock_onefs: pass smbd_server_connection to onefs_oplock_wait_record()Stefan Metzmacher2011-12-131-1/+4
| | | | metze
* s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler()Stefan Metzmacher2011-12-133-14/+13
| | | | metze
* s3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler()Stefan Metzmacher2011-12-133-6/+6
| | | | metze
* s3:smbd/oplock: pass smbd_server_connection to onefs_init_kernel_oplocks()Stefan Metzmacher2011-12-133-4/+6
| | | | metze
* s3:smbd/oplock: pass smbd_server_connection to linux_init_kernel_oplocks()Stefan Metzmacher2011-12-133-7/+14
| | | | metze
* s3:smbd/oplock: pass smbd_server_connection to irix_init_kernel_oplocks()Stefan Metzmacher2011-12-133-7/+9
| | | | metze
* s3:smbd/oplock: pass sconn as private_data to process_open_retry_message()Stefan Metzmacher2011-12-131-6/+9
| | | | metze
* s3:smbd/oplock: pass sconn as private_data to process_kernel_oplock_break()Stefan Metzmacher2011-12-131-8/+8
| | | | metze
* s3:smbd/oplock: pass sconn as private_data to process_oplock_break_response()Stefan Metzmacher2011-12-131-6/+9
| | | | metze
* s3:smbd/oplock: pass sconn as private_data to ↵Stefan Metzmacher2011-12-131-7/+7
| | | | | | process_oplock_async_level2_break_message() metze
* s3:smbd/oplock: pass sconn as private_data to process_oplock_break_message()Stefan Metzmacher2011-12-131-7/+7
| | | | metze
* s3:smbd/oplock: pass smbd_server_connection to init_oplocks()Stefan Metzmacher2011-12-133-8/+8
| | | | metze
* s3: Move can_delete_directory to smbd/, remove shimVolker Lendecke2011-12-133-5/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 13 19:00:37 CET 2011 on sn-devel-104
* s3: Move can_set_delete_on_close to smbd/Volker Lendecke2011-12-132-0/+60
|
* s3: Remove an else{} in remove_deferred_open_entryVolker Lendecke2011-12-131-3/+3
|
* s3:smbd/msdfs: enum_msdfs_links() doesn't need a smbd_server_connection anymoreStefan Metzmacher2011-12-132-4/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 13 17:26:20 CET 2011 on sn-devel-104
* s3:smbd: use connections_snum_used() instead of conn_snum_used() for ↵Stefan Metzmacher2011-12-132-2/+2
| | | | | | | | | load_usershare_shares() Before removing the share security descriptor, we should make sure there're really no active users anymore. metze
* s3:smbd: add connections_snum_used()Stefan Metzmacher2011-12-132-0/+13
| | | | | | | | This works similar to conn_snum_used(), but instead of looking at the current connection only, it looks at all active connections in "connections.tdb". metze
* s3:param: don't reference conn_snum_used directly in load_usershare_shares()Stefan Metzmacher2011-12-132-2/+2
| | | | | | This uses the same logic as lp_killunused(). metze
* s3:smbd/server: remove unused msg_sam_sync()Stefan Metzmacher2011-12-131-15/+0
| | | | metze
* s3:smbd/server: add parent specific SIGTERM and SIGHUP handlersStefan Metzmacher2011-12-131-3/+45
| | | | metze
* s3:smbd/server: create smbd_parent_context earlierStefan Metzmacher2011-12-131-7/+8
| | | | metze
* s3:smbd/server: remember the ev_ctx on the smbd_parent_contextStefan Metzmacher2011-12-131-0/+2
| | | | metze
* s3:smbd/server: remember the msg_ctx on the smbd_parent_contextStefan Metzmacher2011-12-131-4/+4
| | | | metze
* s3:smbd/open: pass smbd_server_connection as private_data to ↵Stefan Metzmacher2011-12-132-4/+4
| | | | | | msg_file_was_renamed() metze
* s3:smbd: register MSG_SMB_FILE_RENAME after the forkStefan Metzmacher2011-12-132-2/+2
| | | | | | | The parent smbd doesn't need to handle this, as it doesn't have any file handles open. metze