Revert "regtree... sddl"
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Sep 2016 15:52:08 +0000 (17:52 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Oct 2016 12:52:17 +0000 (14:52 +0200)
This reverts commit a485218941c223662905fdcf61149253d3b3aea4.

source4/lib/registry/tools/regtree.c

index 3bcc659b31b34e3794a0ba10c8d5f32a57fba026..56f38e7d4bace04294e65a2b2667a02cb63ae650 100644 (file)
@@ -24,7 +24,6 @@
 #include "lib/events/events.h"
 #include "lib/cmdline/popt_common.h"
 #include "param/param.h"
-#include "../libcli/security/security.h"
 
 /**
  * Print a registry key recursively
@@ -97,7 +96,6 @@ static void print_tree(unsigned int level, struct registry_key *p,
        if (!W_ERROR_IS_OK(reg_get_sec_desc(mem_ctx, p, &sec_desc))) {
                DEBUG(0, ("Error getting security descriptor\n"));
        }
-       printf("sddl: %s\n", sddl_encode(mem_ctx, sec_desc, NULL));
        talloc_free(mem_ctx);
 }