summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-10-07waf: fixed exit status of test suitesAndrew Tridgell1-2/+4
use RUN_COMMAND() to handle signal errors and exit status
2010-10-05s4:ldb_modules.c - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-10-05Add missing dependencies for com_err.Jelmer Vernooij3-1/+10
2010-10-05ldb: Refer to ldb(3), not ldb(7).Jelmer Vernooij6-13/+13
2010-10-04unittests: add a test to avoid regression on previous fixMatthieu Patou1-0/+5
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Oct 4 20:23:31 UTC 2010 on sn-devel-104
2010-10-04pyldb: test return code before trying to talloc_stealMatthieu Patou1-2/+2
Otherwise you can have an error on the talloc_steal as the req can have been not talloced yet
2010-10-04registry: Make a two more functions static.Jelmer Vernooij1-2/+2
2010-10-03s4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBsMatthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 3 16:03:41 UTC 2010 on sn-devel-104
2010-10-03heimdal: convert some subsystems to libraries, consistent with upstream heimdal.Jelmer Vernooij1-1/+1
2010-10-03Make sure REG_SZ is properly written to a .reg file (not as hex(1)), fix ↵Wilco Baan Hofman1-11/+25
trailing comma REG_BINARY. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix issues addressed by Jelmer:Wilco Baan Hofman2-2/+7
* Add a comment about why the reg_strhex_to_data_blob was added * Fix int which should've been a boolean Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix patchfile_dotreg to write proper .reg files: 'hex(1..B):', 'dword:', etcWilco Baan Hofman1-3/+73
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix registry editor to be compatible with Windows 7.Wilco Baan Hofman1-5/+71
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-035 uint32_t's should be set, not 5 bytes.Wilco Baan Hofman1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03The root key should be created as a root key, not subkey.Wilco Baan Hofman1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Do not include the closing doublequote in .reg files.Wilco Baan Hofman1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix hex():00,00,00 bugs and strtol dword bugs, these values are explicitly hex.Wilco Baan Hofman1-7/+37
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Make sure we write the value stored in value, not line (doublequoted).Wilco Baan Hofman1-4/+4
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Make sure that regf only writes to disk every five seconds or when flushed ↵Wilco Baan Hofman1-9/+51
or destroyed Brings speed up on a large .reg import from 17.5s to 0.95s, over 18 times faster Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix .reg file format parsing.Wilco Baan Hofman1-39/+124
* multiline data * doublequoted value name * handle windows format CRLF Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix registry parsing of strings to also support the windows method.Wilco Baan Hofman1-1/+33
Specifically: dword:00000000, hex:00,00,00,00, hex(0..B):00,00,00,00 Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-02s4-ldif: get rid of the ndr_pull_error message on startupAndrew Tridgell1-10/+15
detect if the prefixmap blob is text or binary using the first 4 bytes
2010-10-01samba: share readline wrappers among all buildsystems.Günther Deschner5-166/+1
Guenther
2010-10-01samba: share select wrappers.Günther Deschner1-45/+0
Guenther
2010-09-28ldb-dn: don't crash on NULL in ldb_binary_encode_string()Andrew Tridgell1-0/+3
Thanks to Nadya for finding this one!
2010-09-28ldb-tdb: ignore failure to register control on rootdseAndrew Tridgell1-4/+1
this is expected for non-sam LDBs
2010-09-28ldb: Fix path to alternative buildtools.Jelmer Vernooij1-1/+1
2010-09-28ldb/tevent: Fix detection of waf paths.Jelmer Vernooij2-2/+11
2010-09-28ldb: Update autogen-waf.sh to no longer overwrite existing files.Jelmer Vernooij2-2/+12
2010-09-28ldb: Remove samba-specific targets from Makefile.Jelmer Vernooij1-8/+0
2010-09-28ldb: Bump version because of addition of ldb_req_location.Jelmer Vernooij1-1/+1
2010-09-28s4:lib/tls: add gnutls backend for tstreamStefan Metzmacher3-3/+1298
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 28 02:29:42 UTC 2010 on sn-devel-104
2010-09-28s4-ildap: two more places that need talloc_reparent()Andrew Tridgell1-1/+1
these contexts can have references Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Sep 28 00:04:03 UTC 2010 on sn-devel-104
2010-09-27s4-ldb: Added ldb_request_replace_controlNadezhda Ivanova2-0/+34
It is the same as ldb_request_add_control, except it will replace an existing control. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 19:00:38 UTC 2010 on sn-devel-104
2010-09-27s4/irpc: Add function to add security token to the binding handleAnatoliy Atanasov2-0/+12
2010-09-27s4:irpc: optionaly pass the security_token via IRPC requests.Stefan Metzmacher1-0/+3
metze
2010-09-25Check in configure/Makefile for those projects that have waf as primary ↵Jelmer Vernooij2-0/+71
build system.
2010-09-25ldb: added request location trackingAndrew Tridgell4-0/+39
this is used to help debug async ldb requests. The ldb request handle now contains a location string and the parent request pointer. This allows us to print a backtrace of ldb requests in the dsdb modules.
2010-09-24ldb:ldb_match.c - fix counter variable typeMatthias Dieter Wallnöfer1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24ldb:ldb_msg_add_linearized_dn - handle NULL DNsMatthias Dieter Wallnöfer1-2/+8
Don't let the routine crash Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-23s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pullingStefan Metzmacher1-0/+2
The dcerpc server also uses it, so it was surprising that the IRPC server side doesn't used it. The reason to have this is that we want to handle error cases and returns like NT_STATUS_NOT_SUPPORTED sane, without crashing while marshalling the response. metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-22ldb: Use waf as default build system.Jelmer Vernooij2-18/+19
2010-09-22ldb: Depend directly on replace, fixes the build on systems withJelmer Vernooij1-0/+3
tdb and tevent installed in the system.
2010-09-22s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij1-3/+34
2010-09-21s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2-118/+0
2010-09-21pymessaging: Remove unused older python irpc bindings.Jelmer Vernooij1-349/+3
2010-09-19Fix regf.idl, subkey and rootkey types were switched.wilco@baanhofman.nl1-2/+2
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Fix file corruption (non-updated header) on new allocation.wilco@baanhofman.nl1-8/+17
Also fixes debug messages to use hex offsets. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Fix crash when no subkeys exist. Fix writing outside of buffer error by regf ↵wilco@baanhofman.nl1-2/+13
backend. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-09-19Add python bindings for open_hive function to be able to load REGF files.wilco@baanhofman.nl1-4/+43
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>