| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
but always use a talloc context.
Thanks to simo for pointing this out.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
being talloc'ed off the NULL context instead
of being malloced.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
child->mem_ctx isn't actually used for
anything, so remove it.
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- make most static functions inline
- handle NULL pointers in talloc_parent_chunk()
- use talloc_parent_chunk() in talloc_parent_name()
to fix a bug found by the IBM checker
metze
|
| |
| |
| |
| |
| |
| |
| |
| | |
response_extra_sent() expects to free a malloced
extra_data.data while the add_XX_to_array functions all return talloced
memory now. Jeremy, please check.
Guenther
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
when offline and or doing password changes.
Jeremy.
|
| |
| |
| |
| |
| | |
end parsing a file.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
off conn->mem_ctx, not the null context so we can
safefy free everything on conn close. Should fix
possible memleak.
Jeremy.
|
| |
| |
| |
| |
| | |
then terminate the traversal once we've done that.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix DNS updates for multi-homed hosts
* Child domains often don't have an NS record in
DNS so we have to fall back to looking up the the NS
records for the forest root.
* Fix compile warning caused by mismatched 'struct in_addr'
and 'in_addr_t' parameters called to DoDNSUpdate()
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| | |
Wnidows 2000 DNS which expects the TKEY payload to
be in the answer section and not in the additional
set of records (like Windows 2003 and the RFC).
|
| |
| |
| |
| | |
Add necessary fixes.
|
| |
| |
| |
| |
| |
| |
| | |
per type - this is all we use right now and makes
re-entrancy problems with deleting handlers with
a message dispatch loop go away.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
in tdb message processing. If we're inside a dispatch
function and we delete our own handler we'd walk onto
the next pointer from a deleted memory block. Fixes
crash bug in winbindd (and goodness knows where else).
Jeremy.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
leak memory by using the wrong(long lived) mem context
|
| |
| |
| |
| |
| | |
is safe from signals.
Jeremy.
|
| |
| |
| |
| |
| | |
every cache timeout times.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Now I've done this I might be able to reduce the probe
timeout and reduce the backoff algorithm, going back
to checking every cache time seconds (5 mins by default),
as the parent or forked domain child will never block.
Jeremy.
|
| |
| |
| |
| | |
pam_winbind. Thanks to Andrew Benham <andrew.benham@thus.net>
|
| |
| |
| |
| | |
inside the #ifdef HAVE_NATIVE_ICONV
|
| |
| |
| |
| | |
inside the #ifdef HAVE_KRB5
|
| | |
|
| | |
|
| |
| |
| |
| | |
and properly use backslashes in "net ads join computername="
|
| | |
|
| | |
|
| |
| |
| |
| | |
Simo.
|
| |
| |
| |
| |
| | |
and lib/replace. Found by Herb - thanks !
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
reported by James. Ensure that this function allocates
everything on the temporary context except the return
memory. Never call this with a null mem context, and
now use conn->mem_ctx instead in smbd/service.c.
Remove separate free functions for conn->ngroups
and conn->nt_user_token as they are now always
talloc'ed off the conn->mem_ctx. Future optimization
will be to remove conn->mem_ctx and make all objects
pointed to in the conn struct talloc'ed off conn itself.
Easy to free then :-).
Jeremy.
|
| |
| |
| |
| |
| | |
talloced on the null context.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
we never mix malloc and talloc'ed contexts in the
add_XX_to_array() and add_XX_to_array_unique()
calls. Ensure that these calls always return
False on out of memory, True otherwise and always
check them. Ensure that the relevent parts of
the conn struct and the nt_user_tokens are
TALLOC_DESTROYED not SAFE_FREE'd.
James - this should fix your crash bug in both
branches.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
<gomati.mohanan@in.ibm.com>.
Also fix fields for sec_desc differences between 3.0 and 3.0.24 in
nfs4_acls.c.
|
| |
| |
| |
| |
| |
| | |
may have inherited from our parent in the winbindd
forked child.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
the child inherits *all* active check_online timout handlers.
This is bad when it's not our domain (ie. BUILTIN).
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
calculation when in offline mode.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
a network but not one on which any home DC's can
be found (hotel network problem). Still testing
but this is getting close.
Jeremy.
|
| | |
|