1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00
samba-mirror/source4/kdc/pac-glue.h
Andrew Tridgell b8f4e0796d r9648: this fixes the krb5 based login with the pac. The key to this whole saga was
that the logon_time field in the pac must match the authtime field in the ticket we
gave the client in the AS-REP (and thus also the authtime field in the ticket we get
back in the TGS-REQ).

Many thanks to Andrew Bartlett for his patience in showing me the
basic ropes of all this code! This was a joint effort.
(This used to be commit 7bee374b3ffcdb0424a83f909fe5ad504ea3882e)
2007-10-10 13:34:37 -05:00

9 lines
282 B
C

krb5_error_code samba_get_pac(krb5_context context,
struct krb5_kdc_configuration *config,
krb5_principal client,
krb5_keyblock *krbtgt_keyblock,
krb5_keyblock *server_keyblock,
time_t tgs_authtime,
krb5_data *pac);