| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
immediately. They set m->defer_reply = True;
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
that are then included by include/proto.h
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
do not autostart transactions on ldb operations if a transaction is already in place
test transactions on winsdb
all my tests passes so far
tridge please confirm this is ok for you
|
| | |
| | |
| | |
| | | |
for heimdal
|
| | |
| | |
| | |
| | | |
right)
|
| | | |
|
| | |
| | |
| | |
| | | |
have it. Overestimating is harmless.
|
| | |
| | |
| | |
| | |
| | | |
this is just a solaris issue this patch changes the default to 3, and
I'll see how many build farm boxes break
|
| | |
| | |
| | |
| | |
| | | |
more portable. tdb is used in more than just Samba4, and I think the
portability/readability balance is a bit different
|
| | |
| | |
| | |
| | | |
- more workarounds for aix not handling malloc of size 0
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
don't end up doing a mmap read only
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
same directory
as the source
|
| | | |
|
| | |
| | |
| | |
| | | |
alignment constraints (like sparc)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Add framework for fallback generating code
- Move pread / pwrite replacement functions to libreplace
- Support pidl builds correctly
- Support asn1 builds correctly
- Move OS-specific checks to lib/replace/SConscript
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
metze
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.
Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
|
| | |
| | |
| | |
| | | |
tdb_traverse_read() for read only databases
|
| | |
| | |
| | |
| | | |
a real ldap backend (such as openldap)
|
| | |
| | |
| | |
| | | |
parallel with any transaction
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
allowing searches to proceed while another process is in a
transaction, then only upgrading the transaction lock to a write lock
on commit.
The solution is:
- split tdb_traverse() into two calls, called tdb_traverse() and
tdb_traverse_read(). The _read() version only gets read locks, and
will fail any write operations made in the callback from the
traverse.
- the normal tdb_traverse() call allows for read or write operations
in the callback, but gets the transaction lock, preventing
transastions from starting inside the traverse
In addition we enforce the following rule that you may not start a
transaction within a traverse callback, although you can start a
traverse within a transaction
With these rules in place I believe all the deadlock possibilities are
removed, and we can now allow for searches to happen in parallel with
transactions
|
| | | |
|
| | |
| | |
| | |
| | | |
omment about transactions
|
| | |
| | |
| | |
| | | |
code as they are marked as NOPROTO in the config.mk files.
|
| | |
| | |
| | |
| | | |
but it definately needs transaction.c now
|
| | |
| | |
| | |
| | | |
"ldb:nosync = yes/no"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
locking code in the ldb_tdb backend, except for a single read lock
during searches to ensure searches don't cross transaction boundaries
The tdb transactions code would map these extra locks to noops anyway
(as locking makes no sense inside a transaction), but the work in
setting up the locking keys still costs something, and it makes the
code needlessly complex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
transactions are synchronous or not on the command line.
add LDB_FLG_NOSYNC flag to ldb_connect() so we can make our temporary
ldb databases non-synchronous
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
samba-technical posting for more details on the transactions design.
This also adds a number of command line arguments to tdbtorture,
making it more flexible, and fixes some lock deadlock conditions in
the tdbtorture code.
|
| | |
| | |
| | |
| | | |
the test in ldbtest
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I still have issues with Win2k3 SP1, and Samba4 doesn't pass it's own
test for the moment, but I'm working on these issues :-)
This required a change to the credentials API, so that the special
case for NTLM logins using a principal was indeed handled as a
special, not general case.
Also don't set the realm from a ccache, as then it overrides --option=realm=.
Andrew Bartlett
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
is busted though.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
at every single build. Run 'scons configure=1' or delete sconf.cache
to force checks to be re-run.
Jelmer, I think this stuff is cached in the .sconf_cache directory but
the message is still displayed and it looks like it caches the compiled
test object file not the actual result of the test.
|
| | |
| | |
| | |
| | | |
some other minor updates
|
| | |
| | |
| | |
| | | |
works now
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-Udomain\\user.
This will probably break in a few configurations, so please let me
know. I'll also work to have a way to inhibit kerberos/ntlmssp, as
this removes -k.
Andrew Bartlett
|
| | | |
|