summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-08-18 07:06:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:33:30 -0500
commit92789c05efd61f7c500816ddd0e0b3a5b28b485a (patch)
treef89678a7c6fe7a2cc26388a2d83742a1767af9d2 /source4
parent09085941d130542cf4609ec4cb5b743ba1c25f42 (diff)
downloadsamba-92789c05efd61f7c500816ddd0e0b3a5b28b485a.tar.gz
samba-92789c05efd61f7c500816ddd0e0b3a5b28b485a.tar.bz2
samba-92789c05efd61f7c500816ddd0e0b3a5b28b485a.zip
r9382: 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. (This used to be commit feb341969e59540bc22e78df0d44b4d42c336d31)
Diffstat (limited to 'source4')
-rw-r--r--source4/param/loadparm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index eb757d40e4..3320fd824f 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -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 */