From 62e655568ed13f587e98cb08563f515f2a9be570 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 10 Sep 2017 19:11:21 +0200 Subject: netlogon_creds_cli: Print netlogon_creds_CredentialState Add some debugging for the tdb records Signed-off-by: Volker Lendecke Reviewed-by: Andrew Bartlett --- libcli/auth/netlogon_creds_cli.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libcli') 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)) { -- cgit v1.2.1