mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
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>
This commit is contained in:
parent
88a0c401fc
commit
f1685427ed
@ -17,7 +17,7 @@ import "misc.idl";
|
||||
]
|
||||
interface preg
|
||||
{
|
||||
typedef [public] struct {
|
||||
typedef [public,flag(NDR_PAHEX)] struct {
|
||||
[charset(DOS),value("["),noprint] uint8 _opening_bracket[2];
|
||||
nstring keyname;
|
||||
[charset(DOS),value(";"),noprint] uint8 _sep1[2];
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user