summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-libsmb: Don't duplicate kerberos service tickets.Andreas Schneider2011-12-151-5/+0
| | | | | | | | | | | This fixes bug #8628. Each time we do a client connection. Each time we call to function to get the service ticket from the cache we duplicate it. So with each connection we end up with one or three duplicated tickets. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Dec 15 19:30:42 CET 2011 on sn-devel-104
* s3-dbwrap: All relevant backends provide parse_record(). Remove the fallback.Volker Lendecke2011-12-151-37/+0
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Dec 15 17:41:53 CET 2011 on sn-devel-104
* s3-dbwrap: Remove the "fetch" db_context callbackVolker Lendecke2011-12-155-113/+0
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Rewrite dbwrap_fetch in terms of dbwrap_parse_recordVolker Lendecke2011-12-151-3/+30
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Rewrite dbwrap_fallback_parse_record based on dbwrap_fetch_lockedVolker Lendecke2011-12-151-4/+13
| | | | | | This is in preparation to remove the db_context->fetch function pointer Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: For nostalgic reasons, make dbwrap_file.c compile at leastVolker Lendecke2011-12-151-9/+14
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Fix some blank line endingsVolker Lendecke2011-12-151-5/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Implement db_ctdb_parse_record in terms of db_ctdb_fetchVolker Lendecke2011-12-151-0/+19
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-dbwrap: Make dbwrap_parse_record return NTSTATUSVolker Lendecke2011-12-156-41/+68
| | | | | | | Also, the parser now returns void. The parser is called if and only if dbwrap_parse_record returns NT_STATUS_OK. Signed-off-by: Michael Adam <obnox@samba.org>
* 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-1510-30/+39
| | | | | | reload_services() metze
* s3:printing/spoolssd: pass event and messaging context to check_updater_child()Stefan Metzmacher2011-12-151-5/+4
| | | | metze
* s3:rpc_server/spoolss: remove reload_services check from delete_printer_hook()Stefan Metzmacher2011-12-151-8/+0
| | | | | | | | | | | | | As the spoolss code can run embedded or external relative to the smbd file server process, it's very tricky to verify if a share is still in use. Checking the result of the "deleteprinter command" command should be enough to check for success. We should not return WERR_ACCESS_DENIED if the share is still in use, by the current client, as the primary printer definition is already deleted. 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-156-181/+161
| | | | metze
* s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already.Günther Deschner2011-12-141-13/+0
| | | | | | | | | They really do not belong to smb.h. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 21:15:39 CET 2011 on sn-devel-104
* 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-144-49/+22
|
* s3: Remove a call to procid_self()Volker Lendecke2011-12-141-1/+1
|
* s3: Remove nmbd_messaging_context()Volker Lendecke2011-12-141-31/+18
|
* s3: Fix some pointless staticsVolker Lendecke2011-12-141-5/+5
|
* s3: Remove a call to procid_self()Volker Lendecke2011-12-141-6/+8
| | | | Pass messaging_context through the SIGHUP handler
* s3: Remove a call to procid_self()Volker Lendecke2011-12-141-7/+10
| | | | Pass messaging_context through the SIGTERM handler
* s3: Pass messaging_context to nmbd/process()Volker Lendecke2011-12-141-4/+3
|
* s3: Make nmbd_messaging_context staticVolker Lendecke2011-12-142-2/+1
|
* s3: Centralize nmbd_messaging_context in nmbd.cVolker Lendecke2011-12-144-13/+12
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-12-141-4/+4
|
* 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:web/swat: use short term event and message contextsStefan Metzmacher2011-12-141-4/+35
| | | | | | swat doesn't have a central event loop. metze
* s3:smbd: remove brl_register_msgs()Stefan Metzmacher2011-12-143-13/+12
| | | | 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-144-42/+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-132-2/+6
| | | | metze
* s3:vfstest: reload_services() doesn't need a messaging_contextStefan Metzmacher2011-12-131-1/+1
| | | | | | | | | It's only used to get the global smbd_server_connection, which is used in conn_snum_used() via lp_killunused(). But there we don't need it, as we don't have any tree connects at startup time. 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