diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-06-28 14:46:49 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-06-28 19:23:43 +0200 |
commit | 73b1e1466cb3a2f3cadc2865b0226a48b3ff6f27 (patch) | |
tree | 1f97f89afd2fcf2081033564146437028604f75c /source4/kdc/pac-glue.h | |
parent | 19090607980c48dc565377dce830310d3a0bca7a (diff) | |
download | samba-73b1e1466cb3a2f3cadc2865b0226a48b3ff6f27.tar.gz |
s4:kdc: generate the S4U_DELEGATION_INFO in the regenerated pac
metze
Diffstat (limited to 'source4/kdc/pac-glue.h')
-rw-r--r-- | source4/kdc/pac-glue.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source4/kdc/pac-glue.h b/source4/kdc/pac-glue.h index c5cc661c435..66c20cdc1e2 100644 --- a/source4/kdc/pac-glue.h +++ b/source4/kdc/pac-glue.h @@ -23,6 +23,7 @@ krb5_error_code samba_make_krb5_pac(krb5_context context, DATA_BLOB *pac_blob, + DATA_BLOB *deleg_blob, krb5_pac *pac); bool samba_princ_needs_pac(struct hdb_entry_ex *princ); @@ -35,7 +36,14 @@ NTSTATUS samba_kdc_get_pac_blob(TALLOC_CTX *mem_ctx, NTSTATUS samba_kdc_update_pac_blob(TALLOC_CTX *mem_ctx, krb5_context context, - krb5_pac *pac, DATA_BLOB *pac_blob); + const krb5_pac pac, DATA_BLOB *pac_blob); + +NTSTATUS samba_kdc_update_delegation_info_blob(TALLOC_CTX *mem_ctx, + krb5_context context, + const krb5_pac pac, + const krb5_principal server_principal, + const krb5_principal proxy_principal, + DATA_BLOB *pac_blob); void samba_kdc_build_edata_reply(NTSTATUS nt_status, DATA_BLOB *e_data); |