summaryrefslogtreecommitdiffstats
path: root/source4/lib/registry
Commit message (Collapse)AuthorAgeFilesLines
* s4:pyregistry: PyArg_ParseTuple("z#") requires an 'int' argument instead of ↵Stefan Metzmacher2011-08-081-1/+4
| | | | | | | | 'size_t' If we pass variables by reference we don't get implicit type casting. metze
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-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
* build: Expand dcerpc-samba grouping libraryAndrew Bartlett2011-05-181-1/+1
| | | | | | | This is possible in common now because the generated RPC code does not rely on a particular dcerpc layer. Andrew Bartlett
* s4:lib/registry/registry.h - align a copyright line in header commentMatthias Dieter Wallnöfer2011-03-301-1/+1
|
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-292-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
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-244-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
* lib/registry/tests: Fix prototypes.Jelmer Vernooij2011-03-194-4/+4
|
* source4/lib: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+2
|
* build: moved util_reg.c into a common subsystemAndrew Tridgell2011-02-241-2/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-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>
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-114-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
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-081-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
* pyregistry: Use talloc.Object.Jelmer Vernooij2010-12-011-4/+9
|
* s4:lib/registry/rpc.c - remove a duplicate assignmentMatthias Dieter Wallnöfer2010-11-271-1/+0
|
* Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher2010-11-221-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
* ldbsamba: Lowercase library name.Jelmer Vernooij2010-11-071-1/+1
|
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-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
* s4-build: removed some unnecessary dependenciesAndrew Tridgell2010-10-301-1/+1
| | | | based on running waf --symbol-check
* talloc: change pytalloc-util to be a public library.Jelmer Vernooij2010-10-261-1/+1
|
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-5/+5
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-5/+5
|
* s4-waf: don't depend directly on python modulesAndrew Tridgell2010-10-211-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>
* s4:lib/registry/util.c - cosmetic - fix indentation, trailing whitespacesMatthias Dieter Wallnöfer2010-10-151-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
* s4:lib/registry/util.c - strtoll call - better say explicitly that data is ↵Matthias Dieter Wallnöfer2010-10-151-1/+1
| | | | | | in hex format Template is commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f from Wilco.
* registry: Make a two more functions static.Jelmer Vernooij2010-10-041-2/+2
|
* s4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBsMatthias Dieter Wallnöfer2010-10-031-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
* Make sure REG_SZ is properly written to a .reg file (not as hex(1)), fix ↵Wilco Baan Hofman2010-10-031-11/+25
| | | | | | trailing comma REG_BINARY. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix issues addressed by Jelmer:Wilco Baan Hofman2010-10-032-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>
* Fix patchfile_dotreg to write proper .reg files: 'hex(1..B):', 'dword:', etcWilco Baan Hofman2010-10-031-3/+73
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix registry editor to be compatible with Windows 7.Wilco Baan Hofman2010-10-031-5/+71
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* 5 uint32_t's should be set, not 5 bytes.Wilco Baan Hofman2010-10-031-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* The root key should be created as a root key, not subkey.Wilco Baan Hofman2010-10-031-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Do not include the closing doublequote in .reg files.Wilco Baan Hofman2010-10-031-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix hex():00,00,00 bugs and strtol dword bugs, these values are explicitly hex.Wilco Baan Hofman2010-10-031-7/+37
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Make sure we write the value stored in value, not line (doublequoted).Wilco Baan Hofman2010-10-031-4/+4
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Make sure that regf only writes to disk every five seconds or when flushed ↵Wilco Baan Hofman2010-10-031-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>
* Fix .reg file format parsing.Wilco Baan Hofman2010-10-031-39/+124
| | | | | | | | * multiline data * doublequoted value name * handle windows format CRLF Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix registry parsing of strings to also support the windows method.Wilco Baan Hofman2010-10-031-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>
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-011-1/+1
| | | | Guenther
* s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij2010-09-221-3/+34
|
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-211-60/+0
|
* Fix regf.idl, subkey and rootkey types were switched.wilco@baanhofman.nl2010-09-191-2/+2
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix file corruption (non-updated header) on new allocation.wilco@baanhofman.nl2010-09-191-8/+17
| | | | | | Also fixes debug messages to use hex offsets. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix crash when no subkeys exist. Fix writing outside of buffer error by regf ↵wilco@baanhofman.nl2010-09-191-2/+13
| | | | | | backend. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add python bindings for open_hive function to be able to load REGF files.wilco@baanhofman.nl2010-09-191-4/+43
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4: fixed some printf format errorsAndrew Tridgell2010-09-152-2/+2
|
* s4-pyregistry: use s4_event_context_init()Andrew Tridgell2010-08-231-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Avoid use of Samba DTD, which requires net access.Jelmer Vernooij2010-08-224-4/+4
|
* s4-ldb: use LDB_FLAG_MOD_TYPE() to extract element type from messagesAndrew Tridgell2010-08-171-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>
* s4-build: use @PACKAGE_VERSION@ in s4 pc.in filesAndrew Tridgell2010-08-091-1/+1
| | | | this gets replaced by vnum from the build rule