Revert "regtree... sddl" master4-tevent
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Sep 2016 15:52:08 +0000 (17:52 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 May 2018 07:53:19 +0000 (09:53 +0200)
This reverts commit a485218941c223662905fdcf61149253d3b3aea4.

source4/lib/registry/tools/regtree.c

index 47584a0df2c92f2219a92c71203cab35b080d69c..d4319f5f6bbc839797e370e0749d034462aa162f 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);
 }