kai/samba.git
12 years agos3:smbd/server: avoid msg_ctx_to_sconn() in smbd_accept_connection()
Stefan Metzmacher [Tue, 13 Dec 2011 14:26:34 +0000 (15:26 +0100)]
s3:smbd/server: avoid msg_ctx_to_sconn() in smbd_accept_connection()

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

12 years agos3:smbd: remove unused smbd_messaging_context()
Stefan Metzmacher [Tue, 13 Dec 2011 14:24:24 +0000 (15:24 +0100)]
s3:smbd: remove unused smbd_messaging_context()

metze

12 years agos3:smbd/server: maintain the list of child processes under smbd_parent_context
Stefan Metzmacher [Tue, 13 Dec 2011 14:23:08 +0000 (15:23 +0100)]
s3:smbd/server: maintain the list of child processes under smbd_parent_context

metze

12 years agos3:smbd/server: pass smbd_parent_context to smbd_setup_sig_chld_handler()
Stefan Metzmacher [Tue, 13 Dec 2011 14:21:12 +0000 (15:21 +0100)]
s3:smbd/server: pass smbd_parent_context to smbd_setup_sig_chld_handler()

metze

12 years agos3:smbd/globals: change 'int am_parent' into 'struct smbd_parent_context *am_parent'
Stefan Metzmacher [Tue, 13 Dec 2011 13:58:50 +0000 (14:58 +0100)]
s3:smbd/globals: change 'int am_parent' into 'struct smbd_parent_context *am_parent'

This is a short term solution on the way to get rid of 'am_parent' completely.

metze

12 years agos4-netlogon: Revert patch f02e4ebfafa6e5911e3fe744b1780527ab12c970
Amitay Isaacs [Tue, 13 Dec 2011 23:07:17 +0000 (10:07 +1100)]
s4-netlogon: Revert patch f02e4ebfafa6e5911e3fe744b1780527ab12c970

DS_DNS_CONTROLLER bit is set if DC's domain name is dns name.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Dec 14 07:31:05 CET 2011 on sn-devel-104

12 years agotdb2: Fix python documentation for tdb.Tdb object
Amitay Isaacs [Tue, 13 Dec 2011 22:45:15 +0000 (09:45 +1100)]
tdb2: Fix python documentation for tdb.Tdb object

12 years agosamba-tool: Fix DN for GPO entries
Amitay Isaacs [Thu, 8 Dec 2011 04:41:55 +0000 (15:41 +1100)]
samba-tool: Fix DN for GPO entries

12 years agosamba-tool: gpo: fix a typo
Amitay Isaacs [Wed, 7 Dec 2011 06:14:58 +0000 (17:14 +1100)]
samba-tool: gpo: fix a typo

12 years agosamba-tool: Remove duplicate code of dsacl to fsacl conversion
Amitay Isaacs [Wed, 7 Dec 2011 02:10:10 +0000 (13:10 +1100)]
samba-tool: Remove duplicate code of dsacl to fsacl conversion

Use samba.ntacls.dsacl2fsacl() instead.

12 years agosetup: Fix phpldapadmin configuration for version 1.2.x
Amitay Isaacs [Wed, 7 Dec 2011 01:26:46 +0000 (12:26 +1100)]
setup: Fix phpldapadmin configuration for version 1.2.x

12 years agos4-smbtorture: fix some typos in schannel test.
Günther Deschner [Tue, 13 Dec 2011 23:06:53 +0000 (00:06 +0100)]
s4-smbtorture: fix some typos in schannel test.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 14 02:52:54 CET 2011 on sn-devel-104

12 years agos4-smbtorture: avoid printf(); in schannel test.
Günther Deschner [Tue, 13 Dec 2011 22:38:46 +0000 (23:38 +0100)]
s4-smbtorture: avoid printf(); in schannel test.

Guenther

12 years agos4-smbtorture: remove trailing whitespace from schannel test.
Günther Deschner [Tue, 13 Dec 2011 22:30:21 +0000 (23:30 +0100)]
s4-smbtorture: remove trailing whitespace from schannel test.

Guenther

12 years agos4-resolv: fix dns_ex so as to fail correctly when a name does not exist
Andrew Bartlett [Tue, 13 Dec 2011 06:22:34 +0000 (17:22 +1100)]
s4-resolv: fix dns_ex so as to fail correctly when a name does not exist

Without this, netbios name lookups do not work, as we never fall back to them.

This caused segfaults from e38d97e0424f7e5b21c8b7ac0b1f1bac33f19d69 to
251209bd6f6e66ca9bcf28cd652d85d1cd729fdc and then name lookup failure
or timeouts until this patch.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Dec 14 01:16:37 CET 2011 on sn-devel-104

12 years agos4-selftest: Add test of RPC to a netbios alias
Andrew Bartlett [Tue, 13 Dec 2011 04:43:35 +0000 (15:43 +1100)]
s4-selftest: Add test of RPC to a netbios alias

This tries to ensure our netbios lookup code is still run.

Andrew Bartlett

12 years agos4-selftest Give local.resolve a real name to look up
Andrew Bartlett [Tue, 13 Dec 2011 19:55:53 +0000 (06:55 +1100)]
s4-selftest Give local.resolve a real name to look up

12 years agos3: Fix examples/VFS build
Volker Lendecke [Tue, 13 Dec 2011 20:26:21 +0000 (21:26 +0100)]
s3: Fix examples/VFS build

With other builds in the include path, examples get the includes.h wrong

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 23:40:37 CET 2011 on sn-devel-104

12 years agos3:smbd/globals: remove unused extern declarations
Stefan Metzmacher [Tue, 13 Dec 2011 13:48:04 +0000 (14:48 +0100)]
s3:smbd/globals: remove unused extern declarations

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 13 22:06:02 CET 2011 on sn-devel-104

12 years agos3:smbd/server: move smbd_open_socket and smbd_parent_context to the top
Stefan Metzmacher [Tue, 13 Dec 2011 13:38:55 +0000 (14:38 +0100)]
s3:smbd/server: move smbd_open_socket and smbd_parent_context to the top

metze

12 years agos3:smbd/oplock_onefs: avoid using smbd_messaging_context()
Stefan Metzmacher [Tue, 13 Dec 2011 13:24:58 +0000 (14:24 +0100)]
s3:smbd/oplock_onefs: avoid using smbd_messaging_context()

metze

12 years agos3:smbd/oplock_onefs: pass smbd_server_connection to onefs_oplock_wait_record()
Stefan Metzmacher [Tue, 13 Dec 2011 13:24:58 +0000 (14:24 +0100)]
s3:smbd/oplock_onefs: pass smbd_server_connection to onefs_oplock_wait_record()

metze

12 years agos3:vfstest: reload_services() doesn't need a messaging_context
Stefan Metzmacher [Tue, 13 Dec 2011 13:16:21 +0000 (14:16 +0100)]
s3:vfstest: reload_services() doesn't need a messaging_context

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

12 years agos3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler()
Stefan Metzmacher [Tue, 13 Dec 2011 12:55:02 +0000 (13:55 +0100)]
s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler()

metze

12 years agos3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler()
Stefan Metzmacher [Tue, 13 Dec 2011 12:55:02 +0000 (13:55 +0100)]
s3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler()

metze

12 years agos3:smbd/oplock: pass smbd_server_connection to onefs_init_kernel_oplocks()
Stefan Metzmacher [Tue, 13 Dec 2011 12:38:41 +0000 (13:38 +0100)]
s3:smbd/oplock: pass smbd_server_connection to onefs_init_kernel_oplocks()

metze

12 years agos3:smbd/oplock: pass smbd_server_connection to linux_init_kernel_oplocks()
Stefan Metzmacher [Tue, 13 Dec 2011 12:38:41 +0000 (13:38 +0100)]
s3:smbd/oplock: pass smbd_server_connection to linux_init_kernel_oplocks()

metze

12 years agos3:smbd/oplock: pass smbd_server_connection to irix_init_kernel_oplocks()
Stefan Metzmacher [Tue, 13 Dec 2011 12:38:41 +0000 (13:38 +0100)]
s3:smbd/oplock: pass smbd_server_connection to irix_init_kernel_oplocks()

metze

12 years agos3:smbd/oplock: pass sconn as private_data to process_open_retry_message()
Stefan Metzmacher [Tue, 13 Dec 2011 12:18:47 +0000 (13:18 +0100)]
s3:smbd/oplock: pass sconn as private_data to process_open_retry_message()

metze

12 years agos3:smbd/oplock: pass sconn as private_data to process_kernel_oplock_break()
Stefan Metzmacher [Tue, 13 Dec 2011 12:18:47 +0000 (13:18 +0100)]
s3:smbd/oplock: pass sconn as private_data to process_kernel_oplock_break()

metze

12 years agos3:smbd/oplock: pass sconn as private_data to process_oplock_break_response()
Stefan Metzmacher [Tue, 13 Dec 2011 12:18:47 +0000 (13:18 +0100)]
s3:smbd/oplock: pass sconn as private_data to process_oplock_break_response()

metze

12 years agos3:smbd/oplock: pass sconn as private_data to process_oplock_async_level2_break_message()
Stefan Metzmacher [Tue, 13 Dec 2011 12:18:47 +0000 (13:18 +0100)]
s3:smbd/oplock: pass sconn as private_data to process_oplock_async_level2_break_message()

metze

12 years agos3:smbd/oplock: pass sconn as private_data to process_oplock_break_message()
Stefan Metzmacher [Tue, 13 Dec 2011 12:18:47 +0000 (13:18 +0100)]
s3:smbd/oplock: pass sconn as private_data to process_oplock_break_message()

metze

12 years agos3:smbd/oplock: pass smbd_server_connection to init_oplocks()
Stefan Metzmacher [Tue, 13 Dec 2011 12:13:53 +0000 (13:13 +0100)]
s3:smbd/oplock: pass smbd_server_connection to init_oplocks()

metze

12 years agos3: Move can_delete_directory to smbd/, remove shim
Volker Lendecke [Tue, 13 Dec 2011 15:07:18 +0000 (16:07 +0100)]
s3: Move can_delete_directory to smbd/, remove shim

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 19:00:37 CET 2011 on sn-devel-104

12 years agos3: Move can_set_delete_on_close to smbd/
Volker Lendecke [Tue, 13 Dec 2011 15:01:59 +0000 (16:01 +0100)]
s3: Move can_set_delete_on_close to smbd/

12 years agos3: Remove an else{} in remove_deferred_open_entry
Volker Lendecke [Tue, 13 Dec 2011 12:56:49 +0000 (13:56 +0100)]
s3: Remove an else{} in remove_deferred_open_entry

12 years agos3-dbwrap: Simplify db_tdb_fetchlock_parse a bit
Volker Lendecke [Fri, 9 Dec 2011 15:39:09 +0000 (16:39 +0100)]
s3-dbwrap: Simplify db_tdb_fetchlock_parse a bit

Introduce a local variable for the result, replace "state->result" by "result"

12 years agos3:smbd/msdfs: enum_msdfs_links() doesn't need a smbd_server_connection anymore
Stefan Metzmacher [Tue, 13 Dec 2011 11:29:54 +0000 (12:29 +0100)]
s3:smbd/msdfs: enum_msdfs_links() doesn't need a smbd_server_connection anymore

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 13 17:26:20 CET 2011 on sn-devel-104

12 years agos3:smbd: use connections_snum_used() instead of conn_snum_used() for load_usershare_s...
Stefan Metzmacher [Tue, 13 Dec 2011 11:24:03 +0000 (12:24 +0100)]
s3:smbd: use connections_snum_used() instead of conn_snum_used() for load_usershare_shares()

Before removing the share security descriptor, we should make sure there're
really no active users anymore.

metze

12 years agos3:smbd: add connections_snum_used()
Stefan Metzmacher [Tue, 13 Dec 2011 11:18:01 +0000 (12:18 +0100)]
s3:smbd: add connections_snum_used()

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

12 years agos3:lib/dummyparam: remove unused conn_snum_used() dummy
Stefan Metzmacher [Tue, 13 Dec 2011 10:53:10 +0000 (11:53 +0100)]
s3:lib/dummyparam: remove unused conn_snum_used() dummy

metze

12 years agos3:param: don't reference conn_snum_used directly in load_usershare_shares()
Stefan Metzmacher [Tue, 13 Dec 2011 10:50:04 +0000 (11:50 +0100)]
s3:param: don't reference conn_snum_used directly in load_usershare_shares()

This uses the same logic as lp_killunused().

metze

12 years agos3: Use talloc_tos() in set_write_time()
Volker Lendecke [Tue, 13 Dec 2011 13:11:38 +0000 (14:11 +0100)]
s3: Use talloc_tos() in set_write_time()

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 15:44:58 CET 2011 on sn-devel-104

12 years agos3: Use talloc_tos() in set_sticky_write_time()
Volker Lendecke [Tue, 13 Dec 2011 13:11:28 +0000 (14:11 +0100)]
s3: Use talloc_tos() in set_sticky_write_time()

12 years agos3: Convert open_files.idl to tab indents
Volker Lendecke [Tue, 13 Dec 2011 11:45:11 +0000 (12:45 +0100)]
s3: Convert open_files.idl to tab indents

12 years agos3:messaging.idl: obsolete unused MSG_SMB_SAM_*
Stefan Metzmacher [Tue, 13 Dec 2011 08:23:31 +0000 (09:23 +0100)]
s3:messaging.idl: obsolete unused MSG_SMB_SAM_*

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Dec 13 14:13:38 CET 2011 on sn-devel-104

12 years agos3:smbd/server: remove unused msg_sam_sync()
Stefan Metzmacher [Tue, 13 Dec 2011 08:21:58 +0000 (09:21 +0100)]
s3:smbd/server: remove unused msg_sam_sync()

metze

12 years agos3:rpc_server/netlogon: remove unused send_sync_message()
Stefan Metzmacher [Tue, 13 Dec 2011 09:34:19 +0000 (10:34 +0100)]
s3:rpc_server/netlogon: remove unused send_sync_message()

metze

12 years agos3:smbcontrol: remove unused "samsync" and "samrepl" commands
Stefan Metzmacher [Tue, 13 Dec 2011 08:20:20 +0000 (09:20 +0100)]
s3:smbcontrol: remove unused "samsync" and "samrepl" commands

metze

12 years agos3:smbd/server: add parent specific SIGTERM and SIGHUP handlers
Stefan Metzmacher [Tue, 13 Dec 2011 08:04:20 +0000 (09:04 +0100)]
s3:smbd/server: add parent specific SIGTERM and SIGHUP handlers

metze

12 years agos3:smbd/server: create smbd_parent_context earlier
Stefan Metzmacher [Tue, 13 Dec 2011 07:54:49 +0000 (08:54 +0100)]
s3:smbd/server: create smbd_parent_context earlier

metze

12 years agos3:smbd/server: remember the ev_ctx on the smbd_parent_context
Stefan Metzmacher [Tue, 13 Dec 2011 07:31:09 +0000 (08:31 +0100)]
s3:smbd/server: remember the ev_ctx on the smbd_parent_context

metze

12 years agos3:smbd/server: remember the msg_ctx on the smbd_parent_context
Stefan Metzmacher [Tue, 13 Dec 2011 07:30:39 +0000 (08:30 +0100)]
s3:smbd/server: remember the msg_ctx on the smbd_parent_context

metze

12 years agos3:smbd/open: pass smbd_server_connection as private_data to msg_file_was_renamed()
Stefan Metzmacher [Tue, 13 Dec 2011 07:11:58 +0000 (08:11 +0100)]
s3:smbd/open: pass smbd_server_connection as private_data to msg_file_was_renamed()

metze

12 years agos3:smbd: register MSG_SMB_FILE_RENAME after the fork
Stefan Metzmacher [Tue, 13 Dec 2011 07:19:06 +0000 (08:19 +0100)]
s3:smbd: register MSG_SMB_FILE_RENAME after the fork

The parent smbd doesn't need to handle this, as it doesn't
have any file handles open.

metze

12 years agos3:smbd/conn_msg: pass smbd_server_connection as private_data to msg_force_tdis()
Stefan Metzmacher [Tue, 13 Dec 2011 07:11:58 +0000 (08:11 +0100)]
s3:smbd/conn_msg: pass smbd_server_connection as private_data to msg_force_tdis()

metze

12 years agos3:smbd/blocking: pass smbd_server_connection as private_data to process_blocking_loc...
Stefan Metzmacher [Tue, 13 Dec 2011 07:11:58 +0000 (08:11 +0100)]
s3:smbd/blocking: pass smbd_server_connection as private_data to process_blocking_lock_cancel_message()

metze

12 years agos4:pydsdb: remove unused variable from py_dsdb_am_pdc()
Stefan Metzmacher [Tue, 13 Dec 2011 07:24:25 +0000 (08:24 +0100)]
s4:pydsdb: remove unused variable from py_dsdb_am_pdc()

metze

12 years agos3: Use pid_to_procid
Volker Lendecke [Tue, 13 Dec 2011 10:02:21 +0000 (11:02 +0100)]
s3: Use pid_to_procid

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 13 12:35:09 CET 2011 on sn-devel-104

12 years agos3: Fix some nonempty blank lines
Volker Lendecke [Tue, 13 Dec 2011 10:00:16 +0000 (11:00 +0100)]
s3: Fix some nonempty blank lines

12 years agos3: Remove a call to procid_self()
Volker Lendecke [Tue, 13 Dec 2011 09:57:34 +0000 (10:57 +0100)]
s3: Remove a call to procid_self()

12 years agos3: Remove a call to procid_self()
Volker Lendecke [Tue, 13 Dec 2011 09:57:09 +0000 (10:57 +0100)]
s3: Remove a call to procid_self()

12 years agos3: Remove a call to procid_self()
Volker Lendecke [Tue, 13 Dec 2011 09:56:32 +0000 (10:56 +0100)]
s3: Remove a call to procid_self()

12 years agos3: Remove a call to procid_self()
Volker Lendecke [Tue, 13 Dec 2011 09:56:27 +0000 (10:56 +0100)]
s3: Remove a call to procid_self()

12 years agos4-provision: Do not guess partition file names, use @PARTITION record
Amitay Isaacs [Sun, 11 Dec 2011 23:53:55 +0000 (10:53 +1100)]
s4-provision: Do not guess partition file names, use @PARTITION record

This is to avoid duplicating the logic of generating partition file
names. (partition file names are encoded partially as per RFC1738).

Also, use tdb_copy() instead of filesystem copy function to copy
database files, which guarantees correct database copy.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Dec 13 03:28:03 CET 2011 on sn-devel-104

12 years agos4-param: Added bin_dir(),sbin_dir() methods to get compiled in dirs
Amitay Isaacs [Mon, 12 Dec 2011 03:18:21 +0000 (14:18 +1100)]
s4-param: Added bin_dir(),sbin_dir() methods to get compiled in dirs

12 years agos4-provision: Extract common utility routines in separate file
Amitay Isaacs [Sun, 11 Dec 2011 06:00:03 +0000 (17:00 +1100)]
s4-provision: Extract common utility routines in separate file

12 years agotdb: Fix python documentation for tdb module
Amitay Isaacs [Sun, 11 Dec 2011 05:09:32 +0000 (16:09 +1100)]
tdb: Fix python documentation for tdb module

12 years agos4-provision: CN=MicrosoftDNS,CN=System container is in forest and not domain
Amitay Isaacs [Thu, 8 Dec 2011 06:34:57 +0000 (17:34 +1100)]
s4-provision: CN=MicrosoftDNS,CN=System container is in forest and not domain

12 years agos4-cldap: Set DS_DNS_CONTROLLER bit if we are running RPC dnsserver
Amitay Isaacs [Wed, 7 Dec 2011 22:28:45 +0000 (09:28 +1100)]
s4-cldap: Set DS_DNS_CONTROLLER bit if we are running RPC dnsserver

Till we have internal DNS server which appears in services, use
endpoint services to find out if we are running dns server.

12 years agolibcli: Remove an unused variable
Volker Lendecke [Mon, 12 Dec 2011 20:26:52 +0000 (21:26 +0100)]
libcli: Remove an unused variable

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Dec 12 23:21:49 CET 2011 on sn-devel-104

12 years agos3: Remove a bunch of calls to procid_self()
Volker Lendecke [Mon, 12 Dec 2011 13:55:54 +0000 (14:55 +0100)]
s3: Remove a bunch of calls to procid_self()

All callers to messaging_[re]init only used procid_self()

12 years agos3:smbd/close: pass smbd_server_connection to notify_deferred_opens()
Stefan Metzmacher [Mon, 12 Dec 2011 15:07:19 +0000 (16:07 +0100)]
s3:smbd/close: pass smbd_server_connection to notify_deferred_opens()

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 21:49:11 CET 2011 on sn-devel-104

12 years agos3:smbd/clode: pass smbd_server_connection as private_data to msg_close_file()
Stefan Metzmacher [Mon, 12 Dec 2011 14:45:07 +0000 (15:45 +0100)]
s3:smbd/clode: pass smbd_server_connection as private_data to msg_close_file()

metze

12 years agos3:smbd/blocking: pass smbd_server_connection as private_data to received_unlock_msg()
Stefan Metzmacher [Mon, 12 Dec 2011 14:45:07 +0000 (15:45 +0100)]
s3:smbd/blocking: pass smbd_server_connection as private_data to received_unlock_msg()

metze

12 years agos3:smb2_lock: pass smbd_server_connection as private_data to received_unlock_msg()
Stefan Metzmacher [Mon, 12 Dec 2011 14:45:07 +0000 (15:45 +0100)]
s3:smb2_lock: pass smbd_server_connection as private_data to received_unlock_msg()

metze

12 years agos4:python/samba/join: set msDS-Behavior-Version to '4' 2008_R2 on the nTDSA object
Stefan Metzmacher [Mon, 12 Dec 2011 11:44:33 +0000 (12:44 +0100)]
s4:python/samba/join: set msDS-Behavior-Version to '4' 2008_R2 on the nTDSA object

This matches the values we set in provision.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 19:16:13 CET 2011 on sn-devel-104

12 years agos3-ctdb: fix the build w/o HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL
Günther Deschner [Mon, 12 Dec 2011 11:17:35 +0000 (12:17 +0100)]
s3-ctdb: fix the build w/o HAVE_CTDB_CONTROL_CHECK_SRVIDS_DECL

Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 12 17:42:29 CET 2011 on sn-devel-104

12 years agos3:smb2_server: use sconn->ev_ctx instead of sconn->smb2.event_ctx
Stefan Metzmacher [Mon, 12 Dec 2011 13:15:03 +0000 (14:15 +0100)]
s3:smb2_server: use sconn->ev_ctx instead of sconn->smb2.event_ctx

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 12 16:08:59 CET 2011 on sn-devel-104

12 years agos3:smb2_lock: avoid using server_event_context()
Stefan Metzmacher [Mon, 12 Dec 2011 12:49:29 +0000 (13:49 +0100)]
s3:smb2_lock: avoid using server_event_context()

metze

12 years agos3:smbd/pipes: avoid passing server_event_context() as event context to np_{read...
Stefan Metzmacher [Mon, 12 Dec 2011 12:47:56 +0000 (13:47 +0100)]
s3:smbd/pipes: avoid passing server_event_context() as event context to np_{read,write}_send

metze

12 years agos3:smbd/process: avoid using server_event_context() for the forked echo handler
Stefan Metzmacher [Mon, 12 Dec 2011 12:54:10 +0000 (13:54 +0100)]
s3:smbd/process: avoid using server_event_context() for the forked echo handler

metze

12 years agos3:smbd/process: avoid using server_event_context() for smbd_deferred_open_timer...
Stefan Metzmacher [Mon, 12 Dec 2011 12:53:26 +0000 (13:53 +0100)]
s3:smbd/process: avoid using server_event_context() for smbd_deferred_open_timer events

metze

12 years agos3:smbd/oplock: avoid using server_event_context() in add_oplock_timeout_handler()
Stefan Metzmacher [Mon, 12 Dec 2011 12:51:27 +0000 (13:51 +0100)]
s3:smbd/oplock: avoid using server_event_context() in add_oplock_timeout_handler()

metze

12 years agos3:smbd/service: avoid using server_event_context() for notify_init()
Stefan Metzmacher [Mon, 12 Dec 2011 12:50:51 +0000 (13:50 +0100)]
s3:smbd/service: avoid using server_event_context() for notify_init()

metze

12 years agos3:smbd/ipc: pass 'state' as mem_ctx to np_read_send()
Stefan Metzmacher [Mon, 12 Dec 2011 12:46:52 +0000 (13:46 +0100)]
s3:smbd/ipc: pass 'state' as mem_ctx to np_read_send()

metze

12 years agos3:smbd/fileio: avoid usage of server_event_context()
Stefan Metzmacher [Mon, 12 Dec 2011 12:39:56 +0000 (13:39 +0100)]
s3:smbd/fileio: avoid usage of server_event_context()

metze

12 years agos3:smbd/close: avoid usage of server_event_context()
Stefan Metzmacher [Mon, 12 Dec 2011 12:39:56 +0000 (13:39 +0100)]
s3:smbd/close: avoid usage of server_event_context()

metze

12 years agos3:smbd/blocking: avoid usage of server_event_context()
Stefan Metzmacher [Mon, 12 Dec 2011 12:39:56 +0000 (13:39 +0100)]
s3:smbd/blocking: avoid usage of server_event_context()

metze

12 years agos3:smbd: remember the event context on smbd_server_connection
Stefan Metzmacher [Mon, 12 Dec 2011 12:18:59 +0000 (13:18 +0100)]
s3:smbd: remember the event context on smbd_server_connection

metze

12 years agos3:smbd: pass down smbd_server_connection via smbd_echo_state
Stefan Metzmacher [Mon, 12 Dec 2011 10:20:06 +0000 (11:20 +0100)]
s3:smbd: pass down smbd_server_connection via smbd_echo_state

metze

12 years agos3:smbd: remove references to the global smbd_server_conn
Stefan Metzmacher [Mon, 12 Dec 2011 10:20:06 +0000 (11:20 +0100)]
s3:smbd: remove references to the global smbd_server_conn

metze

12 years agos3:smbd: make struct pending_message_list private
Stefan Metzmacher [Mon, 12 Dec 2011 10:19:05 +0000 (11:19 +0100)]
s3:smbd: make struct pending_message_list private

metze

12 years agos3:smbd: remember the smbd_server_connection on pending_message_list
Stefan Metzmacher [Mon, 12 Dec 2011 10:11:55 +0000 (11:11 +0100)]
s3:smbd: remember the smbd_server_connection on pending_message_list

metze

12 years agoHEIMDAL: Supply krb5_context to _krb5_internal_hmac to allow logging
Andrew Bartlett [Thu, 17 Nov 2011 08:13:02 +0000 (19:13 +1100)]
HEIMDAL: Supply krb5_context to _krb5_internal_hmac to allow logging

Without this, log messages from any abort are not printed to
the samba logs.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Dec 12 14:34:16 CET 2011 on sn-devel-104

12 years agos4-torture Do not use a fixed password for forest trust tests
Andrew Bartlett [Mon, 12 Dec 2011 11:52:46 +0000 (22:52 +1100)]
s4-torture Do not use a fixed password for forest trust tests

It is much better to always use random passwords.

Andrew Bartlett

12 years agos4-torture cope with servers earlier than Windows 2008
Andrew Bartlett [Sat, 10 Dec 2011 04:02:52 +0000 (15:02 +1100)]
s4-torture cope with servers earlier than Windows 2008

Only Win2008 started to support new encryption types.

Andrew Bartlett

12 years agos4-torture Modify rpc.lsa.forest.trust test to progress further FL Win2003 R2
Andrew Bartlett [Sat, 10 Dec 2011 03:17:57 +0000 (14:17 +1100)]
s4-torture Modify rpc.lsa.forest.trust test to progress further FL Win2003 R2

This modification is required to pass against a domain in functional
level Windows 2003 or later.

Andrew Bartlett

12 years agos4-torture: Fix comment
Andrew Bartlett [Sat, 10 Dec 2011 02:33:06 +0000 (13:33 +1100)]
s4-torture: Fix comment