mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli/auth: add netlogon_creds_cli_debug_string()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12262 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
8a209e5a0c
commit
abe427775e
@ -484,6 +484,14 @@ NTSTATUS netlogon_creds_cli_context_tmp(const char *client_computer,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
char *netlogon_creds_cli_debug_string(
|
||||
const struct netlogon_creds_cli_context *context,
|
||||
TALLOC_CTX *mem_ctx)
|
||||
{
|
||||
return talloc_asprintf(mem_ctx, "netlogon_creds_cli:%s",
|
||||
context->db.key_name);
|
||||
}
|
||||
|
||||
enum dcerpc_AuthLevel netlogon_creds_cli_auth_level(
|
||||
struct netlogon_creds_cli_context *context)
|
||||
{
|
||||
|
@ -52,6 +52,10 @@ NTSTATUS netlogon_creds_cli_context_tmp(const char *client_computer,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct netlogon_creds_cli_context **_context);
|
||||
|
||||
char *netlogon_creds_cli_debug_string(
|
||||
const struct netlogon_creds_cli_context *context,
|
||||
TALLOC_CTX *mem_ctx);
|
||||
|
||||
enum dcerpc_AuthLevel netlogon_creds_cli_auth_level(
|
||||
struct netlogon_creds_cli_context *context);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user