Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-15 | s4-socket: use set_close_on_exec() | Andrew Tridgell | 2 | -0/+8 | |
this prevents a fd leak to child processes | |||||
2011-12-15 | genrand: use set_close_on_exec() | Andrew Tridgell | 1 | -0/+9 | |
this prevents a fd leak to child processes | |||||
2011-12-15 | lib/util: added set_close_on_exec() | Andrew Tridgell | 2 | -0/+23 | |
this was already in tevent_util.c, but library layering prevented us from using it in some other libraries | |||||
2011-12-15 | dynconfig: added SBINDIR and BINDIR as updated dynconfig variables | Andrew Tridgell | 1 | -0/+2 | |
this allows these to work correctly in a build environment, pointing at bin/ | |||||
2011-12-15 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 15 23:35:28 CET 2011 on sn-devel-104 | |||||
2011-12-15 | s3:vfs fix up vfs_gpfs after function pointer renames | Christian Ambach | 1 | -25/+25 | |
In 422494a8e630e2ca89386344eaa5346388698a32, vfs_gpfs.c was forgotten Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Dec 15 21:08:02 CET 2011 on sn-devel-104 | |||||
2011-12-15 | s3-libsmb: Don't duplicate kerberos service tickets. | Andreas Schneider | 1 | -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 | |||||
2011-12-15 | s3-dbwrap: All relevant backends provide parse_record(). Remove the fallback. | Volker Lendecke | 1 | -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 | |||||
2011-12-15 | s3-dbwrap: Remove the "fetch" db_context callback | Volker Lendecke | 5 | -113/+0 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-12-15 | s3-dbwrap: Rewrite dbwrap_fetch in terms of dbwrap_parse_record | Volker Lendecke | 1 | -3/+30 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-12-15 | s3-dbwrap: Rewrite dbwrap_fallback_parse_record based on dbwrap_fetch_locked | Volker Lendecke | 1 | -4/+13 | |
This is in preparation to remove the db_context->fetch function pointer Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-12-15 | s3-dbwrap: For nostalgic reasons, make dbwrap_file.c compile at least | Volker Lendecke | 1 | -9/+14 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-12-15 | s3-dbwrap: Fix some blank line endings | Volker Lendecke | 1 | -5/+5 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-12-15 | s3-dbwrap: Implement db_ctdb_parse_record in terms of db_ctdb_fetch | Volker Lendecke | 1 | -0/+19 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-12-15 | s3-dbwrap: Make dbwrap_parse_record return NTSTATUS | Volker Lendecke | 6 | -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> | |||||
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 | 10 | -30/+39 | |
reload_services() metze | |||||
2011-12-15 | s3:printing/spoolssd: pass event and messaging context to check_updater_child() | Stefan Metzmacher | 1 | -5/+4 | |
metze | |||||
2011-12-15 | s3:rpc_server/spoolss: remove reload_services check from delete_printer_hook() | Stefan Metzmacher | 1 | -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 | |||||
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 | 6 | -181/+161 | |
metze | |||||
2011-12-15 | lib/ccan: Fix some typos in libccan.m4 | Martin Schwenke | 1 | -2/+2 | |
Signed-off-by: Martin Schwenke <martin@meltin.net> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Dec 15 07:40:33 CET 2011 on sn-devel-104 | |||||
2011-12-15 | lib/ccan: fix m4 tests for builtin_expect and compound literals. | Rusty Russell | 1 | -9/+10 | |
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-12-14 | s3-includes: remove PRIMARY_* SID_INDEX defines defined elsewhere already. | Günther Deschner | 1 | -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 | |||||
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 | 4 | -49/+22 | |
2011-12-14 | s3: Remove a call to procid_self() | Volker Lendecke | 1 | -1/+1 | |
2011-12-14 | s3: Remove nmbd_messaging_context() | Volker Lendecke | 1 | -31/+18 | |
2011-12-14 | s3: Fix some pointless statics | Volker Lendecke | 1 | -5/+5 | |
2011-12-14 | s3: Remove a call to procid_self() | Volker Lendecke | 1 | -6/+8 | |
Pass messaging_context through the SIGHUP handler | |||||
2011-12-14 | s3: Remove a call to procid_self() | Volker Lendecke | 1 | -7/+10 | |
Pass messaging_context through the SIGTERM handler | |||||
2011-12-14 | s3: Pass messaging_context to nmbd/process() | Volker Lendecke | 1 | -4/+3 | |
2011-12-14 | s3: Make nmbd_messaging_context static | Volker Lendecke | 2 | -2/+1 | |
2011-12-14 | s3: Centralize nmbd_messaging_context in nmbd.c | Volker Lendecke | 4 | -13/+12 | |
2011-12-14 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -4/+4 | |
2011-12-14 | s4-smbtorture: make sure we can successfully run the schannel test against ↵ | Günther Deschner | 1 | -16/+30 | |
windows. lsa lookupsids3/lookupnames4 is only available over schannel sealed ncacn_ip_tcp. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 14 17:28:29 CET 2011 on sn-devel-104 | |||||
2011-12-14 | s4-torture: LookupSids3 is only available over NCACN_IP_TCP. | Andreas Schneider | 1 | -1/+2 | |
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Dec 14 15:39:58 CET 2011 on sn-devel-104 | |||||
2011-12-14 | s4-torture: Fix schannel test against win2k8. | Andreas Schneider | 1 | -4/+4 | |
2011-12-14 | s4-librpc: Fix NETLOGON credential chain with Windows 2008. | Andreas Schneider | 3 | -11/+45 | |
Windows Server 2008 returns NT_STATUS_DOWNGRADE_DETECTED if you call netrServerAuthenticate2 during a domain join without setting the strong keys flag (128bit crypto). Only for NT4 we need to do a downgrade to the returned negotiate flags. See also 0970369ca0cb9ae465cff40e5c75739824daf1d0. | |||||
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:web/swat: use short term event and message contexts | Stefan Metzmacher | 1 | -4/+35 | |
swat doesn't have a central event loop. metze | |||||
2011-12-14 | s3:smbd: remove brl_register_msgs() | Stefan Metzmacher | 3 | -13/+12 | |
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 |