Author: tpot
Date: 2005-08-18 07:06:19 +0000 (Thu, 18 Aug 2005)
New Revision: 9382

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9382

Log:
Add a dummy registry for HKEY_USERS to get rid of the annoying dialog
presented by regedt32.  I think this hive is dynamically generated
from SAM information.

Modified:
   branches/SAMBA_4_0/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_4_0/source/param/loadparm.c  2005-08-18 07:00:37 UTC (rev 
9381)
+++ branches/SAMBA_4_0/source/param/loadparm.c  2005-08-18 07:06:19 UTC (rev 
9382)
@@ -936,6 +936,12 @@
        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 */

Reply via email to