diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-05-16 11:00:24 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-05-18 01:03:37 +0000 |
commit | 9ff7d6c5c55ff562afbda7b4329c59c83d2933cf (patch) | |
tree | d4e7f8d149b6e89fc4d2ae3f017662467ebe1ce1 | |
parent | 32b49d8a56e353d4f5b8b031aea75324056ba6ad (diff) | |
download | samba-9ff7d6c5c55ff562afbda7b4329c59c83d2933cf.tar.gz |
s4:kdc: Add NTSTATUS strings to log messages
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/kdc/pac-glue.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index f5704bc4354..0d22e835b68 100644 --- a/source4/kdc/pac-glue.c +++ b/source4/kdc/pac-glue.c @@ -1204,7 +1204,8 @@ NTSTATUS samba_kdc_get_user_info_dc(TALLOC_CTX *mem_ctx, &user_info_dc_out->sids, &user_info_dc_out->num_sids); if (!NT_STATUS_IS_OK(nt_status)) { - DBG_ERR("Failed to add asserted identity!\n"); + DBG_ERR("Failed to add asserted identity: %s\n", + nt_errstr(nt_status)); return nt_status; } @@ -1212,7 +1213,8 @@ NTSTATUS samba_kdc_get_user_info_dc(TALLOC_CTX *mem_ctx, claims_valid, user_info_dc_out); if (!NT_STATUS_IS_OK(nt_status)) { - DBG_ERR("Failed to add Claims Valid!\n"); + DBG_ERR("Failed to add Claims Valid: %s\n", + nt_errstr(nt_status)); return nt_status; } @@ -1220,7 +1222,8 @@ NTSTATUS samba_kdc_get_user_info_dc(TALLOC_CTX *mem_ctx, compounded_auth, user_info_dc_out); if (!NT_STATUS_IS_OK(nt_status)) { - DBG_ERR("Failed to add Compounded Authentication!\n"); + DBG_ERR("Failed to add Compounded Authentication: %s\n", + nt_errstr(nt_status)); return nt_status; } @@ -1280,7 +1283,8 @@ NTSTATUS samba_kdc_update_pac_blob(TALLOC_CTX *mem_ctx, compounded_auth, user_info_dc); if (!NT_STATUS_IS_OK(nt_status)) { - DBG_ERR("Failed to add Compounded Authentication!\n"); + DBG_ERR("Failed to add Compounded Authentication: %s\n", + nt_errstr(nt_status)); return nt_status; } |