summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * r10489: added the ability for irpc server to defer replies instead of replyingAndrew Tridgell2005-09-252-49/+86
| | | | | | | | | | | | immediately. They set m->defer_reply = True;
| | * r10485: run autoheader before autoconfAndrew Tridgell2005-09-251-1/+1
| | |
| | * r10484: try to fix the pread/pwrite declaration problemsAndrew Tridgell2005-09-253-8/+3
| | |
| | * r10483: fixed some uninitialised variables warningsAndrew Tridgell2005-09-242-1/+3
| | |
| | * r10479: Apply some constVolker Lendecke2005-09-241-2/+4
| | |
| | * r10478: More work on proto headers; we now generate a couple of smaller onesJelmer Vernooij2005-09-242-4/+20
| | | | | | | | | | | | that are then included by include/proto.h
| | * r10477: expose transactions outside ldb and change the API once moreSimo Sorce2005-09-2416-94/+239
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * r10476: Move some more types to libreplace. Fix missing strndup errors Jelmer Vernooij2005-09-244-15/+43
| | | | | | | | | | | | for heimdal
| | * r10475: make sure we report failures in tdbtorture (ie. get the exit status ↵Andrew Tridgell2005-09-241-1/+1
| | | | | | | | | | | | right)
| | * r10472: Check for strndupVolker Lendecke2005-09-241-1/+1
| | |
| | * r10471: stratos doesn't have getpagesize(), so guess 8k on systems that don'tAndrew Tridgell2005-09-243-2/+6
| | | | | | | | | | | | have it. Overestimating is harmless.
| | * r10470: solaris8 has a problem with tdbtorture with 3 processes. To see ifAndrew Tridgell2005-09-241-1/+1
| | | | | | | | | | | | | | | this is just a solaris issue this patch changes the default to 3, and I'll see how many build farm boxes break
| | * r10469: use the older style of structure initialisation for tdb to make itAndrew Tridgell2005-09-242-12/+12
| | | | | | | | | | | | | | | more portable. tdb is used in more than just Samba4, and I think the portability/readability balance is a bit different
| | * r10468: - terminate tdbtorture quickly when an error is detectedAndrew Tridgell2005-09-243-23/+49
| | | | | | | | | | | | - more workarounds for aix not handling malloc of size 0
| | * r10467: aix doesn't like zero length malloc :(Andrew Tridgell2005-09-241-0/+5
| | |
| | * r10466: work around missing pread/pwrite declaration on openbsdAndrew Tridgell2005-09-243-0/+23
| | |
| | * r10465: separate out a read_only db from a read-only traversal to ensure weAndrew Tridgell2005-09-246-12/+13
| | | | | | | | | | | | don't end up doing a mmap read only
| | * r10463: consider it an error if tdbtorture produces any log messagesAndrew Tridgell2005-09-241-1/+10
| | |
| | * r10462: cope better with compilers that don't put the object file in the ↵Andrew Tridgell2005-09-241-0/+4
| | | | | | | | | | | | | | | | | | same directory as the source
| | * r10461: fixed tdb build on systems without stdint.hAndrew Tridgell2005-09-241-2/+2
| | |
| | * r10460: fixed portability of transaction code to systems with integerAndrew Tridgell2005-09-241-6/+7
| | | | | | | | | | | | alignment constraints (like sparc)
| | * r10459: fixed some portability problemsAndrew Tridgell2005-09-243-0/+6
| | |
| | * r10456: More SCons fixes:Jelmer Vernooij2005-09-237-12/+200
| | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * r10453: Fix the buildJelmer Vernooij2005-09-232-6/+1
| | |
| | * r10452: Couple of small scons updates - ignore .sconsign filesJelmer Vernooij2005-09-233-13/+4
| | |
| | * r10449: remove double copyright headerStefan Metzmacher2005-09-231-21/+0
| | | | | | | | | | | | metze
| | * r10444: Add LIBBASIC files to proto.hTim Potter2005-09-231-1/+4
| | |
| | * r10438: Move portability functions to lib/replace/; replace now simply ensures Jelmer Vernooij2005-09-2312-134/+307
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * r10424: for caller convenience, automatically turn a tdb_traverse() into aAndrew Tridgell2005-09-221-0/+4
| | | | | | | | | | | | tdb_traverse_read() for read only databases
| | * r10423: minor changes to the ldb test suite to allow it to work correctly withAndrew Tridgell2005-09-222-7/+15
| | | | | | | | | | | | a real ldap backend (such as openldap)
| | * r10422: ldb_search() can now use tdb_traverse_read() to ensure it can run inAndrew Tridgell2005-09-221-1/+1
| | | | | | | | | | | | parallel with any transaction
| | * r10421: following on discussions with simo, I have worked out a way ofAndrew Tridgell2005-09-2210-32/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * r10420: Two minor scons fixesJelmer Vernooij2005-09-221-1/+1
| | |
| | * r10419: Remove unused prototypes of locking functions (thanks Jelmer)Simo Sorce2005-09-221-10/+1
| | | | | | | | | | | | omment about transactions
| | * r10415: The ldb and tdb libraries are bad examples to test out the make proto Tim Potter2005-09-222-11/+5
| | | | | | | | | | | | code as they are marked as NOPROTO in the config.mk files.
| | * r10410: blindly update the scons file for tdb. I'm not sure how this works,Andrew Tridgell2005-09-221-1/+1
| | | | | | | | | | | | but it definately needs transaction.c now
| | * r10409: allow smb.conf override of ldb synchronous transactions with ↵Andrew Tridgell2005-09-221-0/+5
| | | | | | | | | | | | "ldb:nosync = yes/no"
| | * r10408: now that we are using tdb transactions we don't need any additionalAndrew Tridgell2005-09-223-166/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * r10406: added --nosync option to all ldb tools, so that you can control ifAndrew Tridgell2005-09-226-16/+29
| | | | | | | | | | | | | | | | | | | | | 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
| | * r10405: added transactions into tdb, and hook them into ldb. See myAndrew Tridgell2005-09-2220-116/+1348
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * r10403: fixed the basedn for testing, and add a debug showing the size of ↵Andrew Tridgell2005-09-221-1/+4
| | | | | | | | | | | | the test in ldbtest
| | * r10402: Make the RPC-SAMLOGON test pass against Win2k3 SP0 again.Andrew Bartlett2005-09-223-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * r10385: removed obsolete commentAndrew Tridgell2005-09-211-1/+0
| | |
| | * r10384: add _GNU_SOURCE in tdb configureAndrew Tridgell2005-09-211-0/+1
| | |
| | * r10379: Add files for ldb and tdb to proto_files. The tool for building proto.hTim Potter2005-09-212-16/+26
| | | | | | | | | | | | is busted though.
| | * r10377: Save configuration stuff to sconf.cache so it isn't annoyingly runTim Potter2005-09-214-18/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * r10374: Add HAVE_* defines (on command-line or in config.h file) for scons + Jelmer Vernooij2005-09-213-8/+27
| | | | | | | | | | | | some other minor updates
| | * r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of ↵Jelmer Vernooij2005-09-206-5/+18
| | | | | | | | | | | | works now
| | * r10364: Turn gensec:gssapi on by default, except for a login of the formAndrew Bartlett2005-09-202-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
| | * r10356: Make the proto generator work with sconsJelmer Vernooij2005-09-201-3/+3
| | |