git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6ade1
)
regtree... sddl
author
Stefan Metzmacher
<metze@samba.org>
Wed, 6 Mar 2013 08:37:19 +0000
(09:37 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 17 May 2018 07:53:18 +0000
(09:53 +0200)
source4/lib/registry/tools/regtree.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/tools/regtree.c
b/source4/lib/registry/tools/regtree.c
index d4319f5f6bbc839797e370e0749d034462aa162f..47584a0df2c92f2219a92c71203cab35b080d69c 100644
(file)
--- a/
source4/lib/registry/tools/regtree.c
+++ b/
source4/lib/registry/tools/regtree.c
@@
-24,6
+24,7
@@
#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
@@
-96,6
+97,7
@@
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);
}