| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
fix memory hierachy, and access to already freed memory
metze
|
| |
|
|
|
|
|
|
|
|
|
|
| |
connection is
dead. Might be my code, this rings a very distant bell...
Attempt to fix bug # 4372.
Volker
|
| |
|
|
|
|
|
|
| |
Windows Vista RC1 and RC2 can't delete directory on Samba share
based on work by Joe Meadows <jmeadows@webopolis.com>.
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
based on the flags2 values in the negprot request.
This also includes some code for testing the dialect
strings for "SMB 2.001" but this is unreliable as Vista
only sends that in the 1st negprot and caches the fact
that we don't support it. Restartnig the WOrkstation
service on the client clears the cache.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
crashed. So
it needs the specific error message.
Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if
sending to a non-existent process.
Volker
|
|
|
|
| |
Volker
|
| |
|
|
|
|
|
|
|
|
| |
messaging wrapper
and tdb_wrap_open.
Volker
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
void message_register(int msg_type,
void (*fn)(int msg_type, struct process_id pid,
- void *buf, size_t len))
+ void *buf, size_t len,
+ void *private_data),
+ void *private_data)
{
struct dispatch_fns *dfn;
So this adds a (so far unused) private pointer that is passed from
message_register to the message handler. A prerequisite to implement a tiny
samba4-API compatible wrapper around our messaging system. That itself is
necessary for the Samba4 notify system.
Yes, I know, I could import the whole Samba4 messaging system, but I want to
do it step by step and I think getting notify in is more important in this
step.
Volker
|
|
|
|
|
| |
into functions.
Jeremy.
|
|
|
|
| |
Volker
|
|
|
|
|
| |
with -DDEVELOPER.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
moving events around.
Jeremy.
|
|
|
|
|
|
|
|
| |
Allow us to correctly refuse to set delete on close on a
non-empty directory. There are still some delete-on-close
wrinkles to be fixed, but I understand how to do that better
now. I'll fix this tomorrow.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
This add a struct event_context and infrastructure for fd events to smbd. This
is step zero to import lib/events.
Jeremy, I rely on you to watch the change in receive_message_or_smb()
closely. For the normal code path this should be the only relevant change. The
rest is either not yet used or is cosmetic.
Volker
|
|
|
|
|
| |
pointer deref.
Jeremy
|
|
|
|
|
|
|
|
| |
- include system/aio.h
- use full prototype for main
- use ifdef instead if
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
- remove the epoll configure checks from libreplace
metze
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
comparisons here, not unsigned as we're eventually
casting into what it normall a signed 32 bit
value. Guenther please check (but I think I'm right here).
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just try to log on in offline mode without the fix: all accounts are expired,
although they are set to never expire in the PAC/info3.
NTTIME "Never" needs to get (time_t) -1.
We were casting a uint64 to time_t before
comparing, and we should have been doing it
the other way around.
Guenther please check this fixes things.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
Checking in because Jeremy was bugging me. Potentially this becomes quite
intrusive, I'm not sure if I should open a temporary branch for this.
Jeremy, Jerry, do you think 3_0 is the right place for this?
Volker
|
|
|
|
|
|
|
| |
only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen
metze
|
|
|
|
|
| |
found by Volker.
Jeremy
|
|
|
|
| |
more no previous prototype warnings
|
|
|
|
| |
clean up a bunch of no previous prototype warnings
|
|
|
|
| |
get rid of warning: value computed is not used
|
|
|
|
|
|
|
|
|
| |
I think "anonimous" is correctly spelled "anonymous". The Solaris compile is
referring to this as "anonymous" in line 814 of smbldap.c. Simo, please check.
Thanks,
Volker
|
|
|
|
|
|
| |
but always use a talloc context.
Thanks to simo for pointing this out.
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
|
|
|
|
| |
Guenther
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
end parsing a file.
Jeremy.
|
|
|
|
|
| |
then terminate the traversal once we've done that.
Jeremy.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
is safe from signals.
Jeremy.
|
|
|
|
| |
inside the #ifdef HAVE_NATIVE_ICONV
|
| |
|
|
|
|
| |
Simo.
|
|
|
|
|
| |
and lib/replace. Found by Herb - thanks !
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.
|
|
|
|
|
|
| |
may have inherited from our parent in the winbindd
forked child.
Jeremy.
|
| |
|