summaryrefslogtreecommitdiff
path: root/source4/cluster/local.c
Commit message (Collapse)AuthorAgeFilesLines
* tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell2011-06-201-1/+1
| | | | | | | | We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2011-06-091-11/+0
| | | | | | | This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
* server_id.idl: Bring server_id.idl in commonAndrew Bartlett2011-06-091-1/+1
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-cluster Use task_id instead of id2 to clarify server_id structureAndrew Bartlett2011-06-091-3/+3
| | | | | | | | This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-061-1/+1
| | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-031-1/+1
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* s4-cluster Rename server_id.node -> vnn to match Samba3Andrew Bartlett2011-05-031-1/+1
|
* s4-cluster: Remove const from cluster_id_string()Andrew Bartlett2011-05-031-1/+1
| | | | | | This allows the caller to talloc_free() this result. Andrew Bartlett
* s4:cluster Rename .id to .pid in server_idAndrew Bartlett2011-05-031-3/+3
| | | | | | | This also changes some DEBUG messages to use cluster_id_string() rather than .id, to isolate them from this and other changes. Andrew Bartlett
* Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij2011-02-281-1/+1
| | | | | | building against system tdb.
* s4-idl: rename s4 server_id.idl to server_id4.idlAndrew Tridgell2011-02-181-1/+1
| | | | | | this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:cluster: s/private/private_dataStefan Metzmacher2009-02-021-1/+1
| | | | metze
* Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij2008-12-161-1/+1
| | | | the dom_sid). No longer include it from security.idl.
* Fix includes.Jelmer Vernooij2008-10-151-1/+1
|
* Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij2008-09-161-1/+1
|
* Rework cluster_id() to take an additional argument, as we needAndrew Bartlett2008-02-041-2/+3
| | | | | | | <node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
* r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
* r26274: Some syntax fixes, remove more global_loadparm instances.Jelmer Vernooij2007-12-211-2/+2
| | | | (This used to be commit 3809113d86dbd35b906356a05bb481a1e2bfe4b7)
* r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
* r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij2007-10-101-1/+1
| | | | | | | | 2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
* r25301: Merge my includes.h cleanups.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r21256: - msg_type is not needed in the cluster messaging APIAndrew Tridgell2007-10-101-2/+1
| | | | | - merge ctdb_get_num_nodes() from bzr tree (This used to be commit 3df7527aedeba7ce2f4a6ca2d3b7167f58c6b68a)
* r21230: added the hooks needed in the cluster layer and the messaging code forAndrew Tridgell2007-10-101-0/+32
| | | | | | | | handling messages to remote nodes. Implemented dummy functions in the 'local' cluster backend for the messaging hooks, and modified the messaging layer to check if the destination is remote and redirect messages via the cluster layer (This used to be commit 4474552e8fb73efebef32ad8480d7fe9a1e379ef)
* r20919: add a function cluster_tdb_tmp_open() which can be used in a clusterAndrew Tridgell2007-10-101-3/+24
| | | | | | environment for subsystems that have not yet been converted to use ctdb to get a shared temporary tdb (This used to be commit 0ed91384497aed6817b2220c31344bfcd45fd033)
* r20888: local cluster backendAndrew Tridgell2007-10-101-0/+58
(This used to be commit 5530e6effe03615499fbdc5ff2fe663ffa0223a9)