diff options
author | Günther Deschner <gd@samba.org> | 2013-12-20 17:23:22 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2014-01-07 16:59:39 +0100 |
commit | f1685427ed26da39e3d4ad5be7406c61d7cd1179 (patch) | |
tree | 65d5fe9f00a36dcb683eee00c2b143cc1ccd2b8a /source3/libgpo | |
parent | 88a0c401fce6fb3cde13b532a5a9972f40876421 (diff) | |
download | samba-f1685427ed26da39e3d4ad5be7406c61d7cd1179.tar.gz samba-f1685427ed26da39e3d4ad5be7406c61d7cd1179.tar.xz samba-f1685427ed26da39e3d4ad5be7406c61d7cd1179.zip |
libgpo: when running in verbose mode, printout the parsed PReg file.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/libgpo')
-rw-r--r-- | source3/libgpo/gpext/registry.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libgpo/gpext/registry.c b/source3/libgpo/gpext/registry.c index ad511a527d..1700eabd46 100644 --- a/source3/libgpo/gpext/registry.c +++ b/source3/libgpo/gpext/registry.c @@ -175,6 +175,10 @@ static NTSTATUS reg_parse_registry(TALLOC_CTX *mem_ctx, goto out; } + if (flags & GPO_INFO_FLAG_VERBOSE) { + NDR_PRINT_DEBUG(preg_file, &r); + } + if (!strequal(r.header.signature, "PReg")) { status = NT_STATUS_INVALID_PARAMETER; goto out; |