summaryrefslogtreecommitdiffstats
path: root/source4/cluster
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-094-25/+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-093-3/+3
| | | | | | 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-093-7/+7
| | | | | | | | 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-034-6/+6
| | | | | | | 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-032-3/+3
|
* s4-cluster: Remove const from cluster_id_string()Andrew Bartlett2011-05-034-5/+5
| | | | | | This allows the caller to talloc_free() this result. Andrew Bartlett
* s4:cluster Rename .id to .pid in server_idAndrew Bartlett2011-05-032-4/+4
| | | | | | | 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-183-3/+3
| | | | | | this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:cluster/cluster.h - fix another gcc 3.4 "struct" warningMatthias Dieter Wallnöfer2010-12-051-0/+2
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 5 21:22:18 CET 2010 on sn-devel-104
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-4/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4-cluster: make cluster a private shared libAndrew Tridgell2010-10-301-4/+5
|
* s4-waf: removed the AUTOGENERATED markersAndrew Tridgell2010-04-061-4/+0
| | | | we won't be using the mk -> wscript generator again
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+9
|
* s4:cluster: s/private/private_dataStefan Metzmacher2009-02-022-2/+2
| | | | metze
* s4:cluster: fix dependency to TDB_WRAPStefan Metzmacher2008-12-291-0/+1
| | | | metze
* s4:cluster: remove old/broken ctdb codeStefan Metzmacher2008-12-2993-28435/+0
| | | | | | | | We don't need a full copy of ctdb... If we want to readd cluster support, we should just use a ctdb client library. metze
* Use 32-bit smbpid in interface as required by SMB2, in line withJelmer Vernooij2008-12-231-3/+3
| | | | 1bdd08227e7d046305705050f21f0f1b6dd6994a.
* s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher2008-12-175-5/+1
| | | | | | | We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
* Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij2008-12-163-3/+3
| | | | the dom_sid). No longer include it from security.idl.
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-0/+1
| | | | remove some unused functions.
* Fix includes.Jelmer Vernooij2008-10-153-2/+3
|
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-115-6/+6
|
* Rename smbd -> samba.Jelmer Vernooij2008-09-241-4/+4
| | | | | | | | This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
* Fix last few includes to use new tdb location.Jelmer Vernooij2008-09-162-2/+2
|
* Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij2008-09-1621-21/+21
|
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-148-8/+8
| | | | | | | | specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
* opendb: add write time handlingStefan Metzmacher2008-06-031-28/+23
| | | | | metze (This used to be commit 3868d8ce630c71e2c70aae442fcdbd68ba1eb708)
* Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-182-4/+5
| | | | (This used to be commit 2860a7db5968c7007522cdb300eba390da929ab8)
* use uintptr_t instead of intptr_t where appropriateAndrew Tridgell2008-04-171-1/+1
| | | | (This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
* Move object files lists to makefile rather than smb_build.Jelmer Vernooij2008-04-142-8/+11
| | | | (This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
* Fix references to ntvfs share configAndrew Bartlett2008-03-271-1/+1
| | | | | Andrew Bartlett (This used to be commit 4e4152dfd70145a7a00bc42effcd07b607204926)
* Make oplocks a per-share option.Andrew Bartlett2008-03-271-1/+1
| | | | | | | This even goes via the share options system (a very odd layer of indirection). Andrew Bartlett (This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
* opendb: pass down a pointer to the fd in odb_open_file()Stefan Metzmacher2008-03-121-1/+1
| | | | | | | This prepares kernel oplock support. metze (This used to be commit 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
* opendb: force odb_can_open() before odb_open_file()Stefan Metzmacher2008-03-071-93/+7
| | | | | | | | | | | Now there's only odb_can_open() which handles the share_access rules. And odb_open_file() only adds the new opendb_entry into the database and calculates the granted oplock level. metze (This used to be commit db0853ae4fead34ef382bbfcfe2f46453ab8b73b)
* opendb: add allow_level_II_oplock parameter to odb_open_file()Stefan Metzmacher2008-03-061-0/+1
| | | | | | | Not all clients support a fallback to level II oplocks. metze (This used to be commit 146f1fe0b67ca0805f0e71358abc57da0c0579a9)
* opendb: add odb_get_path()Stefan Metzmacher2008-02-291-0/+20
| | | | | metze (This used to be commit 02071f151a22257d31f8a8b254625e2067e7b94d)
* opendb: only return delete_on_close on odb_get_delete_on_close()Stefan Metzmacher2008-02-281-13/+3
| | | | | metze (This used to be commit e699633db2d377a9077ff490208da277e250239b)
* opendb: return the path that should be deleted in odb_close_file()Stefan Metzmacher2008-02-281-1/+12
| | | | | | | | That means the last close returns the path name if the delete_on_close flag is set. metze (This used to be commit fc27730bad24e8dddaa2e7f754a16811e38a2f60)
* opendb: unify the parameters of odb_open_file() and odb_can_open()Stefan Metzmacher2008-02-261-3/+4
| | | | | metze (This used to be commit e6b708a52b0eada3fd374b66292ded3b0f6ce217)
* opendb: pass down open_disposition and break_to_none to odb_open_file()Stefan Metzmacher2008-02-261-5/+7
| | | | | metze (This used to be commit aaaa26ae5e810495f313dfada771a8de86cedbd4)
* opendb: add odb_break_oplocks() functionStefan Metzmacher2008-02-261-1/+12
| | | | | | | This send breaks to none to all level2 holders metze (This used to be commit bd3654500b14e4ed8d4a8bb25ff9da5035a16a8b)
* opendb: add odb_update_oplock() callStefan Metzmacher2008-02-251-1/+15
| | | | | metze (This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)
* opendb: add odb_get_key() function to get the key back from a struct odb_lockStefan Metzmacher2008-02-251-0/+11
| | | | | metze (This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)
* Rename include to mkinclude to emphasize it is different from make's include.Jelmer Vernooij2008-02-181-1/+1
| | | | (This used to be commit 0e1d0a874ae3d22b8f97a79b81fe0af3ef53a771)
* Fix a few more breakages from our recent changes to the server_idAndrew Bartlett2008-02-041-1/+3
| | | | | | | | | | | structure. The BASE-TORTURE test found this problem - caused because the messaging path was not unique. If we didn't use a macro for cluster_id_equal(), we could make it opaque, and avoid this... Andrew Bartlett (This used to be commit c3387545c57d2dd4922b4f3806b4552cee8035a3)
* Rework cluster_id() to take an additional argument, as we needAndrew Bartlett2008-02-045-9/+11
| | | | | | | <node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)