summaryrefslogtreecommitdiff
path: root/source4/lib/messaging
AgeCommit message (Collapse)AuthorFilesLines
2009-11-07s4:lib/messaging - fix up the python bindingsMatthias Dieter Wallnöfer2-7/+8
This fixes up the broken "send" method of the python bindings and corrects some other parameter lists in parsing functions (this is only cosmetic). The reason for the bug was a superfluous "|"!
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell1-1/+1
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2-0/+4
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2009-08-07fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell1-1/+1
These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent.
2009-06-02Fix unresolved symbol in python messaging module.Jelmer Vernooij2-4/+2
2009-02-02s4:lib/messaging: s/private/private_dataStefan Metzmacher2-7/+7
metze
2009-02-01s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher3-6/+6
metze
2009-02-01s4:lib/messaging: fix warnings in testsuiteStefan Metzmacher1-2/+2
metze
2009-02-01s4:lib/messaging: avoid c++ reserved word 'private'Stefan Metzmacher3-29/+29
metze
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-4/+4
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher5-16/+16
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-24Rename samba-socket -> samba_socket to fix a couple more compilerJelmer Vernooij1-1/+1
warnings.
2008-12-22Remove includes of py_*.h, which are no longer generated.Jelmer Vernooij1-1/+3
2008-12-22Use consistent names for dcerpc python modules; fixes messaging test.Jelmer Vernooij1-3/+5
2008-12-16Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij1-0/+1
the dom_sid). No longer include it from security.idl.
2008-11-02Remove use of global loadparm in python modules.Jelmer Vernooij1-2/+7
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-24Remove more uses of global_loadparm.Jelmer Vernooij1-2/+2
2008-10-24Remove a few more usages of global_loadparm.Jelmer Vernooij1-2/+2
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-2/+3
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-3/+3
2008-09-16Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij1-2/+1
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce1-2/+2
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)
2008-05-30two more places where the wrong type is passed to PyArg_ParseTupleAndKeywords()Andrew Tridgell1-4/+6
(This used to be commit db6122ec104e80ee2e02b1170ff808b6456b780b)
2008-05-30fixed a segv in the python messaging code on 64 bit systemsAndrew Tridgell1-1/+4
(This used to be commit 7598c8389745fcc77da341b4af2dcef6a01db700)
2008-05-26Remove evil hack which breaks Python bindings.Jelmer Vernooij1-1/+1
(This used to be commit 1c179566cb39eb09e522dbce69230472a5d4e655)
2008-05-26Finish smbstatus in Python.Jelmer Vernooij1-0/+3
(This used to be commit 988508c2d3269cc88ed38df2fc207a1c0aaccc6b)
2008-05-26Allow using IRPC functions on the messaging bus from Python.Jelmer Vernooij2-24/+33
(This used to be commit 6ecf81ae13dffa05356c1177c617206c120fb7d7)
2008-05-26Implement IRPC calls over the internal messaging bus.Jelmer Vernooij1-70/+119
(This used to be commit 777dc3a2c7b5bf855344ba3ae8c8b564c48fc0c6)
2008-05-26Provide access to server_id from python bindings, add more tests.Jelmer Vernooij4-6/+68
(This used to be commit adcd87ad07abbf60a0152deae4b975a2401d701b)
2008-05-26Add bindings for deregister.Jelmer Vernooij1-0/+21
(This used to be commit 3e7b361f5952bd2f8a417510adf218b78234ed36)
2008-05-26Support messaging_client_init in the python bindings.Jelmer Vernooij1-40/+58
(This used to be commit f2e8f9851044506ef80811a6b6c5d31632a1f112)
2008-05-26Add bindings for irpc_{add,remove}_name.Jelmer Vernooij1-0/+39
(This used to be commit a75dbdec15ead785e0105dd61f980627e487fcb0)
2008-05-25Add tests for irpc python bindings.Jelmer Vernooij1-0/+25
(This used to be commit 1ce0632afeb94a69bf286706b3b1f9f4be7ea91f)
2008-05-25Start building IRPC Python support.Jelmer Vernooij2-44/+240
(This used to be commit 5980c7bfd727825758bda1b94ddf7a7c3f691620)
2008-05-24Initialize module.Jelmer Vernooij1-1/+2
(This used to be commit 3246258afb4f3b4a977a191f2f83c73e8ce9c65a)
2008-05-24Initial work on IRPC Python support.Jelmer Vernooij1-0/+201
(This used to be commit df01b040f7450c3be29f369a993955fbc4678bd9)
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-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij1-2/+1
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
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-04-16Now that we don't create a new event context, don't free it.Andrew Bartlett1-1/+0
This previously would free the torture provided global event context. Andrew Bartlett (This used to be commit 664f2fc49f32a081f14638571ee0db01a7863347)
2008-04-14Move object files lists to makefile rather than smb_build.Jelmer Vernooij1-2/+3
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
2008-04-02IRPC: Add include guards for the header.Kai Blin1-0/+4
(This used to be commit 0e66e443ad42f9644aafc1858ac8d01c7c699337)
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 Bartlett3-13/+15
<node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin1-4/+5
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-21r26483: Merge ldb module dependency fixes, fix auth python module.Jelmer Vernooij1-1/+2
(This used to be commit 85eeecf997a071ca7e7ad0247e8d34d49b7ffcbb)