r9894: Add new registry key expected by Windows XP clients.
authorGerald Carter <jerry@samba.org>
Thu, 1 Sep 2005 14:00:53 +0000 (14:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:03:27 +0000 (11:03 -0500)
commitb12a05b23782cfcb93fb4811807ef388de97c95c
tree17ac56557266c59f1a5a1ef5e3a73af99fd45289
parentee54d1abf929e1b5ad2c202469d1c1c744cc30d9
r9894: Add new registry key expected by Windows XP clients.

  HKLM\\SYSTEM\\CurrentControlSet\\Control\\Termininal Server\\DefaultUserConfiguration

Apparently this started showing up after the winreg-write support
was added in 3.0.20rc1 or so.

Also modifed init_registry_data() to always run and add the
required keys.  Initial values however are only written if
they don't already exist.

This makes it easier to add new keys without having to rev the
tdb version number (which is really unnecessary in this case).

Portions of patch reviewed by Thomas Bork on the general samba ml.
source/registry/reg_db.c