| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the talloc python interface for tp_alloc and tp_dealloc relies on a
cast to a py_talloc_Object to find the talloc_ctx (see
py_talloc_dealloc). This means we rely on the talloc_ctx for the
object being directly after the PyObject_HEAD
This fixes the talloc free with references bug in samba_dnsupdate
The actual problem was the tp_alloc() call in
PyCredentialCacheContainer_from_ccache_container() which used a cast
from a py_talloc_Object to a PyCredentialCacheContainerObject. That
case effectively changed the parent/child relationship between the
talloc_ctx and the ccc ptr.
This patch changes all the structures that follow this pattern to put
the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if
anyone else decides to do a dangerous cast like this that it won't
cause the same sort of subtle breakage.
Pair-Programmed-With: Rusty Russell <rusty@samba.org>
|
|
|
|
| |
we won't be using the mk -> wscript generator again
|
|
|
|
| |
them
|
| |
|
|
|
|
| |
this should be much more portable
|
|
|
|
| |
metze
|
| |
|
|
|
|
| |
This was needed only by Python 2.3 which we no longer support.
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
| |
|
|
|
|
|
| |
It is a bit convoluted to fix, as cluster_id_string() may return a
const string.
|
|
|
|
|
|
| |
This will be used to ask the drepl task for a new RID pool
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
| |
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 "|"!
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
since this will not be shipped with talloc/tdb/tevent/etc.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
warnings.
|
| |
|
| |
|
|
|
|
| |
the dom_sid). No longer include it from security.idl.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(This used to be commit db6122ec104e80ee2e02b1170ff808b6456b780b)
|
|
|
|
| |
(This used to be commit 7598c8389745fcc77da341b4af2dcef6a01db700)
|
|
|
|
| |
(This used to be commit 1c179566cb39eb09e522dbce69230472a5d4e655)
|
|
|
|
| |
(This used to be commit 988508c2d3269cc88ed38df2fc207a1c0aaccc6b)
|
|
|
|
| |
(This used to be commit 6ecf81ae13dffa05356c1177c617206c120fb7d7)
|
|
|
|
| |
(This used to be commit 777dc3a2c7b5bf855344ba3ae8c8b564c48fc0c6)
|
|
|
|
| |
(This used to be commit adcd87ad07abbf60a0152deae4b975a2401d701b)
|
|
|
|
| |
(This used to be commit 3e7b361f5952bd2f8a417510adf218b78234ed36)
|
|
|
|
| |
(This used to be commit f2e8f9851044506ef80811a6b6c5d31632a1f112)
|
|
|
|
| |
(This used to be commit a75dbdec15ead785e0105dd61f980627e487fcb0)
|
|
|
|
| |
(This used to be commit 1ce0632afeb94a69bf286706b3b1f9f4be7ea91f)
|
|
|
|
| |
(This used to be commit 5980c7bfd727825758bda1b94ddf7a7c3f691620)
|
|
|
|
| |
(This used to be commit 3246258afb4f3b4a977a191f2f83c73e8ce9c65a)
|