r9382: Add a dummy registry for HKEY_USERS to get rid of the annoying dialog
authorTim Potter <tpot@samba.org>
Thu, 18 Aug 2005 07:06:19 +0000 (07:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:33:30 +0000 (13:33 -0500)
presented by regedt32.  I think this hive is dynamically generated
from SAM information.
(This used to be commit feb341969e59540bc22e78df0d44b4d42c336d31)

source4/param/loadparm.c

index eb757d40e490403e330068aea595f6dc0d2aad72..3320fd824f88f5bf8e3c8a893705897e7c2be632 100644 (file)
@@ -936,6 +936,12 @@ static void init_globals(void)
        do_parameter("spoolss database", "spoolss.ldb");
        do_parameter("wins database", "wins.ldb");
        do_parameter("registry:HKEY_LOCAL_MACHINE", "hklm.ldb");
+
+       /* This hive should be dynamically generated by Samba using
+          data from the sam, but for the moment leave it in a tdb to
+          keep regedt32 from popping up an annoying dialog. */
+       do_parameter("registry:HKEY_USERS", "hku.ldb");
+       
        do_parameter("guest account", GUEST_ACCOUNT);
 
        /* using UTF8 by default allows us to support all chars */