summaryrefslogtreecommitdiffstats
path: root/source4/lib/registry
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:registry/regf.c - add some casts to suppress build warnings on SolarisMatthias Dieter Wallnöfer2010-06-201-2/+2
|
* s4:registry/rpc.c - fix Solaris warnings by castsMatthias Dieter Wallnöfer2010-06-201-4/+4
|
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-191-3/+6
| | | | setUp methods are called, fix formatting.
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-161-1/+1
| | | | | | | | | This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
* s4:regshell - fix an "asprintf"Matthias Dieter Wallnöfer2010-05-281-1/+5
|
* s4:regshell - don't use negative exit codesMatthias Dieter Wallnöfer2010-05-281-1/+1
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-1815-131/+76
|
* s4:lib/registry: fix the waf buildStefan Metzmacher2010-04-271-1/+1
| | | | | | The pass to a source file is relative to the wscript* file. metze
* s4: use shared registry functions.Günther Deschner2010-04-274-49/+13
| | | | Guenther
* s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell2010-04-181-4/+0
| | | | | This was left over from the automatic conversion of the config.mk files
* s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specificationMatthias Dieter Wallnöfer2010-04-101-6/+6
| | | | This makes the code more clear to read.
* s4:registry - "patchfile_preg.c" - fix indentationMatthias Dieter Wallnöfer2010-04-101-5/+9
|
* s4:registry - "patchfile_preg.c" - fix a datatypeMatthias Dieter Wallnöfer2010-04-101-1/+1
| | | | This should be an "uint16_t" (only two bytes are written).
* s4:registry - "patchfile_preg.c" - assign a better type to the "i" counter ↵Matthias Dieter Wallnöfer2010-04-081-2/+1
| | | | | | | variable The "i" variable sums up "size" values which are of type "size_t". Therefore also "i" itself should be from this type.
* s4:registry - "patchfile_preg.c" - make a SIVAL statement nicerMatthias Dieter Wallnöfer2010-04-081-1/+1
|
* pynet: Create a net class.Jelmer Vernooij2010-04-081-2/+2
|
* s4:registry - "REGF backend" - don't ignore wrong-sized ↵Matthias Dieter Wallnöfer2010-04-081-2/+5
| | | | REG_DWORD/REG_DWORD_BIG_ENDIAN values
* s4:registry - "patchfile_preg.c" - fix the read operation of the data length ↵Matthias Dieter Wallnöfer2010-04-081-0/+4
| | | | on big-endian platforms
* s4:registry - "patchfile_preg.c" - use "sizeof(uint32_t)" for some size ↵Matthias Dieter Wallnöfer2010-04-081-2/+2
| | | | | | specifications Looks nicer.
* s4:registry - "regf backend" - fix it up regarding ↵Matthias Dieter Wallnöfer2010-04-071-4/+6
| | | | | | | | | REG_DWORD/REG_DWORD_BIG_ENDIAN_VALUES This is needed to make it platform independently work (also on big endian platforms as little endian). Also add a size check before storing a DWORD.
* s4:pyregistry.c - fix indentationMatthias Dieter Wallnöfer2010-04-071-17/+18
|
* s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell2010-04-061-4/+4
|
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* s4-waf: enable the pc_files in the build rulesAndrew Tridgell2010-04-061-1/+1
|
* build: waf quicktest nearly worksAndrew Tridgell2010-04-061-1/+1
| | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
* build: much nicer pidl rulesAndrew Tridgell2010-04-061-2/+3
|
* build: enable ENFORCE_GROUP_ORDERING()Andrew Tridgell2010-04-061-0/+70
| | | | also fixed ASN1 target names
* s4:registry/tests/diff.c - try to make also this test compatible with ↵Matthias Dieter Wallnöfer2010-03-301-4/+5
| | | | big-endian platforms
* s4:registry/tests/hive.c - make the test compatible with big-endian platformsMatthias Dieter Wallnöfer2010-03-301-41/+27
|
* s4:registry/util.c - remove those "talloc_free"sMatthias Dieter Wallnöfer2010-03-291-3/+0
| | | | They're not really necessary.
* s4:registry/tests/generic.c - fix the DWORD_* types test to work also ↵Matthias Dieter Wallnöfer2010-03-291-6/+6
| | | | against big endian platforms
* s4:registry/ldb.c - Break with "NULL" as an error case when the data doesn't ↵Matthias Dieter Wallnöfer2010-03-291-2/+5
| | | | fit in the "reg_ldb_pack_value" function
* s4:registry/ldb.c - Always check the "name" attribute for != NULLMatthias Dieter Wallnöfer2010-03-291-2/+22
| | | | | If it's NULL return invalid parameter as Windows does. The name is "" if it refers to the default value.
* s4:registry - move the UTF16 length calculation for "reg_key_get_info" into ↵Matthias Dieter Wallnöfer2010-03-291-8/+0
| | | | | | the RPC server code It does fit better there.
* s4:registry/util.c - fix indentationMatthias Dieter Wallnöfer2010-03-291-2/+2
|
* registry: Fix compilation.Jelmer Vernooij2010-03-293-9/+5
|
* Revert reordering from commit 51bedf939568717424edd7732e1e315faa333849Wilco Baan Hofman2010-03-291-3/+3
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "s4:registry - util.c - add harder checks for inputs on ↵Wilco Baan Hofman2010-03-291-15/+11
| | | | | | | | | | | | "reg_val_data_string"" This reverts commit eb8c8a0ecaa9bfd29f090db21fccdad7751767ae. Conflicts: source4/lib/registry/util.c Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "s4:registry - util.c - move the "REG_NONE" case in the conversion ↵Wilco Baan Hofman2010-03-291-6/+6
| | | | | | | | functions on top of the switch" This reverts commit 4e6c0e1f6f37a7e04d10dbf7abbf626f52232aaf. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "s4:registry - util.c - treat unsupported and binary values as the ↵Wilco Baan Hofman2010-03-291-6/+18
| | | | | | | | | | | | same in the conversion functions" This reverts commit cc3eec1681bb6d614e688f51e48bd76f6d513e67. Conflicts: source4/lib/registry/util.c Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "s4:registry - adaptions for "add memory contexts for delete ↵Wilco Baan Hofman2010-03-291-2/+5
| | | | | | | | | | | | | value/key functions"" This reverts commit 43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a. Conflicts: source4/lib/registry/dir.c source4/lib/registry/util.c Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "s4:registry - "util" - make "reg_key_add_abs" consistent with ↵Wilco Baan Hofman2010-03-291-6/+9
| | | | | | | | | | | | "reg_key_del_abs"" This reverts commit 9d8592978e28c492d971a3b5a4c0133febc149ea. Conflicts: source4/lib/registry/util.c Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert of commit 5b6ad54f43741c0c25b35e44cafe5fed352ff133 in registry.hWilco Baan Hofman2010-03-291-2/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Remove incorrect const, something that was correct in commit ↵Wilco Baan Hofman2010-03-291-2/+2
| | | | | | 9c3e6249fd984b823a77cab0514601d2a487920a Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "s4:registry - "util" - remove "const" from "reg_abs_path""Wilco Baan Hofman2010-03-291-3/+3
| | | | | | This reverts commit 9c3e6249fd984b823a77cab0514601d2a487920a. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* pytalloc: allow for using a system libtalloc-dev with pytallocAndrew Tridgell2010-03-291-1/+1
| | | | | | | | | When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-251-1/+1
| | | | this should be much more portable
* s4:registry - "reg_ldb_pack_value" - provide workarounds when the server ↵Matthias Dieter Wallnöfer2010-03-231-0/+9
| | | | | | | | | | | | | receives non-standard data. For now we reset/delete the "data" attribute. Anyway there is the need to find a better solution (we probably want to change the format and save all data as we got it like Windows itself does). These workarounds are needed since for example the Windows 2000 Registry Editor initialises empty REG_SZ strings with content '\0' and length 1 (not a valid UTF16 sequence - "convert_string_talloc" breaks). So we simply reset/delete the "data" attribute which works (no content).
* s4:registry - "LDB backend" - fix indentationMatthias Dieter Wallnöfer2010-03-231-1/+2
|
* s4:registry - "LDB backend" - revert the length check for UTF16 stringsMatthias Dieter Wallnöfer2010-03-231-10/+5
| | | | Let this do the "convert_string_talloc" function as it was before.