krb5_pac_add_buffer - Add a buffer to a PAC handle.¶
-
krb5_error_code
krb5_pac_add_buffer
(krb5_context context, krb5_pac pac, krb5_ui_4 type, const krb5_data * data)¶
param: | [in] context - Library context [in] pac - PAC handle [in] type - Buffer type [in] data - contents |
---|
retval: |
|
---|
This function adds a buffer of type type and contents data to pac if there isn’t already a buffer of this type present.
The valid values of type is one of the following:
KRB5_PAC_LOGON_INFO
- Logon informationKRB5_PAC_CREDENTIALS_INFO
- Credentials informationKRB5_PAC_SERVER_CHECKSUM
- Server checksumKRB5_PAC_PRIVSVR_CHECKSUM
- KDC checksumKRB5_PAC_CLIENT_INFO
- Client name and ticket informationKRB5_PAC_DELEGATION_INFO
- Constrained delegation informationKRB5_PAC_UPN_DNS_INFO
- User principal name and DNS information