The Samba registry library provides read and write access to Windows registries. At the moment the following formats are supported: - The default Windows NT, 2000 and XP registry format (such as NTUSER.DAT files) - Remote Windows and Samba registries over the DCE/RPC protocol - Samba native registry files (basically LDB files) . The library also contains support for applying and generating registry patch files.