Volker Lendecke
37e7981eea
s3: Remove a call to procid_self()
2011-12-14 17:34:21 +01:00
Volker Lendecke
461766e497
s3: Remove nmbd_messaging_context()
2011-12-14 17:34:21 +01:00
Volker Lendecke
c21f6a1c68
s3: Fix some pointless statics
2011-12-14 17:34:21 +01:00
Volker Lendecke
78e629c598
s3: Remove a call to procid_self()
...
Pass messaging_context through the SIGHUP handler
2011-12-14 17:34:21 +01:00
Volker Lendecke
1f0f8aaab5
s3: Remove a call to procid_self()
...
Pass messaging_context through the SIGTERM handler
2011-12-14 17:34:21 +01:00
Volker Lendecke
505761b5a3
s3: Pass messaging_context to nmbd/process()
2011-12-14 17:34:21 +01:00
Volker Lendecke
096ede3623
s3: Make nmbd_messaging_context static
2011-12-14 17:34:20 +01:00
Volker Lendecke
a2d1b3b144
s3: Centralize nmbd_messaging_context in nmbd.c
2011-12-14 17:34:20 +01:00
Volker Lendecke
5c3194cc41
s3: Fix some nonempty blank lines
2011-12-14 17:34:20 +01:00
Günther Deschner
030ccc42b9
s4-smbtorture: make sure we can successfully run the schannel test against 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 17:28:29 +01:00
Andreas Schneider
be288b0c82
s4-torture: LookupSids3 is only available over NCACN_IP_TCP.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Dec 14 15:39:58 CET 2011 on sn-devel-104
2011-12-14 15:39:58 +01:00
Andreas Schneider
e917c7b0ee
s4-torture: Fix schannel test against win2k8.
2011-12-14 13:41:28 +01:00
Andreas Schneider
17d124490b
s4-librpc: Fix NETLOGON credential chain with Windows 2008.
...
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 13:41:28 +01:00
Stefan Metzmacher
ffa996e479
s3:smb2_lock: use talloc_get_type_abort() as private_data can't be NULL
...
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 13:34:25 +01:00
Stefan Metzmacher
324e66fd45
s3:smbd/oplock: make process_oplock_async_level2_break_message() static
...
metze
2011-12-14 12:00:07 +01:00
Stefan Metzmacher
dabc2cb9cb
s3:smbd/oplock: use talloc_get_type_abort() as private_data can't be NULL
...
metze
2011-12-14 12:00:07 +01:00
Stefan Metzmacher
940f21e5c6
s3:smbd/open: use talloc_get_type_abort() as private_data can't be NULL
...
metze
2011-12-14 12:00:07 +01:00
Stefan Metzmacher
e3e56e209f
s3:smbd/conn_msg: use talloc_get_type_abort() as private_data can't be NULL
...
metze
2011-12-14 12:00:07 +01:00
Stefan Metzmacher
95384d11a3
s3:smbd/close: use talloc_get_type_abort() as private_data can't be NULL
...
metze
2011-12-14 12:00:07 +01:00
Stefan Metzmacher
500d703977
s3:smbd/blocking: use talloc_get_type_abort() as private_data can't be NULL
...
metze
2011-12-14 12:00:07 +01:00
Stefan Metzmacher
ef45279f5e
s3:web/swat: use short term event and message contexts
...
swat doesn't have a central event loop.
metze
2011-12-14 12:00:06 +01:00
Stefan Metzmacher
2e0bc74a6e
s3:smbd: remove brl_register_msgs()
...
metze
2011-12-14 12:00:06 +01:00
Stefan Metzmacher
c51da25769
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
2011-12-14 11:23:42 +01:00
Stefan Metzmacher
1515f7db00
s3:smbd: remove unused smbd_messaging_context()
...
metze
2011-12-14 08:15:30 +01:00
Stefan Metzmacher
78582da8b5
s3:smbd/server: maintain the list of child processes under smbd_parent_context
...
metze
2011-12-14 08:15:06 +01:00
Stefan Metzmacher
dddaa52552
s3:smbd/server: pass smbd_parent_context to smbd_setup_sig_chld_handler()
...
metze
2011-12-14 08:14:54 +01:00
Stefan Metzmacher
6d15ca3482
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
2011-12-14 08:14:44 +01:00
Amitay Isaacs
010d6003e3
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
2011-12-14 07:31:05 +01:00
Amitay Isaacs
a4ab152a05
tdb2: Fix python documentation for tdb.Tdb object
2011-12-14 15:57:32 +11:00
Amitay Isaacs
0cee9b01d9
samba-tool: Fix DN for GPO entries
2011-12-14 15:57:32 +11:00
Amitay Isaacs
8b94a34bac
samba-tool: gpo: fix a typo
2011-12-14 15:57:32 +11:00
Amitay Isaacs
d8bed322fc
samba-tool: Remove duplicate code of dsacl to fsacl conversion
...
Use samba.ntacls.dsacl2fsacl() instead.
2011-12-14 15:57:32 +11:00
Amitay Isaacs
0a10b32602
setup: Fix phpldapadmin configuration for version 1.2.x
2011-12-14 15:57:32 +11:00
Günther Deschner
19411c9953
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
2011-12-14 02:52:54 +01:00
Günther Deschner
87be316c57
s4-smbtorture: avoid printf(); in schannel test.
...
Guenther
2011-12-14 01:18:04 +01:00
Günther Deschner
b550ead171
s4-smbtorture: remove trailing whitespace from schannel test.
...
Guenther
2011-12-14 01:18:04 +01:00
Andrew Bartlett
079d1572c2
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
2011-12-14 01:16:37 +01:00
Andrew Bartlett
8a4b5cdfea
s4-selftest: Add test of RPC to a netbios alias
...
This tries to ensure our netbios lookup code is still run.
Andrew Bartlett
2011-12-13 23:42:05 +01:00
Andrew Bartlett
abed96535e
s4-selftest Give local.resolve a real name to look up
2011-12-13 23:42:05 +01:00
Volker Lendecke
b87e88710c
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
2011-12-13 23:40:37 +01:00
Stefan Metzmacher
9eb3c053b8
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
2011-12-13 22:06:02 +01:00
Stefan Metzmacher
297f1b1f12
s3:smbd/server: move smbd_open_socket and smbd_parent_context to the top
...
metze
2011-12-13 20:31:10 +01:00
Stefan Metzmacher
6630b20046
s3:smbd/oplock_onefs: avoid using smbd_messaging_context()
...
metze
2011-12-13 20:31:10 +01:00
Stefan Metzmacher
fcc1f5f7f7
s3:smbd/oplock_onefs: pass smbd_server_connection to onefs_oplock_wait_record()
...
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
daa685c008
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
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
290ce331b6
s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler()
...
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
8a83464216
s3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler()
...
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
6fc8dc98ab
s3:smbd/oplock: pass smbd_server_connection to onefs_init_kernel_oplocks()
...
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
641a2dea81
s3:smbd/oplock: pass smbd_server_connection to linux_init_kernel_oplocks()
...
metze
2011-12-13 20:31:09 +01:00
Stefan Metzmacher
47e21bcc43
s3:smbd/oplock: pass smbd_server_connection to irix_init_kernel_oplocks()
...
metze
2011-12-13 20:31:09 +01:00