summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-04-08 11:26:40 +0200
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:06 -0400
commit65eb38bc00a723052d8ac371cb2cf7fd68e0954b (patch)
treec354bba492047dbf77d48fe0c9739c086c60058e
parent5604a78f0919f77fdf041989e3e2e0f61da80fd9 (diff)
downloadsamba-65eb38bc00a723052d8ac371cb2cf7fd68e0954b.tar.gz
samba-65eb38bc00a723052d8ac371cb2cf7fd68e0954b.tar.bz2
samba-65eb38bc00a723052d8ac371cb2cf7fd68e0954b.zip
s3-registry: Init all needed registry keys for printing.
Signed-off-by: Jim McDonough <jmcd@samba.org>
-rw-r--r--source3/registry/reg_backend_db.c3
-rw-r--r--source3/registry/reg_init_full.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 22619eac26..6c0b5e3aa8 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -59,6 +59,9 @@ static const char *builtin_registry_paths[] = {
KEY_PRINTING_2K,
KEY_PRINTING_PORTS,
KEY_PRINTING,
+ KEY_PRINTING "\\Forms",
+ KEY_PRINTING "\\Environments",
+ KEY_PRINTING "\\Printers",
KEY_SHARES,
KEY_EVENTLOG,
KEY_SMBCONF,
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c
index 8c012e89ee..c99d974f55 100644
--- a/source3/registry/reg_init_full.c
+++ b/source3/registry/reg_init_full.c
@@ -52,9 +52,9 @@ struct registry_hook {
struct registry_hook reg_hooks[] = {
#ifndef REG_TDB_ONLY
- { KEY_PRINTING, &printing_ops },
- { KEY_PRINTING_2K, &printing_ops },
- { KEY_PRINTING_PORTS, &printing_ops },
+ { KEY_PRINTING "\\Printers", &printing_ops },
+ { KEY_PRINTING_2K, &regdb_ops },
+ { KEY_PRINTING_PORTS, &regdb_ops },
{ KEY_SHARES, &shares_reg_ops },
{ KEY_SMBCONF, &smbconf_reg_ops },
{ KEY_NETLOGON_PARAMS, &netlogon_params_reg_ops },