diff options
Diffstat (limited to 'source4/kdc/mit_samba.c')
-rw-r--r-- | source4/kdc/mit_samba.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/kdc/mit_samba.c b/source4/kdc/mit_samba.c index 9f2d04d8dbc..de3d3a240ed 100644 --- a/source4/kdc/mit_samba.c +++ b/source4/kdc/mit_samba.c @@ -195,13 +195,17 @@ static int mit_samba_get_pac_data(struct mit_samba_context *ctx, TALLOC_CTX *tmp_ctx; DATA_BLOB *pac_blob; NTSTATUS nt_status; + struct samba_kdc_entry *skdc_entry; + + skdc_entry = talloc_get_type_abort(client->ctx, + struct samba_kdc_entry); tmp_ctx = talloc_named(ctx, 0, "mit_samba_get_pac_data context"); if (!tmp_ctx) { return ENOMEM; } - nt_status = samba_kdc_get_pac_blob(tmp_ctx, client, &pac_blob); + nt_status = samba_kdc_get_pac_blob(tmp_ctx, skdc_entry, &pac_blob); if (!NT_STATUS_IS_OK(nt_status)) { talloc_free(tmp_ctx); return EINVAL; |