From 9c2e89da1011fdeb82bcf53a69781c07d18df728 Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Mon, 20 Sep 2010 14:24:00 +0200 Subject: s3-docs: document net registry Signed-off-by: Michael Adam --- docs-xml/manpages-3/net.8.xml | 124 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) (limited to 'docs-xml') diff --git a/docs-xml/manpages-3/net.8.xml b/docs-xml/manpages-3/net.8.xml index c5fbc7d618..4d30f41e3e 100644 --- a/docs-xml/manpages-3/net.8.xml +++ b/docs-xml/manpages-3/net.8.xml @@ -1616,6 +1616,130 @@ Delete the list of includes from the provided section (global or share). + +REGISTRY + +Manipulate Samba's registry. + + +The registry commands are: + +net registry enumerate - Enumerate registry keys and values. +net registry createkey - Create a new registry key. +net registry deletekey - Delete a registry key. +net registry getvalue - Print a registry value. +net registry getvalueraw - Print a registry value (raw format). +net registry setvalue - Set a new registry value. +net registry increment - Increment a DWORD registry value under a lock. + +net registry deletevalue - Delete a registry value. +net registry getsd - Get security descriptor. +net registry getsd_sdd1 - Get security descriptor in sddl format. + +net registry setsd_sdd1 - Set security descriptor from sddl format +string. + + + + + REGISTRY ENUMERATE <replaceable>key</replaceable> + Enumerate subkeys and values of key + + + + + REGISTRY CREATEKEY <replaceable>key</replaceable> + Create a new key if not yet existing. + + + + + REGISTRY DELETEKEY <replaceable>key</replaceable> + Delete the given key and all of its + subkeys and values from the registry. + + + + + REGISTRY GETVALUE <replaceable>key</replaceable> <!-- + --><replaceable>name</replaceable> + + Output type and actual value of the value name + of the given key. + + + + + REGISTRY GETVALUERAW <replaceable>key</replaceable> <!-- + --><replaceable>name</replaceable> + Output the actual value of the value name + of the given key. + + + + + REGISTRY SETVALUE <replaceable>key</replaceable> <!-- + --><replaceable>name</replaceable> <replaceable>type</replaceable> <!-- + --><replaceable>value</replaceable> ...<!-- + --> + + Set the value name + of an existing key. + type may be one of + sz, multi_sz or + dword. + In case of multi_sz value may + be given multiple times. + + + + + REGISTRY INCREMENT <replaceable>key</replaceable> <!-- + --><replaceable>name</replaceable> <replaceable>[inc]</replaceable><!-- + --> + + Increment the DWORD value name + of key by inc + while holding a g_lock. + inc defaults to 1. + + + + + REGISTRY DELETEVALUE <replaceable>key</replaceable> <!-- + --><replaceable>name</replaceable> + + Delete the value name + of the given key. + + + + + REGISTRY GETSD <replaceable>key</replaceable> + + Get the security descriptor of the given key. + + + + + REGISTRY GETSD_SDDL <replaceable>key</replaceable> + + Get the security descriptor of the given key as a + Security Descriptor Definition Language (SDDL) string. + + + + + REGISTRY SETSD_SDDL <replaceable>key</replaceable><!-- + --><replaceable>sd</replaceable> + + Set the security descriptor of the given key from a + Security Descriptor Definition Language (SDDL) string sd. + + + + + EVENTLOG -- cgit