1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3
Volker Lendecke 7bc2e2d0d4 messaging_dgm: Don't expose the messaging_dgm_context
Right now we can only support one messaging_dgm_context per process
anyway, the code has checks for this. I would like to keep it that
way, in the future we will have multiple messaging_context's or
imessaging_context's filtering based upon the dst server_id.

Why this change? messaging_dgm's lockfile contains the
serverid->unique_id. When designing messaging_dgm, I had in mind to
remove the serverid.tdb and replace it with the dgm lockfiles for server
lookup and enumeration. I have a WIP-patchset that gets rid of almost
all users of serverid.tdb. The problem is serverid_exists. Here we don't
have a messaging_context available, and it would be pretty intrusive
to make it so. This problem has plagued us since ctdb was developed,
see for example the comment

/*
 * This is a Samba3 hack/optimization. Routines like process_exists need to
 * talk to ctdbd, and they don't get handed a messaging context.
 */

in messaging_ctdb.c. This patchset removes this problem in a radical way:
Treat the messaging_dgm context as one globally available structure and
be done with it. The ctdb socket could go the same way in the future.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Sep 14 16:29:30 CEST 2014 on sn-devel-104
2014-09-14 16:29:30 +02:00
..
auth lib/util: move memcache.[ch] to the toplevel 'samba-util' library 2014-07-18 15:43:33 +02:00
build waf: improve iconv checks 2014-01-03 05:04:44 +01:00
client lib: Align unix_timespec_to_nt_time with nt_time_to_unix_timespec 2014-06-30 22:28:14 +02:00
exports
groupdb param: rename lp function and variable from "setprimarygroup_script" to "set_primary_group_script" 2014-02-07 16:19:12 -08:00
include brlock: Do auto-cleanup at conflict time 2014-08-23 00:24:18 +02:00
intl
lib messaging_dgm: Don't expose the messaging_dgm_context 2014-09-14 16:29:30 +02:00
libads s3-kpasswd: Fix build warning. 2014-09-01 18:15:15 +02:00
libgpo libgpo: apply some const. 2014-01-07 18:52:42 +01:00
libnet idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo 2014-07-07 05:22:33 +02:00
librpc s3:smbd: remember the time of the session setup auth_time 2014-08-06 09:51:14 +02:00
libsmb namecache: fix uninitialised pointer returns 2014-09-13 03:21:39 +02:00
locale winbind/i18n: update Japanese pam winbind translation 2014-07-26 20:43:28 +02:00
locking brlock: Remove validate_lock_entries 2014-08-23 00:24:18 +02:00
modules media_harmony: Fix a crash bug 2014-09-12 02:45:40 +02:00
nmbd nmbd: Call DEBUGADD instead of Debug1 2014-07-31 18:49:46 +02:00
pam_smbpass s3:pam_smbpass: explicitly use allow_warnings=True 2014-04-02 09:03:46 +02:00
param param: avoid dereferencing null lp_ctx 2014-08-11 21:00:15 +02:00
passdb passdb: Avoid use-after-free when setting a plaintext password 2014-09-08 07:26:34 +02:00
printing vfs3: Pass "lease" through SMB_VFS_CREATE_FILE 2014-08-11 21:11:16 +02:00
profile s3: remove some dead code (for setdir command) 2013-03-12 01:03:37 +01:00
registry lib: directory_create_or_exist() does not use "uid" parameter 2014-07-28 22:04:13 +02:00
rpc_client s3-rpc_client: Do not give NT_STATUS_NO_MEMORY when the source string was NULL 2014-09-01 00:36:42 +02:00
rpc_server vfs3: Pass "lease" through SMB_VFS_CREATE_FILE 2014-08-11 21:11:16 +02:00
rpcclient s3-rpc_client: return info3 in rpccli_netlogon_password_logon(). 2014-07-15 16:00:40 +02:00
script ntlm_auth: added require-membership tests 2014-07-15 15:59:49 +02:00
selftest torture: Also run raw.read against the aio share 2014-08-30 02:51:46 +02:00
services
smbd s3: smbd: streams - Ensure share mode validation ignores internal opens (op_mid == 0). 2014-09-12 12:16:10 +02:00
stf
torture torture3: Allow padding byte for LARGE_READX responses 2014-08-30 00:27:13 +02:00
utils smbcontrol: Fix a typo 2014-08-21 14:58:37 +02:00
web swat: Remove swat. 2013-05-18 16:32:38 +02:00
winbindd set_dc_type_and_flags_trustinfo: Use init_dc_connection and wb_open_internal_pipe 2014-09-01 00:36:42 +02:00
.clang_complete Remove popt/iniparser from .clang_complete 2014-08-14 21:27:13 +02:00
.dmallocrc
.indent.pro
change-log
Doxyfile
mainpage.dox
smbadduser.in
wscript s3:build: don't detect perl in source3/wscript again. 2014-09-05 19:47:06 +02:00
wscript_build messaging3: Add msg_sink/source -- perftest 2014-08-23 00:24:18 +02:00
wscript_configure_system_ncurses build: fix --with-regedit to properly honour the yes/no/auto scheme 2013-05-06 18:24:58 +02:00