summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-05-18build: Expand dcerpc-samba grouping libraryAndrew Bartlett1-1/+1
This is possible in common now because the generated RPC code does not rely on a particular dcerpc layer. Andrew Bartlett
2011-03-30s4:lib/registry/registry.h - align a copyright line in header commentMatthias Dieter Wallnöfer1-1/+1
2011-03-29Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2-2/+4
Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell4-10/+9
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-19lib/registry/tests: Fix prototypes.Jelmer Vernooij4-4/+4
2011-03-19source4/lib: Fix prototypes for all functions.Jelmer Vernooij1-0/+2
2011-02-24build: moved util_reg.c into a common subsystemAndrew Tridgell1-2/+2
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell1-2/+2
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij4-4/+4
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-08s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell1-1/+1
this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
2010-12-01pyregistry: Use talloc.Object.Jelmer Vernooij1-4/+9
2010-11-27s4:lib/registry/rpc.c - remove a duplicate assignmentMatthias Dieter Wallnöfer1-1/+0
2010-11-22Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher1-3/+3
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
2010-11-07ldbsamba: Lowercase library name.Jelmer Vernooij1-1/+1
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-111/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-30s4-build: removed some unnecessary dependenciesAndrew Tridgell1-1/+1
based on running waf --symbol-check
2010-10-26talloc: change pytalloc-util to be a public library.Jelmer Vernooij1-1/+1
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-5/+5
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-5/+5
2010-10-21s4-waf: don't depend directly on python modulesAndrew Tridgell1-1/+1
build rules should not list dependencies on python modules. Instead, if code needs the module it should use the python API import calls to access the module. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-15s4:lib/registry/util.c - cosmetic - fix indentation, trailing whitespacesMatthias Dieter Wallnöfer1-10/+11
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 07:27:07 UTC 2010 on sn-devel-104
2010-10-15s4:lib/registry/util.c - strtoll call - better say explicitly that data is ↵Matthias Dieter Wallnöfer1-1/+1
in hex format Template is commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f from Wilco.
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-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-01samba: share readline wrappers among all buildsystems.Günther Deschner1-1/+1
Guenther
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 Vernooij1-60/+0
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>
2010-09-15s4: fixed some printf format errorsAndrew Tridgell2-2/+2
2010-08-23s4-pyregistry: use s4_event_context_init()Andrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-22Avoid use of Samba DTD, which requires net access.Jelmer Vernooij4-4/+4
2010-08-17s4-ldb: use LDB_FLAG_MOD_TYPE() to extract element type from messagesAndrew Tridgell1-1/+1
The flags field of message elements is part of a set of flags. We had LDB_FLAG_MOD_MASK for extracting the type, but it was only rarely being used (only 1 call used it correctly). This adds LDB_FLAG_MOD_MASK() to make it more obvious what is going on. This will allow us to use some of the other flags bits for internal markers on elements Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-09s4-build: use @PACKAGE_VERSION@ in s4 pc.in filesAndrew Tridgell1-1/+1
this gets replaced by vnum from the build rule
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2-3/+3
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>