summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
2008-03-28Merge v4.0-testJelmer Vernooij1-13/+13
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
2008-03-14swig: regenerate _wrap.c filesStefan Metzmacher1-13/+13
metze (This used to be commit 08b41e10699c7bb8058ab0ab61f17a1bbfcc1ce4)
2008-03-09Move PC_FILE out of the perl code.Jelmer Vernooij1-1/+2
(This used to be commit ca8d4260ada9f74ebc406714ca70d20be09b194b)
2008-03-08Push SOVERSION and VERSION out of perl code.Jelmer Vernooij1-2/+3
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-04Fix includes.Jelmer Vernooij1-0/+1
(This used to be commit 99e61dade2bd9ae2a5dfe17f766528012c09e46c)
2008-03-03Move object file lists to the Makefile.Jelmer Vernooij1-24/+18
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-03-03Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij4-37/+256
Conflicts: source/Makefile source/build/smb_build/makefile.pm source/librpc/config.mk (This used to be commit 3e02fcfd3fb6683f51417ba39f4ec177494eff3e)
2008-03-03Merge branch 'v4-0-test' into id10ts-registryJelmer Vernooij11-30/+51
(This used to be commit f98b59021a5ea39c7970ebc5520d17775e500b8c)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-1/+2
Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-29Move manpage management out of the perl build system.Jelmer Vernooij1-4/+8
(This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)
2008-02-29Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij10-25/+41
Conflicts: source/scripting/python/config.mk (This used to be commit 0ac0ea660ab63eca764149f1d2828d0238a57289)
2008-02-26registry: Add an explicit test for recursive deletion.Andrew Kroeger1-0/+37
(This used to be commit 5e905804993df4c2ac28090d056e6db6bb63ac44)
2008-02-26registry: Implement recursive deletes for regf-backed registry.Andrew Kroeger1-4/+49
When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an regf-backed registry consistent with Windows. The regf-backed registry does not have transactional integrity when performing multiple operations. Therefore, if an error occurs during the recursive deletion, the regf-backed registry may be left in an inconsistent state. (This used to be commit b0321bad290d1a9399b4aba140a622e3af6d7575)
2008-02-26registry: Implement recursive deletes for dir-backed registry.Andrew Kroeger1-6/+54
When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an dir-backed registry consistent with Windows. The dir-backed registry relies on the underlying filesystem, which does not generally have transactional integrity when performing multiple operations. Therefore, if an error occurs during the recursive deletion, the dir-backed registry may be left in an inconsistent state. (This used to be commit 6b5fbf7e4e38342bcd80e63f46cd295f89ab1ee9)
2008-02-26registry: Implement recursive deletes for ldb-backed registry.Andrew Kroeger1-27/+116
When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an ldb-backed registry consistent with Windows. Under ldb, the deletion is done using an explicit transaction. If an error occurs during the deletion the entire transaction is cancelled, leaving the registry as it was before the deletions started. (This used to be commit ca796c8fb10598674a5eef31d15863e79bcf3db8)
2008-02-26Move public header accumulation out of the perl code.Jelmer Vernooij1-1/+2
(This used to be commit 89f7c74924965071981bbe7e05ff69847b0a3a03)
2008-02-26Move manpage management out of the perl build system.Jelmer Vernooij1-4/+8
(This used to be commit a660ab262e7202baccf16cb8b2bc47cb8efacc34)
2008-02-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij7-24/+38
Conflicts: source/build/smb_build/header.pm source/build/smb_build/makefile.pm source/lib/ldb/include/ldb_private.h (This used to be commit 1a646af0647f021d99473a8991c35e616a423ea6)
2008-02-25Remove uses of global_loadparm.Jelmer Vernooij5-11/+15
(This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
2008-02-21Remove yet more global_loadparm instances.Jelmer Vernooij1-2/+4
(This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
2008-02-21Remove more global_loadparm instance.sJelmer Vernooij1-5/+9
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2008-02-21Remove yet more uses of global_loadparm.Jelmer Vernooij4-7/+13
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij7-24/+38
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
2008-02-16Move responsibilities of build.h to makefile.Jelmer Vernooij2-2/+0
(This used to be commit a43f6d37bce85748e9cf2675e5beced5db26f1c3)
2008-02-11Fix switching of hives in regshell (#5254)Jelmer Vernooij1-0/+3
(This used to be commit 5f33545c78e13871d622c0a5a0ded789bf624869)
2008-02-09registry: Fix warning.Jelmer Vernooij1-1/+1
(This used to be commit dad809030478a85ac13a73bce9c07314792f01c2)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22dcerpc: Use manually written .pc files for dcerpc and ndr.Jelmer Vernooij1-1/+1
(This used to be commit 676fd18fa2914b7b5530014a944a11ea1d6f631d)
2008-01-22registry: Use manually written .pc file.Jelmer Vernooij2-0/+13
(This used to be commit 5c64d4adaf50215ec2645f76e6c0335572147614)
2008-01-18registry: Use correct return values.Jelmer Vernooij7-32/+53
(This used to be commit 98ebdbe52fd615ea62a3caa17acfe8bb31b8f85d)
2008-01-18registry: Avoid mapping registry return codes: return the right value in the ↵Jelmer Vernooij3-3/+3
first place. (This used to be commit 434e4857cec17d6d9e8983e151c170eed59fc6d1)
2008-01-18When Windows attempts to create a new key, it looks for an available key nameAndrew Kroeger1-7/+13
starting with "New Key #1" and iterating up to "New Key #99" before giving up. ldb_open_key() calls reg_path_to_ldb() to build the appropriate dn from the key name. reg_path_to_ldb() was not catching the error returned by ldb_dn_add_base_fmt() due to the unescaped '#' character, causing the returned dn to be that of the parent key, not the potential new key. Additionally, Windows expects a return value of WERR_BADFILE when a key does not exist, but WERR_NOT_FOUND was being returned instead. Correcting the building of the dn and the providing the expected return value allows new key creation to succeed. When attempting to delete a key, Windows passes the complete path to the key, not just the name of the child key to be deleted. Using reg_path_to_ldb() to build the correct dn allows key deletion to succeed. (This used to be commit d57792d67b865ef43e7f21640b158862627f4b45)
2008-01-18registry: Improve error codes and update tests.Jelmer Vernooij6-20/+23
Rather than map the error returned by the registry to the correct error, return the correct error in the first place. Also deal with the fact that the right error code is now returned in a couple of places. (This used to be commit 1e31fcb8a097810a97e2d4bb1f243f1b34cc2415)
2008-01-18When Windows initially creates a new value, the value name is "New Value #1".Andrew Kroeger1-2/+22
The '#' character was causing problems, as it was not being escaped for the dn, but the failure returned by ldb_dn_add_child_fmt() was not being caught. This was causing the new value to be added on the parent key, not the current key. When attempting to delete the new value (now on the parent key) the same escaping error was returned by ldb_dn_add_child_fmt(), causing the delete to delete the key and not the value. When attempting to rename a value, Windows first tries to ensure the new name does not already exist. When a value does not exist, Windows expects a return value of WERR_BADFILE, but WERR_NOT_FOUND was being returned instead. Providing the WERR_BADFILE that Windows expects allows values to be renamed. (This used to be commit 94fb39cfd967455ce5a554720c1c7e6183f91056)
2008-01-18registry: Properly check return values from ldb_*() functions.Andrew Kroeger1-3/+3
There were a few cases left that attempted to detect errors from ldb_*() function calls using "(ret < 0)". As all LDB_* error codes are greater than zero, there was no chance any errors would be detected. Changed all such tests to use "(ret != LDB_SUCCESS)". (This used to be commit 0ed6f1b1628da5b922f02a5f9a6c60071b6277f2)
2008-01-18registry: Check for more specific LDB return codes, handle changing existing ↵Jelmer Vernooij1-6/+11
values better. (This used to be commit c8b22ef30c7fc0ccc15e9fc9a38fdc639fc4b976)
2008-01-07r26692: registry: Treat key and value names case-insensitively.Jelmer Vernooij1-0/+10
(This used to be commit 9fc5f098e01145db5b01efb0bf22cdddf0213d20)
2008-01-07r26689: registry: Return max_subkeynamelen, max_valnamelen and ↵Jelmer Vernooij13-44/+171
max_valbufsize in getkeyinfo(). (This used to be commit b06896d2378e536f5044dbe500a5232a89d6d0b5)
2008-01-07r26688: Fix listing remote predefined keys and subkeys. This fixes bug 3431.Jelmer Vernooij4-36/+64
(This used to be commit 846876ad32dc86fe7c367db084e76c670c61b389)
2008-01-05r26665: registry: Fix tests on bigendian machines.Jelmer Vernooij1-2/+6
(This used to be commit bcd8f50f7952d1e502326f11ddfa8cfe8a982b1b)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-1/+1
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-2/+2
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-26r26602: Revert my previous commit as it only works with GNU make.Jelmer Vernooij1-7/+7
(This used to be commit ecd2d96c3173e4d2f77a1ca50f26a16ac7a313b1)
2007-12-26r26600: Provide dir variable with current basedir in Makefile.Jelmer Vernooij1-7/+7
(This used to be commit b06d3e1a52d6b71a1e3e7a9e0ecf69f3b899ae18)
2007-12-26r26596: Fixed upgrade.py.Jelmer Vernooij1-1/+6
Added blackbox tests for provision and upgrade Python scripts. Clean up temporary files created by the Python tests. (This used to be commit 2227fb6df62240cae64d27a1920d878316f819fc)
2007-12-26r26589: torture: Add non-const version of torture_tcase_add_simple_testKai Blin2-105/+79
(This used to be commit 1ae9cde5105cc4349a44e6098e9393e06acaf95d)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin2-56/+57
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-24r26576: Allow the static module loading code to be used for the Python modules.Jelmer Vernooij1-1/+1
Simplify the way module initialization functions are handled. (This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-24r26572: Fix warnings in the Python code.Jelmer Vernooij2-18/+20
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
2007-12-24r26571: Hide warnings about unused macros and casting qualifiers in ↵Jelmer Vernooij1-21/+7
autogenerated files. (This used to be commit cb76c60007ae1254181c09ba1ab09c419f500bc5)