1krb5_pac_add_buffer - Add a buffer to a PAC handle. 2===================================================== 3 4.. 5 6.. c:function:: krb5_error_code krb5_pac_add_buffer(krb5_context context, krb5_pac pac, krb5_ui_4 type, const krb5_data * data) 7 8.. 9 10 11:param: 12 13 **[in]** **context** - Library context 14 15 **[in]** **pac** - PAC handle 16 17 **[in]** **type** - Buffer type 18 19 **[in]** **data** - contents 20 21 22.. 23 24 25:retval: 26 - 0 Success; otherwise - Kerberos error codes 27 28 29.. 30 31 32 33 34 35 36 37This function adds a buffer of type *type* and contents *data* to *pac* if there isn't already a buffer of this type present. 38 39 40 41The valid values of *type* is one of the following: 42 43 - #KRB5_PAC_LOGON_INFO - Logon information 44 45 46 - #KRB5_PAC_CREDENTIALS_INFO - Credentials information 47 48 49 - #KRB5_PAC_SERVER_CHECKSUM - Server checksum 50 51 52 - #KRB5_PAC_PRIVSVR_CHECKSUM - KDC checksum 53 54 55 - #KRB5_PAC_CLIENT_INFO - Client name and ticket information 56 57 58 - #KRB5_PAC_DELEGATION_INFO - Constrained delegation information 59 60 61 - #KRB5_PAC_UPN_DNS_INFO - User principal name and DNS information 62 63 64 65 66 67 68 69 70.. 71 72 73 74 75 76