r9894: Add new registry key expected by Windows XP clients.
commit790a29253c950711c8f822b43c3112fe8045e952
authorGerald Carter <jerry@samba.org>
Thu, 1 Sep 2005 14:00:53 +0000 (1 14:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:03:27 +0000 (10 11:03 -0500)
treea4098c0cbea14cc6573f9712f895457d31a5efbe
parentbe36d74ec2bbceb4bae848917ec90e8133a905c8
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.
(This used to be commit b12a05b23782cfcb93fb4811807ef388de97c95c)
source3/registry/reg_db.c