summaryrefslogtreecommitdiff
path: root/source4/lib/messaging/messaging.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-26Provide access to server_id from python bindings, add more tests.Jelmer Vernooij1-0/+5
(This used to be commit adcd87ad07abbf60a0152deae4b975a2401d701b)
2008-05-19Fix a memleak in irpc_remove_nameVolker Lendecke1-0/+6
First, even when length==0 tdb_fetch might return something. Second, for some weird reason there might be less data than necessary for a single server id. (This used to be commit 49b04ca7aadf264e500d83bc8d3cb5173a86184e)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-4/+4
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-03-15messaging: fix a valgrind warning on 64bit hosts zero out paddingStefan Metzmacher1-0/+2
metze (This used to be commit f555b8e4c35f69fdc1fb34427d882580eecad284)
2008-02-04Fix a few more breakages from our recent changes to the server_idAndrew Bartlett1-2/+2
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)
2008-02-04Rework cluster_id() to take an additional argument, as we needAndrew Bartlett1-3/+5
<node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
2007-12-21r26441: Remove global_loadparm uses.Jelmer Vernooij1-4/+8
(This used to be commit 32007c6277efa46341da7741b749a98633d71640)
2007-12-21r26432: Require ndr_pull users to specify iconv_convenience.Jelmer Vernooij1-1/+1
(This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)
2007-12-21r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij1-2/+2
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij1-1/+1
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-16/+26
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-5/+4
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)
2007-10-10r25047: Fix more warnings.Jelmer Vernooij1-3/+5
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-1/+1
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24717: Some more easy bool conversions, update TODO for registryJelmer Vernooij1-6/+6
(This used to be commit fc8771fb6aab815e63334da0159032f7ecd0a931)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher1-4/+4
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
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-10r23153: a first cut at a fix for the dgram flood problem that volkerAndrew Tridgell1-1/+41
found. Not sure this is the best solution, but it should work. (This used to be commit 80002cd12a64fa2679e48c58906cb9b26ad17e49)
2007-10-10r23059: reject_free needs to be initialisedAndrew Tridgell1-0/+1
(This used to be commit ffb8b493161f6951dabb94f2e9ee4c2f2c11b4e0)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher1-2/+3
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r22629: if irpc gets freed within event_loop_once() we crash...Stefan Metzmacher1-1/+13
so deferr the freeing metze (This used to be commit 3a30bc0d6137fe2b7440106b35dd0a9175cc8057)
2007-10-10r21256: - msg_type is not needed in the cluster messaging APIAndrew Tridgell1-1/+1
- 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-9/+9
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-0/+44
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-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-33/+42
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.cAndrew Tridgell1-1/+2
tdbutil.c is Samba specific, so should not be part of the generic tdb library (This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell1-4/+2
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r15356: Remove unused 'flags' argument from socket_send() and friends.Andrew Bartlett1-2/+2
This is in preperation for making TLS a socket library. Andrew Bartlett (This used to be commit a312812b92f5ac7e6bd2c4af725dbbbc900d4452)
2007-10-10r15055: this was my version for the crash bug in the messaging code...Stefan Metzmacher1-21/+8
it also makes the function a bit shorter and clearer, as the tmp msg_types only have one handler and not a list metze (This used to be commit 7e709fd04dc4fb083bd8b01b3f0fa88b932aa9b7)
2007-10-10r15050: fixed a double free in the new messaging code.Andrew Tridgell1-4/+4
(This used to be commit ee7869bb3c901fb91efedc8208aa56df927987c5)
2007-10-10r15049: for really efficient oplock handling with thousands of open files weAndrew Tridgell1-32/+100
will need a separate messaging endpoint per open file. To make this efficient extend the messaging layer to have a new registration function for temporary message types that maps via an idtree. I have updated the LOCAL-MESSAGING test to use the new function. (This used to be commit 4b976851d8b7ccd2c40010be095cef7fecf9e722)
2007-10-10r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhereJelmer Vernooij1-4/+4
(This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
2007-10-10r14554: Write out header dependencies. This means all C files affected will beJelmer Vernooij1-1/+1
rebuilt when a header file is changed. It also means parallel builds work now. It will take a minute or so to generate all the dependency information, but there should be no need to rebuild that information later on, unless a file changes. This behaviour is only enabled when building in developer mode (--enable-developer) and requires a GNU make (or compatible). In all other cases, the file 'static_deps.mk' is included, which contains some basic hardcoded dependency information. (This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+1
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r13944: Yet another round of splitups.Jelmer Vernooij1-0/+1
(This used to be commit f87debeb12cebd734b47314554ab671c9e06237e)
2007-10-10r13317: Create a new function messaging_client_init() which can be used whenAndrew Bartlett1-1/+8
we don't have a server messaging context. We should replace the datagram messages with stream sockets in this case, so we don't have to create a unique socket. Andrew Bartlett (This used to be commit fd974fb64792f8f6c532b01d2a2e012be18eef7e)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-6/+24
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12783: add a comment about matching more than 1 handler per message (andrewAndrew Tridgell1-0/+4
thought this might be a bug) (This used to be commit e1cd3f4b89e10c9a42f5939377df0eafb8c184a4)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-1/+1
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-3/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12512: Use GUID structs in API functions everywhere rather then converting ↵Jelmer Vernooij1-3/+2
back and forth between GUID structs and strings in several places. (This used to be commit 3564e2f967ef72d6301b4f7e9a311cebcded4d75)
2007-10-10r12014: free the irpc_request structure with the irpc_call_recv functions,Stefan Metzmacher1-5/+8
to match all other _recv functions we have metze (This used to be commit bd4f85ab5f60c7430ac88062fa6a9f6cffa9596f)
2007-10-10r10490: - allow deferred irpc replies to set the statusAndrew Tridgell1-3/+5
- add an example of deferred reply for echodata in LOCAL-IRPC (This used to be commit 858a757a6d0a614b8f13bfb6217034e8a8b69554)
2007-10-10r10489: added the ability for irpc server to defer replies instead of replyingAndrew Tridgell1-49/+76
immediately. They set m->defer_reply = True; (This used to be commit 3dcd800a5d3340d0f4855f9f08e73896ad8c3d83)
2007-10-10r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC testAndrew Tridgell1-4/+8
(This used to be commit ce9a262d379b946717d0d4be4731c837e6f7373d)
2007-10-10r8819: fixed a memory leak in irpc_call()Andrew Tridgell1-1/+3
(This used to be commit 25b7524ce5029eadd48c3046297ca6bd3260b013)
2007-10-10r8587: - fixed ref allocation in irpc repliesAndrew Tridgell1-8/+24
- make every irpc server support the irpc_uptime() call (This used to be commit eee90448268b9f673cc43076ad87529aa80d17ae)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell1-3/+4
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)