summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* s4/asn1: Added torture suite for ASN1Kamen Mazdrashki2009-10-011-0/+35
|
* util: strhex_to_str() fixed to handle '0x' correctlyKamen Mazdrashki2009-10-011-6/+6
|
* util: fixed compile time "discards qualifiers" warningKamen Mazdrashki2009-10-011-3/+3
|
* s4/drsuapi: ber_read_partial_OID_String() implementationKamen Mazdrashki2009-10-012-0/+37
|
* s4/drsuapi: Internal implementation for ber_read_OID_StringKamen Mazdrashki2009-10-011-0/+40
| | | | | | | Modified implementation _ber_read_OID_String_impl() returns how much bytes are converted. The intentation is to use this implementation both for reading OIDs and partial-OIDs in the future
* s4/drsuapi: ber_write_partial_OID_String() implementationKamen Mazdrashki2009-10-012-0/+36
|
* s4:torture: data_blob_hex_string() output is now lowercase.Andrew Kroeger2009-09-301-1/+1
| | | | | Based on the change in commit fb84edabbe9f358031117de2cf78613c704ac600, these tests needs to expect lowercase output.
* pidl: Avoid using talloc_free as function pointer, since it may be aJelmer Vernooij2009-09-282-0/+12
| | | | macro.
* parmlist: Add more tests.Jelmer Vernooij2009-09-273-3/+92
|
* parmlist: Add basic tests for test_get_int().Jelmer Vernooij2009-09-271-0/+46
|
* util/parmlist: Add some more comments.Jelmer Vernooij2009-09-272-4/+36
|
* libutil: Add separate utility code for dealing with settings as aJelmer Vernooij2009-09-263-0/+102
| | | | collection of key/value pairs.
* Fixing timeval calculationSimo Sorce2009-09-251-1/+1
| | | | The code was always doubling microseconds when attempting to round up.
* lib/util: fix build warning.Günther Deschner2009-09-251-1/+1
| | | | Guenther
* Remove the const from the str_list_XXX functions thatJeremy Allison2009-09-242-24/+24
| | | | | | | allocate both list and containing strings. This fixes problems that people have tried to cast away and are not needed. Jeremy.
* s4-ldb: added a bunch more debug for DC joinAndrew Tridgell2009-09-221-2/+3
| | | | | These additional debug messages were added to help us track down w2k8->s4 domain join
* s4-util: windows only accepts lowercase hex encodings for extended DNsAndrew Tridgell2009-09-221-1/+4
|
* lib/tevent: a cleaner fix for be4ac227842530d484659f2db683453366326d8b segvRusty Russell2009-09-221-7/+1
| | | | | | | | | | | | | | | | Revert 23abcd2318c69753aa2a144e1dc0f9cf9efdb705 and fix logic bug. The current code loops through the event contexts, when it sees a different one, it notifies the current one (ev) and updates ev to point to the new one. This is dumb, because: (1) ev starts as NULL, so this code crashes, and (2) The final context will not be notified. The correct fix for this is to update ev to the new one, then notify it. Volker's fix works because we currently always have one event context. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb:tdbtool: fix indentation.Michael Adam2009-09-211-178/+177
| | | | Michael
* tdb:tdbtool: add transaction_start/_commit/_cancel commands.Michael Adam2009-09-211-0/+21
| | | | | | So one can perform tdbtool operations protected by transactions. Michael
* tdb:tdbtool: add the "speed" command to the help text.Michael Adam2009-09-211-0/+1
| | | | Michael
* async_sock: return -1/EPIPE if we're getting an end of file on read.Stefan Metzmacher2009-09-211-0/+4
| | | | | | This makes the error handling in the callers easier. metze
* tevent: make sure we don't set errno within the signal handler function.Stefan Metzmacher2009-09-211-0/+3
| | | | metze
* talloc: fixed talloc_disable_null_tracking()Andrew Tridgell2009-09-203-1/+30
| | | | | | | | | | | | When we disable null tracking, we need to move any existing objects that are under the null_context to be parented by the true NULL context. We also need a new talloc_enable_null_tracking_no_autofree() function, as the talloc testsuite cannot cope with the moving of the autofree context under the null_context as it wants to check exact counts of objects under the null_context, and smbtorture has a large number of objects in the autofree_context from .init functions
* tdb: increase minor versionAndrew Tridgell2009-09-191-1/+1
| | | | we depend on reads in transactions for s4 replication
* talloc: don't crash if f is NULL in talloc_report_*Andrew Tridgell2009-09-171-2/+4
| | | | | | | It's annoying when you use p talloc_report_full(ctx, fopen("/tmp/xx","w")) in gdb, and if you don't have write permission on the file then you get a segv.
* libreplace: added likely()/unlikely() macros for gccAndrew Tridgell2009-09-171-0/+19
| | | | | | These macros allow the compile to better optimise code that has a lot of if statements. I particularly want to use this for our low level generated NDR code.
* spnego: Support ASN.1 BIT STRING and use it in SPNEGO.Kouhei Sutou2009-09-172-0/+44
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* lib/crypto: include aes.h into crypto.hStefan Metzmacher2009-09-161-1/+1
| | | | metze
* tdb: allow reads after prepare commitAndrew Tridgell2009-09-151-8/+0
| | | | | | We previously only allowed a commit to happen after a prepare commit. It is in fact safe to allow reads between a prepare and a commit, and the s4 replication code can make use of that, so allow it.
* talloc: when we enable NULL tracking, reparent the autofree contextAndrew Tridgell2009-09-151-0/+3
| | | | | | | If NULL tracking is enabled after the autofree context is initialised then autofree ends up separate from the null_context. This means that talloc_report_full() doesn't report the autofree context. Fix this by reparenting the autofree context when we create the null_context.
* lib/crypto: link in AES crypto for s4 as well.Günther Deschner2009-09-161-1/+2
| | | | Guenther
* lib/crypto: add aes encryption routines to main cryto lib.Günther Deschner2009-09-164-0/+1462
| | | | Guenther
* libreplace: white space cleanupsBjörn Jacke2009-09-152-12/+12
|
* libcli:nbt put util_net.c protos in new header fileAndrew Bartlett2009-09-152-21/+46
| | | | | | | This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett
* libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett2009-09-152-2/+138
| | | | | | This starts the process to have Samba4 use lmhosts. Andrew Bartlett
* Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJMatt Kraai2009-09-147-14/+14
|
* tevent:mksyms: fix spelling...Michael Adam2009-09-112-2/+2
| | | | Michael
* talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam2009-09-111-1/+1
| | | | Michael
* talloc:mksigs: normalize bool -> _BoolMichael Adam2009-09-111-0/+3
| | | | Michael
* talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam2009-09-111-0/+1
| | | | | | parentheses Michael
* talloc:mksigs: correctly ignode multiline function typedefsMichael Adam2009-09-111-5/+5
| | | | | | by first concatenating multilint parentheses and removing typefes afterwards. Michael
* talloc:mksigs: ignore struct forward declarations.Michael Adam2009-09-111-0/+1
| | | | Michael
* talloc:mksyms: allow characters after closing functions parenthesis.Michael Adam2009-09-111-2/+2
| | | | Michael
* talloc:mksyms: allow double pointer return value of functions.Michael Adam2009-09-111-1/+1
| | | | Michael
* tdb:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam2009-09-111-1/+1
| | | | Michael
* tdb:mksigs: normalize bool -> _BoolMichael Adam2009-09-111-0/+3
| | | | Michael
* tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam2009-09-111-0/+1
| | | | | | parentheses Michael
* tdb:mksigs: correctly ignode multiline function typedefsMichael Adam2009-09-111-5/+5
| | | | | | by first concatenating multilint parentheses and removing typefes afterwards. Michael
* tdb:mksigs: ignore struct forward declarations.Michael Adam2009-09-111-0/+1
| | | | Michael