1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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)
This commit is contained in:
Tim Potter 2005-08-18 07:06:19 +00:00 committed by Gerald (Jerry) Carter
parent 09085941d1
commit 92789c05ef

View 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 */