registry: Check for more specific LDB return codes, handle changing existing values...