s3:registry: don't store differently cased entries for the same keys.
authorMichael Adam <obnox@samba.org>
Wed, 8 Jul 2009 14:16:18 +0000 (16:16 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 15 Jul 2009 12:01:40 +0000 (14:01 +0200)
commitd554c0d7a923f1194463481f0bd829042cee574a
tree568c932245bff67c6ea9cb98acba41289f417ffa
parent3071b0712211b17b464f62d544fa16da5a128b01
s3:registry: don't store differently cased entries for the same keys.

This happened for instance during registry initialization, when
entries for HKLM\Software and HKLM\SOFTWARE were created.
Searching these entries was case insensitive though.
But the entries ended up in the subkey-lists anyways.

This is solved by making the subkeys_hash in the regsubkey_container
structs case insensitive (using the new _bystring_upper() wrappers).

Michael
source3/registry/reg_objects.c