| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
least one
OS) but is available for linking. Instead of running configure tests with
-Werror-implicit-function-declaration in developer mode (which may lead to
different library functions being used in developer mode than when not in
developer mode), add tests for whether readahead is declared. If not,
provide a replacement declaration in lib/replace.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
- add AC_GNU_SOURCE macro for systems which don't have it
(sles8)
- fix compiler warning on some systems
metze
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
sockets to listen on a little, because in the launchd case these
are provided for us. We also add an idle timeout so that a daemon
can exit after a period of inactivity.
|
| |
|
|
|
|
|
|
|
| |
to all callers of smb_setlen (via set_message()
calls). This will allow the server to reflect back
the correct encryption context.
Jeremy.
|
|
|
|
|
|
| |
server. Allow server to reflect back to calling client
the encryption context that was sent.
Jeremy.
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
there's no code change here...
metze
|
|
|
|
|
|
| |
fix compiler warning
metze
|
|
|
|
| |
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
|
|
|
|
|
|
| |
this function should be static
metze
|
|
|
|
|
|
|
|
| |
and make the functions static.
also use libreplace headers in tdbbackup.c
metze
|
|
|
|
| |
metze
|
|
|
|
| |
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
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
only test strtoll once
metze
|
|
|
|
|
|
| |
remove useless printf's
metze
|
|
|
|
|
|
| |
use strlcpy instead of strcpy to make the IBM checker happy
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
move discard_const macros to librelace
metze
|
|
|
|
|
|
| |
make comparing of struct tm more verbose and portable
metze
|
|
|
|
|
|
| |
- libreplace unsetenv() and strptime() replacements
metze
|
|
|
|
|
|
|
|
| |
itself. become_root_uid_only did not :-)
Revert 21868, we need to find a better way.
Volker
|