Finally, the rewrite of the registry subsystem in Samba 4 is starting to finish off. I changed some major things after the initial version:
- Changed from typedefs back to structs, like we do in the rest of Samba 4 (e.g. struct registry_key instead of REG_KEY.
- Pass TALLOC_CTX‘s around for memory allocation. No longer give every key or value it’s own TALLOC_CTX.
- A registry context is nothing but a collection of hives that all have their own root key. In the previous version, there was one registry context with multiple roots. (this makes the backend code much, much simpler)