summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-10-11Fix builds with external tdbSimo Sorce1-1/+1
Make sure we do not reference our internal tdb directly. Let configure define what tdb.h file to use so that builds that use an extrenal tdb do not include 2 different versions of the tdb header.
2009-10-09Fix builds with external tallocSimo Sorce1-1/+1
Make sure we do not reference our internal talloc directly. Let configure define what talloc.h file to use so that builds that use an extrenal talloc do not include 2 different versions of the talloc header.
2009-10-09asn1_tests: Fix typo in comment.Karolin Seeger1-2/+2
Karolin
2009-10-07tdr: teach TDR about uint1632 enumsAndrew Tridgell1-0/+10
TDB doesn't have NDR64, but it needs to know how to map the new types from pidl
2009-10-05lib/tdr: get rid of build warning when using TDR_ALLOC macro.Günther Deschner1-1/+1
Guenther
2009-10-01NULL is not a valid event context.Jeremy Allison1-1/+1
Jeremy.
2009-10-01s4/asn1: ber_read_OID_String() to be based on _ber_read_OID_String_impl()Kamen Mazdrashki1-30/+3
2009-10-01s4/asn1: local TALLOC_CTX should be child of torture_contextKamen Mazdrashki1-2/+2
2009-10-01s4/asn1: fixed typo in torture messagesKamen Mazdrashki1-2/+2
2009-10-01s4/asn1: Added test for ber_read_partial_OID_String()Kamen Mazdrashki1-0/+45
2009-10-01s4/asn1: Added test for ber_read_OID_String()Kamen Mazdrashki1-0/+32
2009-10-01s4/asn1: Added test for ber_write_partial_OID_String()Kamen Mazdrashki1-0/+74
2009-10-01s4/asn1: Added test for ber_write_OID_String()Kamen Mazdrashki1-0/+74
2009-10-01s4/asn1: Added torture suite for ASN1Kamen Mazdrashki1-0/+35
2009-10-01util: strhex_to_str() fixed to handle '0x' correctlyKamen Mazdrashki1-6/+6
2009-10-01util: fixed compile time "discards qualifiers" warningKamen Mazdrashki1-3/+3
2009-10-01s4/drsuapi: ber_read_partial_OID_String() implementationKamen Mazdrashki2-0/+37
2009-10-01s4/drsuapi: Internal implementation for ber_read_OID_StringKamen Mazdrashki1-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
2009-10-01s4/drsuapi: ber_write_partial_OID_String() implementationKamen Mazdrashki2-0/+36
2009-09-30s4:torture: data_blob_hex_string() output is now lowercase.Andrew Kroeger1-1/+1
Based on the change in commit fb84edabbe9f358031117de2cf78613c704ac600, these tests needs to expect lowercase output.
2009-09-28pidl: Avoid using talloc_free as function pointer, since it may be aJelmer Vernooij2-0/+12
macro.
2009-09-27parmlist: Add more tests.Jelmer Vernooij3-3/+92
2009-09-27parmlist: Add basic tests for test_get_int().Jelmer Vernooij1-0/+46
2009-09-27util/parmlist: Add some more comments.Jelmer Vernooij2-4/+36
2009-09-26libutil: Add separate utility code for dealing with settings as aJelmer Vernooij3-0/+102
collection of key/value pairs.
2009-09-25Fixing timeval calculationSimo Sorce1-1/+1
The code was always doubling microseconds when attempting to round up.
2009-09-25lib/util: fix build warning.Günther Deschner1-1/+1
Guenther
2009-09-24Remove the const from the str_list_XXX functions thatJeremy Allison2-24/+24
allocate both list and containing strings. This fixes problems that people have tried to cast away and are not needed. Jeremy.
2009-09-22s4-ldb: added a bunch more debug for DC joinAndrew Tridgell1-2/+3
These additional debug messages were added to help us track down w2k8->s4 domain join
2009-09-22s4-util: windows only accepts lowercase hex encodings for extended DNsAndrew Tridgell1-1/+4
2009-09-22lib/tevent: a cleaner fix for be4ac227842530d484659f2db683453366326d8b segvRusty Russell1-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>
2009-09-21tdb:tdbtool: fix indentation.Michael Adam1-178/+177
Michael
2009-09-21tdb:tdbtool: add transaction_start/_commit/_cancel commands.Michael Adam1-0/+21
So one can perform tdbtool operations protected by transactions. Michael
2009-09-21tdb:tdbtool: add the "speed" command to the help text.Michael Adam1-0/+1
Michael
2009-09-21async_sock: return -1/EPIPE if we're getting an end of file on read.Stefan Metzmacher1-0/+4
This makes the error handling in the callers easier. metze
2009-09-21tevent: make sure we don't set errno within the signal handler function.Stefan Metzmacher1-0/+3
metze
2009-09-20talloc: fixed talloc_disable_null_tracking()Andrew Tridgell3-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
2009-09-19tdb: increase minor versionAndrew Tridgell1-1/+1
we depend on reads in transactions for s4 replication
2009-09-17talloc: don't crash if f is NULL in talloc_report_*Andrew Tridgell1-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.
2009-09-17libreplace: added likely()/unlikely() macros for gccAndrew Tridgell1-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.
2009-09-17spnego: Support ASN.1 BIT STRING and use it in SPNEGO.Kouhei Sutou2-0/+44
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-16lib/crypto: include aes.h into crypto.hStefan Metzmacher1-1/+1
metze
2009-09-15tdb: allow reads after prepare commitAndrew Tridgell1-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.
2009-09-15talloc: when we enable NULL tracking, reparent the autofree contextAndrew Tridgell1-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.
2009-09-16lib/crypto: link in AES crypto for s4 as well.Günther Deschner1-1/+2
Guenther
2009-09-16lib/crypto: add aes encryption routines to main cryto lib.Günther Deschner4-0/+1462
Guenther
2009-09-15libreplace: white space cleanupsBjörn Jacke2-12/+12
2009-09-15libcli:nbt put util_net.c protos in new header fileAndrew Bartlett2-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
2009-09-15libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett2-2/+138
This starts the process to have Samba4 use lmhosts. Andrew Bartlett
2009-09-14Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJMatt Kraai7-14/+14