summaryrefslogtreecommitdiff
path: root/source3/utils/net_registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_registry.c')
-rw-r--r--source3/utils/net_registry.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c
index 73cbbaaa0d..6b3f6ffbaa 100644
--- a/source3/utils/net_registry.c
+++ b/source3/utils/net_registry.c
@@ -306,6 +306,12 @@ static int net_registry_getvalue(struct net_context *c, int argc,
return net_registry_getvalue_internal(c, argc, argv, false);
}
+static int net_registry_getvalueraw(struct net_context *c, int argc,
+ const char **argv)
+{
+ return net_registry_getvalue_internal(c, argc, argv, true);
+}
+
static int net_registry_setvalue(struct net_context *c, int argc,
const char **argv)
{
@@ -469,6 +475,11 @@ int net_registry(struct net_context *c, int argc, const char **argv)
"Print a registry value",
},
{
+ "getvalueraw",
+ net_registry_getvalueraw,
+ "Print a registry value (raw format)",
+ },
+ {
"setvalue",
net_registry_setvalue,
"Set a new registry value"