r7995: * privileges are local except when they're *not*
[sfrench/samba-autobuild/.git] / source3 / registry / reg_frontend.c
index 440f108cc97861ca4eeb5ff3c907b651ac82330b..51ad23b49847a3a36de3daf4e2619b72a8bb4164 100644 (file)
@@ -31,13 +31,16 @@ extern REGISTRY_OPS shares_reg_ops;
 extern REGISTRY_OPS regdb_ops;         /* these are the default */
 
 /* array of REGISTRY_HOOK's which are read into a tree for easy access */
+/* #define REG_TDB_ONLY                1 */
 
 REGISTRY_HOOK reg_hooks[] = {
+#ifndef REG_TDB_ONLY 
   { KEY_PRINTING,              &printing_ops },
   { KEY_PRINTING_2K,           &printing_ops },
   { KEY_PRINTING_PORTS,        &printing_ops },
   { KEY_EVENTLOG,              &eventlog_ops }, 
   { KEY_SHARES,                &shares_reg_ops },
+#endif
   { NULL, NULL }
 };