summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/regtree.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-29 12:12:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:02 -0500
commit9ba6c3885acb79d9c35e600f9a67f8ed0200edfd (patch)
treef730ef7a01d9d42f43df21fca4b4bfb513739209 /source4/lib/registry/tools/regtree.c
parenta29c24f180cc21b358c51a86632eb1cc2cb17868 (diff)
downloadsamba-9ba6c3885acb79d9c35e600f9a67f8ed0200edfd.tar.gz
samba-9ba6c3885acb79d9c35e600f9a67f8ed0200edfd.tar.bz2
samba-9ba6c3885acb79d9c35e600f9a67f8ed0200edfd.zip
r3368: Default to rpc backend with binding "ncalrpc:" if no backend was specified in the various registry tools.
Allow opening a remote registry to partly fail (I.e. if not all hives could be opened) (This used to be commit 313034b10d7a70d079e2bec1af38cf2a7cd918c1)
Diffstat (limited to 'source4/lib/registry/tools/regtree.c')
-rw-r--r--source4/lib/registry/tools/regtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c
index bc0055a891..66bce1e499 100644
--- a/source4/lib/registry/tools/regtree.c
+++ b/source4/lib/registry/tools/regtree.c
@@ -70,7 +70,7 @@ static void print_tree(int l, struct registry_key *p, int fullpath, int novals)
int main(int argc, char **argv)
{
int opt, i;
- const char *backend = "dir";
+ const char *backend = "rpc";
const char *credentials = NULL;
poptContext pc;
struct registry_context *h;