mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
CVE-2020-25718 kdc: Remove unused samba_kdc_get_pac_blob()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
parent
289a526bfd
commit
649c9d1577
@ -860,27 +860,6 @@ NTSTATUS samba_kdc_get_pac_blobs(TALLOC_CTX *mem_ctx,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
NTSTATUS samba_kdc_get_pac_blob(TALLOC_CTX *mem_ctx,
|
||||
struct samba_kdc_entry *p,
|
||||
DATA_BLOB **_logon_info_blob)
|
||||
{
|
||||
NTSTATUS nt_status;
|
||||
DATA_BLOB *upn_blob = NULL;
|
||||
|
||||
nt_status = samba_kdc_get_pac_blobs(mem_ctx, p,
|
||||
_logon_info_blob,
|
||||
NULL, /* cred_blob */
|
||||
&upn_blob,
|
||||
NULL,
|
||||
NULL);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
return nt_status;
|
||||
}
|
||||
|
||||
TALLOC_FREE(upn_blob);
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
NTSTATUS samba_kdc_update_pac_blob(TALLOC_CTX *mem_ctx,
|
||||
krb5_context context,
|
||||
struct ldb_context *samdb,
|
||||
|
@ -53,9 +53,6 @@ NTSTATUS samba_kdc_get_pac_blobs(TALLOC_CTX *mem_ctx,
|
||||
DATA_BLOB **_upn_info_blob,
|
||||
DATA_BLOB **_pac_attrs_blob,
|
||||
const krb5_boolean *pac_request);
|
||||
NTSTATUS samba_kdc_get_pac_blob(TALLOC_CTX *mem_ctx,
|
||||
struct samba_kdc_entry *skdc_entry,
|
||||
DATA_BLOB **_logon_info_blob);
|
||||
|
||||
NTSTATUS samba_kdc_update_pac_blob(TALLOC_CTX *mem_ctx,
|
||||
krb5_context context,
|
||||
|
Loading…
Reference in New Issue
Block a user