diff options
author | Volker Lendecke <vl@samba.org> | 2017-09-10 19:11:21 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2017-09-25 09:43:12 +0200 |
commit | 62e655568ed13f587e98cb08563f515f2a9be570 (patch) | |
tree | cd39fcc9b5b2d304f0d447cbd163c9114b39c107 /libcli | |
parent | 0463527e4ed367b54c4822f6b179ae7a3dd78cd7 (diff) | |
download | samba-62e655568ed13f587e98cb08563f515f2a9be570.tar.gz |
netlogon_creds_cli: Print netlogon_creds_CredentialState
Add some debugging for the tdb records
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/auth/netlogon_creds_cli.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libcli/auth/netlogon_creds_cli.c b/libcli/auth/netlogon_creds_cli.c index 7a6c630b78c..178d9c88b92 100644 --- a/libcli/auth/netlogon_creds_cli.c +++ b/libcli/auth/netlogon_creds_cli.c @@ -495,6 +495,10 @@ static void netlogon_creds_cli_fetch_parser(TDB_DATA key, TDB_DATA data, return; } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_DEBUG(netlogon_creds_CredentialState, state->creds); + } + tmp_flags = state->creds->negotiate_flags; tmp_flags &= state->required_flags; if (tmp_flags != state->required_flags) { @@ -596,6 +600,10 @@ NTSTATUS netlogon_creds_cli_store(struct netlogon_creds_cli_context *context, return NT_STATUS_INVALID_PAGE_PROTECTION; } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_DEBUG(netlogon_creds_CredentialState, creds); + } + ndr_err = ndr_push_struct_blob(&blob, creds, creds, (ndr_push_flags_fn_t)ndr_push_netlogon_creds_CredentialState); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { |