summaryrefslogtreecommitdiff
path: root/source4/cluster/cluster.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-12source4/cluster and source4/ntvfs: convert to dbwrap, add ntdb option.Rusty Russell1-2/+2
This makes the code use dbwrap_local_open(), so it can handle NTDB. brlock.tdb, notify.tdb and openfiles.tdb can now be brlock.ntdb, notify.ntdb and openfiles.ntdb, if 'use ntdb' is set. Cc: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org>
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett1-11/+0
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-09server_id.idl: Bring server_id.idl in commonAndrew Bartlett1-1/+1
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s4-cluster Use task_id instead of id2 to clarify server_id structureAndrew Bartlett1-2/+2
This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-1/+1
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-05-03s4-cluster: Remove const from cluster_id_string()Andrew Bartlett1-1/+1
This allows the caller to talloc_free() this result. Andrew Bartlett
2011-02-18s4-idl: rename s4 server_id.idl to server_id4.idlAndrew Tridgell1-1/+1
this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2008-12-16Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij1-1/+1
the dom_sid). No longer include it from security.idl.
2008-10-15Fix includes.Jelmer Vernooij1-0/+1
2008-02-04Rework cluster_id() to take an additional argument, as we needAndrew Bartlett1-3/+3
<node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
2007-12-21r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij1-2/+2
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij1-0/+1
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-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)
2007-10-10r21256: - msg_type is not needed in the cluster messaging APIAndrew Tridgell1-2/+2
- merge ctdb_get_num_nodes() from bzr tree (This used to be commit 3df7527aedeba7ce2f4a6ca2d3b7167f58c6b68a)
2007-10-10r21233: first version of samba4 messaging using ctdb is working. This means weAndrew Tridgell1-2/+1
should now work on a real cluster, and not just a localhost simulator (This used to be commit f05072ad74fb08fd906bc500c5e89930bcc3387f)
2007-10-10r21230: added the hooks needed in the cluster layer and the messaging code forAndrew Tridgell1-5/+24
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)
2007-10-10r20919: add a function cluster_tdb_tmp_open() which can be used in a clusterAndrew Tridgell1-0/+10
environment for subsystems that have not yet been converted to use ctdb to get a shared temporary tdb (This used to be commit 0ed91384497aed6817b2220c31344bfcd45fd033)
2007-10-10r20887: allow the registration of multiple cluster backendsAndrew Tridgell1-6/+29
this is in preparation for ctdb (This used to be commit 489f022175a1022bcca8053116362825daae5e40)
2007-10-10r20647: add cluster codeAndrew Tridgell1-0/+45
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)