| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
(e.g. to get the debug flag)
Guenther
|
| |
| |
| |
| |
| |
| | |
Replace exit_server with exit_server_cleanly where appropriate. All
send_smb failures should be clean exits. All times when we exit as
a matter of policy should also be clean exits.
|
| |
| |
| |
| |
| | |
ship from SAMBA_3_0_24.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| | |
fix make clean
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
inside the #ifdef HAVE_NATIVE_ICONV
|
| |
| |
| |
| | |
inside the #ifdef HAVE_KRB5
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Else open_any_socket_out() can fail.
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>
|
| |
| |
| |
| | |
and properly use backslashes in "net ads join computername="
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
methods.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
on write-only files. Jim please check. Should not affect
Windows clients - I ensured all the relevent Samba4
torture tests still pass.
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Metze: as noted by "shattered" and discussed on the irc,
here is a patch to lib/sysquotas_linux.c replacing some
"get"s by "set"s. The other lib/sysquotas*.c files look
ok to me. But in the linux variant, the problem is not
in the actual call of quotactl but in the preparation of
the respective "D" structs. This makes the difference
between the get and set calls for SMB_USER_FS_QUOTA_TYPE
and SMB_GROUP_FS_QUOTA_TYPE.
metze
|
| |
| |
| |
| |
| |
| | |
<ks@sernet.de>
Volker
|
| |
| |
| |
| |
| | |
the host_principal memory while it is still being referenced
by the gss code.
|
| | |
|
| |
| |
| |
| |
| |
| | |
tdb_store_bystring / tdb_fetch_bystring. This shouldn't
affect any tdb cache files but removes one possible error.
Jeremy.
|