summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-03 19:15:26 +0000
committerGerald Carter <jerry@samba.org>2002-07-03 19:15:26 +0000
commita3c3960edc63eb242620bbda373cfd9ba8e7ad65 (patch)
tree2d1352773e4865c9b352265dcc781f5adb0e1655 /source3/smbd
parent8e52737efc9cf746d7e9fd1f07bc42201dccbfba (diff)
downloadsamba-a3c3960edc63eb242620bbda373cfd9ba8e7ad65.tar.gz
samba-a3c3960edc63eb242620bbda373cfd9ba8e7ad65.tar.bz2
samba-a3c3960edc63eb242620bbda373cfd9ba8e7ad65.zip
first cut at implementing support for browsing printer and driver driver
via regedt32.exe. The regsitry.tdb is only a framework. It is not intended to store values, only key/subkey structure. The data will be retrieved from nt*tdb (for printers) creating a virtual view of the data. You can currently connect to a Samba box using regedt32.exe (haven't tried regedit.exe). Some basic keys are created in registry.tdb for use. There are two problems.... * something is getting freed in the winreg code that causes heap corruption later on. As long as you don't play with the winreg server functionality, I don't think you'll be bitten by this. * no access controls are currently implemented * I can't browse HKLM because regedt32 greys out the SYSTEM subkey. ok so that was three.... (This used to be commit 542d3c93a998083c07b2afa91a7c927c376caf54)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 7d2c62d839..e1e6513659 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -853,6 +853,9 @@ static void usage(char *pname)
if (!share_info_db_init())
exit(1);
+ if (!init_registry())
+ exit(1);
+
if(!initialize_password_db(False))
exit(1);