| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
use tdb helper functions
metze
|
| |
| |
| |
| |
| |
| | |
(use helper functions to create TDB_DATA elements)
metze
|
| |
| |
| |
| | |
metze
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen
was found in libdl but header dlfcn.h was not appropriate.
Michael
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
with the Apple guys and Linux kernel guys. Still looking
at how to do writeX as there's no recvfile().
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
instead of char *, which matches what samba4 has.
Fix all the callers to prevent compiler warnings.
This essentially ports r22001 from SAMBA_3_0 to SAMBA_3_0_26.
There are a few additional type cast corrections.
|
| | |
|
| |
| |
| |
| |
| |
| | |
move source/tdb to source/lib/tdb
metze
|
| |
| |
| |
| | |
(In 3_0_26, TDB_DATA.dptr is still char, not unsigned char.)
|
| |
| |
| |
| | |
tomorrow.
|
| | |
|
| |
| |
| |
| |
| |
| | |
locking/locking.c we have to send retry messages to timed lock holders.
The majority of this patch passes a "struct messaging_context" down
there. No functional change, survives make test.
|
| |
| |
| |
| | |
replace all data_blob(NULL, 0) calls.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
different
database backends in place dynamically.
The main abstractions are db_context and db_record, it should be mainly
self-describing, see include/dbwrap.h. You open the db just as you would open
a tdb, this time with db_open(). If you want to fetch a record, just do the
db->fetch() call, if you want to do operations on it, you need to get it with
fetch_locked().
I added dbwrap_file.c (not heavily tested lately) as an example for what can
be done with that abstraction, uses a file per key. So if anybody is willing
to shape that up, we might have a chance on reiserfs again.... :-)
This abstraction works fine for brlock.tdb, locking.tdb, connections.tdb and
sessionid.tdb. It should work fine for the others as well, I just did not yet
get around to convert them.
If nobody loudly screams NO, then I will import the code that uses this soon.
Volker
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
connections_traverse
and connections_forall. This centralizes all the routines that did individual
tdb_open("connections.tdb") and direct tdb_traverse.
Volker
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| |
| |
| | |
the terminating NULL if we've already processed the null
in iconv. Jerry, once I get confirmation from Thomas Bork
this needs to be in 3.0.25 final. Tests fine with valgrind
here.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
patch.
This changes "struct process_id" to "struct server_id", keeping both is
just too much hassle. No functional change (I hope ;-))
Volker
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
memory leak I introduced into acl code, also remove
redundent extra check for global_sid_System :
global_sid_System == S-1-5-18 which is already
included in the check for a domain of
global_sid_NT_Authority == S-1-5
Jeremy.
|
| |
| |
| |
| |
| | |
That should be it....
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
and out of talloc at tridge's request.
Jeremy.
|
| |
| |
| |
| |
| | |
size == 0 so we have a known behavior.
Jeremy.
|
| |
| |
| |
| |
| | |
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
prototypes.
Jeremy.
|
| |
| |
| |
| |
| | |
return NULL on size == 0 varients.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
sid_to_gid mapping, add LocalSystem to non-mappable
list.
Jeremy.
|
| |
| |
| |
| | |
from SAMBA_3_0.
|
| |
| |
| |
| | |
Thx for the hint James!
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to the corepath.
Even the chdir() will fail if the LOGFILEBASE path is set 0700.
If the currrent user doesn't have the permission to create the core file
we end with:
unable to change to <LOGFILEBASE>
refusing to dump core
The alternative would be to change the permissions of the directory.
But taht would not ensure core dumps are working out of the box.
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| | |
add a lot more detailed strtoll() and strtoull() tests
metze
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
- provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro
metze
|
| |
| |
| |
| |
| |
| |
| |
| | |
provide __location__ in replace.h
and see how the build-farm likes this simpler version
metze
|
| |
| |
| |
| |
| |
| | |
protect #define __location__ with an #ifndef
metze
|
| |
| |
| |
| |
| |
| |
| | |
use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.
metze
|
| |
| |
| |
| |
| |
| |
| | |
- make the strtoll tests more verbose
- add initial strtoull tests
metze
|
| |
| |
| |
| |
| |
| | |
add prototype of setenv
metze
|
| |
| |
| |
| |
| |
| | |
only test strtoll once
metze
|
| |
| |
| |
| |
| |
| | |
remove useless printf's
metze
|
| |
| |
| |
| |
| |
| | |
use strlcpy instead of strcpy to make the IBM checker happy
metze
|
| |
| |
| |
| |
| |
| | |
move discard_const macros to librelace
metze
|
| |
| |
| |
| |
| |
| | |
make comparing of struct tm more verbose and portable
metze
|