aboutsummaryrefslogtreecommitdiff
path: root/doc/html/_sources
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/_sources')
-rw-r--r--doc/html/_sources/about.txt35
-rw-r--r--doc/html/_sources/admin/admin_commands/index.txt17
-rw-r--r--doc/html/_sources/admin/admin_commands/k5srvutil.txt62
-rw-r--r--doc/html/_sources/admin/admin_commands/kadmin_local.txt995
-rw-r--r--doc/html/_sources/admin/admin_commands/kadmind.txt123
-rw-r--r--doc/html/_sources/admin/admin_commands/kdb5_ldap_util.txt462
-rw-r--r--doc/html/_sources/admin/admin_commands/kdb5_util.txt497
-rw-r--r--doc/html/_sources/admin/admin_commands/kprop.txt60
-rw-r--r--doc/html/_sources/admin/admin_commands/kpropd.txt130
-rw-r--r--doc/html/_sources/admin/admin_commands/kproplog.txt85
-rw-r--r--doc/html/_sources/admin/admin_commands/krb5kdc.txt123
-rw-r--r--doc/html/_sources/admin/admin_commands/ktutil.txt133
-rw-r--r--doc/html/_sources/admin/admin_commands/sserver.txt105
-rw-r--r--doc/html/_sources/admin/advanced/index.txt9
-rw-r--r--doc/html/_sources/admin/advanced/ldapbackend.txt143
-rw-r--r--doc/html/_sources/admin/advanced/retiring-des.txt417
-rw-r--r--doc/html/_sources/admin/appl_servers.txt147
-rw-r--r--doc/html/_sources/admin/auth_indicator.txt57
-rw-r--r--doc/html/_sources/admin/backup_host.txt34
-rw-r--r--doc/html/_sources/admin/conf_files/index.txt20
-rw-r--r--doc/html/_sources/admin/conf_files/kadm5_acl.txt149
-rw-r--r--doc/html/_sources/admin/conf_files/kdc_conf.txt937
-rw-r--r--doc/html/_sources/admin/conf_files/krb5_conf.txt1171
-rw-r--r--doc/html/_sources/admin/conf_ldap.txt161
-rw-r--r--doc/html/_sources/admin/database.txt894
-rw-r--r--doc/html/_sources/admin/enctypes.txt146
-rw-r--r--doc/html/_sources/admin/env_variables.txt46
-rw-r--r--doc/html/_sources/admin/host_config.txt231
-rw-r--r--doc/html/_sources/admin/https.txt48
-rw-r--r--doc/html/_sources/admin/index.txt31
-rw-r--r--doc/html/_sources/admin/install.txt21
-rw-r--r--doc/html/_sources/admin/install_appl_srv.txt83
-rw-r--r--doc/html/_sources/admin/install_clients.txt58
-rw-r--r--doc/html/_sources/admin/install_kdc.txt533
-rw-r--r--doc/html/_sources/admin/lockout.txt150
-rw-r--r--doc/html/_sources/admin/otp.txt100
-rw-r--r--doc/html/_sources/admin/pkinit.txt309
-rw-r--r--doc/html/_sources/admin/princ_dns.txt109
-rw-r--r--doc/html/_sources/admin/realm_config.txt265
-rw-r--r--doc/html/_sources/admin/troubleshoot.txt135
-rw-r--r--doc/html/_sources/admin/various_envs.txt33
-rw-r--r--doc/html/_sources/appdev/gssapi.txt618
-rw-r--r--doc/html/_sources/appdev/h5l_mit_apidiff.txt31
-rw-r--r--doc/html/_sources/appdev/index.txt15
-rw-r--r--doc/html/_sources/appdev/init_creds.txt304
-rw-r--r--doc/html/_sources/appdev/princ_handle.txt79
-rw-r--r--doc/html/_sources/appdev/refs/api/index.txt411
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_425_conv_principal.txt59
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_524_conv_principal.txt60
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_524_convert_creds.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_address_compare.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_address_order.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_address_search.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_allow_weak_crypto.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_aname_to_localname.txt61
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_anonymous_principal.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_anonymous_realm.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_appdefault_boolean.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_appdefault_string.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_free.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_genaddrs.txt66
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_get_checksum_func.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getaddrs.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getauthenticator.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getflags.txt60
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getkey.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getkey_k.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getlocalseqnumber.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getlocalsubkey.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getrcache.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getrecvsubkey.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getrecvsubkey_k.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getremoteseqnumber.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getremotesubkey.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getsendsubkey.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_getsendsubkey_k.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_init.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_initivector.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_set_checksum_func.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_set_req_cksumtype.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setaddrs.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setflags.txt60
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setports.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setrcache.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setrecvsubkey.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setrecvsubkey_k.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setsendsubkey.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setsendsubkey_k.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_auth_con_setuseruserkey.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_build_principal.txt68
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_build_principal_alloc_va.txt66
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_build_principal_ext.txt60
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_build_principal_va.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_block_size.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_checksum_length.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_crypto_length.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_crypto_length_iov.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_decrypt.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_decrypt_iov.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_derive_prfplus.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_encrypt.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_encrypt_iov.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_encrypt_length.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_enctype_compare.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_free_state.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_fx_cf2_simple.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_init_state.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_is_coll_proof_cksum.txt43
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_is_keyed_cksum.txt43
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_keyed_checksum_types.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_keylengths.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_make_checksum.txt68
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_make_checksum_iov.txt68
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_make_random_key.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_padding_length.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_prf.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_prf_length.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_prfplus.txt61
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_random_add_entropy.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_random_make_octets.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_random_os_entropy.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_random_seed.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_random_to_key.txt64
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_string_to_key.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_string_to_key_with_params.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_valid_cksumtype.txt43
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_valid_enctype.txt43
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_verify_checksum.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_c_verify_checksum_iov.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_calculate_checksum.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_cache_match.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_close.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_copy_creds.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_default.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_default_name.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_destroy.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_dup.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_end_seq_get.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_gen_new.txt39
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_get_config.txt58
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_get_flags.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_get_full_name.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_get_name.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_get_principal.txt58
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_get_type.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_initialize.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_last_change_time.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_lock.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_move.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_new_unique.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_next_cred.txt60
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_remove_cred.txt64
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_resolve.txt58
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_retrieve_cred.txt94
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_select.txt73
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_set_config.txt66
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_set_default_name.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_set_flags.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_start_seq_get.txt59
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_store_cred.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_support_switch.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_switch.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cc_unlock.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_free.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_new.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_next.txt62
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cccol_have_content.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cccol_last_change_time.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cccol_lock.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cccol_unlock.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_change_password.txt77
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_check_clockskew.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_checksum_size.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_chpw_message.txt62
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_cksumtype_to_string.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_clear_error_message.txt40
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_addresses.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_authdata.txt59
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_authenticator.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_checksum.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_context.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_creds.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_data.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_error_message.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_keyblock.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_keyblock_contents.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_principal.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_copy_ticket.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_decode_authdata_container.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_decode_ticket.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_decrypt.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_deltat_to_string.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_eblock_enctype.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_encode_authdata_container.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_encrypt.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_encrypt_size.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_enctype_to_name.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_enctype_to_string.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_expand_hostname.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_find_authdata.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_finish_key.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_finish_random_key.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_addresses.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_ap_rep_enc_part.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_authdata.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_authenticator.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_checksum.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_checksum_contents.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_cksumtypes.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_context.txt40
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_cred_contents.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_creds.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_data.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_data_contents.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_default_realm.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_enctypes.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_error.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_error_message.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_host_realm.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_keyblock.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_keyblock_contents.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_keytab_entry_contents.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_principal.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_string.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_tgt_creds.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_ticket.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_free_unparsed_name.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_fwd_tgt_creds.txt68
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_credentials.txt81
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_credentials_renew.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_credentials_validate.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_default_realm.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_error_message.txt62
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_fallback_host_realm.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_host_realm.txt63
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_keytab.txt58
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_password.txt58
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_skey.txt58
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_keytab.txt62
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_alloc.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_free.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_get_fast_flags.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_init.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_address_list.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_anonymous.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_canonicalize.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_change_password_prompt.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_etype_list.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_expire_callback.txt78
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_ccache.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_ccache_name.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_flags.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_forwardable.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_in_ccache.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_out_ccache.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_pa.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_pac_request.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_preauth_list.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_proxiable.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_renew_life.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_responder.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_salt.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_tkt_life.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_init_creds_password.txt75
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_permitted_enctypes.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_profile.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_prompt_types.txt43
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_renewed_creds.txt62
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_server_rcache.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_time_offsets.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_get_validated_creds.txt67
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_context.txt58
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_context_profile.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_free.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_get.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_get_creds.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_get_error.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_get_times.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_init.txt59
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_set_keytab.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_set_password.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_set_service.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_creds_step.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_keyblock.txt61
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_random_key.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_init_secure_context.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_is_config_principal.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_is_referral_realm.txt43
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_is_thread_safe.txt43
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_create_key.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_decrypt.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_decrypt_iov.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_encrypt.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_encrypt_iov.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_free_key.txt39
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_key_enctype.txt39
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_key_keyblock.txt41
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_make_checksum.txt68
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_make_checksum_iov.txt68
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_prf.txt61
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_reference_key.txt39
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_verify_checksum.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_k_verify_checksum_iov.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_add_entry.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_client_default.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_close.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_default.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_default_name.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_dup.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_end_seq_get.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_free_entry.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_get_entry.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_get_name.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_get_type.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_have_content.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_next_entry.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_read_service_key.txt68
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_remove_entry.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_resolve.txt66
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kt_start_seq_get.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_kuserok.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_make_authdata_kdc_issued.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_merge_authdata.txt61
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_1cred.txt60
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_error.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_ncred.txt72
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_priv.txt82
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_rep.txt59
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_rep_dce.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_req.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_req_extended.txt74
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_mk_safe.txt83
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_os_localaddr.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_pac_add_buffer.txt75
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_pac_free.txt42
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_pac_get_buffer.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_pac_get_types.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_pac_init.txt49
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_pac_parse.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_pac_sign.txt60
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_pac_verify.txt69
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_parse_name.txt74
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_parse_name_flags.txt77
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_prepend_error_message.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_principal2salt.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_principal_compare.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_principal_compare_any_realm.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_principal_compare_flags.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_process_key.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_prompter_posix.txt64
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_random_key.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_rd_cred.txt67
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_rd_error.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_rd_priv.txt76
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_rd_rep.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_rd_rep_dce.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_rd_req.txt105
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_rd_safe.txt80
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_read_password.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_realm_compare.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_recvauth.txt68
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_recvauth_version.txt61
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_get_challenge.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_list_questions.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_otp_challenge_free.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_otp_get_challenge.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_otp_set_answer.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_challenge_free.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_get_challenge.txt56
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_set_answer.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_responder_set_answer.txt57
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_salttype_to_string.txt47
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_sendauth.txt98
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_server_decrypt_ticket_keytab.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_default_realm.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_default_tgs_enctypes.txt61
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_error_message.txt44
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_kdc_recv_hook.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_kdc_send_hook.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_password.txt74
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_password_using_ccache.txt74
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_principal_realm.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_real_time.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_trace_callback.txt63
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_set_trace_filename.txt61
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_sname_match.txt59
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_sname_to_principal.txt74
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_string_to_cksumtype.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_string_to_deltat.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_string_to_enctype.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_string_to_key.txt50
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_string_to_salttype.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_string_to_timestamp.txt45
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_timeofday.txt52
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_timestamp_to_sfstring.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_timestamp_to_string.txt51
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_tkt_creds_free.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get.txt53
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get_creds.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get_times.txt55
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_tkt_creds_init.txt67
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_tkt_creds_step.txt69
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_unparse_name.txt58
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_unparse_name_ext.txt60
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_unparse_name_flags.txt70
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_unparse_name_flags_ext.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_us_timeofday.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_use_enctype.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_verify_authdata_kdc_issued.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_verify_checksum.txt54
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_verify_init_creds.txt65
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_verify_init_creds_opt_init.txt40
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_verify_init_creds_opt_set_ap_req_nofail.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_vprepend_error_message.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_vset_error_message.txt46
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_vwrap_error_message.txt48
-rw-r--r--doc/html/_sources/appdev/refs/api/krb5_wrap_error_message.txt46
-rw-r--r--doc/html/_sources/appdev/refs/index.txt9
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_ADDRPORT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_CHAOS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_DDP.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_INET.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_INET6.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_IPPORT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_ISO.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_IS_LOCAL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_NETBIOS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ADDRTYPE_XNS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/AD_TYPE_EXTERNAL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/AD_TYPE_FIELD_TYPE_MASK.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/AD_TYPE_REGISTERED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/AD_TYPE_RESERVED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/AP_OPTS_ETYPE_NEGOTIATION.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/AP_OPTS_MUTUAL_REQUIRED.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/AP_OPTS_RESERVED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/AP_OPTS_USE_SESSION_KEY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/AP_OPTS_USE_SUBKEY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/AP_OPTS_WIRE_MASK.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CMAC_CAMELLIA128.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CMAC_CAMELLIA256.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CRC32.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_DESCBC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_MD5_ARCFOUR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_96_AES128.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_96_AES256.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_DES3.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA256_128_AES128.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA384_192_AES256.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_MD5_HMAC_ARCFOUR.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_NIST_SHA.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD4.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD4_DES.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD5.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD5_DES.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_AES128_CTS_HMAC_SHA1_96.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_AES128_CTS_HMAC_SHA256_128.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_AES256_CTS_HMAC_SHA1_96.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_AES256_CTS_HMAC_SHA384_192.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_ARCFOUR_HMAC.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_ARCFOUR_HMAC_EXP.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_CAMELLIA128_CTS_CMAC.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_CAMELLIA256_CTS_CMAC.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_ENV.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_RAW.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_SHA.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_SHA1.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_CRC.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_MD4.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_MD5.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_RAW.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_HMAC_SHA1.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_DSA_SHA1_CMS.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_MD5_RSA_CMS.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_NULL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_RC2_CBC_ENV.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_RSA_ENV.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_RSA_ES_OAEP_ENV.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_SHA1_RSA_CMS.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/ENCTYPE_UNKNOWN.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_ALLOW_POSTDATE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_CANONICALIZE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_CNAME_IN_ADDL_TKT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_DISABLE_TRANSITED_CHECK.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_ENC_TKT_IN_SKEY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_FORWARDABLE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_FORWARDED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_POSTDATED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_PROXIABLE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_PROXY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEW.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEWABLE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEWABLE_OK.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_REQUEST_ANONYMOUS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_OPT_VALIDATE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KDC_TKT_COMMON_MASK.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_ALTAUTH_ATT_CHALLENGE_RESPONSE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_ANONYMOUS_PRINCSTR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_ANONYMOUS_REALMSTR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AP_REP.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AP_REQ.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AS_REP.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AS_REQ.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_AND_OR.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_AUTH_INDICATOR.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_CAMMAC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_ETYPE_NEGOTIATION.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_FX_ARMOR.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_IF_RELEVANT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_KDC_ISSUED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_MANDATORY_FOR_KDC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_OSF_DCE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_SESAME.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_SIGNTICKET.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_WIN2K_PAC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_DO_SEQUENCE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_DO_TIME.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_PERMIT_ALL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_RET_SEQUENCE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_RET_TIME.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_USE_SUBKEY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRED.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_CHECKSUM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_DATA.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_EMPTY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_HEADER.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_PADDING.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_SIGN_ONLY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_STREAM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_TRAILER.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_CYBERSAFE_SECUREID.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_DOMAIN_X500_COMPRESS.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_ENCPADATA_REQ_ENC_PA_REP.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_ERROR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_FAST_REQUIRED.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GC_CACHED.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GC_CANONICALIZE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GC_CONSTRAINED_DELEGATION.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GC_FORWARDABLE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GC_NO_STORE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GC_NO_TRANSIT_CHECK.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GC_USER_USER.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ANONYMOUS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_CANONICALIZE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_FORWARDABLE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_PROXIABLE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_SALT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_TKT_LIFE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_INIT_CONTEXT_KDC.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_INIT_CONTEXT_SECURE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_INIT_CREDS_STEP_FLAG_CONTINUE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_INT16_MAX.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_INT16_MIN.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_INT32_MAX.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_INT32_MIN.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_ITE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_KDCISSUED_CKSUM.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_MTE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_SIGNEDPATH.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_APP_DATA_CKSUM.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_APP_DATA_ENCRYPT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REP_ENCPART.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REQ_AUTH.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REQ_AUTH_CKSUM.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REP_ENCPART.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REQ.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REQ_PA_ENC_TS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_CAMMAC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_ENC_CHALLENGE_CLIENT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_ENC_CHALLENGE_KDC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_ENC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_FINISHED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_REP.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_REQ_CHKSUM.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_MIC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_IAKERB_FINISHED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KDC_REP_TICKET.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_CRED_ENCPART.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_ERROR_CKSUM.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_PRIV_ENCPART.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_SAFE_CKSUM.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_FX_COOKIE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_OTP_REQUEST.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_PKINIT_KX.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_CHALLENGE_CKSUM.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_RESPONSE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REP_ENCPART_SESSKEY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REP_ENCPART_SUBKEY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AD_SESSKEY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AUTH.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AUTH_CKSUM.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_ACCESSDENIED.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_AUTHERROR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_BAD_VERSION.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_HARDERROR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_INITIAL_FLAG_NEEDED.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_MALFORMED.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_SOFTERROR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_SUCCESS.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_ACCT_EXPTIME.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_INITIAL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_RENEWAL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_REQ.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_TGT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_TGT_ISSUED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_PW_EXPTIME.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_NONE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_ACCT_EXPTIME.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_INITIAL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_RENEWAL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_REQ.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_TGT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_TGT_ISSUED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_PW_EXPTIME.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_ENTERPRISE_PRINCIPAL.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_ENT_PRINCIPAL_AND_ID.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_MS_PRINCIPAL.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_MS_PRINCIPAL_AND_ID.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_PRINCIPAL.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_SMTP_NAME.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_HST.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_INST.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_XHST.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_UID.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_UNKNOWN.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_WELLKNOWN.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_NT_X500_PRINCIPAL.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PAC_CLIENT_INFO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PAC_CREDENTIALS_INFO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PAC_DELEGATION_INFO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PAC_LOGON_INFO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PAC_PRIVSVR_CHECKSUM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PAC_SERVER_CHECKSUM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PAC_UPN_DNS_INFO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AFS3_SALT.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AP_REQ.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AS_CHECKSUM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENCRYPTED_CHALLENGE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_SANDIA_SECURID.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_TIMESTAMP.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_UNIX_TIME.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ETYPE_INFO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ETYPE_INFO2.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FOR_USER.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_COOKIE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_ERROR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_FAST.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_GET_FROM_TYPED_DATA.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_NONE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OSF_DCE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_CHALLENGE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_PIN_CHANGE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_REQUEST.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PAC_REQUEST.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PKINIT_KX.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REP.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REP_OLD.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REQ.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REQ_OLD.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PW_SALT.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_REFERRAL.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_S4U_X509_USER.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_CHALLENGE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_CHALLENGE_2.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_REDIRECT.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_RESPONSE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_RESPONSE_2.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SESAME.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SVR_REFERRAL_INFO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_TGS_REQ.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PADATA_USE_SPECIFIED_KVNO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_CASEFOLD.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_ENTERPRISE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_IGNORE_REALM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_UTF8.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_ENTERPRISE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_IGNORE_REALM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_NO_REALM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_DISPLAY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_NO_REALM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_SHORT.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PRIV.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_NEW_PASSWORD.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_PASSWORD.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_PREAUTH.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_PVNO.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_REALM_BRANCH_CHAR.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RECVAUTH_BADAUTHVERS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RECVAUTH_SKIP_VERSION.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_REFERRAL_REALM.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_NEXTOTP.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_ALPHANUMERIC.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_DECIMAL.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_HEXADECIMAL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_COUNT_LOW.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_FINAL_TRY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_LOCKED.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt63
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_PASSWORD.txt19
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_PKINIT.txt38
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_SAFE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_SAM_MUST_PK_ENCRYPT_SAD.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_SAM_SEND_ENCRYPTED_SAD.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_SAM_USE_SAD_AS_KEY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_2ND_TKT.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_AUTHDATA.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_FLAGS.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_FLAGS_EXACT.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_IS_SKEY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_KTYPE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_SRV_NAMEONLY.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_TIMES.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_TIMES_EXACT.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_NOTICKET.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_OPENCLOSE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TC_SUPPORTED_KTYPES.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TGS_NAME.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TGS_NAME_SIZE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TGS_REP.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TGS_REQ.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_TKT_CREDS_STEP_FLAG_CONTINUE.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/KRB5_WELLKNOWN_NAMESTR.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/LR_TYPE_INTERPRETATION_MASK.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/LR_TYPE_THIS_SERVER_ONLY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/MAX_KEYTAB_NAME_LEN.txt18
-rw-r--r--doc/html/_sources/appdev/refs/macros/MSEC_DIRBIT.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/MSEC_VAL_MASK.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/SALT_TYPE_AFS_LENGTH.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/SALT_TYPE_NO_LENGTH.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/THREEPARAMOPEN.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_ANONYMOUS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_ENC_PA_REP.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_FORWARDABLE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_FORWARDED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_HW_AUTH.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_INITIAL.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_INVALID.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_MAY_POSTDATE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_OK_AS_DELEGATE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_POSTDATED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_PRE_AUTH.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_PROXIABLE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_PROXY.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_RENEWABLE.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/TKT_FLG_TRANSIT_POLICY_CHECKED.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/VALID_INT_BITS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/VALID_UINT_BITS.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/index.txt380
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb524_convert_creds_kdc.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb524_init_ets.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_const.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_princ_component.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_princ_name.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_princ_realm.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm_data.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm_length.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_princ_size.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_princ_type.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_roundup.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_x.txt17
-rw-r--r--doc/html/_sources/appdev/refs/macros/krb5_xc.txt17
-rw-r--r--doc/html/_sources/appdev/refs/types/index.txt109
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_address.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_addrtype.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_ap_rep.txt35
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_ap_rep_enc_part.txt50
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_ap_req.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_auth_context.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_authdata.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_authdatatype.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_authenticator.txt65
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_boolean.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_cc_cursor.txt21
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_ccache.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_cccol_cursor.txt21
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_checksum.txt44
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_cksumtype.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_const_pointer.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_const_principal.txt50
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_context.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_cred.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_cred_enc_part.txt60
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_cred_info.txt60
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_creds.txt80
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_crypto_iov.txt35
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_cryptotype.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_data.txt39
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_deltat.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_enc_data.txt44
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_enc_kdc_rep_part.txt80
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_enc_tkt_part.txt65
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_encrypt_block.txt39
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_enctype.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_error.txt75
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_error_code.txt21
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_expire_callback_func.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_flags.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_get_init_creds_opt.txt80
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_gic_opt_pa_data.txt35
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_init_creds_context.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_int16.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_int32.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_kdc_rep.txt60
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_kdc_req.txt105
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_key.txt21
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_keyblock.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_keytab.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_keytab_entry.txt50
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_keyusage.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_kt_cursor.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_kvno.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_last_req_entry.txt40
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_magic.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_mk_req_checksum_func.txt21
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_msgtype.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_octet.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_pa_data.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_pa_pac_req.txt29
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_pa_server_referral_data.txt49
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_pa_svr_referral_data.txt29
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_pac.txt21
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_pointer.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_post_recv_fn.txt22
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_pre_send_fn.txt24
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_preauthtype.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_principal.txt49
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_principal_data.txt49
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_prompt.txt40
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_prompt_type.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_prompter_fct.txt21
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_pwd_data.txt39
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_rcache.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_replay_data.txt40
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_responder_context.txt22
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_responder_fn.txt21
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_responder_otp_challenge.txt34
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_responder_otp_tokeninfo.txt59
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_responder_pkinit_challenge.txt29
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_responder_pkinit_identity.txt34
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_response.txt49
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_ticket.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_ticket_times.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_timestamp.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_tkt_authent.txt45
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_tkt_creds_context.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_trace_callback.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_trace_info.txt30
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_transited.txt40
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_typed_data.txt44
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_ui_2.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_ui_4.txt20
-rw-r--r--doc/html/_sources/appdev/refs/types/krb5_verify_init_creds_opt.txt34
-rw-r--r--doc/html/_sources/appdev/refs/types/passwd_phrase_element.txt39
-rw-r--r--doc/html/_sources/basic/ccache_def.txt153
-rw-r--r--doc/html/_sources/basic/date_format.txt140
-rw-r--r--doc/html/_sources/basic/index.txt14
-rw-r--r--doc/html/_sources/basic/keytab_def.txt61
-rw-r--r--doc/html/_sources/basic/rcache_def.txt97
-rw-r--r--doc/html/_sources/basic/stash_file_def.txt25
-rw-r--r--doc/html/_sources/build/directory_org.txt75
-rw-r--r--doc/html/_sources/build/doing_build.txt158
-rw-r--r--doc/html/_sources/build/index.txt63
-rw-r--r--doc/html/_sources/build/options2configure.txt409
-rw-r--r--doc/html/_sources/build/osconf.txt26
-rw-r--r--doc/html/_sources/build_this.txt82
-rw-r--r--doc/html/_sources/copyright.txt8
-rw-r--r--doc/html/_sources/formats/ccache_file_format.txt176
-rw-r--r--doc/html/_sources/formats/cookie.txt60
-rw-r--r--doc/html/_sources/formats/index.txt9
-rw-r--r--doc/html/_sources/formats/keytab_file_format.txt51
-rw-r--r--doc/html/_sources/index.txt18
-rw-r--r--doc/html/_sources/mitK5defaults.txt77
-rw-r--r--doc/html/_sources/mitK5features.txt329
-rw-r--r--doc/html/_sources/mitK5license.txt11
-rw-r--r--doc/html/_sources/plugindev/ccselect.txt28
-rw-r--r--doc/html/_sources/plugindev/clpreauth.txt54
-rw-r--r--doc/html/_sources/plugindev/general.txt98
-rw-r--r--doc/html/_sources/plugindev/gssapi.txt101
-rw-r--r--doc/html/_sources/plugindev/hostrealm.txt39
-rw-r--r--doc/html/_sources/plugindev/index.txt35
-rw-r--r--doc/html/_sources/plugindev/internal.txt32
-rw-r--r--doc/html/_sources/plugindev/kadm5_hook.txt27
-rw-r--r--doc/html/_sources/plugindev/kdcpreauth.txt79
-rw-r--r--doc/html/_sources/plugindev/localauth.txt43
-rw-r--r--doc/html/_sources/plugindev/locate.txt32
-rw-r--r--doc/html/_sources/plugindev/profile.txt96
-rw-r--r--doc/html/_sources/plugindev/pwqual.txt25
-rw-r--r--doc/html/_sources/resources.txt60
-rw-r--r--doc/html/_sources/user/index.txt10
-rw-r--r--doc/html/_sources/user/pwd_mgmt.txt106
-rw-r--r--doc/html/_sources/user/tkt_mgmt.txt314
-rw-r--r--doc/html/_sources/user/user_commands/index.txt17
-rw-r--r--doc/html/_sources/user/user_commands/kdestroy.txt77
-rw-r--r--doc/html/_sources/user/user_commands/kinit.txt228
-rw-r--r--doc/html/_sources/user/user_commands/klist.txt132
-rw-r--r--doc/html/_sources/user/user_commands/kpasswd.txt39
-rw-r--r--doc/html/_sources/user/user_commands/krb5-config.txt83
-rw-r--r--doc/html/_sources/user/user_commands/ksu.txt387
-rw-r--r--doc/html/_sources/user/user_commands/kswitch.txt56
-rw-r--r--doc/html/_sources/user/user_commands/kvno.txt86
-rw-r--r--doc/html/_sources/user/user_commands/sclient.txt24
-rw-r--r--doc/html/_sources/user/user_config/index.txt12
-rw-r--r--doc/html/_sources/user/user_config/k5identity.txt64
-rw-r--r--doc/html/_sources/user/user_config/k5login.txt54
926 files changed, 45205 insertions, 0 deletions
diff --git a/doc/html/_sources/about.txt b/doc/html/_sources/about.txt
new file mode 100644
index 000000000000..904f612bf34b
--- /dev/null
+++ b/doc/html/_sources/about.txt
@@ -0,0 +1,35 @@
+Contributing to the MIT Kerberos Documentation
+==============================================
+
+We are looking for documentation writers and editors who could contribute
+towards improving the MIT KC documentation content. If you are an experienced
+Kerberos developer and/or administrator, please consider sharing your knowledge
+and experience with the Kerberos Community. You can suggest your own topic or
+write about any of the topics listed
+`here <http://k5wiki.kerberos.org/wiki/Projects/Documentation_Tasks>`__.
+
+If you have any questions, comments, or suggestions on the existing documents,
+please send your feedback via email to krb5-bugs@mit.edu. The HTML version of
+this documentation has a "FEEDBACK" link to the krb5-bugs@mit.edu email
+address with a pre-constructed subject line.
+
+
+Background
+----------
+
+Starting with release 1.11, the Kerberos documentation set is
+unified in a central form. Man pages, HTML documentation, and PDF
+documents are compiled from reStructuredText sources, and the application
+developer documentation incorporates Doxygen markup from the source
+tree. This project was undertaken along the outline described
+`here <http://k5wiki.kerberos.org/wiki/Projects/Kerberos_Documentation>`__.
+
+Previous versions of Kerberos 5 attempted to maintain separate documentation
+in the texinfo format, with separate groff manual pages. Having the API
+documentation disjoint from the source code implementing that API
+resulted in the documentation becoming stale, and over time the documentation
+ceased to match reality. With a fresh start and a source format that is
+easier to use and maintain, reStructuredText-based documents should provide
+an improved experience for the user. Consolidating all the documentation
+formats into a single source document makes the documentation set easier
+to maintain.
diff --git a/doc/html/_sources/admin/admin_commands/index.txt b/doc/html/_sources/admin/admin_commands/index.txt
new file mode 100644
index 000000000000..e8dc76524ed6
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/index.txt
@@ -0,0 +1,17 @@
+Administration programs
+========================
+
+.. toctree::
+ :maxdepth: 1
+
+ kadmin_local.rst
+ kadmind.rst
+ kdb5_util.rst
+ kdb5_ldap_util.rst
+ krb5kdc.rst
+ kprop.rst
+ kpropd.rst
+ kproplog.rst
+ ktutil.rst
+ k5srvutil.rst
+ sserver.rst
diff --git a/doc/html/_sources/admin/admin_commands/k5srvutil.txt b/doc/html/_sources/admin/admin_commands/k5srvutil.txt
new file mode 100644
index 000000000000..b873d907774b
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/k5srvutil.txt
@@ -0,0 +1,62 @@
+.. _k5srvutil(1):
+
+k5srvutil
+=========
+
+SYNOPSIS
+--------
+
+**k5srvutil** *operation*
+[**-i**]
+[**-f** *filename*]
+[**-e** *keysalts*]
+
+DESCRIPTION
+-----------
+
+k5srvutil allows an administrator to list keys currently in
+a keytab, to obtain new keys for a principal currently in a keytab,
+or to delete non-current keys from a keytab.
+
+*operation* must be one of the following:
+
+**list**
+ Lists the keys in a keytab, showing version number and principal
+ name.
+
+**change**
+ Uses the kadmin protocol to update the keys in the Kerberos
+ database to new randomly-generated keys, and updates the keys in
+ the keytab to match. If a key's version number doesn't match the
+ version number stored in the Kerberos server's database, then the
+ operation will fail. If the **-i** flag is given, k5srvutil will
+ prompt for confirmation before changing each key. If the **-k**
+ option is given, the old and new keys will be displayed.
+ Ordinarily, keys will be generated with the default encryption
+ types and key salts. This can be overridden with the **-e**
+ option. Old keys are retained in the keytab so that existing
+ tickets continue to work, but **delold** should be used after
+ such tickets expire, to prevent attacks against the old keys.
+
+**delold**
+ Deletes keys that are not the most recent version from the keytab.
+ This operation should be used some time after a change operation
+ to remove old keys, after existing tickets issued for the service
+ have expired. If the **-i** flag is given, then k5srvutil will
+ prompt for confirmation for each principal.
+
+**delete**
+ Deletes particular keys in the keytab, interactively prompting for
+ each key.
+
+In all cases, the default keytab is used unless this is overridden by
+the **-f** option.
+
+k5srvutil uses the :ref:`kadmin(1)` program to edit the keytab in
+place.
+
+
+SEE ALSO
+--------
+
+:ref:`kadmin(1)`, :ref:`ktutil(1)`
diff --git a/doc/html/_sources/admin/admin_commands/kadmin_local.txt b/doc/html/_sources/admin/admin_commands/kadmin_local.txt
new file mode 100644
index 000000000000..50c3b99ea428
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/kadmin_local.txt
@@ -0,0 +1,995 @@
+.. _kadmin(1):
+
+kadmin
+======
+
+SYNOPSIS
+--------
+
+.. _kadmin_synopsis:
+
+**kadmin**
+[**-O**\|\ **-N**]
+[**-r** *realm*]
+[**-p** *principal*]
+[**-q** *query*]
+[[**-c** *cache_name*]\|[**-k** [**-t** *keytab*]]\|\ **-n**]
+[**-w** *password*]
+[**-s** *admin_server*\ [:*port*]]
+[command args...]
+
+**kadmin.local**
+[**-r** *realm*]
+[**-p** *principal*]
+[**-q** *query*]
+[**-d** *dbname*]
+[**-e** *enc*:*salt* ...]
+[**-m**]
+[**-x** *db_args*]
+[command args...]
+
+.. _kadmin_synopsis_end:
+
+
+DESCRIPTION
+-----------
+
+kadmin and kadmin.local are command-line interfaces to the Kerberos V5
+administration system. They provide nearly identical functionalities;
+the difference is that kadmin.local directly accesses the KDC
+database, while kadmin performs operations using :ref:`kadmind(8)`.
+Except as explicitly noted otherwise, this man page will use "kadmin"
+to refer to both versions. kadmin provides for the maintenance of
+Kerberos principals, password policies, and service key tables
+(keytabs).
+
+The remote kadmin client uses Kerberos to authenticate to kadmind
+using the service principal ``kadmin/ADMINHOST`` (where *ADMINHOST* is
+the fully-qualified hostname of the admin server) or ``kadmin/admin``.
+If the credentials cache contains a ticket for one of these
+principals, and the **-c** credentials_cache option is specified, that
+ticket is used to authenticate to kadmind. Otherwise, the **-p** and
+**-k** options are used to specify the client Kerberos principal name
+used to authenticate. Once kadmin has determined the principal name,
+it requests a service ticket from the KDC, and uses that service
+ticket to authenticate to kadmind.
+
+Since kadmin.local directly accesses the KDC database, it usually must
+be run directly on the master KDC with sufficient permissions to read
+the KDC database. If the KDC database uses the LDAP database module,
+kadmin.local can be run on any host which can access the LDAP server.
+
+
+OPTIONS
+-------
+
+.. _kadmin_options:
+
+**-r** *realm*
+ Use *realm* as the default database realm.
+
+**-p** *principal*
+ Use *principal* to authenticate. Otherwise, kadmin will append
+ ``/admin`` to the primary principal name of the default ccache,
+ the value of the **USER** environment variable, or the username as
+ obtained with getpwuid, in order of preference.
+
+**-k**
+ Use a keytab to decrypt the KDC response instead of prompting for
+ a password. In this case, the default principal will be
+ ``host/hostname``. If there is no keytab specified with the
+ **-t** option, then the default keytab will be used.
+
+**-t** *keytab*
+ Use *keytab* to decrypt the KDC response. This can only be used
+ with the **-k** option.
+
+**-n**
+ Requests anonymous processing. Two types of anonymous principals
+ are supported. For fully anonymous Kerberos, configure PKINIT on
+ the KDC and configure **pkinit_anchors** in the client's
+ :ref:`krb5.conf(5)`. Then use the **-n** option with a principal
+ of the form ``@REALM`` (an empty principal name followed by the
+ at-sign and a realm name). If permitted by the KDC, an anonymous
+ ticket will be returned. A second form of anonymous tickets is
+ supported; these realm-exposed tickets hide the identity of the
+ client but not the client's realm. For this mode, use ``kinit
+ -n`` with a normal principal name. If supported by the KDC, the
+ principal (but not realm) will be replaced by the anonymous
+ principal. As of release 1.8, the MIT Kerberos KDC only supports
+ fully anonymous operation.
+
+**-c** *credentials_cache*
+ Use *credentials_cache* as the credentials cache. The
+ cache should contain a service ticket for the ``kadmin/ADMINHOST``
+ (where *ADMINHOST* is the fully-qualified hostname of the admin
+ server) or ``kadmin/admin`` service; it can be acquired with the
+ :ref:`kinit(1)` program. If this option is not specified, kadmin
+ requests a new service ticket from the KDC, and stores it in its
+ own temporary ccache.
+
+**-w** *password*
+ Use *password* instead of prompting for one. Use this option with
+ care, as it may expose the password to other users on the system
+ via the process list.
+
+**-q** *query*
+ Perform the specified query and then exit.
+
+**-d** *dbname*
+ Specifies the name of the KDC database. This option does not
+ apply to the LDAP database module.
+
+**-s** *admin_server*\ [:*port*]
+ Specifies the admin server which kadmin should contact.
+
+**-m**
+ If using kadmin.local, prompt for the database master password
+ instead of reading it from a stash file.
+
+**-e** "*enc*:*salt* ..."
+ Sets the keysalt list to be used for any new keys created. See
+ :ref:`Keysalt_lists` in :ref:`kdc.conf(5)` for a list of possible
+ values.
+
+**-O**
+ Force use of old AUTH_GSSAPI authentication flavor.
+
+**-N**
+ Prevent fallback to AUTH_GSSAPI authentication flavor.
+
+**-x** *db_args*
+ Specifies the database specific arguments. See the next section
+ for supported options.
+
+.. _kadmin_options_end:
+
+Starting with release 1.14, if any command-line arguments remain after
+the options, they will be treated as a single query to be executed.
+This mode of operation is intended for scripts and behaves differently
+from the interactive mode in several respects:
+
+* Query arguments are split by the shell, not by kadmin.
+* Informational and warning messages are suppressed. Error messages
+ and query output (e.g. for **get_principal**) will still be
+ displayed.
+* Confirmation prompts are disabled (as if **-force** was given).
+ Password prompts will still be issued as required.
+* The exit status will be non-zero if the query fails.
+
+The **-q** option does not carry these behavior differences; the query
+will be processed as if it was entered interactively. The **-q**
+option cannot be used in combination with a query in the remaining
+arguments.
+
+.. _dboptions:
+
+DATABASE OPTIONS
+----------------
+
+Database options can be used to override database-specific defaults.
+Supported options for the DB2 module are:
+
+ **-x dbname=**\ \*filename*
+ Specifies the base filename of the DB2 database.
+
+ **-x lockiter**
+ Make iteration operations hold the lock for the duration of
+ the entire operation, rather than temporarily releasing the
+ lock while handling each principal. This is the default
+ behavior, but this option exists to allow command line
+ override of a [dbmodules] setting. First introduced in
+ release 1.13.
+
+ **-x unlockiter**
+ Make iteration operations unlock the database for each
+ principal, instead of holding the lock for the duration of the
+ entire operation. First introduced in release 1.13.
+
+Supported options for the LDAP module are:
+
+ **-x host=**\ *ldapuri*
+ Specifies the LDAP server to connect to by a LDAP URI.
+
+ **-x binddn=**\ *bind_dn*
+ Specifies the DN used to bind to the LDAP server.
+
+ **-x bindpwd=**\ *password*
+ Specifies the password or SASL secret used to bind to the LDAP
+ server. Using this option may expose the password to other
+ users on the system via the process list; to avoid this,
+ instead stash the password using the **stashsrvpw** command of
+ :ref:`kdb5_ldap_util(8)`.
+
+ **-x sasl_mech=**\ *mechanism*
+ Specifies the SASL mechanism used to bind to the LDAP server.
+ The bind DN is ignored if a SASL mechanism is used. New in
+ release 1.13.
+
+ **-x sasl_authcid=**\ *name*
+ Specifies the authentication name used when binding to the
+ LDAP server with a SASL mechanism, if the mechanism requires
+ one. New in release 1.13.
+
+ **-x sasl_authzid=**\ *name*
+ Specifies the authorization name used when binding to the LDAP
+ server with a SASL mechanism. New in release 1.13.
+
+ **-x sasl_realm=**\ *realm*
+ Specifies the realm used when binding to the LDAP server with
+ a SASL mechanism, if the mechanism uses one. New in release
+ 1.13.
+
+ **-x debug=**\ *level*
+ sets the OpenLDAP client library debug level. *level* is an
+ integer to be interpreted by the library. Debugging messages
+ are printed to standard error. New in release 1.12.
+
+
+COMMANDS
+--------
+
+When using the remote client, available commands may be restricted
+according to the privileges specified in the :ref:`kadm5.acl(5)` file
+on the admin server.
+
+.. _add_principal:
+
+add_principal
+~~~~~~~~~~~~~
+
+ **add_principal** [*options*] *newprinc*
+
+Creates the principal *newprinc*, prompting twice for a password. If
+no password policy is specified with the **-policy** option, and the
+policy named ``default`` is assigned to the principal if it exists.
+However, creating a policy named ``default`` will not automatically
+assign this policy to previously existing principals. This policy
+assignment can be suppressed with the **-clearpolicy** option.
+
+This command requires the **add** privilege.
+
+Aliases: **addprinc**, **ank**
+
+Options:
+
+**-expire** *expdate*
+ (:ref:`getdate` string) The expiration date of the principal.
+
+**-pwexpire** *pwexpdate*
+ (:ref:`getdate` string) The password expiration date.
+
+**-maxlife** *maxlife*
+ (:ref:`duration` or :ref:`getdate` string) The maximum ticket life
+ for the principal.
+
+**-maxrenewlife** *maxrenewlife*
+ (:ref:`duration` or :ref:`getdate` string) The maximum renewable
+ life of tickets for the principal.
+
+**-kvno** *kvno*
+ The initial key version number.
+
+**-policy** *policy*
+ The password policy used by this principal. If not specified, the
+ policy ``default`` is used if it exists (unless **-clearpolicy**
+ is specified).
+
+**-clearpolicy**
+ Prevents any policy from being assigned when **-policy** is not
+ specified.
+
+{-\|+}\ **allow_postdated**
+ **-allow_postdated** prohibits this principal from obtaining
+ postdated tickets. **+allow_postdated** clears this flag.
+
+{-\|+}\ **allow_forwardable**
+ **-allow_forwardable** prohibits this principal from obtaining
+ forwardable tickets. **+allow_forwardable** clears this flag.
+
+{-\|+}\ **allow_renewable**
+ **-allow_renewable** prohibits this principal from obtaining
+ renewable tickets. **+allow_renewable** clears this flag.
+
+{-\|+}\ **allow_proxiable**
+ **-allow_proxiable** prohibits this principal from obtaining
+ proxiable tickets. **+allow_proxiable** clears this flag.
+
+{-\|+}\ **allow_dup_skey**
+ **-allow_dup_skey** disables user-to-user authentication for this
+ principal by prohibiting this principal from obtaining a session
+ key for another user. **+allow_dup_skey** clears this flag.
+
+{-\|+}\ **requires_preauth**
+ **+requires_preauth** requires this principal to preauthenticate
+ before being allowed to kinit. **-requires_preauth** clears this
+ flag. When **+requires_preauth** is set on a service principal,
+ the KDC will only issue service tickets for that service principal
+ if the client's initial authentication was performed using
+ preauthentication.
+
+{-\|+}\ **requires_hwauth**
+ **+requires_hwauth** requires this principal to preauthenticate
+ using a hardware device before being allowed to kinit.
+ **-requires_hwauth** clears this flag. When **+requires_hwauth** is
+ set on a service principal, the KDC will only issue service tickets
+ for that service principal if the client's initial authentication was
+ performed using a hardware device to preauthenticate.
+
+{-\|+}\ **ok_as_delegate**
+ **+ok_as_delegate** sets the **okay as delegate** flag on tickets
+ issued with this principal as the service. Clients may use this
+ flag as a hint that credentials should be delegated when
+ authenticating to the service. **-ok_as_delegate** clears this
+ flag.
+
+{-\|+}\ **allow_svr**
+ **-allow_svr** prohibits the issuance of service tickets for this
+ principal. **+allow_svr** clears this flag.
+
+{-\|+}\ **allow_tgs_req**
+ **-allow_tgs_req** specifies that a Ticket-Granting Service (TGS)
+ request for a service ticket for this principal is not permitted.
+ **+allow_tgs_req** clears this flag.
+
+{-\|+}\ **allow_tix**
+ **-allow_tix** forbids the issuance of any tickets for this
+ principal. **+allow_tix** clears this flag.
+
+{-\|+}\ **needchange**
+ **+needchange** forces a password change on the next initial
+ authentication to this principal. **-needchange** clears this
+ flag.
+
+{-\|+}\ **password_changing_service**
+ **+password_changing_service** marks this principal as a password
+ change service principal.
+
+{-\|+}\ **ok_to_auth_as_delegate**
+ **+ok_to_auth_as_delegate** allows this principal to acquire
+ forwardable tickets to itself from arbitrary users, for use with
+ constrained delegation.
+
+{-\|+}\ **no_auth_data_required**
+ **+no_auth_data_required** prevents PAC or AD-SIGNEDPATH data from
+ being added to service tickets for the principal.
+
+{-\|+}\ **lockdown_keys**
+ **+lockdown_keys** prevents keys for this principal from leaving
+ the KDC via kadmind. The chpass and extract operations are denied
+ for a principal with this attribute. The chrand operation is
+ allowed, but will not return the new keys. The delete and rename
+ operations are also denied if this attribute is set, in order to
+ prevent a malicious administrator from replacing principals like
+ krbtgt/* or kadmin/* with new principals without the attribute.
+ This attribute can be set via the network protocol, but can only
+ be removed using kadmin.local.
+
+**-randkey**
+ Sets the key of the principal to a random value.
+
+**-nokey**
+ Causes the principal to be created with no key. New in release
+ 1.12.
+
+**-pw** *password*
+ Sets the password of the principal to the specified string and
+ does not prompt for a password. Note: using this option in a
+ shell script may expose the password to other users on the system
+ via the process list.
+
+**-e** *enc*:*salt*,...
+ Uses the specified keysalt list for setting the keys of the
+ principal. See :ref:`Keysalt_lists` in :ref:`kdc.conf(5)` for a
+ list of possible values.
+
+**-x** *db_princ_args*
+ Indicates database-specific options. The options for the LDAP
+ database module are:
+
+ **-x dn=**\ *dn*
+ Specifies the LDAP object that will contain the Kerberos
+ principal being created.
+
+ **-x linkdn=**\ *dn*
+ Specifies the LDAP object to which the newly created Kerberos
+ principal object will point.
+
+ **-x containerdn=**\ *container_dn*
+ Specifies the container object under which the Kerberos
+ principal is to be created.
+
+ **-x tktpolicy=**\ *policy*
+ Associates a ticket policy to the Kerberos principal.
+
+ .. note::
+
+ - The **containerdn** and **linkdn** options cannot be
+ specified with the **dn** option.
+ - If the *dn* or *containerdn* options are not specified while
+ adding the principal, the principals are created under the
+ principal container configured in the realm or the realm
+ container.
+ - *dn* and *containerdn* should be within the subtrees or
+ principal container configured in the realm.
+
+Example::
+
+ kadmin: addprinc jennifer
+ WARNING: no policy specified for "jennifer@ATHENA.MIT.EDU";
+ defaulting to no policy.
+ Enter password for principal jennifer@ATHENA.MIT.EDU:
+ Re-enter password for principal jennifer@ATHENA.MIT.EDU:
+ Principal "jennifer@ATHENA.MIT.EDU" created.
+ kadmin:
+
+.. _add_principal_end:
+
+.. _modify_principal:
+
+modify_principal
+~~~~~~~~~~~~~~~~
+
+ **modify_principal** [*options*] *principal*
+
+Modifies the specified principal, changing the fields as specified.
+The options to **add_principal** also apply to this command, except
+for the **-randkey**, **-pw**, and **-e** options. In addition, the
+option **-clearpolicy** will clear the current policy of a principal.
+
+This command requires the *modify* privilege.
+
+Alias: **modprinc**
+
+Options (in addition to the **addprinc** options):
+
+**-unlock**
+ Unlocks a locked principal (one which has received too many failed
+ authentication attempts without enough time between them according
+ to its password policy) so that it can successfully authenticate.
+
+.. _modify_principal_end:
+
+.. _rename_principal:
+
+rename_principal
+~~~~~~~~~~~~~~~~
+
+ **rename_principal** [**-force**] *old_principal* *new_principal*
+
+Renames the specified *old_principal* to *new_principal*. This
+command prompts for confirmation, unless the **-force** option is
+given.
+
+This command requires the **add** and **delete** privileges.
+
+Alias: **renprinc**
+
+.. _rename_principal_end:
+
+.. _delete_principal:
+
+delete_principal
+~~~~~~~~~~~~~~~~
+
+ **delete_principal** [**-force**] *principal*
+
+Deletes the specified *principal* from the database. This command
+prompts for deletion, unless the **-force** option is given.
+
+This command requires the **delete** privilege.
+
+Alias: **delprinc**
+
+.. _delete_principal_end:
+
+.. _change_password:
+
+change_password
+~~~~~~~~~~~~~~~
+
+ **change_password** [*options*] *principal*
+
+Changes the password of *principal*. Prompts for a new password if
+neither **-randkey** or **-pw** is specified.
+
+This command requires the **changepw** privilege, or that the
+principal running the program is the same as the principal being
+changed.
+
+Alias: **cpw**
+
+The following options are available:
+
+**-randkey**
+ Sets the key of the principal to a random value.
+
+**-pw** *password*
+ Set the password to the specified string. Using this option in a
+ script may expose the password to other users on the system via
+ the process list.
+
+**-e** *enc*:*salt*,...
+ Uses the specified keysalt list for setting the keys of the
+ principal. See :ref:`Keysalt_lists` in :ref:`kdc.conf(5)` for a
+ list of possible values.
+
+**-keepold**
+ Keeps the existing keys in the database. This flag is usually not
+ necessary except perhaps for ``krbtgt`` principals.
+
+Example::
+
+ kadmin: cpw systest
+ Enter password for principal systest@BLEEP.COM:
+ Re-enter password for principal systest@BLEEP.COM:
+ Password for systest@BLEEP.COM changed.
+ kadmin:
+
+.. _change_password_end:
+
+.. _purgekeys:
+
+purgekeys
+~~~~~~~~~
+
+ **purgekeys** [**-all**\|\ **-keepkvno** *oldest_kvno_to_keep*] *principal*
+
+Purges previously retained old keys (e.g., from **change_password
+-keepold**) from *principal*. If **-keepkvno** is specified, then
+only purges keys with kvnos lower than *oldest_kvno_to_keep*. If
+**-all** is specified, then all keys are purged. The **-all** option
+is new in release 1.12.
+
+This command requires the **modify** privilege.
+
+.. _purgekeys_end:
+
+.. _get_principal:
+
+get_principal
+~~~~~~~~~~~~~
+
+ **get_principal** [**-terse**] *principal*
+
+Gets the attributes of principal. With the **-terse** option, outputs
+fields as quoted tab-separated strings.
+
+This command requires the **inquire** privilege, or that the principal
+running the the program to be the same as the one being listed.
+
+Alias: **getprinc**
+
+Examples::
+
+ kadmin: getprinc tlyu/admin
+ Principal: tlyu/admin@BLEEP.COM
+ Expiration date: [never]
+ Last password change: Mon Aug 12 14:16:47 EDT 1996
+ Password expiration date: [none]
+ Maximum ticket life: 0 days 10:00:00
+ Maximum renewable life: 7 days 00:00:00
+ Last modified: Mon Aug 12 14:16:47 EDT 1996 (bjaspan/admin@BLEEP.COM)
+ Last successful authentication: [never]
+ Last failed authentication: [never]
+ Failed password attempts: 0
+ Number of keys: 2
+ Key: vno 1, des-cbc-crc
+ Key: vno 1, des-cbc-crc:v4
+ Attributes:
+ Policy: [none]
+
+ kadmin: getprinc -terse systest
+ systest@BLEEP.COM 3 86400 604800 1
+ 785926535 753241234 785900000
+ tlyu/admin@BLEEP.COM 786100034 0 0
+ kadmin:
+
+.. _get_principal_end:
+
+.. _list_principals:
+
+list_principals
+~~~~~~~~~~~~~~~
+
+ **list_principals** [*expression*]
+
+Retrieves all or some principal names. *expression* is a shell-style
+glob expression that can contain the wild-card characters ``?``,
+``*``, and ``[]``. All principal names matching the expression are
+printed. If no expression is provided, all principal names are
+printed. If the expression does not contain an ``@`` character, an
+``@`` character followed by the local realm is appended to the
+expression.
+
+This command requires the **list** privilege.
+
+Alias: **listprincs**, **get_principals**, **get_princs**
+
+Example::
+
+ kadmin: listprincs test*
+ test3@SECURE-TEST.OV.COM
+ test2@SECURE-TEST.OV.COM
+ test1@SECURE-TEST.OV.COM
+ testuser@SECURE-TEST.OV.COM
+ kadmin:
+
+.. _list_principals_end:
+
+.. _get_strings:
+
+get_strings
+~~~~~~~~~~~
+
+ **get_strings** *principal*
+
+Displays string attributes on *principal*.
+
+This command requires the **inquire** privilege.
+
+Alias: **getstr**
+
+.. _get_strings_end:
+
+.. _set_string:
+
+set_string
+~~~~~~~~~~
+
+ **set_string** *principal* *name* *value*
+
+Sets a string attribute on *principal*. String attributes are used to
+supply per-principal configuration to the KDC and some KDC plugin
+modules. The following string attribute names are recognized by the
+KDC:
+
+**require_auth**
+ Specifies an authentication indicator which is required to
+ authenticate to the principal as a service. Multiple indicators
+ can be specified, separated by spaces; in this case any of the
+ specified indicators will be accepted. (New in release 1.14.)
+
+**session_enctypes**
+ Specifies the encryption types supported for session keys when the
+ principal is authenticated to as a server. See
+ :ref:`Encryption_types` in :ref:`kdc.conf(5)` for a list of the
+ accepted values.
+
+**otp**
+ Enables One Time Passwords (OTP) preauthentication for a client
+ *principal*. The *value* is a JSON string representing an array
+ of objects, each having optional ``type`` and ``username`` fields.
+
+This command requires the **modify** privilege.
+
+Alias: **setstr**
+
+Example::
+
+ set_string host/foo.mit.edu session_enctypes aes128-cts
+ set_string user@FOO.COM otp "[{""type"":""hotp"",""username"":""al""}]"
+
+.. _set_string_end:
+
+.. _del_string:
+
+del_string
+~~~~~~~~~~
+
+ **del_string** *principal* *key*
+
+Deletes a string attribute from *principal*.
+
+This command requires the **delete** privilege.
+
+Alias: **delstr**
+
+.. _del_string_end:
+
+.. _add_policy:
+
+add_policy
+~~~~~~~~~~
+
+ **add_policy** [*options*] *policy*
+
+Adds a password policy named *policy* to the database.
+
+This command requires the **add** privilege.
+
+Alias: **addpol**
+
+The following options are available:
+
+**-maxlife** *time*
+ (:ref:`duration` or :ref:`getdate` string) Sets the maximum
+ lifetime of a password.
+
+**-minlife** *time*
+ (:ref:`duration` or :ref:`getdate` string) Sets the minimum
+ lifetime of a password.
+
+**-minlength** *length*
+ Sets the minimum length of a password.
+
+**-minclasses** *number*
+ Sets the minimum number of character classes required in a
+ password. The five character classes are lower case, upper case,
+ numbers, punctuation, and whitespace/unprintable characters.
+
+**-history** *number*
+ Sets the number of past keys kept for a principal. This option is
+ not supported with the LDAP KDC database module.
+
+.. _policy_maxfailure:
+
+**-maxfailure** *maxnumber*
+ Sets the number of authentication failures before the principal is
+ locked. Authentication failures are only tracked for principals
+ which require preauthentication. The counter of failed attempts
+ resets to 0 after a successful attempt to authenticate. A
+ *maxnumber* value of 0 (the default) disables lockout.
+
+.. _policy_failurecountinterval:
+
+**-failurecountinterval** *failuretime*
+ (:ref:`duration` or :ref:`getdate` string) Sets the allowable time
+ between authentication failures. If an authentication failure
+ happens after *failuretime* has elapsed since the previous
+ failure, the number of authentication failures is reset to 1. A
+ *failuretime* value of 0 (the default) means forever.
+
+.. _policy_lockoutduration:
+
+**-lockoutduration** *lockouttime*
+ (:ref:`duration` or :ref:`getdate` string) Sets the duration for
+ which the principal is locked from authenticating if too many
+ authentication failures occur without the specified failure count
+ interval elapsing. A duration of 0 (the default) means the
+ principal remains locked out until it is administratively unlocked
+ with ``modprinc -unlock``.
+
+**-allowedkeysalts**
+ Specifies the key/salt tuples supported for long-term keys when
+ setting or changing a principal's password/keys. See
+ :ref:`Keysalt_lists` in :ref:`kdc.conf(5)` for a list of the
+ accepted values, but note that key/salt tuples must be separated
+ with commas (',') only. To clear the allowed key/salt policy use
+ a value of '-'.
+
+Example::
+
+ kadmin: add_policy -maxlife "2 days" -minlength 5 guests
+ kadmin:
+
+.. _add_policy_end:
+
+.. _modify_policy:
+
+modify_policy
+~~~~~~~~~~~~~
+
+ **modify_policy** [*options*] *policy*
+
+Modifies the password policy named *policy*. Options are as described
+for **add_policy**.
+
+This command requires the **modify** privilege.
+
+Alias: **modpol**
+
+.. _modify_policy_end:
+
+.. _delete_policy:
+
+delete_policy
+~~~~~~~~~~~~~
+
+ **delete_policy** [**-force**] *policy*
+
+Deletes the password policy named *policy*. Prompts for confirmation
+before deletion. The command will fail if the policy is in use by any
+principals.
+
+This command requires the **delete** privilege.
+
+Alias: **delpol**
+
+Example::
+
+ kadmin: del_policy guests
+ Are you sure you want to delete the policy "guests"?
+ (yes/no): yes
+ kadmin:
+
+.. _delete_policy_end:
+
+.. _get_policy:
+
+get_policy
+~~~~~~~~~~
+
+ **get_policy** [ **-terse** ] *policy*
+
+Displays the values of the password policy named *policy*. With the
+**-terse** flag, outputs the fields as quoted strings separated by
+tabs.
+
+This command requires the **inquire** privilege.
+
+Alias: getpol
+
+Examples::
+
+ kadmin: get_policy admin
+ Policy: admin
+ Maximum password life: 180 days 00:00:00
+ Minimum password life: 00:00:00
+ Minimum password length: 6
+ Minimum number of password character classes: 2
+ Number of old keys kept: 5
+ Reference count: 17
+
+ kadmin: get_policy -terse admin
+ admin 15552000 0 6 2 5 17
+ kadmin:
+
+The "Reference count" is the number of principals using that policy.
+With the LDAP KDC database module, the reference count field is not
+meaningful.
+
+.. _get_policy_end:
+
+.. _list_policies:
+
+list_policies
+~~~~~~~~~~~~~
+
+ **list_policies** [*expression*]
+
+Retrieves all or some policy names. *expression* is a shell-style
+glob expression that can contain the wild-card characters ``?``,
+``*``, and ``[]``. All policy names matching the expression are
+printed. If no expression is provided, all existing policy names are
+printed.
+
+This command requires the **list** privilege.
+
+Aliases: **listpols**, **get_policies**, **getpols**.
+
+Examples::
+
+ kadmin: listpols
+ test-pol
+ dict-only
+ once-a-min
+ test-pol-nopw
+
+ kadmin: listpols t*
+ test-pol
+ test-pol-nopw
+ kadmin:
+
+.. _list_policies_end:
+
+.. _ktadd:
+
+ktadd
+~~~~~
+
+ | **ktadd** [options] *principal*
+ | **ktadd** [options] **-glob** *princ-exp*
+
+Adds a *principal*, or all principals matching *princ-exp*, to a
+keytab file. Each principal's keys are randomized in the process.
+The rules for *princ-exp* are described in the **list_principals**
+command.
+
+This command requires the **inquire** and **changepw** privileges.
+With the **-glob** form, it also requires the **list** privilege.
+
+The options are:
+
+**-k[eytab]** *keytab*
+ Use *keytab* as the keytab file. Otherwise, the default keytab is
+ used.
+
+**-e** *enc*:*salt*,...
+ Uses the specified keysalt list for setting the new keys of the
+ principal. See :ref:`Keysalt_lists` in :ref:`kdc.conf(5)` for a
+ list of possible values.
+
+**-q**
+ Display less verbose information.
+
+**-norandkey**
+ Do not randomize the keys. The keys and their version numbers stay
+ unchanged. This option cannot be specified in combination with the
+ **-e** option.
+
+An entry for each of the principal's unique encryption types is added,
+ignoring multiple keys with the same encryption type but different
+salt types.
+
+Example::
+
+ kadmin: ktadd -k /tmp/foo-new-keytab host/foo.mit.edu
+ Entry for principal host/foo.mit.edu@ATHENA.MIT.EDU with kvno 3,
+ encryption type aes256-cts-hmac-sha1-96 added to keytab
+ FILE:/tmp/foo-new-keytab
+ kadmin:
+
+.. _ktadd_end:
+
+.. _ktremove:
+
+ktremove
+~~~~~~~~
+
+ **ktremove** [options] *principal* [*kvno* | *all* | *old*]
+
+Removes entries for the specified *principal* from a keytab. Requires
+no permissions, since this does not require database access.
+
+If the string "all" is specified, all entries for that principal are
+removed; if the string "old" is specified, all entries for that
+principal except those with the highest kvno are removed. Otherwise,
+the value specified is parsed as an integer, and all entries whose
+kvno match that integer are removed.
+
+The options are:
+
+**-k[eytab]** *keytab*
+ Use *keytab* as the keytab file. Otherwise, the default keytab is
+ used.
+
+**-q**
+ Display less verbose information.
+
+Example::
+
+ kadmin: ktremove kadmin/admin all
+ Entry for principal kadmin/admin with kvno 3 removed from keytab
+ FILE:/etc/krb5.keytab
+ kadmin:
+
+.. _ktremove_end:
+
+lock
+~~~~
+
+Lock database exclusively. Use with extreme caution! This command
+only works with the DB2 KDC database module.
+
+unlock
+~~~~~~
+
+Release the exclusive database lock.
+
+list_requests
+~~~~~~~~~~~~~
+
+Lists available for kadmin requests.
+
+Aliases: **lr**, **?**
+
+quit
+~~~~
+
+Exit program. If the database was locked, the lock is released.
+
+Aliases: **exit**, **q**
+
+
+HISTORY
+-------
+
+The kadmin program was originally written by Tom Yu at MIT, as an
+interface to the OpenVision Kerberos administration program.
+
+
+SEE ALSO
+--------
+
+:ref:`kpasswd(1)`, :ref:`kadmind(8)`
diff --git a/doc/html/_sources/admin/admin_commands/kadmind.txt b/doc/html/_sources/admin/admin_commands/kadmind.txt
new file mode 100644
index 000000000000..f5b7733ea33d
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/kadmind.txt
@@ -0,0 +1,123 @@
+.. _kadmind(8):
+
+kadmind
+=======
+
+SYNOPSIS
+--------
+
+**kadmind**
+[**-x** *db_args*]
+[**-r** *realm*]
+[**-m**]
+[**-nofork**]
+[**-proponly**]
+[**-port** *port-number*]
+[**-P** *pid_file*]
+[**-p** *kdb5_util_path*]
+[**-K** *kprop_path*]
+[**-k** *kprop_port*]
+[**-F** *dump_file*]
+
+DESCRIPTION
+-----------
+
+kadmind starts the Kerberos administration server. kadmind typically
+runs on the master Kerberos server, which stores the KDC database. If
+the KDC database uses the LDAP module, the administration server and
+the KDC server need not run on the same machine. kadmind accepts
+remote requests from programs such as :ref:`kadmin(1)` and
+:ref:`kpasswd(1)` to administer the information in these database.
+
+kadmind requires a number of configuration files to be set up in order
+for it to work:
+
+:ref:`kdc.conf(5)`
+ The KDC configuration file contains configuration information for
+ the KDC and admin servers. kadmind uses settings in this file to
+ locate the Kerberos database, and is also affected by the
+ **acl_file**, **dict_file**, **kadmind_port**, and iprop-related
+ settings.
+
+:ref:`kadm5.acl(5)`
+ kadmind's ACL (access control list) tells it which principals are
+ allowed to perform administration actions. The pathname to the
+ ACL file can be specified with the **acl_file** :ref:`kdc.conf(5)`
+ variable; by default, it is |kdcdir|\ ``/kadm5.acl``.
+
+After the server begins running, it puts itself in the background and
+disassociates itself from its controlling terminal.
+
+kadmind can be configured for incremental database propagation.
+Incremental propagation allows slave KDC servers to receive principal
+and policy updates incrementally instead of receiving full dumps of
+the database. This facility can be enabled in the :ref:`kdc.conf(5)`
+file with the **iprop_enable** option. Incremental propagation
+requires the principal ``kiprop/MASTER\@REALM`` (where MASTER is the
+master KDC's canonical host name, and REALM the realm name). In
+release 1.13, this principal is automatically created and registered
+into the datebase.
+
+
+OPTIONS
+-------
+
+**-r** *realm*
+ specifies the realm that kadmind will serve; if it is not
+ specified, the default realm of the host is used.
+
+**-m**
+ causes the master database password to be fetched from the
+ keyboard (before the server puts itself in the background, if not
+ invoked with the **-nofork** option) rather than from a file on
+ disk.
+
+**-nofork**
+ causes the server to remain in the foreground and remain
+ associated to the terminal. In normal operation, you should allow
+ the server to place itself in the background.
+
+**-proponly**
+ causes the server to only listen and respond to Kerberos slave
+ incremental propagation polling requests. This option can be used
+ to set up a hierarchical propagation topology where a slave KDC
+ provides incremental updates to other Kerberos slaves.
+
+**-port** *port-number*
+ specifies the port on which the administration server listens for
+ connections. The default port is determined by the
+ **kadmind_port** configuration variable in :ref:`kdc.conf(5)`.
+
+**-P** *pid_file*
+ specifies the file to which the PID of kadmind process should be
+ written after it starts up. This file can be used to identify
+ whether kadmind is still running and to allow init scripts to stop
+ the correct process.
+
+**-p** *kdb5_util_path*
+ specifies the path to the kdb5_util command to use when dumping the
+ KDB in response to full resync requests when iprop is enabled.
+
+**-K** *kprop_path*
+ specifies the path to the kprop command to use to send full dumps
+ to slaves in response to full resync requests.
+
+**-k** *kprop_port*
+ specifies the port by which the kprop process that is spawned by kadmind
+ connects to the slave kpropd, in order to transfer the dump file during
+ an iprop full resync request.
+
+**-F** *dump_file*
+ specifies the file path to be used for dumping the KDB in response
+ to full resync requests when iprop is enabled.
+
+**-x** *db_args*
+ specifies database-specific arguments. See :ref:`Database Options
+ <dboptions>` in :ref:`kadmin(1)` for supported arguments.
+
+
+SEE ALSO
+--------
+
+:ref:`kpasswd(1)`, :ref:`kadmin(1)`, :ref:`kdb5_util(8)`,
+:ref:`kdb5_ldap_util(8)`, :ref:`kadm5.acl(5)`
diff --git a/doc/html/_sources/admin/admin_commands/kdb5_ldap_util.txt b/doc/html/_sources/admin/admin_commands/kdb5_ldap_util.txt
new file mode 100644
index 000000000000..cbf313f55a66
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/kdb5_ldap_util.txt
@@ -0,0 +1,462 @@
+.. _kdb5_ldap_util(8):
+
+kdb5_ldap_util
+===============
+
+SYNOPSIS
+--------
+
+.. _kdb5_ldap_util_synopsis:
+
+**kdb5_ldap_util**
+[**-D** *user_dn* [**-w** *passwd*]]
+[**-H** *ldapuri*]
+**command**
+[*command_options*]
+
+.. _kdb5_ldap_util_synopsis_end:
+
+
+DESCRIPTION
+-----------
+
+kdb5_ldap_util allows an administrator to manage realms, Kerberos
+services and ticket policies.
+
+
+COMMAND-LINE OPTIONS
+--------------------
+
+.. _kdb5_ldap_util_options:
+
+**-D** *user_dn*
+ Specifies the Distinguished Name (DN) of the user who has
+ sufficient rights to perform the operation on the LDAP server.
+
+**-w** *passwd*
+ Specifies the password of *user_dn*. This option is not
+ recommended.
+
+**-H** *ldapuri*
+ Specifies the URI of the LDAP server. It is recommended to use
+ ``ldapi://`` or ``ldaps://`` to connect to the LDAP server.
+
+.. _kdb5_ldap_util_options_end:
+
+
+COMMANDS
+--------
+
+create
+~~~~~~
+
+.. _kdb5_ldap_util_create:
+
+ **create**
+ [**-subtrees** *subtree_dn_list*]
+ [**-sscope** *search_scope*]
+ [**-containerref** *container_reference_dn*]
+ [**-k** *mkeytype*]
+ [**-kv** *mkeyVNO*]
+ [**-m|-P** *password*\|\ **-sf** *stashfilename*]
+ [**-s**]
+ [**-r** *realm*]
+ [**-maxtktlife** *max_ticket_life*]
+ [**-maxrenewlife** *max_renewable_ticket_life*]
+ [*ticket_flags*]
+
+Creates realm in directory. Options:
+
+**-subtrees** *subtree_dn_list*
+ Specifies the list of subtrees containing the principals of a
+ realm. The list contains the DNs of the subtree objects separated
+ by colon (``:``).
+
+**-sscope** *search_scope*
+ Specifies the scope for searching the principals under the
+ subtree. The possible values are 1 or one (one level), 2 or sub
+ (subtrees).
+
+**-containerref** *container_reference_dn*
+ Specifies the DN of the container object in which the principals
+ of a realm will be created. If the container reference is not
+ configured for a realm, the principals will be created in the
+ realm container.
+
+**-k** *mkeytype*
+ Specifies the key type of the master key in the database. The
+ default is given by the **master_key_type** variable in
+ :ref:`kdc.conf(5)`.
+
+**-kv** *mkeyVNO*
+ Specifies the version number of the master key in the database;
+ the default is 1. Note that 0 is not allowed.
+
+**-m**
+ Specifies that the master database password should be read from
+ the TTY rather than fetched from a file on the disk.
+
+**-P** *password*
+ Specifies the master database password. This option is not
+ recommended.
+
+**-r** *realm*
+ Specifies the Kerberos realm of the database.
+
+**-sf** *stashfilename*
+ Specifies the stash file of the master database password.
+
+**-s**
+ Specifies that the stash file is to be created.
+
+**-maxtktlife** *max_ticket_life*
+ (:ref:`getdate` string) Specifies maximum ticket life for
+ principals in this realm.
+
+**-maxrenewlife** *max_renewable_ticket_life*
+ (:ref:`getdate` string) Specifies maximum renewable life of
+ tickets for principals in this realm.
+
+*ticket_flags*
+ Specifies global ticket flags for the realm. Allowable flags are
+ documented in the description of the **add_principal** command in
+ :ref:`kadmin(1)`.
+
+Example::
+
+ kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu
+ create -subtrees o=org -sscope SUB -r ATHENA.MIT.EDU
+ Password for "cn=admin,o=org":
+ Initializing database for realm 'ATHENA.MIT.EDU'
+ You will be prompted for the database Master Password.
+ It is important that you NOT FORGET this password.
+ Enter KDC database master key:
+ Re-enter KDC database master key to verify:
+
+.. _kdb5_ldap_util_create_end:
+
+modify
+~~~~~~
+
+.. _kdb5_ldap_util_modify:
+
+ **modify**
+ [**-subtrees** *subtree_dn_list*]
+ [**-sscope** *search_scope*]
+ [**-containerref** *container_reference_dn*]
+ [**-r** *realm*]
+ [**-maxtktlife** *max_ticket_life*]
+ [**-maxrenewlife** *max_renewable_ticket_life*]
+ [*ticket_flags*]
+
+Modifies the attributes of a realm. Options:
+
+**-subtrees** *subtree_dn_list*
+ Specifies the list of subtrees containing the principals of a
+ realm. The list contains the DNs of the subtree objects separated
+ by colon (``:``). This list replaces the existing list.
+
+**-sscope** *search_scope*
+ Specifies the scope for searching the principals under the
+ subtrees. The possible values are 1 or one (one level), 2 or sub
+ (subtrees).
+
+**-containerref** *container_reference_dn* Specifies the DN of the
+ container object in which the principals of a realm will be
+ created.
+
+**-r** *realm*
+ Specifies the Kerberos realm of the database.
+
+**-maxtktlife** *max_ticket_life*
+ (:ref:`getdate` string) Specifies maximum ticket life for
+ principals in this realm.
+
+**-maxrenewlife** *max_renewable_ticket_life*
+ (:ref:`getdate` string) Specifies maximum renewable life of
+ tickets for principals in this realm.
+
+*ticket_flags*
+ Specifies global ticket flags for the realm. Allowable flags are
+ documented in the description of the **add_principal** command in
+ :ref:`kadmin(1)`.
+
+Example::
+
+ shell% kdb5_ldap_util -D cn=admin,o=org -H
+ ldaps://ldap-server1.mit.edu modify +requires_preauth -r
+ ATHENA.MIT.EDU
+ Password for "cn=admin,o=org":
+ shell%
+
+.. _kdb5_ldap_util_modify_end:
+
+view
+~~~~
+
+.. _kdb5_ldap_util_view:
+
+ **view** [**-r** *realm*]
+
+Displays the attributes of a realm. Options:
+
+**-r** *realm*
+ Specifies the Kerberos realm of the database.
+
+Example::
+
+ kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu
+ view -r ATHENA.MIT.EDU
+ Password for "cn=admin,o=org":
+ Realm Name: ATHENA.MIT.EDU
+ Subtree: ou=users,o=org
+ Subtree: ou=servers,o=org
+ SearchScope: ONE
+ Maximum ticket life: 0 days 01:00:00
+ Maximum renewable life: 0 days 10:00:00
+ Ticket flags: DISALLOW_FORWARDABLE REQUIRES_PWCHANGE
+
+.. _kdb5_ldap_util_view_end:
+
+destroy
+~~~~~~~
+
+.. _kdb5_ldap_util_destroy:
+
+ **destroy** [**-f**] [**-r** *realm*]
+
+Destroys an existing realm. Options:
+
+**-f**
+ If specified, will not prompt the user for confirmation.
+
+**-r** *realm*
+ Specifies the Kerberos realm of the database.
+
+Example::
+
+ shell% kdb5_ldap_util -D cn=admin,o=org -H
+ ldaps://ldap-server1.mit.edu destroy -r ATHENA.MIT.EDU
+ Password for "cn=admin,o=org":
+ Deleting KDC database of 'ATHENA.MIT.EDU', are you sure?
+ (type 'yes' to confirm)? yes
+ OK, deleting database of 'ATHENA.MIT.EDU'...
+ shell%
+
+.. _kdb5_ldap_util_destroy_end:
+
+list
+~~~~
+
+.. _kdb5_ldap_util_list:
+
+ **list**
+
+Lists the name of realms.
+
+Example::
+
+ shell% kdb5_ldap_util -D cn=admin,o=org -H
+ ldaps://ldap-server1.mit.edu list
+ Password for "cn=admin,o=org":
+ ATHENA.MIT.EDU
+ OPENLDAP.MIT.EDU
+ MEDIA-LAB.MIT.EDU
+ shell%
+
+.. _kdb5_ldap_util_list_end:
+
+stashsrvpw
+~~~~~~~~~~
+
+.. _kdb5_ldap_util_stashsrvpw:
+
+ **stashsrvpw**
+ [**-f** *filename*]
+ *name*
+
+Allows an administrator to store the password for service object in a
+file so that KDC and Administration server can use it to authenticate
+to the LDAP server. Options:
+
+**-f** *filename*
+ Specifies the complete path of the service password file. By
+ default, ``/usr/local/var/service_passwd`` is used.
+
+*name*
+ Specifies the name of the object whose password is to be stored.
+ If :ref:`krb5kdc(8)` or :ref:`kadmind(8)` are configured for
+ simple binding, this should be the distinguished name it will
+ use as given by the **ldap_kdc_dn** or **ldap_kadmind_dn**
+ variable in :ref:`kdc.conf(5)`. If the KDC or kadmind is
+ configured for SASL binding, this should be the authentication
+ name it will use as given by the **ldap_kdc_sasl_authcid** or
+ **ldap_kadmind_sasl_authcid** variable.
+
+Example::
+
+ kdb5_ldap_util stashsrvpw -f /home/andrew/conf_keyfile
+ cn=service-kdc,o=org
+ Password for "cn=service-kdc,o=org":
+ Re-enter password for "cn=service-kdc,o=org":
+
+.. _kdb5_ldap_util_stashsrvpw_end:
+
+create_policy
+~~~~~~~~~~~~~
+
+.. _kdb5_ldap_util_create_policy:
+
+ **create_policy**
+ [**-r** *realm*]
+ [**-maxtktlife** *max_ticket_life*]
+ [**-maxrenewlife** *max_renewable_ticket_life*]
+ [*ticket_flags*]
+ *policy_name*
+
+Creates a ticket policy in the directory. Options:
+
+**-r** *realm*
+ Specifies the Kerberos realm of the database.
+
+**-maxtktlife** *max_ticket_life*
+ (:ref:`getdate` string) Specifies maximum ticket life for
+ principals.
+
+**-maxrenewlife** *max_renewable_ticket_life*
+ (:ref:`getdate` string) Specifies maximum renewable life of
+ tickets for principals.
+
+*ticket_flags*
+ Specifies the ticket flags. If this option is not specified, by
+ default, no restriction will be set by the policy. Allowable
+ flags are documented in the description of the **add_principal**
+ command in :ref:`kadmin(1)`.
+
+*policy_name*
+ Specifies the name of the ticket policy.
+
+Example::
+
+ kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu
+ create_policy -r ATHENA.MIT.EDU -maxtktlife "1 day"
+ -maxrenewlife "1 week" -allow_postdated +needchange
+ -allow_forwardable tktpolicy
+ Password for "cn=admin,o=org":
+
+.. _kdb5_ldap_util_create_policy_end:
+
+modify_policy
+~~~~~~~~~~~~~
+
+.. _kdb5_ldap_util_modify_policy:
+
+ **modify_policy**
+ [**-r** *realm*]
+ [**-maxtktlife** *max_ticket_life*]
+ [**-maxrenewlife** *max_renewable_ticket_life*]
+ [*ticket_flags*]
+ *policy_name*
+
+Modifies the attributes of a ticket policy. Options are same as for
+**create_policy**.
+
+Example::
+
+ kdb5_ldap_util -D cn=admin,o=org -H
+ ldaps://ldap-server1.mit.edu modify_policy -r ATHENA.MIT.EDU
+ -maxtktlife "60 minutes" -maxrenewlife "10 hours"
+ +allow_postdated -requires_preauth tktpolicy
+ Password for "cn=admin,o=org":
+
+.. _kdb5_ldap_util_modify_policy_end:
+
+view_policy
+~~~~~~~~~~~
+
+.. _kdb5_ldap_util_view_policy:
+
+ **view_policy**
+ [**-r** *realm*]
+ *policy_name*
+
+Displays the attributes of a ticket policy. Options:
+
+*policy_name*
+ Specifies the name of the ticket policy.
+
+Example::
+
+ kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu
+ view_policy -r ATHENA.MIT.EDU tktpolicy
+ Password for "cn=admin,o=org":
+ Ticket policy: tktpolicy
+ Maximum ticket life: 0 days 01:00:00
+ Maximum renewable life: 0 days 10:00:00
+ Ticket flags: DISALLOW_FORWARDABLE REQUIRES_PWCHANGE
+
+.. _kdb5_ldap_util_view_policy_end:
+
+destroy_policy
+~~~~~~~~~~~~~~
+
+.. _kdb5_ldap_util_destroy_policy:
+
+ **destroy_policy**
+ [**-r** *realm*]
+ [**-force**]
+ *policy_name*
+
+Destroys an existing ticket policy. Options:
+
+**-r** *realm*
+ Specifies the Kerberos realm of the database.
+
+**-force**
+ Forces the deletion of the policy object. If not specified, the
+ user will be prompted for confirmation before deleting the policy.
+
+*policy_name*
+ Specifies the name of the ticket policy.
+
+Example::
+
+ kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu
+ destroy_policy -r ATHENA.MIT.EDU tktpolicy
+ Password for "cn=admin,o=org":
+ This will delete the policy object 'tktpolicy', are you sure?
+ (type 'yes' to confirm)? yes
+ ** policy object 'tktpolicy' deleted.
+
+.. _kdb5_ldap_util_destroy_policy_end:
+
+list_policy
+~~~~~~~~~~~
+
+.. _kdb5_ldap_util_list_policy:
+
+ **list_policy**
+ [**-r** *realm*]
+
+Lists the ticket policies in realm if specified or in the default
+realm. Options:
+
+**-r** *realm*
+ Specifies the Kerberos realm of the database.
+
+Example::
+
+ kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu
+ list_policy -r ATHENA.MIT.EDU
+ Password for "cn=admin,o=org":
+ tktpolicy
+ tmppolicy
+ userpolicy
+
+.. _kdb5_ldap_util_list_policy_end:
+
+
+SEE ALSO
+--------
+
+:ref:`kadmin(1)`
diff --git a/doc/html/_sources/admin/admin_commands/kdb5_util.txt b/doc/html/_sources/admin/admin_commands/kdb5_util.txt
new file mode 100644
index 000000000000..258498f0d6ef
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/kdb5_util.txt
@@ -0,0 +1,497 @@
+.. _kdb5_util(8):
+
+kdb5_util
+=========
+
+SYNOPSIS
+--------
+
+.. _kdb5_util_synopsis:
+
+**kdb5_util**
+[**-r** *realm*]
+[**-d** *dbname*]
+[**-k** *mkeytype*]
+[**-M** *mkeyname*]
+[**-kv** *mkeyVNO*]
+[**-sf** *stashfilename*]
+[**-m**]
+*command* [*command_options*]
+
+.. _kdb5_util_synopsis_end:
+
+DESCRIPTION
+-----------
+
+kdb5_util allows an administrator to perform maintenance procedures on
+the KDC database. Databases can be created, destroyed, and dumped to
+or loaded from ASCII files. kdb5_util can create a Kerberos master
+key stash file or perform live rollover of the master key.
+
+When kdb5_util is run, it attempts to acquire the master key and open
+the database. However, execution continues regardless of whether or
+not kdb5_util successfully opens the database, because the database
+may not exist yet or the stash file may be corrupt.
+
+Note that some KDC database modules may not support all kdb5_util
+commands.
+
+
+COMMAND-LINE OPTIONS
+--------------------
+
+.. _kdb5_util_options:
+
+**-r** *realm*
+ specifies the Kerberos realm of the database.
+
+**-d** *dbname*
+ specifies the name under which the principal database is stored;
+ by default the database is that listed in :ref:`kdc.conf(5)`. The
+ password policy database and lock files are also derived from this
+ value.
+
+**-k** *mkeytype*
+ specifies the key type of the master key in the database. The
+ default is given by the **master_key_type** variable in
+ :ref:`kdc.conf(5)`.
+
+**-kv** *mkeyVNO*
+ Specifies the version number of the master key in the database;
+ the default is 1. Note that 0 is not allowed.
+
+**-M** *mkeyname*
+ principal name for the master key in the database. If not
+ specified, the name is determined by the **master_key_name**
+ variable in :ref:`kdc.conf(5)`.
+
+**-m**
+ specifies that the master database password should be read from
+ the keyboard rather than fetched from a file on disk.
+
+**-sf** *stash_file*
+ specifies the stash filename of the master database password. If
+ not specified, the filename is determined by the
+ **key_stash_file** variable in :ref:`kdc.conf(5)`.
+
+**-P** *password*
+ specifies the master database password. Using this option may
+ expose the password to other users on the system via the process
+ list.
+
+.. _kdb5_util_options_end:
+
+
+COMMANDS
+--------
+
+create
+~~~~~~
+
+.. _kdb5_util_create:
+
+ **create** [**-s**]
+
+Creates a new database. If the **-s** option is specified, the stash
+file is also created. This command fails if the database already
+exists. If the command is successful, the database is opened just as
+if it had already existed when the program was first run.
+
+.. _kdb5_util_create_end:
+
+destroy
+~~~~~~~
+
+.. _kdb5_util_destroy:
+
+ **destroy** [**-f**]
+
+Destroys the database, first overwriting the disk sectors and then
+unlinking the files, after prompting the user for confirmation. With
+the **-f** argument, does not prompt the user.
+
+.. _kdb5_util_destroy_end:
+
+stash
+~~~~~
+
+.. _kdb5_util_stash:
+
+ **stash** [**-f** *keyfile*]
+
+Stores the master principal's keys in a stash file. The **-f**
+argument can be used to override the *keyfile* specified in
+:ref:`kdc.conf(5)`.
+
+.. _kdb5_util_stash_end:
+
+dump
+~~~~
+
+.. _kdb5_util_dump:
+
+ **dump** [**-b7**\|\ **-ov**\|\ **-r13**] [**-verbose**]
+ [**-mkey_convert**] [**-new_mkey_file** *mkey_file*] [**-rev**]
+ [**-recurse**] [*filename* [*principals*...]]
+
+Dumps the current Kerberos and KADM5 database into an ASCII file. By
+default, the database is dumped in current format, "kdb5_util
+load_dump version 7". If filename is not specified, or is the string
+"-", the dump is sent to standard output. Options:
+
+**-b7**
+ causes the dump to be in the Kerberos 5 Beta 7 format ("kdb5_util
+ load_dump version 4"). This was the dump format produced on
+ releases prior to 1.2.2.
+
+**-ov**
+ causes the dump to be in "ovsec_adm_export" format.
+
+**-r13**
+ causes the dump to be in the Kerberos 5 1.3 format ("kdb5_util
+ load_dump version 5"). This was the dump format produced on
+ releases prior to 1.8.
+
+**-r18**
+ causes the dump to be in the Kerberos 5 1.8 format ("kdb5_util
+ load_dump version 6"). This was the dump format produced on
+ releases prior to 1.11.
+
+**-verbose**
+ causes the name of each principal and policy to be printed as it
+ is dumped.
+
+**-mkey_convert**
+ prompts for a new master key. This new master key will be used to
+ re-encrypt principal key data in the dumpfile. The principal keys
+ themselves will not be changed.
+
+**-new_mkey_file** *mkey_file*
+ the filename of a stash file. The master key in this stash file
+ will be used to re-encrypt the key data in the dumpfile. The key
+ data in the database will not be changed.
+
+**-rev**
+ dumps in reverse order. This may recover principals that do not
+ dump normally, in cases where database corruption has occurred.
+
+**-recurse**
+ causes the dump to walk the database recursively (btree only).
+ This may recover principals that do not dump normally, in cases
+ where database corruption has occurred. In cases of such
+ corruption, this option will probably retrieve more principals
+ than the **-rev** option will.
+
+ .. versionchanged:: 1.15
+ Release 1.15 restored the functionality of the **-recurse**
+ option.
+
+ .. versionchanged:: 1.5
+ The **-recurse** option ceased working until release 1.15,
+ doing a normal dump instead of a recursive traversal.
+
+.. _kdb5_util_dump_end:
+
+load
+~~~~
+
+.. _kdb5_util_load:
+
+ **load** [**-b7**\|\ **-ov**\|\ **-r13**] [**-hash**]
+ [**-verbose**] [**-update**] *filename* [*dbname*]
+
+Loads a database dump from the named file into the named database. If
+no option is given to determine the format of the dump file, the
+format is detected automatically and handled as appropriate. Unless
+the **-update** option is given, **load** creates a new database
+containing only the data in the dump file, overwriting the contents of
+any previously existing database. Note that when using the LDAP KDC
+database module, the **-update** flag is required.
+
+Options:
+
+**-b7**
+ requires the database to be in the Kerberos 5 Beta 7 format
+ ("kdb5_util load_dump version 4"). This was the dump format
+ produced on releases prior to 1.2.2.
+
+**-ov**
+ requires the database to be in "ovsec_adm_import" format. Must be
+ used with the **-update** option.
+
+**-r13**
+ requires the database to be in Kerberos 5 1.3 format ("kdb5_util
+ load_dump version 5"). This was the dump format produced on
+ releases prior to 1.8.
+
+**-r18**
+ requires the database to be in Kerberos 5 1.8 format ("kdb5_util
+ load_dump version 6"). This was the dump format produced on
+ releases prior to 1.11.
+
+**-hash**
+ requires the database to be stored as a hash. If this option is
+ not specified, the database will be stored as a btree. This
+ option is not recommended, as databases stored in hash format are
+ known to corrupt data and lose principals.
+
+**-verbose**
+ causes the name of each principal and policy to be printed as it
+ is dumped.
+
+**-update**
+ records from the dump file are added to or updated in the existing
+ database. Otherwise, a new database is created containing only
+ what is in the dump file and the old one destroyed upon successful
+ completion.
+
+If specified, *dbname* overrides the value specified on the command
+line or the default.
+
+.. _kdb5_util_load_end:
+
+ark
+~~~
+
+ **ark** [**-e** *enc*:*salt*,...] *principal*
+
+Adds new random keys to *principal* at the next available key version
+number. Keys for the current highest key version number will be
+preserved. The **-e** option specifies the list of encryption and
+salt types to be used for the new keys.
+
+add_mkey
+~~~~~~~~
+
+ **add_mkey** [**-e** *etype*] [**-s**]
+
+Adds a new master key to the master key principal, but does not mark
+it as active. Existing master keys will remain. The **-e** option
+specifies the encryption type of the new master key; see
+:ref:`Encryption_types` in :ref:`kdc.conf(5)` for a list of possible
+values. The **-s** option stashes the new master key in the stash
+file, which will be created if it doesn't already exist.
+
+After a new master key is added, it should be propagated to slave
+servers via a manual or periodic invocation of :ref:`kprop(8)`. Then,
+the stash files on the slave servers should be updated with the
+kdb5_util **stash** command. Once those steps are complete, the key
+is ready to be marked active with the kdb5_util **use_mkey** command.
+
+use_mkey
+~~~~~~~~
+
+ **use_mkey** *mkeyVNO* [*time*]
+
+Sets the activation time of the master key specified by *mkeyVNO*.
+Once a master key becomes active, it will be used to encrypt newly
+created principal keys. If no *time* argument is given, the current
+time is used, causing the specified master key version to become
+active immediately. The format for *time* is :ref:`getdate` string.
+
+After a new master key becomes active, the kdb5_util
+**update_princ_encryption** command can be used to update all
+principal keys to be encrypted in the new master key.
+
+list_mkeys
+~~~~~~~~~~
+
+ **list_mkeys**
+
+List all master keys, from most recent to earliest, in the master key
+principal. The output will show the kvno, enctype, and salt type for
+each mkey, similar to the output of :ref:`kadmin(1)` **getprinc**. A
+``*`` following an mkey denotes the currently active master key.
+
+purge_mkeys
+~~~~~~~~~~~
+
+ **purge_mkeys** [**-f**] [**-n**] [**-v**]
+
+Delete master keys from the master key principal that are not used to
+protect any principals. This command can be used to remove old master
+keys all principal keys are protected by a newer master key.
+
+**-f**
+ does not prompt for confirmation.
+
+**-n**
+ performs a dry run, showing master keys that would be purged, but
+ not actually purging any keys.
+
+**-v**
+ gives more verbose output.
+
+update_princ_encryption
+~~~~~~~~~~~~~~~~~~~~~~~
+
+ **update_princ_encryption** [**-f**] [**-n**] [**-v**]
+ [*princ-pattern*]
+
+Update all principal records (or only those matching the
+*princ-pattern* glob pattern) to re-encrypt the key data using the
+active database master key, if they are encrypted using a different
+version, and give a count at the end of the number of principals
+updated. If the **-f** option is not given, ask for confirmation
+before starting to make changes. The **-v** option causes each
+principal processed to be listed, with an indication as to whether it
+needed updating or not. The **-n** option performs a dry run, only
+showing the actions which would have been taken.
+
+tabdump
+~~~~~~~
+
+ **tabdump** [**-H**] [**-c**] [**-e**] [**-n**] [**-o** *outfile*]
+ *dumptype*
+
+Dump selected fields of the database in a tabular format suitable for
+reporting (e.g., using traditional Unix text processing tools) or
+importing into relational databases. The data format is tab-separated
+(default), or optionally comma-separated (CSV), with a fixed number of
+columns. The output begins with a header line containing field names,
+unless suppression is requested using the **-H** option.
+
+The *dumptype* parameter specifies the name of an output table (see
+below).
+
+Options:
+
+**-H**
+ suppress writing the field names in a header line
+
+**-c**
+ use comma separated values (CSV) format, with minimal quoting,
+ instead of the default tab-separated (unquoted, unescaped) format
+
+**-e**
+ write empty hexadecimal string fields as empty fields instead of
+ as "-1".
+
+**-n**
+ produce numeric output for fields that normally have symbolic
+ output, such as enctypes and flag names. Also requests output of
+ time stamps as decimal POSIX time_t values.
+
+**-o** *outfile*
+ write the dump to the specified output file instead of to standard
+ output
+
+Dump types:
+
+**keydata**
+ principal encryption key information, including actual key data
+ (which is still encrypted in the master key)
+
+ **name**
+ principal name
+ **keyindex**
+ index of this key in the principal's key list
+ **kvno**
+ key version number
+ **enctype**
+ encryption type
+ **key**
+ key data as a hexadecimal string
+ **salttype**
+ salt type
+ **salt**
+ salt data as a hexadecimal string
+
+**keyinfo**
+ principal encryption key information (as in **keydata** above),
+ excluding actual key data
+
+**princ_flags**
+ principal boolean attributes. Flag names print as hexadecimal
+ numbers if the **-n** option is specified, and all flag positions
+ are printed regardless of whether or not they are set. If **-n**
+ is not specified, print all known flag names for each principal,
+ but only print hexadecimal flag names if the corresponding flag is
+ set.
+
+ **name**
+ principal name
+ **flag**
+ flag name
+ **value**
+ boolean value (0 for clear, or 1 for set)
+
+**princ_lockout**
+ state information used for tracking repeated password failures
+
+ **name**
+ principal name
+ **last_success**
+ time stamp of most recent successful authentication
+ **last_failed**
+ time stamp of most recent failed authentication
+ **fail_count**
+ count of failed attempts
+
+**princ_meta**
+ principal metadata
+
+ **name**
+ principal name
+ **modby**
+ name of last principal to modify this principal
+ **modtime**
+ timestamp of last modification
+ **lastpwd**
+ timestamp of last password change
+ **policy**
+ policy object name
+ **mkvno**
+ key version number of the master key that encrypts this
+ principal's key data
+ **hist_kvno**
+ key version number of the history key that encrypts the key
+ history data for this principal
+
+**princ_stringattrs**
+ string attributes (key/value pairs)
+
+ **name**
+ principal name
+ **key**
+ attribute name
+ **value**
+ attribute value
+
+**princ_tktpolicy**
+ per-principal ticket policy data, including maximum ticket
+ lifetimes
+
+ **name**
+ principal name
+ **expiration**
+ principal expiration date
+ **pw_expiration**
+ password expiration date
+ **max_life**
+ maximum ticket lifetime
+ **max_renew_life**
+ maximum renewable ticket lifetime
+
+Examples::
+
+ $ kdb5_util tabdump -o keyinfo.txt keyinfo
+ $ cat keyinfo.txt
+ name keyindex kvno enctype salttype salt
+ foo@EXAMPLE.COM 0 1 aes128-cts-hmac-sha1-96 normal -1
+ bar@EXAMPLE.COM 0 1 aes128-cts-hmac-sha1-96 normal -1
+ bar@EXAMPLE.COM 1 1 des-cbc-crc normal -1
+ $ sqlite3
+ sqlite> .mode tabs
+ sqlite> .import keyinfo.txt keyinfo
+ sqlite> select * from keyinfo where enctype like 'des-cbc-%';
+ bar@EXAMPLE.COM 1 1 des-cbc-crc normal -1
+ sqlite> .quit
+ $ awk -F'\t' '$4 ~ /des-cbc-/ { print }' keyinfo.txt
+ bar@EXAMPLE.COM 1 1 des-cbc-crc normal -1
+
+
+SEE ALSO
+--------
+
+:ref:`kadmin(1)`
diff --git a/doc/html/_sources/admin/admin_commands/kprop.txt b/doc/html/_sources/admin/admin_commands/kprop.txt
new file mode 100644
index 000000000000..726c8cc2fdfd
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/kprop.txt
@@ -0,0 +1,60 @@
+.. _kprop(8):
+
+kprop
+=====
+
+SYNOPSIS
+--------
+
+**kprop**
+[**-r** *realm*]
+[**-f** *file*]
+[**-d**]
+[**-P** *port*]
+[**-s** *keytab*]
+*slave_host*
+
+
+DESCRIPTION
+-----------
+
+kprop is used to securely propagate a Kerberos V5 database dump file
+from the master Kerberos server to a slave Kerberos server, which is
+specified by *slave_host*. The dump file must be created by
+:ref:`kdb5_util(8)`.
+
+
+OPTIONS
+-------
+
+**-r** *realm*
+ Specifies the realm of the master server.
+
+**-f** *file*
+ Specifies the filename where the dumped principal database file is
+ to be found; by default the dumped database file is normally
+ |kdcdir|\ ``/slave_datatrans``.
+
+**-P** *port*
+ Specifies the port to use to contact the :ref:`kpropd(8)` server
+ on the remote host.
+
+**-d**
+ Prints debugging information.
+
+**-s** *keytab*
+ Specifies the location of the keytab file.
+
+
+ENVIRONMENT
+-----------
+
+*kprop* uses the following environment variable:
+
+* **KRB5_CONFIG**
+
+
+SEE ALSO
+--------
+
+:ref:`kpropd(8)`, :ref:`kdb5_util(8)`, :ref:`krb5kdc(8)`
diff --git a/doc/html/_sources/admin/admin_commands/kpropd.txt b/doc/html/_sources/admin/admin_commands/kpropd.txt
new file mode 100644
index 000000000000..5e01e2f14bc1
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/kpropd.txt
@@ -0,0 +1,130 @@
+.. _kpropd(8):
+
+kpropd
+======
+
+SYNOPSIS
+--------
+
+**kpropd**
+[**-r** *realm*]
+[**-A** *admin_server*]
+[**-a** *acl_file*]
+[**-f** *slave_dumpfile*]
+[**-F** *principal_database*]
+[**-p** *kdb5_util_prog*]
+[**-P** *port*]
+[**-d**]
+[**-t**]
+
+DESCRIPTION
+-----------
+
+The *kpropd* command runs on the slave KDC server. It listens for
+update requests made by the :ref:`kprop(8)` program. If incremental
+propagation is enabled, it periodically requests incremental updates
+from the master KDC.
+
+When the slave receives a kprop request from the master, kpropd
+accepts the dumped KDC database and places it in a file, and then runs
+:ref:`kdb5_util(8)` to load the dumped database into the active
+database which is used by :ref:`krb5kdc(8)`. This allows the master
+Kerberos server to use :ref:`kprop(8)` to propagate its database to
+the slave servers. Upon a successful download of the KDC database
+file, the slave Kerberos server will have an up-to-date KDC database.
+
+Where incremental propagation is not used, kpropd is commonly invoked
+out of inetd(8) as a nowait service. This is done by adding a line to
+the ``/etc/inetd.conf`` file which looks like this::
+
+ kprop stream tcp nowait root /usr/local/sbin/kpropd kpropd
+
+kpropd can also run as a standalone daemon, backgrounding itself and
+waiting for connections on port 754 (or the port specified with the
+**-P** option if given). Standalone mode is required for incremental
+propagation. Starting in release 1.11, kpropd automatically detects
+whether it was run from inetd and runs in standalone mode if it is
+not. Prior to release 1.11, the **-S** option is required to run
+kpropd in standalone mode; this option is now accepted for backward
+compatibility but does nothing.
+
+Incremental propagation may be enabled with the **iprop_enable**
+variable in :ref:`kdc.conf(5)`. If incremental propagation is
+enabled, the slave periodically polls the master KDC for updates, at
+an interval determined by the **iprop_slave_poll** variable. If the
+slave receives updates, kpropd updates its log file with any updates
+from the master. :ref:`kproplog(8)` can be used to view a summary of
+the update entry log on the slave KDC. If incremental propagation is
+enabled, the principal ``kiprop/slavehostname@REALM`` (where
+*slavehostname* is the name of the slave KDC host, and *REALM* is the
+name of the Kerberos realm) must be present in the slave's keytab
+file.
+
+:ref:`kproplog(8)` can be used to force full replication when iprop is
+enabled.
+
+
+OPTIONS
+--------
+
+**-r** *realm*
+ Specifies the realm of the master server.
+
+**-A** *admin_server*
+ Specifies the server to be contacted for incremental updates; by
+ default, the master admin server is contacted.
+
+**-f** *file*
+ Specifies the filename where the dumped principal database file is
+ to be stored; by default the dumped database file is |kdcdir|\
+ ``/from_master``.
+
+**-p**
+ Allows the user to specify the pathname to the :ref:`kdb5_util(8)`
+ program; by default the pathname used is |sbindir|\
+ ``/kdb5_util``.
+
+**-d**
+ Turn on debug mode. In this mode, kpropd will not detach
+ itself from the current job and run in the background. Instead,
+ it will run in the foreground and print out debugging messages
+ during the database propagation.
+
+**-t**
+ In standalone mode without incremental propagation, exit after one
+ dump file is received. In incremental propagation mode, exit as
+ soon as the database is up to date, or if the master returns an
+ error.
+
+**-P**
+ Allow for an alternate port number for kpropd to listen on. This
+ is only useful in combination with the **-S** option.
+
+**-a** *acl_file*
+ Allows the user to specify the path to the kpropd.acl file; by
+ default the path used is |kdcdir|\ ``/kpropd.acl``.
+
+
+ENVIRONMENT
+-----------
+
+kpropd uses the following environment variables:
+
+* **KRB5_CONFIG**
+* **KRB5_KDC_PROFILE**
+
+
+FILES
+-----
+
+kpropd.acl
+ Access file for kpropd; the default location is
+ ``/usr/local/var/krb5kdc/kpropd.acl``. Each entry is a line
+ containing the principal of a host from which the local machine
+ will allow Kerberos database propagation via :ref:`kprop(8)`.
+
+
+SEE ALSO
+--------
+
+:ref:`kprop(8)`, :ref:`kdb5_util(8)`, :ref:`krb5kdc(8)`, inetd(8)
diff --git a/doc/html/_sources/admin/admin_commands/kproplog.txt b/doc/html/_sources/admin/admin_commands/kproplog.txt
new file mode 100644
index 000000000000..ed906398dfaa
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/kproplog.txt
@@ -0,0 +1,85 @@
+.. _kproplog(8):
+
+kproplog
+========
+
+SYNOPSIS
+--------
+
+**kproplog** [**-h**] [**-e** *num*] [-v]
+**kproplog** [-R]
+
+
+DESCRIPTION
+-----------
+
+The kproplog command displays the contents of the KDC database update
+log to standard output. It can be used to keep track of incremental
+updates to the principal database. The update log file contains the
+update log maintained by the :ref:`kadmind(8)` process on the master
+KDC server and the :ref:`kpropd(8)` process on the slave KDC servers.
+When updates occur, they are logged to this file. Subsequently any
+KDC slave configured for incremental updates will request the current
+data from the master KDC and update their log file with any updates
+returned.
+
+The kproplog command requires read access to the update log file. It
+will display update entries only for the KDC it runs on.
+
+If no options are specified, kproplog displays a summary of the update
+log. If invoked on the master, kproplog also displays all of the
+update entries. If invoked on a slave KDC server, kproplog displays
+only a summary of the updates, which includes the serial number of the
+last update received and the associated time stamp of the last update.
+
+
+OPTIONS
+-------
+
+**-R**
+ Reset the update log. This forces full resynchronization. If used
+ on a slave then that slave will request a full resync. If used on
+ the master then all slaves will request full resyncs.
+
+**-h**
+ Display a summary of the update log. This information includes
+ the database version number, state of the database, the number of
+ updates in the log, the time stamp of the first and last update,
+ and the version number of the first and last update entry.
+
+**-e** *num*
+ Display the last *num* update entries in the log. This is useful
+ when debugging synchronization between KDC servers.
+
+**-v**
+ Display individual attributes per update. An example of the
+ output generated for one entry::
+
+ Update Entry
+ Update serial # : 4
+ Update operation : Add
+ Update principal : test@EXAMPLE.COM
+ Update size : 424
+ Update committed : True
+ Update time stamp : Fri Feb 20 23:37:42 2004
+ Attributes changed : 6
+ Principal
+ Key data
+ Password last changed
+ Modifying principal
+ Modification time
+ TL data
+
+
+ENVIRONMENT
+-----------
+
+kproplog uses the following environment variables:
+
+* **KRB5_KDC_PROFILE**
+
+
+SEE ALSO
+--------
+
+:ref:`kpropd(8)`
diff --git a/doc/html/_sources/admin/admin_commands/krb5kdc.txt b/doc/html/_sources/admin/admin_commands/krb5kdc.txt
new file mode 100644
index 000000000000..7ec4ee4d3151
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/krb5kdc.txt
@@ -0,0 +1,123 @@
+.. _krb5kdc(8):
+
+krb5kdc
+=======
+
+SYNOPSIS
+--------
+
+**krb5kdc**
+[**-x** *db_args*]
+[**-d** *dbname*]
+[**-k** *keytype*]
+[**-M** *mkeyname*]
+[**-p** *portnum*]
+[**-m**]
+[**-r** *realm*]
+[**-n**]
+[**-w** *numworkers*]
+[**-P** *pid_file*]
+[**-T** *time_offset*]
+
+
+DESCRIPTION
+-----------
+
+krb5kdc is the Kerberos version 5 Authentication Service and Key
+Distribution Center (AS/KDC).
+
+
+OPTIONS
+-------
+
+The **-r** *realm* option specifies the realm for which the server
+should provide service.
+
+The **-d** *dbname* option specifies the name under which the
+principal database can be found. This option does not apply to the
+LDAP database.
+
+The **-k** *keytype* option specifies the key type of the master key
+to be entered manually as a password when **-m** is given; the default
+is ``des-cbc-crc``.
+
+The **-M** *mkeyname* option specifies the principal name for the
+master key in the database (usually ``K/M`` in the KDC's realm).
+
+The **-m** option specifies that the master database password should
+be fetched from the keyboard rather than from a stash file.
+
+The **-n** option specifies that the KDC does not put itself in the
+background and does not disassociate itself from the terminal. In
+normal operation, you should always allow the KDC to place itself in
+the background.
+
+The **-P** *pid_file* option tells the KDC to write its PID into
+*pid_file* after it starts up. This can be used to identify whether
+the KDC is still running and to allow init scripts to stop the correct
+process.
+
+The **-p** *portnum* option specifies the default UDP port numbers
+which the KDC should listen on for Kerberos version 5 requests, as a
+comma-separated list. This value overrides the UDP port numbers
+specified in the :ref:`kdcdefaults` section of :ref:`kdc.conf(5)`, but
+may be overridden by realm-specific values. If no value is given from
+any source, the default port is 88.
+
+The **-w** *numworkers* option tells the KDC to fork *numworkers*
+processes to listen to the KDC ports and process requests in parallel.
+The top level KDC process (whose pid is recorded in the pid file if
+the **-P** option is also given) acts as a supervisor. The supervisor
+will relay SIGHUP signals to the worker subprocesses, and will
+terminate the worker subprocess if the it is itself terminated or if
+any other worker process exits.
+
+.. note::
+
+ On operating systems which do not have *pktinfo* support,
+ using worker processes will prevent the KDC from listening
+ for UDP packets on network interfaces created after the KDC
+ starts.
+
+The **-x** *db_args* option specifies database-specific arguments.
+See :ref:`Database Options <dboptions>` in :ref:`kadmin(1)` for
+supported arguments.
+
+The **-T** *offset* option specifies a time offset, in seconds, which
+the KDC will operate under. It is intended only for testing purposes.
+
+EXAMPLE
+-------
+
+The KDC may service requests for multiple realms (maximum 32 realms).
+The realms are listed on the command line. Per-realm options that can
+be specified on the command line pertain for each realm that follows
+it and are superseded by subsequent definitions of the same option.
+
+For example::
+
+ krb5kdc -p 2001 -r REALM1 -p 2002 -r REALM2 -r REALM3
+
+specifies that the KDC listen on port 2001 for REALM1 and on port 2002
+for REALM2 and REALM3. Additionally, per-realm parameters may be
+specified in the :ref:`kdc.conf(5)` file. The location of this file
+may be specified by the **KRB5_KDC_PROFILE** environment variable.
+Per-realm parameters specified in this file take precedence over
+options specified on the command line. See the :ref:`kdc.conf(5)`
+description for further details.
+
+
+ENVIRONMENT
+-----------
+
+krb5kdc uses the following environment variables:
+
+* **KRB5_CONFIG**
+* **KRB5_KDC_PROFILE**
+
+
+SEE ALSO
+--------
+
+:ref:`kdb5_util(8)`, :ref:`kdc.conf(5)`, :ref:`krb5.conf(5)`,
+:ref:`kdb5_ldap_util(8)`
diff --git a/doc/html/_sources/admin/admin_commands/ktutil.txt b/doc/html/_sources/admin/admin_commands/ktutil.txt
new file mode 100644
index 000000000000..d55ddc8944c6
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/ktutil.txt
@@ -0,0 +1,133 @@
+.. _ktutil(1):
+
+ktutil
+======
+
+SYNOPSIS
+--------
+
+**ktutil**
+
+
+DESCRIPTION
+-----------
+
+The ktutil command invokes a command interface from which an
+administrator can read, write, or edit entries in a keytab or Kerberos
+V4 srvtab file.
+
+
+COMMANDS
+--------
+
+list
+~~~~
+
+ **list**
+
+Displays the current keylist.
+
+Alias: **l**
+
+read_kt
+~~~~~~~
+
+ **read_kt** *keytab*
+
+Read the Kerberos V5 keytab file *keytab* into the current keylist.
+
+Alias: **rkt**
+
+read_st
+~~~~~~~
+
+ **read_st** *srvtab*
+
+Read the Kerberos V4 srvtab file *srvtab* into the current keylist.
+
+Alias: **rst**
+
+write_kt
+~~~~~~~~
+
+ **write_kt** *keytab*
+
+Write the current keylist into the Kerberos V5 keytab file *keytab*.
+
+Alias: **wkt**
+
+write_st
+~~~~~~~~
+
+ **write_st** *srvtab*
+
+Write the current keylist into the Kerberos V4 srvtab file *srvtab*.
+
+Alias: **wst**
+
+clear_list
+~~~~~~~~~~
+
+ **clear_list**
+
+Clear the current keylist.
+
+Alias: **clear**
+
+delete_entry
+~~~~~~~~~~~~
+
+ **delete_entry** *slot*
+
+Delete the entry in slot number *slot* from the current keylist.
+
+Alias: **delent**
+
+add_entry
+~~~~~~~~~
+
+ **add_entry** {**-key**\|\ **-password**} **-p** *principal*
+ **-k** *kvno* **-e** *enctype*
+
+Add *principal* to keylist using key or password.
+
+Alias: **addent**
+
+list_requests
+~~~~~~~~~~~~~
+
+ **list_requests**
+
+Displays a listing of available commands.
+
+Aliases: **lr**, **?**
+
+quit
+~~~~
+
+ **quit**
+
+Quits ktutil.
+
+Aliases: **exit**, **q**
+
+
+EXAMPLE
+-------
+
+ ::
+
+ ktutil: add_entry -password -p alice@BLEEP.COM -k 1 -e
+ aes128-cts-hmac-sha1-96
+ Password for alice@BLEEP.COM:
+ ktutil: add_entry -password -p alice@BLEEP.COM -k 1 -e
+ aes256-cts-hmac-sha1-96
+ Password for alice@BLEEP.COM:
+ ktutil: write_kt keytab
+ ktutil:
+
+
+SEE ALSO
+--------
+
+:ref:`kadmin(1)`, :ref:`kdb5_util(8)`
diff --git a/doc/html/_sources/admin/admin_commands/sserver.txt b/doc/html/_sources/admin/admin_commands/sserver.txt
new file mode 100644
index 000000000000..b4e464466727
--- /dev/null
+++ b/doc/html/_sources/admin/admin_commands/sserver.txt
@@ -0,0 +1,105 @@
+.. _sserver(8):
+
+sserver
+=======
+
+SYNOPSIS
+--------
+
+**sserver**
+[ **-p** *port* ]
+[ **-S** *keytab* ]
+[ *server_port* ]
+
+
+DESCRIPTION
+-----------
+
+sserver and :ref:`sclient(1)` are a simple demonstration client/server
+application. When sclient connects to sserver, it performs a Kerberos
+authentication, and then sserver returns to sclient the Kerberos
+principal which was used for the Kerberos authentication. It makes a
+good test that Kerberos has been successfully installed on a machine.
+
+The service name used by sserver and sclient is sample. Hence,
+sserver will require that there be a keytab entry for the service
+``sample/hostname.domain.name@REALM.NAME``. This keytab is generated
+using the :ref:`kadmin(1)` program. The keytab file is usually
+installed as |keytab|.
+
+The **-S** option allows for a different keytab than the default.
+
+sserver is normally invoked out of inetd(8), using a line in
+``/etc/inetd.conf`` that looks like this::
+
+ sample stream tcp nowait root /usr/local/sbin/sserver sserver
+
+Since ``sample`` is normally not a port defined in ``/etc/services``,
+you will usually have to add a line to ``/etc/services`` which looks
+like this::
+
+ sample 13135/tcp
+
+When using sclient, you will first have to have an entry in the
+Kerberos database, by using :ref:`kadmin(1)`, and then you have to get
+Kerberos tickets, by using :ref:`kinit(1)`. Also, if you are running
+the sclient program on a different host than the sserver it will be
+connecting to, be sure that both hosts have an entry in /etc/services
+for the sample tcp port, and that the same port number is in both
+files.
+
+When you run sclient you should see something like this::
+
+ sendauth succeeded, reply is:
+ reply len 32, contents:
+ You are nlgilman@JIMI.MIT.EDU
+
+
+COMMON ERROR MESSAGES
+---------------------
+
+1) kinit returns the error::
+
+ kinit: Client not found in Kerberos database while getting
+ initial credentials
+
+ This means that you didn't create an entry for your username in the
+ Kerberos database.
+
+2) sclient returns the error::
+
+ unknown service sample/tcp; check /etc/services
+
+ This means that you don't have an entry in /etc/services for the
+ sample tcp port.
+
+3) sclient returns the error::
+
+ connect: Connection refused
+
+ This probably means you didn't edit /etc/inetd.conf correctly, or
+ you didn't restart inetd after editing inetd.conf.
+
+4) sclient returns the error::
+
+ sclient: Server not found in Kerberos database while using
+ sendauth
+
+ This means that the ``sample/hostname@LOCAL.REALM`` service was not
+ defined in the Kerberos database; it should be created using
+ :ref:`kadmin(1)`, and a keytab file needs to be generated to make
+ the key for that service principal available for sclient.
+
+5) sclient returns the error::
+
+ sendauth rejected, error reply is:
+ "No such file or directory"
+
+ This probably means sserver couldn't find the keytab file. It was
+ probably not installed in the proper directory.
+
+
+SEE ALSO
+--------
+
+:ref:`sclient(1)`, services(5), inetd(8)
diff --git a/doc/html/_sources/admin/advanced/index.txt b/doc/html/_sources/admin/advanced/index.txt
new file mode 100644
index 000000000000..54add53d8bda
--- /dev/null
+++ b/doc/html/_sources/admin/advanced/index.txt
@@ -0,0 +1,9 @@
+Advanced topics
+===============
+
+
+.. toctree::
+ :maxdepth: 1
+
+ ldapbackend.rst
+ retiring-des.rst
diff --git a/doc/html/_sources/admin/advanced/ldapbackend.txt b/doc/html/_sources/admin/advanced/ldapbackend.txt
new file mode 100644
index 000000000000..59c9eaa3c229
--- /dev/null
+++ b/doc/html/_sources/admin/advanced/ldapbackend.txt
@@ -0,0 +1,143 @@
+.. _ldap_be_ubuntu:
+
+LDAP backend on Ubuntu 10.4 (lucid)
+===================================
+
+Setting up Kerberos v1.9 with LDAP backend on Ubuntu 10.4 (Lucid Lynx)
+
+
+Prerequisites
+-------------
+
+Install the following packages: *slapd, ldap-utils* and *libldap2-dev*
+
+You can install the necessary packages with these commands::
+
+ sudo apt-get install slapd
+ sudo apt-get install ldap-utils
+ sudo apt-get install libldap2-dev
+
+Extend the user schema using schemas from standart OpenLDAP
+distribution: *cosine, mics, nis, inetcomperson* ::
+
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/cosine.ldif
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/mics.ldif
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/nis.ldif
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/inetcomperson.ldif
+
+
+Building Kerberos from source
+-----------------------------
+
+::
+
+ ./configure --with-ldap
+ make
+ sudo make install
+
+
+Setting up Kerberos
+-------------------
+
+Configuration
+~~~~~~~~~~~~~
+
+Update kdc.conf with the LDAP back-end information::
+
+ [realms]
+ EXAMPLE.COM = {
+ database_module = LDAP
+ }
+
+ [dbmodules]
+ LDAP = {
+ db_library = kldap
+ ldap_kerberos_container_dn = cn=krbContainer,dc=example,dc=com
+ ldap_kdc_dn = cn=admin,dc=example,dc=com
+ ldap_kadmind_dn = cn=admin,dc=example,dc=com
+ ldap_service_password_file = /usr/local/var/krb5kdc/admin.stash
+ ldap_servers = ldapi:///
+ }
+
+
+Schema
+~~~~~~
+
+From the source tree copy
+``src/plugins/kdb/ldap/libkdb_ldap/kerberos.schema`` into
+``/etc/ldap/schema``
+
+Warning: this step should be done after slapd is installed to avoid
+problems with slapd installation.
+
+To convert kerberos.schema to run-time configuration (``cn=config``)
+do the following:
+
+#. Create a temporary file ``/tmp/schema_convert.conf`` with the
+ following content::
+
+ include /etc/ldap/schema/kerberos.schema
+
+#. Create a temporary directory ``/tmp/krb5_ldif``.
+
+#. Run::
+
+ slaptest -f /tmp/schema_convert.conf -F /tmp/krb5_ldif
+
+ This should in a new file named
+ ``/tmp/krb5_ldif/cn=config/cn=schema/cn={0}kerberos.ldif``.
+
+#. Edit ``/tmp/krb5_ldif/cn=config/cn=schema/cn={0}kerberos.ldif`` by
+ replacing the lines::
+
+ dn: cn={0}kerberos
+ cn: {0}kerberos
+
+ with
+
+ dn: cn=kerberos,cn=schema,cn=config
+ cn: kerberos
+
+ Also, remove following attribute-value pairs::
+
+ structuralObjectClass: olcSchemaConfig
+ entryUUID: ...
+ creatorsName: cn=config
+ createTimestamp: ...
+ entryCSN: ...
+ modifiersName: cn=config
+ modifyTimestamp: ...
+
+#. Load the new schema with ldapadd (with the proper authentication)::
+
+ ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/krb5_ldif/cn=config/cn=schema/cn={0}kerberos.ldif
+
+ which should result the message ``adding new entry
+ "cn=kerberos,cn=schema,cn=config"``.
+
+
+Create Kerberos database
+------------------------
+
+Using LDAP administrator credentials, create Kerberos database and
+master key stash::
+
+ kdb5_ldap_util -D cn=admin,dc=example,dc=com -H ldapi:/// create -s
+
+Stash the LDAP administrative passwords::
+
+ kdb5_ldap_util -D cn=admin,dc=example,dc=com -H ldapi:/// stashsrvpw cn=admin,dc=example,dc=com
+
+Start :ref:`krb5kdc(8)`::
+
+ krb5kdc
+
+To destroy database run::
+
+ kdb5_ldap_util -D cn=admin,dc=example,dc=com -H ldapi:/// destroy -f
+
+
+Useful references
+-----------------
+
+* `Kerberos and LDAP <https://help.ubuntu.com/10.04/serverguide/C/kerberos-ldap.html>`_
diff --git a/doc/html/_sources/admin/advanced/retiring-des.txt b/doc/html/_sources/admin/advanced/retiring-des.txt
new file mode 100644
index 000000000000..8bcf83de2109
--- /dev/null
+++ b/doc/html/_sources/admin/advanced/retiring-des.txt
@@ -0,0 +1,417 @@
+.. _retiring-des:
+
+Retiring DES
+=======================
+
+Version 5 of the Kerberos protocol was originally implemented using
+the Data Encryption Standard (DES) as a block cipher for encryption.
+While it was considered secure at the time, advancements in computational
+ability have rendered DES vulnerable to brute force attacks on its 56-bit
+keyspace. As such, it is now considered insecure and should not be
+used (:rfc:`6649`).
+
+History
+-------
+
+DES was used in the original Kerberos implementation, and was the
+only cryptosystem in krb5 1.0. Partial support for triple-DES (3DES) was
+added in version 1.1, with full support following in version 1.2.
+The Advanced Encryption Standard (AES), which supersedes DES, gained
+partial support in version 1.3.0 of krb5 and full support in version 1.3.2.
+However, deployments of krb5 using Kerberos databases created with older
+versions of krb5 will not necessarily start using strong crypto for
+ordinary operation without administrator intervention.
+
+Types of keys
+-------------
+
+* The database master key: This key is not exposed to user requests,
+ but is used to encrypt other key material stored in the kerberos
+ database. The database master key is currently stored as ``K/M``
+ by default.
+* Password-derived keys: User principals frequently have keys
+ derived from a password. When a new password is set, the KDC
+ uses various string2key functions to generate keys in the database
+ for that principal.
+* Keytab keys: Application server principals generally use random
+ keys which are not derived from a password. When the database
+ entry is created, the KDC generates random keys of various enctypes
+ to enter in the database, which are conveyed to the application server
+ and stored in a keytab.
+* Session keys: These are short-term keys generated by the KDC while
+ processing client requests, with an enctype selected by the KDC.
+
+For details on the various enctypes and how enctypes are selected by the KDC
+for session keys and client/server long-term keys, see :ref:`enctypes`.
+When using the :ref:`kadmin(1)` interface to generate new long-term keys,
+the **-e** argument can be used to force a particular set of enctypes,
+overriding the KDC default values.
+
+.. note::
+
+ When the KDC is selecting a session key, it has no knowledge about the
+ kerberos installation on the server which will receive the service ticket,
+ only what keys are in the database for the service principal.
+ In order to allow uninterrupted operation to
+ clients while migrating away from DES, care must be taken to ensure that
+ kerberos installations on application server machines are configured to
+ support newer encryption types before keys of those new encryption types
+ are created in the Kerberos database for those server principals.
+
+Upgrade procedure
+-----------------
+
+This procedure assumes that the KDC software has already been upgraded
+to a modern version of krb5 that supports non-DES keys, so that the
+only remaining task is to update the actual keys used to service requests.
+The realm used for demonstrating this procedure, ZONE.MIT.EDU,
+is an example of the worst-case scenario, where all keys in the realm
+are DES. The realm was initially created with a very old version of krb5,
+and **supported_enctypes** in :ref:`kdc.conf(5)` was set to a value
+appropriate when the KDC was installed, but was not updated as the KDC
+was upgraded:
+
+::
+
+ [realms]
+ ZONE.MIT.EDU = {
+ [...]
+ master_key_type = des-cbc-crc
+ supported_enctypes = des-cbc-crc:normal des:normal des:v4 des:norealm des:onlyrealm des:afs3
+ }
+
+This resulted in the keys for all principals in the realm being forced
+to DES-only, unless specifically requested using :ref:`kadmin(1)`.
+
+Before starting the upgrade, all KDCs were running krb5 1.11,
+and the database entries for some "high-value" principals were:
+
+::
+
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q 'getprinc krbtgt/ZONE.MIT.EDU'
+ [...]
+ Number of keys: 1
+ Key: vno 1, des-cbc-crc:v4
+ [...]
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q 'getprinc kadmin/admin'
+ [...]
+ Number of keys: 1
+ Key: vno 15, des-cbc-crc
+ [...]
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q 'getprinc kadmin/changepw'
+ [...]
+ Number of keys: 1
+ Key: vno 14, des-cbc-crc
+ [...]
+
+The ``krbtgt/REALM`` key appears to have never been changed since creation
+(its kvno is 1), and all three database entries have only a des-cbc-crc key.
+
+The krbtgt key and KDC keys
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Perhaps the biggest single-step improvement in the security of the cell
+is gained by strengthening the key of the ticket-granting service principal,
+``krbtgt/REALM``---if this principal's key is compromised, so is the
+entire realm. Since the server that will handle service tickets
+for this principal is the KDC itself, it is easy to guarantee that it
+will be configured to support any encryption types which might be
+selected. However, the default KDC behavior when creating new keys is to
+remove the old keys, which would invalidate all existing tickets issued
+against that principal, rendering the TGTs cached by clients useless.
+Instead, a new key can be created with the old key retained, so that
+existing tickets will still function until their scheduled expiry
+(see :ref:`changing_krbtgt_key`).
+
+::
+
+ [root@casio krb5kdc]# enctypes=aes256-cts-hmac-sha1-96:normal,\
+ > aes128-cts-hmac-sha1-96:normal,des3-hmac-sha1:normal,des-cbc-crc:normal
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q "cpw -e ${enctypes} -randkey \
+ > -keepold krbtgt/ZONE.MIT.EDU"
+ Authenticating as principal root/admin@ZONE.MIT.EDU with password.
+ Key for "krbtgt/ZONE.MIT.EDU@ZONE.MIT.EDU" randomized.
+
+.. note::
+
+ The new ``krbtgt@REALM`` key should be propagated to slave KDCs
+ immediately so that TGTs issued by the master KDC can be used to
+ issue service tickets on slave KDCs. Slave KDCs will refuse requests
+ using the new TGT kvno until the new krbtgt entry has been propagated
+ to them.
+
+It is necessary to explicitly specify the enctypes for the new database
+entry, since **supported_enctypes** has not been changed. Leaving
+**supported_enctypes** unchanged makes a potential rollback operation
+easier, since all new keys of new enctypes are the result of explicit
+administrator action and can be easily enumerated.
+Upgrading the krbtgt key should have minimal user-visible disruption other
+than that described in the note above, since only clients which list the
+new enctypes as supported will use them, per the procedure
+in :ref:`session_key_selection`.
+Once the krbtgt key is updated, the session and ticket keys for user
+TGTs will be strong keys, but subsequent requests
+for service tickets will still get DES keys until the service principals
+have new keys generated. Application service
+remains uninterrupted due to the key-selection procedure on the KDC.
+
+After the change, the database entry is now:
+
+::
+
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q 'getprinc krbtgt/ZONE.MIT.EDU'
+ [...]
+ Number of keys: 5
+ Key: vno 2, aes256-cts-hmac-sha1-96
+ Key: vno 2, aes128-cts-hmac-sha1-96
+ Key: vno 2, des3-cbc-sha1
+ Key: vno 2, des-cbc-crc
+ Key: vno 1, des-cbc-crc:v4
+ [...]
+
+Since the expected disruptions from rekeying the krbtgt principal are
+minor, after a short testing period, it is
+appropriate to rekey the other high-value principals, ``kadmin/admin@REALM``
+and ``kadmin/changepw@REALM``. These are the service principals used for
+changing user passwords and updating application keytabs. The kadmin
+and password-changing services are regular kerberized services, so the
+session-key-selection algorithm described in :ref:`session_key_selection`
+applies. It is particularly important to have strong session keys for
+these services, since user passwords and new long-term keys are conveyed
+over the encrypted channel.
+
+::
+
+ [root@casio krb5kdc]# enctypes=aes256-cts-hmac-sha1-96:normal,\
+ > aes128-cts-hmac-sha1-96:normal,des3-hmac-sha1:normal
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q "cpw -e ${enctypes} -randkey \
+ > kadmin/admin"
+ Authenticating as principal root/admin@ZONE.MIT.EDU with password.
+ Key for "kadmin/admin@ZONE.MIT.EDU" randomized.
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q "cpw -e ${enctypes} -randkey \
+ > kadmin/changepw"
+ Authenticating as principal root/admin@ZONE.MIT.EDU with password.
+ Key for "kadmin/changepw@ZONE.MIT.EDU" randomized.
+
+It is not necessary to retain a single-DES key for these services, since
+password changes are not part of normal daily workflow, and disruption
+from a client failure is likely to be minimal. Furthermore, if a kerberos
+client experiences failure changing a user password or keytab key,
+this indicates that that client will become inoperative once services
+are rekeyed to non-DES enctypes. Such problems can be detected early
+at this stage, giving more time for corrective action.
+
+Adding strong keys to application servers
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Before switching the default enctypes for new keys over to strong enctypes,
+it may be desired to test upgrading a handful of services with the
+new configuration before flipping the switch for the defaults. This
+still requires using the **-e** argument in :ref:`kadmin(1)` to get non-default
+enctypes:
+
+::
+
+ [root@casio krb5kdc]# enctypes=aes256-cts-hmac-sha1-96:normal,\
+ > aes128-cts-hmac-sha1-96:normal,des3-cbc-sha1:normal,des-cbc-crc:normal
+ [root@casio krb5kdc]# kadmin -r ZONE.MIT.EDU -p zephyr/zephyr@ZONE.MIT.EDU -k -t \
+ > /etc/zephyr/krb5.keytab -q "ktadd -e ${enctypes} \
+ > -k /etc/zephyr/krb5.keytab zephyr/zephyr@ZONE.MIT.EDU"
+ Authenticating as principal zephyr/zephyr@ZONE.MIT.EDU with keytab /etc/zephyr/krb5.keytab.
+ Entry for principal zephyr/zephyr@ZONE.MIT.EDU with kvno 4, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:/etc/zephyr/krb5.keytab.
+ Entry for principal zephyr/zephyr@ZONE.MIT.EDU with kvno 4, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:/etc/zephyr/krb5.keytab.
+ Entry for principal zephyr/zephyr@ZONE.MIT.EDU with kvno 4, encryption type des3-cbc-sha1 added to keytab WRFILE:/etc/zephyr/krb5.keytab.
+ Entry for principal zephyr/zephyr@ZONE.MIT.EDU with kvno 4, encryption type des-cbc-crc added to keytab WRFILE:/etc/zephyr/krb5.keytab.
+
+Be sure to remove the old keys from the application keytab, per best
+practice.
+
+::
+
+ [root@casio krb5kdc]# k5srvutil -f /etc/zephyr/krb5.keytab delold
+ Authenticating as principal zephyr/zephyr@ZONE.MIT.EDU with keytab /etc/zephyr/krb5.keytab.
+ Entry for principal zephyr/zephyr@ZONE.MIT.EDU with kvno 3 removed from keytab WRFILE:/etc/zephyr/krb5.keytab.
+
+Adding strong keys by default
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Once the high-visibility services have been rekeyed, it is probably
+appropriate to change :ref:`kdc.conf(5)` to generate keys with the new
+encryption types by default. This enables server administrators to generate
+new enctypes with the **change** subcommand of :ref:`k5srvutil(1)`,
+and causes user password
+changes to add new encryption types for their entries. It will probably
+be necessary to implement administrative controls to cause all user
+principal keys to be updated in a reasonable period of time, whether
+by forcing password changes or a password synchronization service that
+has access to the current password and can add the new keys.
+
+::
+
+ [realms]
+ ZONE.MIT.EDU = {
+ supported_enctypes = aes256-cts-hmac-sha1-96:normal aes128-cts-hmac-sha1-96:normal des3-cbc-sha1:normal des3-hmac-sha1:normal des-cbc-crc:normal
+
+.. note::
+
+ The krb5kdc process must be restarted for these changes to take effect.
+
+At this point, all service administrators can update their services and the
+servers behind them to take advantage of strong cryptography.
+If necessary, the server's krb5 installation should be configured and/or
+upgraded to a version supporting non-DES keys. See :ref:`enctypes` for
+krb5 version and configuration settings.
+Only when the service is configured to accept non-DES keys should
+the key version number be incremented and new keys generated
+(``k5srvutil change && k5srvutil delold``).
+
+::
+
+ root@dr-willy:~# k5srvutil change
+ Authenticating as principal host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU with keytab /etc/krb5.keytab.
+ Entry for principal host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU with kvno 3, encryption type AES-256 CTS mode with 96-bit SHA-1 HMAC added to keytab WRFILE:/etc/krb5.keytab.
+ Entry for principal host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU with kvno 3, encryption type AES-128 CTS mode with 96-bit SHA-1 HMAC added to keytab WRFILE:/etc/krb5.keytab.
+ Entry for principal host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/etc/krb5.keytab.
+ Entry for principal host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/etc/krb5.keytab.
+ root@dr-willy:~# klist -e -k -t /etc/krb5.keytab
+ Keytab name: WRFILE:/etc/krb5.keytab
+ KVNO Timestamp Principal
+ ---- ----------------- --------------------------------------------------------
+ 2 10/10/12 17:03:59 host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU (DES cbc mode with CRC-32)
+ 3 12/12/12 15:31:19 host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU (AES-256 CTS mode with 96-bit SHA-1 HMAC)
+ 3 12/12/12 15:31:19 host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU (AES-128 CTS mode with 96-bit SHA-1 HMAC)
+ 3 12/12/12 15:31:19 host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU (Triple DES cbc mode with HMAC/sha1)
+ 3 12/12/12 15:31:19 host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU (DES cbc mode with CRC-32)
+ root@dr-willy:~# k5srvutil delold
+ Authenticating as principal host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU with keytab /etc/krb5.keytab.
+ Entry for principal host/dr-willy.xvm.mit.edu@ZONE.MIT.EDU with kvno 2 removed from keytab WRFILE:/etc/krb5.keytab.
+
+When a single service principal is shared by multiple backend servers in
+a load-balanced environment, it may be necessary to schedule downtime
+or adjust the population in the load-balanced pool in order to propagate
+the updated keytab to all hosts in the pool with minimal service interruption.
+
+Removing DES keys from usage
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This situation remains something of a testing or transitory state,
+as new DES keys are still being generated, and will be used if requested
+by a client. To make more progress removing DES from the realm, the KDC
+should be configured to not generate such keys by default.
+
+.. note::
+
+ An attacker posing as a client can implement a brute force attack against
+ a DES key for any principal, if that key is in the current (highest-kvno)
+ key list. This attack is only possible if **allow_weak_crypto = true**
+ is enabled on the KDC. Setting the **+requires_preauth** flag on a
+ principal forces this attack to be an online attack, much slower than
+ the offline attack otherwise available to the attacker. However, setting
+ this flag on a service principal is not always advisable; see the entry in
+ :ref:`add_principal` for details.
+
+The following KDC configuration will not generate DES keys by default:
+
+::
+
+ [realms]
+ ZONE.MIT.EDU = {
+ supported_enctypes = aes256-cts-hmac-sha1-96:normal aes128-cts-hmac-sha1-96:normal des3-cbc-sha1:normal des3-hmac-sha1:normal
+
+.. note::
+
+ As before, the KDC process must be restarted for this change to take
+ effect. It is best practice to update kdc.conf on all KDCs, not just the
+ master, to avoid unpleasant surprises should the master fail and a slave
+ need to be promoted.
+
+It is now appropriate to remove the legacy single-DES key from the
+``krbtgt/REALM`` entry:
+
+::
+
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q "cpw -randkey -keepold \
+ > krbtgt/ZONE.MIT.EDU"
+ Authenticating as principal host/admin@ATHENA.MIT.EDU with password.
+ Key for "krbtgt/ZONE.MIT.EDU@ZONE.MIT.EDU" randomized.
+
+After the maximum ticket lifetime has passed, the old database entry
+should be removed.
+
+::
+
+ [root@casio krb5kdc]# kadmin.local -r ZONE.MIT.EDU -q 'purgekeys krbtgt/ZONE.MIT.EDU'
+ Authenticating as principal root/admin@ZONE.MIT.EDU with password.
+ Old keys for principal "krbtgt/ZONE.MIT.EDU@ZONE.MIT.EDU" purged.
+
+After the KDC is restarted with the new **supported_enctypes**,
+all user password changes and application keytab updates will not
+generate DES keys by default.
+
+::
+
+ contents-vnder-pressvre:~> kpasswd zonetest@ZONE.MIT.EDU
+ Password for zonetest@ZONE.MIT.EDU: [enter old password]
+ Enter new password: [enter new password]
+ Enter it again: [enter new password]
+ Password changed.
+ contents-vnder-pressvre:~> kadmin -r ZONE.MIT.EDU -q 'getprinc zonetest'
+ [...]
+ Number of keys: 3
+ Key: vno 9, aes256-cts-hmac-sha1-96
+ Key: vno 9, aes128-cts-hmac-sha1-96
+ Key: vno 9, des3-cbc-sha1
+ [...]
+
+ [kaduk@glossolalia ~]$ kadmin -p kaduk@ZONE.MIT.EDU -r ZONE.MIT.EDU -k \
+ > -t kaduk-zone.keytab -q 'ktadd -k kaduk-zone.keytab kaduk@ZONE.MIT.EDU'
+ Authenticating as principal kaduk@ZONE.MIT.EDU with keytab kaduk-zone.keytab.
+ Entry for principal kaduk@ZONE.MIT.EDU with kvno 3, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:kaduk-zone.keytab.
+ Entry for principal kaduk@ZONE.MIT.EDU with kvno 3, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:kaduk-zone.keytab.
+ Entry for principal kaduk@ZONE.MIT.EDU with kvno 3, encryption type des3-cbc-sha1 added to keytab WRFILE:kaduk-zone.keytab.
+
+Once all principals have been re-keyed, DES support can be disabled on the
+KDC (**allow_weak_crypto = false**), and client machines can remove
+**allow_weak_crypto = true** from their :ref:`krb5.conf(5)` configuration
+files, completing the migration. **allow_weak_crypto** takes precedence over
+all places where DES enctypes could be explicitly configured. DES keys will
+not be used, even if they are present, when **allow_weak_crypto = false**.
+
+Support for legacy services
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If there remain legacy services which do not support non-DES enctypes
+(such as older versions of AFS), **allow_weak_crypto** must remain
+enabled on the KDC. Client machines need not have this setting,
+though---applications which require DES can use API calls to allow
+weak crypto on a per-request basis, overriding the system krb5.conf.
+However, having **allow_weak_crypto** set on the KDC means that any
+principals which have a DES key in the database could still use those
+keys. To minimize the use of DES in the realm and restrict it to just
+legacy services which require DES, it is necessary to remove all other
+DES keys. The realm has been configured such that at password and
+keytab change, no DES keys will be generated by default. The task
+then reduces to requiring user password changes and having server
+administrators update their service keytabs. Administrative outreach
+will be necessary, and if the desire to eliminate DES is sufficiently
+strong, the KDC administrators may choose to randkey any principals
+which have not been rekeyed after some timeout period, forcing the
+user to contact the helpdesk for access.
+
+The Database Master Key
+-----------------------
+
+This procedure does not alter ``K/M@REALM``, the key used to encrypt key
+material in the Kerberos database. (This is the key stored in the stash file
+on the KDC if stash files are used.) However, the security risk of
+a single-DES key for ``K/M`` is minimal, given that access to material
+encrypted in ``K/M`` (the Kerberos database) is generally tightly controlled.
+If an attacker can gain access to the encrypted database, they likely
+have access to the stash file as well, rendering the weak cryptography
+broken by non-cryptographic means. As such, upgrading ``K/M`` to a stronger
+encryption type is unlikely to be a high-priority task.
+
+Is is possible to upgrade the master key used for the database, if
+desired. Using :ref:`kdb5_util(8)`'s **add_mkey**, **use_mkey**, and
+**update_princ_encryption** commands, a new master key can be added
+and activated for use on new key material, and the existing entries
+converted to the new master key.
diff --git a/doc/html/_sources/admin/appl_servers.txt b/doc/html/_sources/admin/appl_servers.txt
new file mode 100644
index 000000000000..f6474cdbdebc
--- /dev/null
+++ b/doc/html/_sources/admin/appl_servers.txt
@@ -0,0 +1,147 @@
+Application servers
+===================
+
+If you need to install the Kerberos V5 programs on an application
+server, please refer to the Kerberos V5 Installation Guide. Once you
+have installed the software, you need to add that host to the Kerberos
+database (see :ref:`add_mod_del_princs`), and generate a keytab for
+that host, that contains the host's key. You also need to make sure
+the host's clock is within your maximum clock skew of the KDCs.
+
+
+Keytabs
+-------
+
+A keytab is a host's copy of its own keylist, which is analogous to a
+user's password. An application server that needs to authenticate
+itself to the KDC has to have a keytab that contains its own principal
+and key. Just as it is important for users to protect their
+passwords, it is equally important for hosts to protect their keytabs.
+You should always store keytab files on local disk, and make them
+readable only by root, and you should never send a keytab file over a
+network in the clear. Ideally, you should run the :ref:`kadmin(1)`
+command to extract a keytab on the host on which the keytab is to
+reside.
+
+
+.. _add_princ_kt:
+
+Adding principals to keytabs
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To generate a keytab, or to add a principal to an existing keytab, use
+the **ktadd** command from kadmin.
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _ktadd:
+ :end-before: _ktadd_end:
+
+
+Examples
+########
+
+Here is a sample session, using configuration files that enable only
+AES encryption::
+
+ kadmin: ktadd host/daffodil.mit.edu@ATHENA.MIT.EDU
+ Entry for principal host/daffodil.mit.edu with kvno 2, encryption type aes256-cts-hmac-sha1-96 added to keytab FILE:/etc/krb5.keytab
+ Entry for principal host/daffodil.mit.edu with kvno 2, encryption type aes128-cts-hmac-sha1-96 added to keytab FILE:/etc/krb5.keytab
+ kadmin:
+
+
+Removing principals from keytabs
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To remove a principal from an existing keytab, use the kadmin
+**ktremove** command.
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _ktremove:
+ :end-before: _ktremove_end:
+
+
+Clock Skew
+----------
+
+A Kerberos application server host must keep its clock synchronized or
+it will reject authentication requests from clients. Modern operating
+systems typically provide a facility to maintain the correct time;
+make sure it is enabled. This is especially important on virtual
+machines, where clocks tend to drift more rapidly than normal machine
+clocks.
+
+The default allowable clock skew is controlled by the **clockskew**
+variable in :ref:`libdefaults`.
+
+
+Getting DNS information correct
+-------------------------------
+
+Several aspects of Kerberos rely on name service. When a hostname is
+used to name a service, the Kerberos library canonicalizes the
+hostname using forward and reverse name resolution. (The reverse name
+resolution step can be turned off using the **rdns** variable in
+:ref:`libdefaults`.) The result of this canonicalization must match
+the principal entry in the host's keytab, or authentication will fail.
+
+Each host's canonical name must be the fully-qualified host name
+(including the domain), and each host's IP address must
+reverse-resolve to the canonical name.
+
+Configuration of hostnames varies by operating system. On the
+application server itself, canonicalization will typically use the
+``/etc/hosts`` file rather than the DNS. Ensure that the line for the
+server's hostname is in the following form::
+
+ IP address fully-qualified hostname aliases
+
+Here is a sample ``/etc/hosts`` file::
+
+ # this is a comment
+ 127.0.0.1 localhost localhost.mit.edu
+ 10.0.0.6 daffodil.mit.edu daffodil trillium wake-robin
+
+The output of ``klist -k`` for this example host should look like::
+
+ viola# klist -k
+ Keytab name: /etc/krb5.keytab
+ KVNO Principal
+ ---- ------------------------------------------------------------
+ 2 host/daffodil.mit.edu@ATHENA.MIT.EDU
+
+If you were to ssh to this host with a fresh credentials cache (ticket
+file), and then :ref:`klist(1)`, the output should list a service
+principal of ``host/daffodil.mit.edu@ATHENA.MIT.EDU``.
+
+
+.. _conf_firewall:
+
+Configuring your firewall to work with Kerberos V5
+--------------------------------------------------
+
+If you need off-site users to be able to get Kerberos tickets in your
+realm, they must be able to get to your KDC. This requires either
+that you have a slave KDC outside your firewall, or that you configure
+your firewall to allow UDP requests into at least one of your KDCs, on
+whichever port the KDC is running. (The default is port 88; other
+ports may be specified in the KDC's :ref:`kdc.conf(5)` file.)
+Similarly, if you need off-site users to be able to change their
+passwords in your realm, they must be able to get to your Kerberos
+admin server on the kpasswd port (which defaults to 464). If you need
+off-site users to be able to administer your Kerberos realm, they must
+be able to get to your Kerberos admin server on the administrative
+port (which defaults to 749).
+
+If your on-site users inside your firewall will need to get to KDCs in
+other realms, you will also need to configure your firewall to allow
+outgoing TCP and UDP requests to port 88, and to port 464 to allow
+password changes. If your on-site users inside your firewall will
+need to get to Kerberos admin servers in other realms, you will also
+need to allow outgoing TCP and UDP requests to port 749.
+
+If any of your KDCs are outside your firewall, you will need to allow
+kprop requests to get through to the remote KDC. :ref:`kprop(8)` uses
+the ``krb5_prop`` service on port 754 (tcp).
+
+The book *UNIX System Security*, by David Curry, is a good starting
+point for learning to configure firewalls.
diff --git a/doc/html/_sources/admin/auth_indicator.txt b/doc/html/_sources/admin/auth_indicator.txt
new file mode 100644
index 000000000000..b13905e95486
--- /dev/null
+++ b/doc/html/_sources/admin/auth_indicator.txt
@@ -0,0 +1,57 @@
+.. _auth_indicator:
+
+Authentication indicators
+=========================
+
+As of release 1.14, the KDC can be configured to annotate tickets if
+the client authenticated using a stronger preauthentication mechanism
+such as :ref:`PKINIT <pkinit>` or :ref:`OTP <otp_preauth>`. These
+annotations are called "authentication indicators." Service
+principals can be configured to require particular authentication
+indicators in order to authenticate to that service. An
+authentication indicator value can be any string chosen by the KDC
+administrator; there are no pre-set values.
+
+To use authentication indicators with PKINIT or OTP, first configure
+the KDC to include an indicator when that preauthentication mechanism
+is used. For PKINIT, use the **pkinit_indicator** variable in
+:ref:`kdc.conf(5)`. For OTP, use the **indicator** variable in the
+token type definition, or specify the indicators in the **otp** user
+string as described in :ref:`otp_preauth`.
+
+To require an indicator to be present in order to authenticate to a
+service principal, set the **require_auth** string attribute on the
+principal to the indicator value to be required. If you wish to allow
+one of several indicators to be accepted, you can specify multiple
+indicator values separated by spaces.
+
+For example, a realm could be configured to set the authentication
+indicator value "strong" when PKINIT is used to authenticate, using a
+setting in the :ref:`kdc_realms` subsection::
+
+ pkinit_indicator = strong
+
+A service principal could be configured to require the "strong"
+authentication indicator value::
+
+ $ kadmin setstr host/high.value.server require_auth strong
+ Password for user/admin@KRBTEST.COM:
+
+A user who authenticates with PKINIT would be able to obtain a ticket
+for the service principal::
+
+ $ kinit -X X509_user_identity=FILE:/my/cert.pem,/my/key.pem user
+ $ kvno host/high.value.server
+ host/high.value.server@KRBTEST.COM: kvno = 1
+
+but a user who authenticates with a password would not::
+
+ $ kinit user
+ Password for user@KRBTEST.COM:
+ $ kvno host/high.value.server
+ kvno: KDC policy rejects request while getting credentials for
+ host/high.value.server@KRBTEST.COM
+
+GSSAPI server applications can inspect authentication indicators
+through the :ref:`auth-indicators <gssapi_authind_attr>` name
+attribute.
diff --git a/doc/html/_sources/admin/backup_host.txt b/doc/html/_sources/admin/backup_host.txt
new file mode 100644
index 000000000000..a0c2a2878e3e
--- /dev/null
+++ b/doc/html/_sources/admin/backup_host.txt
@@ -0,0 +1,34 @@
+Backups of secure hosts
+=======================
+
+When you back up a secure host, you should exclude the host's keytab
+file from the backup. If someone obtained a copy of the keytab from a
+backup, that person could make any host masquerade as the host whose
+keytab was compromised. In many configurations, knowledge of the
+host's keytab also allows root access to the host. This could be
+particularly dangerous if the compromised keytab was from one of your
+KDCs. If the machine has a disk crash and the keytab file is lost, it
+is easy to generate another keytab file. (See :ref:`add_princ_kt`.)
+If you are unable to exclude particular files from backups, you should
+ensure that the backups are kept as secure as the host's root
+password.
+
+
+Backing up the Kerberos database
+--------------------------------
+
+As with any file, it is possible that your Kerberos database could
+become corrupted. If this happens on one of the slave KDCs, you might
+never notice, since the next automatic propagation of the database
+would install a fresh copy. However, if it happens to the master KDC,
+the corrupted database would be propagated to all of the slaves during
+the next propagation. For this reason, MIT recommends that you back
+up your Kerberos database regularly. Because the master KDC is
+continuously dumping the database to a file in order to propagate it
+to the slave KDCs, it is a simple matter to have a cron job
+periodically copy the dump file to a secure machine elsewhere on your
+network. (Of course, it is important to make the host where these
+backups are stored as secure as your KDCs, and to encrypt its
+transmission across your network.) Then if your database becomes
+corrupted, you can load the most recent dump onto the master KDC.
+(See :ref:`restore_from_dump`.)
diff --git a/doc/html/_sources/admin/conf_files/index.txt b/doc/html/_sources/admin/conf_files/index.txt
new file mode 100644
index 000000000000..a04836ac742d
--- /dev/null
+++ b/doc/html/_sources/admin/conf_files/index.txt
@@ -0,0 +1,20 @@
+Configuration Files
+===================
+
+Kerberos uses configuration files to allow administrators to specify
+settings on a per-machine basis. :ref:`krb5.conf(5)` applies to all
+applications using the Kerboros library, on clients and servers.
+For KDC-specific applications, additional settings can be specified in
+:ref:`kdc.conf(5)`; the two files are merged into a configuration profile
+used by applications accessing the KDC database directly. :ref:`kadm5.acl(5)`
+is also only used on the KDC, it controls permissions for modifying the
+KDC database.
+
+Contents
+--------
+.. toctree::
+ :maxdepth: 1
+
+ krb5_conf
+ kdc_conf
+ kadm5_acl
diff --git a/doc/html/_sources/admin/conf_files/kadm5_acl.txt b/doc/html/_sources/admin/conf_files/kadm5_acl.txt
new file mode 100644
index 000000000000..d23fb8a5789e
--- /dev/null
+++ b/doc/html/_sources/admin/conf_files/kadm5_acl.txt
@@ -0,0 +1,149 @@
+.. _kadm5.acl(5):
+
+kadm5.acl
+=========
+
+DESCRIPTION
+-----------
+
+The Kerberos :ref:`kadmind(8)` daemon uses an Access Control List
+(ACL) file to manage access rights to the Kerberos database.
+For operations that affect principals, the ACL file also controls
+which principals can operate on which other principals.
+
+The default location of the Kerberos ACL file is
+|kdcdir|\ ``/kadm5.acl`` unless this is overridden by the *acl_file*
+variable in :ref:`kdc.conf(5)`.
+
+SYNTAX
+------
+
+Empty lines and lines starting with the sharp sign (``#``) are
+ignored. Lines containing ACL entries have the format::
+
+ principal permissions [target_principal [restrictions] ]
+
+.. note::
+
+ Line order in the ACL file is important. The first matching entry
+ will control access for an actor principal on a target principal.
+
+*principal*
+ (Partially or fully qualified Kerberos principal name.) Specifies
+ the principal whose permissions are to be set.
+
+ Each component of the name may be wildcarded using the ``*``
+ character.
+
+*permissions*
+ Specifies what operations may or may not be performed by a
+ *principal* matching a particular entry. This is a string of one or
+ more of the following list of characters or their upper-case
+ counterparts. If the character is *upper-case*, then the operation
+ is disallowed. If the character is *lower-case*, then the operation
+ is permitted.
+
+ == ======================================================
+ a [Dis]allows the addition of principals or policies
+ c [Dis]allows the changing of passwords for principals
+ d [Dis]allows the deletion of principals or policies
+ e [Dis]allows the extraction of principal keys
+ i [Dis]allows inquiries about principals or policies
+ l [Dis]allows the listing of all principals or policies
+ m [Dis]allows the modification of principals or policies
+ p [Dis]allows the propagation of the principal database (used in :ref:`incr_db_prop`)
+ s [Dis]allows the explicit setting of the key for a principal
+ x Short for admcilsp. All privileges (except ``e``)
+ \* Same as x.
+ == ======================================================
+
+.. note::
+
+ The ``extract`` privilege is not included in the wildcard
+ privilege; it must be explicitly assigned. This privilege
+ allows the user to extract keys from the database, and must be
+ handled with great care to avoid disclosure of important keys
+ like those of the kadmin/* or krbtgt/* principals. The
+ **lockdown_keys** principal attribute can be used to prevent
+ key extraction from specific principals regardless of the
+ granted privilege.
+
+*target_principal*
+ (Optional. Partially or fully qualified Kerberos principal name.)
+ Specifies the principal on which *permissions* may be applied.
+ Each component of the name may be wildcarded using the ``*``
+ character.
+
+ *target_principal* can also include back-references to *principal*,
+ in which ``*number`` matches the corresponding wildcard in
+ *principal*.
+
+*restrictions*
+ (Optional) A string of flags. Allowed restrictions are:
+
+ {+\|-}\ *flagname*
+ flag is forced to the indicated value. The permissible flags
+ are the same as those for the **default_principal_flags**
+ variable in :ref:`kdc.conf(5)`.
+
+ *-clearpolicy*
+ policy is forced to be empty.
+
+ *-policy pol*
+ policy is forced to be *pol*.
+
+ -{*expire, pwexpire, maxlife, maxrenewlife*} *time*
+ (:ref:`getdate` string) associated value will be forced to
+ MIN(*time*, requested value).
+
+ The above flags act as restrictions on any add or modify operation
+ which is allowed due to that ACL line.
+
+.. warning::
+
+ If the kadmind ACL file is modified, the kadmind daemon needs to be
+ restarted for changes to take effect.
+
+EXAMPLE
+-------
+
+Here is an example of a kadm5.acl file::
+
+ */admin@ATHENA.MIT.EDU * # line 1
+ joeadmin@ATHENA.MIT.EDU ADMCIL # line 2
+ joeadmin/*@ATHENA.MIT.EDU i */root@ATHENA.MIT.EDU # line 3
+ */root@ATHENA.MIT.EDU ci *1@ATHENA.MIT.EDU # line 4
+ */root@ATHENA.MIT.EDU l * # line 5
+ sms@ATHENA.MIT.EDU x * -maxlife 9h -postdateable # line 6
+
+(line 1) Any principal in the ``ATHENA.MIT.EDU`` realm with
+an ``admin`` instance has all administrative privileges.
+
+(lines 1-3) The user ``joeadmin`` has all permissions with his
+``admin`` instance, ``joeadmin/admin@ATHENA.MIT.EDU`` (matches line
+1). He has no permissions at all with his null instance,
+``joeadmin@ATHENA.MIT.EDU`` (matches line 2). His ``root`` and other
+non-``admin``, non-null instances (e.g., ``extra`` or ``dbadmin``) have
+inquire permissions with any principal that has the instance ``root``
+(matches line 3).
+
+(line 4) Any ``root`` principal in ``ATHENA.MIT.EDU`` can inquire
+or change the password of their null instance, but not any other
+null instance. (Here, ``*1`` denotes a back-reference to the
+component matching the first wildcard in the actor principal.)
+
+(line 5) Any ``root`` principal in ``ATHENA.MIT.EDU`` can generate
+the list of principals in the database, and the list of policies
+in the database. This line is separate from line 4, because list
+permission can only be granted globally, not to specific target
+principals.
+
+(line 6) Finally, the Service Management System principal
+``sms@ATHENA.MIT.EDU`` has all permissions, but any principal that it
+creates or modifies will not be able to get postdateable tickets or
+tickets with a life of longer than 9 hours.
+
+SEE ALSO
+--------
+
+:ref:`kdc.conf(5)`, :ref:`kadmind(8)`
diff --git a/doc/html/_sources/admin/conf_files/kdc_conf.txt b/doc/html/_sources/admin/conf_files/kdc_conf.txt
new file mode 100644
index 000000000000..13077ecf4bc2
--- /dev/null
+++ b/doc/html/_sources/admin/conf_files/kdc_conf.txt
@@ -0,0 +1,937 @@
+.. _kdc.conf(5):
+
+kdc.conf
+========
+
+The kdc.conf file supplements :ref:`krb5.conf(5)` for programs which
+are typically only used on a KDC, such as the :ref:`krb5kdc(8)` and
+:ref:`kadmind(8)` daemons and the :ref:`kdb5_util(8)` program.
+Relations documented here may also be specified in krb5.conf; for the
+KDC programs mentioned, krb5.conf and kdc.conf will be merged into a
+single configuration profile.
+
+Normally, the kdc.conf file is found in the KDC state directory,
+|kdcdir|. You can override the default location by setting the
+environment variable **KRB5_KDC_PROFILE**.
+
+Please note that you need to restart the KDC daemon for any configuration
+changes to take effect.
+
+Structure
+---------
+
+The kdc.conf file is set up in the same format as the
+:ref:`krb5.conf(5)` file.
+
+
+Sections
+--------
+
+The kdc.conf file may contain the following sections:
+
+==================== =================================================
+:ref:`kdcdefaults` Default values for KDC behavior
+:ref:`kdc_realms` Realm-specific database configuration and settings
+:ref:`dbdefaults` Default database settings
+:ref:`dbmodules` Per-database settings
+:ref:`logging` Controls how Kerberos daemons perform logging
+==================== =================================================
+
+
+.. _kdcdefaults:
+
+[kdcdefaults]
+~~~~~~~~~~~~~
+
+With two exceptions, relations in the [kdcdefaults] section specify
+default values for realm variables, to be used if the [realms]
+subsection does not contain a relation for the tag. See the
+:ref:`kdc_realms` section for the definitions of these relations.
+
+* **host_based_services**
+* **kdc_listen**
+* **kdc_ports**
+* **kdc_tcp_listen**
+* **kdc_tcp_ports**
+* **no_host_referral**
+* **restrict_anonymous_to_tgt**
+
+**kdc_max_dgram_reply_size**
+ Specifies the maximum packet size that can be sent over UDP. The
+ default value is 4096 bytes.
+
+**kdc_tcp_listen_backlog**
+ (Integer.) Set the size of the listen queue length for the KDC
+ daemon. The value may be limited by OS settings. The default
+ value is 5.
+
+
+.. _kdc_realms:
+
+[realms]
+~~~~~~~~
+
+Each tag in the [realms] section is the name of a Kerberos realm. The
+value of the tag is a subsection where the relations define KDC
+parameters for that particular realm. The following example shows how
+to define one parameter for the ATHENA.MIT.EDU realm::
+
+ [realms]
+ ATHENA.MIT.EDU = {
+ max_renewable_life = 7d 0h 0m 0s
+ }
+
+The following tags may be specified in a [realms] subsection:
+
+**acl_file**
+ (String.) Location of the access control list file that
+ :ref:`kadmind(8)` uses to determine which principals are allowed
+ which permissions on the Kerberos database. The default value is
+ |kdcdir|\ ``/kadm5.acl``. For more information on Kerberos ACL
+ file see :ref:`kadm5.acl(5)`.
+
+**database_module**
+ (String.) This relation indicates the name of the configuration
+ section under :ref:`dbmodules` for database-specific parameters
+ used by the loadable database library. The default value is the
+ realm name. If this configuration section does not exist, default
+ values will be used for all database parameters.
+
+**database_name**
+ (String, deprecated.) This relation specifies the location of the
+ Kerberos database for this realm, if the DB2 module is being used
+ and the :ref:`dbmodules` configuration section does not specify a
+ database name. The default value is |kdcdir|\ ``/principal``.
+
+**default_principal_expiration**
+ (:ref:`abstime` string.) Specifies the default expiration date of
+ principals created in this realm. The default value is 0, which
+ means no expiration date.
+
+**default_principal_flags**
+ (Flag string.) Specifies the default attributes of principals
+ created in this realm. The format for this string is a
+ comma-separated list of flags, with '+' before each flag that
+ should be enabled and '-' before each flag that should be
+ disabled. The **postdateable**, **forwardable**, **tgt-based**,
+ **renewable**, **proxiable**, **dup-skey**, **allow-tickets**, and
+ **service** flags default to enabled.
+
+ There are a number of possible flags:
+
+ **allow-tickets**
+ Enabling this flag means that the KDC will issue tickets for
+ this principal. Disabling this flag essentially deactivates
+ the principal within this realm.
+
+ **dup-skey**
+ Enabling this flag allows the principal to obtain a session
+ key for another user, permitting user-to-user authentication
+ for this principal.
+
+ **forwardable**
+ Enabling this flag allows the principal to obtain forwardable
+ tickets.
+
+ **hwauth**
+ If this flag is enabled, then the principal is required to
+ preauthenticate using a hardware device before receiving any
+ tickets.
+
+ **no-auth-data-required**
+ Enabling this flag prevents PAC or AD-SIGNEDPATH data from
+ being added to service tickets for the principal.
+
+ **ok-as-delegate**
+ If this flag is enabled, it hints the client that credentials
+ can and should be delegated when authenticating to the
+ service.
+
+ **ok-to-auth-as-delegate**
+ Enabling this flag allows the principal to use S4USelf tickets.
+
+ **postdateable**
+ Enabling this flag allows the principal to obtain postdateable
+ tickets.
+
+ **preauth**
+ If this flag is enabled on a client principal, then that
+ principal is required to preauthenticate to the KDC before
+ receiving any tickets. On a service principal, enabling this
+ flag means that service tickets for this principal will only
+ be issued to clients with a TGT that has the preauthenticated
+ bit set.
+
+ **proxiable**
+ Enabling this flag allows the principal to obtain proxy
+ tickets.
+
+ **pwchange**
+ Enabling this flag forces a password change for this
+ principal.
+
+ **pwservice**
+ If this flag is enabled, it marks this principal as a password
+ change service. This should only be used in special cases,
+ for example, if a user's password has expired, then the user
+ has to get tickets for that principal without going through
+ the normal password authentication in order to be able to
+ change the password.
+
+ **renewable**
+ Enabling this flag allows the principal to obtain renewable
+ tickets.
+
+ **service**
+ Enabling this flag allows the the KDC to issue service tickets
+ for this principal.
+
+ **tgt-based**
+ Enabling this flag allows a principal to obtain tickets based
+ on a ticket-granting-ticket, rather than repeating the
+ authentication process that was used to obtain the TGT.
+
+**dict_file**
+ (String.) Location of the dictionary file containing strings that
+ are not allowed as passwords. The file should contain one string
+ per line, with no additional whitespace. If none is specified or
+ if there is no policy assigned to the principal, no dictionary
+ checks of passwords will be performed.
+
+**host_based_services**
+ (Whitespace- or comma-separated list.) Lists services which will
+ get host-based referral processing even if the server principal is
+ not marked as host-based by the client.
+
+**iprop_enable**
+ (Boolean value.) Specifies whether incremental database
+ propagation is enabled. The default value is false.
+
+**iprop_master_ulogsize**
+ (Integer.) Specifies the maximum number of log entries to be
+ retained for incremental propagation. The default value is 1000.
+ Prior to release 1.11, the maximum value was 2500.
+
+**iprop_slave_poll**
+ (Delta time string.) Specifies how often the slave KDC polls for
+ new updates from the master. The default value is ``2m`` (that
+ is, two minutes).
+
+**iprop_listen**
+ (Whitespace- or comma-separated list.) Specifies the iprop RPC
+ listening addresses and/or ports for the :ref:`kadmind(8)` daemon.
+ Each entry may be an interface address, a port number, or an
+ address and port number separated by a colon. If the address
+ contains colons, enclose it in square brackets. If no address is
+ specified, the wildcard address is used. If kadmind fails to bind
+ to any of the specified addresses, it will fail to start. The
+ default (when **iprop_enable** is true) is to bind to the wildcard
+ address at the port specified in **iprop_port**. New in release
+ 1.15.
+
+**iprop_port**
+ (Port number.) Specifies the port number to be used for
+ incremental propagation. When **iprop_enable** is true, this
+ relation is required in the slave configuration file, and this
+ relation or **iprop_listen** is required in the master
+ configuration file, as there is no default port number. Port
+ numbers specified in **iprop_listen** entries will override this
+ port number for the :ref:`kadmind(8)` daemon.
+
+**iprop_resync_timeout**
+ (Delta time string.) Specifies the amount of time to wait for a
+ full propagation to complete. This is optional in configuration
+ files, and is used by slave KDCs only. The default value is 5
+ minutes (``5m``). New in release 1.11.
+
+**iprop_logfile**
+ (File name.) Specifies where the update log file for the realm
+ database is to be stored. The default is to use the
+ **database_name** entry from the realms section of the krb5 config
+ file, with ``.ulog`` appended. (NOTE: If **database_name** isn't
+ specified in the realms section, perhaps because the LDAP database
+ back end is being used, or the file name is specified in the
+ [dbmodules] section, then the hard-coded default for
+ **database_name** is used. Determination of the **iprop_logfile**
+ default value will not use values from the [dbmodules] section.)
+
+**kadmind_listen**
+ (Whitespace- or comma-separated list.) Specifies the kadmin RPC
+ listening addresses and/or ports for the :ref:`kadmind(8)` daemon.
+ Each entry may be an interface address, a port number, or an
+ address and port number separated by a colon. If the address
+ contains colons, enclose it in square brackets. If no address is
+ specified, the wildcard address is used. If kadmind fails to bind
+ to any of the specified addresses, it will fail to start. The
+ default is to bind to the wildcard address at the port specified
+ in **kadmind_port**, or the standard kadmin port (749). New in
+ release 1.15.
+
+**kadmind_port**
+ (Port number.) Specifies the port on which the :ref:`kadmind(8)`
+ daemon is to listen for this realm. Port numbers specified in
+ **kadmind_listen** entries will override this port number. The
+ assigned port for kadmind is 749, which is used by default.
+
+**key_stash_file**
+ (String.) Specifies the location where the master key has been
+ stored (via kdb5_util stash). The default is |kdcdir|\
+ ``/.k5.REALM``, where *REALM* is the Kerberos realm.
+
+**kdc_listen**
+ (Whitespace- or comma-separated list.) Specifies the UDP
+ listening addresses and/or ports for the :ref:`krb5kdc(8)` daemon.
+ Each entry may be an interface address, a port number, or an
+ address and port number separated by a colon. If the address
+ contains colons, enclose it in square brackets. If no address is
+ specified, the wildcard address is used. If no port is specified,
+ the standard port (88) is used. If the KDC daemon fails to bind
+ to any of the specified addresses, it will fail to start. The
+ default is to bind to the wildcard address on the standard port.
+ New in release 1.15.
+
+**kdc_ports**
+ (Whitespace- or comma-separated list, deprecated.) Prior to
+ release 1.15, this relation lists the ports for the
+ :ref:`krb5kdc(8)` daemon to listen on for UDP requests. In
+ release 1.15 and later, it has the same meaning as **kdc_listen**
+ if that relation is not defined.
+
+**kdc_tcp_listen**
+ (Whitespace- or comma-separated list.) Specifies the TCP
+ listening addresses and/or ports for the :ref:`krb5kdc(8)` daemon.
+ Each entry may be an interface address, a port number, or an
+ address and port number separated by a colon. If the address
+ contains colons, enclose it in square brackets. If no address is
+ specified, the wildcard address is used. If no port is specified,
+ the standard port (88) is used. To disable listening on TCP, set
+ this relation to the empty string with ``kdc_tcp_listen = ""``.
+ If the KDC daemon fails to bind to any of the specified addresses,
+ it will fail to start. The default is to bind to the wildcard
+ address on the standard port. New in release 1.15.
+
+**kdc_tcp_ports**
+ (Whitespace- or comma-separated list, deprecated.) Prior to
+ release 1.15, this relation lists the ports for the
+ :ref:`krb5kdc(8)` daemon to listen on for UDP requests. In
+ release 1.15 and later, it has the same meaning as
+ **kdc_tcp_listen** if that relation is not defined.
+
+**kpasswd_listen**
+ (Comma-separated list.) Specifies the kpasswd listening addresses
+ and/or ports for the :ref:`kadmind(8)` daemon. Each entry may be
+ an interface address, a port number, or an address and port number
+ separated by a colon. If the address contains colons, enclose it
+ in square brackets. If no address is specified, the wildcard
+ address is used. If kadmind fails to bind to any of the specified
+ addresses, it will fail to start. The default is to bind to the
+ wildcard address at the port specified in **kpasswd_port**, or the
+ standard kpasswd port (464). New in release 1.15.
+
+**kpasswd_port**
+ (Port number.) Specifies the port on which the :ref:`kadmind(8)`
+ daemon is to listen for password change requests for this realm.
+ Port numbers specified in **kpasswd_listen** entries will override
+ this port number. The assigned port for password change requests
+ is 464, which is used by default.
+
+**master_key_name**
+ (String.) Specifies the name of the principal associated with the
+ master key. The default is ``K/M``.
+
+**master_key_type**
+ (Key type string.) Specifies the master key's key type. The
+ default value for this is |defmkey|. For a list of all possible
+ values, see :ref:`Encryption_types`.
+
+**max_life**
+ (:ref:`duration` string.) Specifies the maximum time period for
+ which a ticket may be valid in this realm. The default value is
+ 24 hours.
+
+**max_renewable_life**
+ (:ref:`duration` string.) Specifies the maximum time period
+ during which a valid ticket may be renewed in this realm.
+ The default value is 0.
+
+**no_host_referral**
+ (Whitespace- or comma-separated list.) Lists services to block
+ from getting host-based referral processing, even if the client
+ marks the server principal as host-based or the service is also
+ listed in **host_based_services**. ``no_host_referral = *`` will
+ disable referral processing altogether.
+
+**des_crc_session_supported**
+ (Boolean value). If set to true, the KDC will assume that service
+ principals support des-cbc-crc for session key enctype negotiation
+ purposes. If **allow_weak_crypto** in :ref:`libdefaults` is
+ false, or if des-cbc-crc is not a permitted enctype, then this
+ variable has no effect. Defaults to true. New in release 1.11.
+
+**reject_bad_transit**
+ (Boolean value.) If set to true, the KDC will check the list of
+ transited realms for cross-realm tickets against the transit path
+ computed from the realm names and the capaths section of its
+ :ref:`krb5.conf(5)` file; if the path in the ticket to be issued
+ contains any realms not in the computed path, the ticket will not
+ be issued, and an error will be returned to the client instead.
+ If this value is set to false, such tickets will be issued
+ anyways, and it will be left up to the application server to
+ validate the realm transit path.
+
+ If the disable-transited-check flag is set in the incoming
+ request, this check is not performed at all. Having the
+ **reject_bad_transit** option will cause such ticket requests to
+ be rejected always.
+
+ This transit path checking and config file option currently apply
+ only to TGS requests.
+
+ The default value is true.
+
+**restrict_anonymous_to_tgt**
+ (Boolean value.) If set to true, the KDC will reject ticket
+ requests from anonymous principals to service principals other
+ than the realm's ticket-granting service. This option allows
+ anonymous PKINIT to be enabled for use as FAST armor tickets
+ without allowing anonymous authentication to services. The
+ default value is false. New in release 1.9.
+
+**supported_enctypes**
+ (List of *key*:*salt* strings.) Specifies the default key/salt
+ combinations of principals for this realm. Any principals created
+ through :ref:`kadmin(1)` will have keys of these types. The
+ default value for this tag is |defkeysalts|. For lists of
+ possible values, see :ref:`Keysalt_lists`.
+
+
+.. _dbdefaults:
+
+[dbdefaults]
+~~~~~~~~~~~~
+
+The [dbdefaults] section specifies default values for some database
+parameters, to be used if the [dbmodules] subsection does not contain
+a relation for the tag. See the :ref:`dbmodules` section for the
+definitions of these relations.
+
+* **ldap_kerberos_container_dn**
+* **ldap_kdc_dn**
+* **ldap_kdc_sasl_authcid**
+* **ldap_kdc_sasl_authzid**
+* **ldap_kdc_sasl_mech**
+* **ldap_kdc_sasl_realm**
+* **ldap_kadmind_dn**
+* **ldap_kadmind_sasl_authcid**
+* **ldap_kadmind_sasl_authzid**
+* **ldap_kadmind_sasl_mech**
+* **ldap_kadmind_sasl_realm**
+* **ldap_service_password_file**
+* **ldap_servers**
+* **ldap_conns_per_server**
+
+
+.. _dbmodules:
+
+[dbmodules]
+~~~~~~~~~~~
+
+The [dbmodules] section contains parameters used by the KDC database
+library and database modules. Each tag in the [dbmodules] section is
+the name of a Kerberos realm or a section name specified by a realm's
+**database_module** parameter. The following example shows how to
+define one database parameter for the ATHENA.MIT.EDU realm::
+
+ [dbmodules]
+ ATHENA.MIT.EDU = {
+ disable_last_success = true
+ }
+
+The following tags may be specified in a [dbmodules] subsection:
+
+**database_name**
+ This DB2-specific tag indicates the location of the database in
+ the filesystem. The default is |kdcdir|\ ``/principal``.
+
+**db_library**
+ This tag indicates the name of the loadable database module. The
+ value should be ``db2`` for the DB2 module and ``kldap`` for the
+ LDAP module.
+
+**disable_last_success**
+ If set to ``true``, suppresses KDC updates to the "Last successful
+ authentication" field of principal entries requiring
+ preauthentication. Setting this flag may improve performance.
+ (Principal entries which do not require preauthentication never
+ update the "Last successful authentication" field.). First
+ introduced in release 1.9.
+
+**disable_lockout**
+ If set to ``true``, suppresses KDC updates to the "Last failed
+ authentication" and "Failed password attempts" fields of principal
+ entries requiring preauthentication. Setting this flag may
+ improve performance, but also disables account lockout. First
+ introduced in release 1.9.
+
+**ldap_conns_per_server**
+ This LDAP-specific tag indicates the number of connections to be
+ maintained per LDAP server.
+
+**ldap_kdc_dn** and **ldap_kadmind_dn**
+ These LDAP-specific tags indicate the default DN for binding to
+ the LDAP server. The :ref:`krb5kdc(8)` daemon uses
+ **ldap_kdc_dn**, while the :ref:`kadmind(8)` daemon and other
+ administrative programs use **ldap_kadmind_dn**. The kadmind DN
+ must have the rights to read and write the Kerberos data in the
+ LDAP database. The KDC DN must have the same rights, unless
+ **disable_lockout** and **disable_last_success** are true, in
+ which case it only needs to have rights to read the Kerberos data.
+ These tags are ignored if a SASL mechanism is set with
+ **ldap_kdc_sasl_mech** or **ldap_kadmind_sasl_mech**.
+
+**ldap_kdc_sasl_mech** and **ldap_kadmind_sasl_mech**
+ These LDAP-specific tags specify the SASL mechanism (such as
+ ``EXTERNAL``) to use when binding to the LDAP server. New in
+ release 1.13.
+
+**ldap_kdc_sasl_authcid** and **ldap_kadmind_sasl_authcid**
+ These LDAP-specific tags specify the SASL authentication identity
+ to use when binding to the LDAP server. Not all SASL mechanisms
+ require an authentication identity. If the SASL mechanism
+ requires a secret (such as the password for ``DIGEST-MD5``), these
+ tags also determine the name within the
+ **ldap_service_password_file** where the secret is stashed. New
+ in release 1.13.
+
+**ldap_kdc_sasl_authzid** and **ldap_kadmind_sasl_authzid**
+ These LDAP-specific tags specify the SASL authorization identity
+ to use when binding to the LDAP server. In most circumstances
+ they do not need to be specified. New in release 1.13.
+
+**ldap_kdc_sasl_realm** and **ldap_kadmind_sasl_realm**
+ These LDAP-specific tags specify the SASL realm to use when
+ binding to the LDAP server. In most circumstances they do not
+ need to be set. New in release 1.13.
+
+**ldap_kerberos_container_dn**
+ This LDAP-specific tag indicates the DN of the container object
+ where the realm objects will be located.
+
+**ldap_servers**
+ This LDAP-specific tag indicates the list of LDAP servers that the
+ Kerberos servers can connect to. The list of LDAP servers is
+ whitespace-separated. The LDAP server is specified by a LDAP URI.
+ It is recommended to use ``ldapi:`` or ``ldaps:`` URLs to connect
+ to the LDAP server.
+
+**ldap_service_password_file**
+ This LDAP-specific tag indicates the file containing the stashed
+ passwords (created by ``kdb5_ldap_util stashsrvpw``) for the
+ **ldap_kdc_dn** and **ldap_kadmind_dn** objects, or for the
+ **ldap_kdc_sasl_authcid** or **ldap_kadmind_sasl_authcid** names
+ for SASL authentication. This file must be kept secure.
+
+**unlockiter**
+ If set to ``true``, this DB2-specific tag causes iteration
+ operations to release the database lock while processing each
+ principal. Setting this flag to ``true`` can prevent extended
+ blocking of KDC or kadmin operations when dumps of large databases
+ are in progress. First introduced in release 1.13.
+
+The following tag may be specified directly in the [dbmodules]
+section to control where database modules are loaded from:
+
+**db_module_dir**
+ This tag controls where the plugin system looks for database
+ modules. The value should be an absolute path.
+
+.. _logging:
+
+[logging]
+~~~~~~~~~
+
+The [logging] section indicates how :ref:`krb5kdc(8)` and
+:ref:`kadmind(8)` perform logging. It may contain the following
+relations:
+
+**admin_server**
+ Specifies how :ref:`kadmind(8)` performs logging.
+
+**kdc**
+ Specifies how :ref:`krb5kdc(8)` performs logging.
+
+**default**
+ Specifies how either daemon performs logging in the absence of
+ relations specific to the daemon.
+
+**debug**
+ (Boolean value.) Specifies whether debugging messages are
+ included in log outputs other than SYSLOG. Debugging messages are
+ always included in the system log output because syslog performs
+ its own priority filtering. The default value is false. New in
+ release 1.15.
+
+Logging specifications may have the following forms:
+
+**FILE=**\ *filename* or **FILE:**\ *filename*
+ This value causes the daemon's logging messages to go to the
+ *filename*. If the ``=`` form is used, the file is overwritten.
+ If the ``:`` form is used, the file is appended to.
+
+**STDERR**
+ This value causes the daemon's logging messages to go to its
+ standard error stream.
+
+**CONSOLE**
+ This value causes the daemon's logging messages to go to the
+ console, if the system supports it.
+
+**DEVICE=**\ *<devicename>*
+ This causes the daemon's logging messages to go to the specified
+ device.
+
+**SYSLOG**\ [\ **:**\ *severity*\ [\ **:**\ *facility*\ ]]
+ This causes the daemon's logging messages to go to the system log.
+
+ The severity argument specifies the default severity of system log
+ messages. This may be any of the following severities supported
+ by the syslog(3) call, minus the ``LOG_`` prefix: **EMERG**,
+ **ALERT**, **CRIT**, **ERR**, **WARNING**, **NOTICE**, **INFO**,
+ and **DEBUG**.
+
+ The facility argument specifies the facility under which the
+ messages are logged. This may be any of the following facilities
+ supported by the syslog(3) call minus the LOG\_ prefix: **KERN**,
+ **USER**, **MAIL**, **DAEMON**, **AUTH**, **LPR**, **NEWS**,
+ **UUCP**, **CRON**, and **LOCAL0** through **LOCAL7**.
+
+ If no severity is specified, the default is **ERR**. If no
+ facility is specified, the default is **AUTH**.
+
+In the following example, the logging messages from the KDC will go to
+the console and to the system log under the facility LOG_DAEMON with
+default severity of LOG_INFO; and the logging messages from the
+administrative server will be appended to the file
+``/var/adm/kadmin.log`` and sent to the device ``/dev/tty04``. ::
+
+ [logging]
+ kdc = CONSOLE
+ kdc = SYSLOG:INFO:DAEMON
+ admin_server = FILE:/var/adm/kadmin.log
+ admin_server = DEVICE=/dev/tty04
+
+
+.. _otp:
+
+[otp]
+~~~~~
+
+Each subsection of [otp] is the name of an OTP token type. The tags
+within the subsection define the configuration required to forward a
+One Time Password request to a RADIUS server.
+
+For each token type, the following tags may be specified:
+
+**server**
+ This is the server to send the RADIUS request to. It can be a
+ hostname with optional port, an ip address with optional port, or
+ a Unix domain socket address. The default is
+ |kdcdir|\ ``/<name>.socket``.
+
+**secret**
+ This tag indicates a filename (which may be relative to |kdcdir|)
+ containing the secret used to encrypt the RADIUS packets. The
+ secret should appear in the first line of the file by itself;
+ leading and trailing whitespace on the line will be removed. If
+ the value of **server** is a Unix domain socket address, this tag
+ is optional, and an empty secret will be used if it is not
+ specified. Otherwise, this tag is required.
+
+**timeout**
+ An integer which specifies the time in seconds during which the
+ KDC should attempt to contact the RADIUS server. This tag is the
+ total time across all retries and should be less than the time
+ which an OTP value remains valid for. The default is 5 seconds.
+
+**retries**
+ This tag specifies the number of retries to make to the RADIUS
+ server. The default is 3 retries (4 tries).
+
+**strip_realm**
+ If this tag is ``true``, the principal without the realm will be
+ passed to the RADIUS server. Otherwise, the realm will be
+ included. The default value is ``true``.
+
+**indicator**
+ This tag specifies an authentication indicator to be included in
+ the ticket if this token type is used to authenticate. This
+ option may be specified multiple times. (New in release 1.14.)
+
+In the following example, requests are sent to a remote server via UDP::
+
+ [otp]
+ MyRemoteTokenType = {
+ server = radius.mydomain.com:1812
+ secret = SEmfiajf42$
+ timeout = 15
+ retries = 5
+ strip_realm = true
+ }
+
+An implicit default token type named ``DEFAULT`` is defined for when
+the per-principal configuration does not specify a token type. Its
+configuration is shown below. You may override this token type to
+something applicable for your situation::
+
+ [otp]
+ DEFAULT = {
+ strip_realm = false
+ }
+
+PKINIT options
+--------------
+
+.. note::
+
+ The following are pkinit-specific options. These values may
+ be specified in [kdcdefaults] as global defaults, or within
+ a realm-specific subsection of [realms]. Also note that a
+ realm-specific value over-rides, does not add to, a generic
+ [kdcdefaults] specification. The search order is:
+
+1. realm-specific subsection of [realms]::
+
+ [realms]
+ EXAMPLE.COM = {
+ pkinit_anchors = FILE:/usr/local/example.com.crt
+ }
+
+2. generic value in the [kdcdefaults] section::
+
+ [kdcdefaults]
+ pkinit_anchors = DIR:/usr/local/generic_trusted_cas/
+
+For information about the syntax of some of these options, see
+:ref:`Specifying PKINIT identity information <pkinit_identity>` in
+:ref:`krb5.conf(5)`.
+
+**pkinit_anchors**
+ Specifies the location of trusted anchor (root) certificates which
+ the KDC trusts to sign client certificates. This option is
+ required if pkinit is to be supported by the KDC. This option may
+ be specified multiple times.
+
+**pkinit_dh_min_bits**
+ Specifies the minimum number of bits the KDC is willing to accept
+ for a client's Diffie-Hellman key. The default is 2048.
+
+**pkinit_allow_upn**
+ Specifies that the KDC is willing to accept client certificates
+ with the Microsoft UserPrincipalName (UPN) Subject Alternative
+ Name (SAN). This means the KDC accepts the binding of the UPN in
+ the certificate to the Kerberos principal name. The default value
+ is false.
+
+ Without this option, the KDC will only accept certificates with
+ the id-pkinit-san as defined in :rfc:`4556`. There is currently
+ no option to disable SAN checking in the KDC.
+
+**pkinit_eku_checking**
+ This option specifies what Extended Key Usage (EKU) values the KDC
+ is willing to accept in client certificates. The values
+ recognized in the kdc.conf file are:
+
+ **kpClientAuth**
+ This is the default value and specifies that client
+ certificates must have the id-pkinit-KPClientAuth EKU as
+ defined in :rfc:`4556`.
+
+ **scLogin**
+ If scLogin is specified, client certificates with the
+ Microsoft Smart Card Login EKU (id-ms-kp-sc-logon) will be
+ accepted.
+
+ **none**
+ If none is specified, then client certificates will not be
+ checked to verify they have an acceptable EKU. The use of
+ this option is not recommended.
+
+**pkinit_identity**
+ Specifies the location of the KDC's X.509 identity information.
+ This option is required if pkinit is to be supported by the KDC.
+
+**pkinit_indicator**
+ Specifies an authentication indicator to include in the ticket if
+ pkinit is used to authenticate. This option may be specified
+ multiple times. (New in release 1.14.)
+
+**pkinit_kdc_ocsp**
+ Specifies the location of the KDC's OCSP.
+
+**pkinit_pool**
+ Specifies the location of intermediate certificates which may be
+ used by the KDC to complete the trust chain between a client's
+ certificate and a trusted anchor. This option may be specified
+ multiple times.
+
+**pkinit_revoke**
+ Specifies the location of Certificate Revocation List (CRL)
+ information to be used by the KDC when verifying the validity of
+ client certificates. This option may be specified multiple times.
+
+**pkinit_require_crl_checking**
+ The default certificate verification process will always check the
+ available revocation information to see if a certificate has been
+ revoked. If a match is found for the certificate in a CRL,
+ verification fails. If the certificate being verified is not
+ listed in a CRL, or there is no CRL present for its issuing CA,
+ and **pkinit_require_crl_checking** is false, then verification
+ succeeds.
+
+ However, if **pkinit_require_crl_checking** is true and there is
+ no CRL information available for the issuing CA, then verification
+ fails.
+
+ **pkinit_require_crl_checking** should be set to true if the
+ policy is such that up-to-date CRLs must be present for every CA.
+
+
+.. _Encryption_types:
+
+Encryption types
+----------------
+
+Any tag in the configuration files which requires a list of encryption
+types can be set to some combination of the following strings.
+Encryption types marked as "weak" are available for compatibility but
+not recommended for use.
+
+==================================================== =========================================================
+des-cbc-crc DES cbc mode with CRC-32 (weak)
+des-cbc-md4 DES cbc mode with RSA-MD4 (weak)
+des-cbc-md5 DES cbc mode with RSA-MD5 (weak)
+des-cbc-raw DES cbc mode raw (weak)
+des3-cbc-raw Triple DES cbc mode raw (weak)
+des3-cbc-sha1 des3-hmac-sha1 des3-cbc-sha1-kd Triple DES cbc mode with HMAC/sha1
+des-hmac-sha1 DES with HMAC/sha1 (weak)
+aes256-cts-hmac-sha1-96 aes256-cts aes256-sha1 AES-256 CTS mode with 96-bit SHA-1 HMAC
+aes128-cts-hmac-sha1-96 aes128-cts aes128-sha1 AES-128 CTS mode with 96-bit SHA-1 HMAC
+aes256-cts-hmac-sha384-192 aes256-sha2 AES-256 CTS mode with 192-bit SHA-384 HMAC
+aes128-cts-hmac-sha256-128 aes128-sha2 AES-128 CTS mode with 128-bit SHA-256 HMAC
+arcfour-hmac rc4-hmac arcfour-hmac-md5 RC4 with HMAC/MD5
+arcfour-hmac-exp rc4-hmac-exp arcfour-hmac-md5-exp Exportable RC4 with HMAC/MD5 (weak)
+camellia256-cts-cmac camellia256-cts Camellia-256 CTS mode with CMAC
+camellia128-cts-cmac camellia128-cts Camellia-128 CTS mode with CMAC
+des The DES family: des-cbc-crc, des-cbc-md5, and des-cbc-md4 (weak)
+des3 The triple DES family: des3-cbc-sha1
+aes The AES family: aes256-cts-hmac-sha1-96 and aes128-cts-hmac-sha1-96
+rc4 The RC4 family: arcfour-hmac
+camellia The Camellia family: camellia256-cts-cmac and camellia128-cts-cmac
+==================================================== =========================================================
+
+The string **DEFAULT** can be used to refer to the default set of
+types for the variable in question. Types or families can be removed
+from the current list by prefixing them with a minus sign ("-").
+Types or families can be prefixed with a plus sign ("+") for symmetry;
+it has the same meaning as just listing the type or family. For
+example, "``DEFAULT -des``" would be the default set of encryption
+types with DES types removed, and "``des3 DEFAULT``" would be the
+default set of encryption types with triple DES types moved to the
+front.
+
+While **aes128-cts** and **aes256-cts** are supported for all Kerberos
+operations, they are not supported by very old versions of our GSSAPI
+implementation (krb5-1.3.1 and earlier). Services running versions of
+krb5 without AES support must not be given keys of these encryption
+types in the KDC database.
+
+The **aes128-sha2** and **aes256-sha2** encryption types are new in
+release 1.15. Services running versions of krb5 without support for
+these newer encryption types must not be given keys of these
+encryption types in the KDC database.
+
+
+.. _Keysalt_lists:
+
+Keysalt lists
+-------------
+
+Kerberos keys for users are usually derived from passwords. Kerberos
+commands and configuration parameters that affect generation of keys
+take lists of enctype-salttype ("keysalt") pairs, known as *keysalt
+lists*. Each keysalt pair is an enctype name followed by a salttype
+name, in the format *enc*:*salt*. Individual keysalt list members are
+separated by comma (",") characters or space characters. For example::
+
+ kadmin -e aes256-cts:normal,aes128-cts:normal
+
+would start up kadmin so that by default it would generate
+password-derived keys for the **aes256-cts** and **aes128-cts**
+encryption types, using a **normal** salt.
+
+To ensure that people who happen to pick the same password do not have
+the same key, Kerberos 5 incorporates more information into the key
+using something called a salt. The supported salt types are as
+follows:
+
+================= ============================================
+normal default for Kerberos Version 5
+v4 the only type used by Kerberos Version 4 (no salt)
+norealm same as the default, without using realm information
+onlyrealm uses only realm information as the salt
+afs3 AFS version 3, only used for compatibility with Kerberos 4 in AFS
+special generate a random salt
+================= ============================================
+
+
+Sample kdc.conf File
+--------------------
+
+Here's an example of a kdc.conf file::
+
+ [kdcdefaults]
+ kdc_listen = 88
+ kdc_tcp_listen = 88
+ [realms]
+ ATHENA.MIT.EDU = {
+ kadmind_port = 749
+ max_life = 12h 0m 0s
+ max_renewable_life = 7d 0h 0m 0s
+ master_key_type = aes256-cts-hmac-sha1-96
+ supported_enctypes = aes256-cts-hmac-sha1-96:normal aes128-cts-hmac-sha1-96:normal
+ database_module = openldap_ldapconf
+ }
+
+ [logging]
+ kdc = FILE:/usr/local/var/krb5kdc/kdc.log
+ admin_server = FILE:/usr/local/var/krb5kdc/kadmin.log
+
+ [dbdefaults]
+ ldap_kerberos_container_dn = cn=krbcontainer,dc=mit,dc=edu
+
+ [dbmodules]
+ openldap_ldapconf = {
+ db_library = kldap
+ disable_last_success = true
+ ldap_kdc_dn = "cn=krbadmin,dc=mit,dc=edu"
+ # this object needs to have read rights on
+ # the realm container and principal subtrees
+ ldap_kadmind_dn = "cn=krbadmin,dc=mit,dc=edu"
+ # this object needs to have read and write rights on
+ # the realm container and principal subtrees
+ ldap_service_password_file = /etc/kerberos/service.keyfile
+ ldap_servers = ldaps://kerberos.mit.edu
+ ldap_conns_per_server = 5
+ }
+
+
+FILES
+------
+
+|kdcdir|\ ``/kdc.conf``
+
+
+SEE ALSO
+---------
+
+:ref:`krb5.conf(5)`, :ref:`krb5kdc(8)`, :ref:`kadm5.acl(5)`
diff --git a/doc/html/_sources/admin/conf_files/krb5_conf.txt b/doc/html/_sources/admin/conf_files/krb5_conf.txt
new file mode 100644
index 000000000000..653aad613cbc
--- /dev/null
+++ b/doc/html/_sources/admin/conf_files/krb5_conf.txt
@@ -0,0 +1,1171 @@
+.. _krb5.conf(5):
+
+krb5.conf
+=========
+
+The krb5.conf file contains Kerberos configuration information,
+including the locations of KDCs and admin servers for the Kerberos
+realms of interest, defaults for the current realm and for Kerberos
+applications, and mappings of hostnames onto Kerberos realms.
+Normally, you should install your krb5.conf file in the directory
+``/etc``. You can override the default location by setting the
+environment variable **KRB5_CONFIG**. Multiple colon-separated
+filenames may be specified in **KRB5_CONFIG**; all files which are
+present will be read. Starting in release 1.14, directory names can
+also be specified in **KRB5_CONFIG**; all files within the directory
+whose names consist solely of alphanumeric characters, dashes, or
+underscores will be read.
+
+
+Structure
+---------
+
+The krb5.conf file is set up in the style of a Windows INI file.
+Sections are headed by the section name, in square brackets. Each
+section may contain zero or more relations, of the form::
+
+ foo = bar
+
+or::
+
+ fubar = {
+ foo = bar
+ baz = quux
+ }
+
+Placing a '\*' at the end of a line indicates that this is the *final*
+value for the tag. This means that neither the remainder of this
+configuration file nor any other configuration file will be checked
+for any other values for this tag.
+
+For example, if you have the following lines::
+
+ foo = bar*
+ foo = baz
+
+then the second value of ``foo`` (``baz``) would never be read.
+
+The krb5.conf file can include other files using either of the
+following directives at the beginning of a line::
+
+ include FILENAME
+ includedir DIRNAME
+
+*FILENAME* or *DIRNAME* should be an absolute path. The named file or
+directory must exist and be readable. Including a directory includes
+all files within the directory whose names consist solely of
+alphanumeric characters, dashes, or underscores. Starting in release
+1.15, files with names ending in ".conf" are also included. Included
+profile files are syntactically independent of their parents, so each
+included file must begin with a section header.
+
+The krb5.conf file can specify that configuration should be obtained
+from a loadable module, rather than the file itself, using the
+following directive at the beginning of a line before any section
+headers::
+
+ module MODULEPATH:RESIDUAL
+
+*MODULEPATH* may be relative to the library path of the krb5
+installation, or it may be an absolute path. *RESIDUAL* is provided
+to the module at initialization time. If krb5.conf uses a module
+directive, :ref:`kdc.conf(5)` should also use one if it exists.
+
+
+Sections
+--------
+
+The krb5.conf file may contain the following sections:
+
+=================== =======================================================
+:ref:`libdefaults` Settings used by the Kerberos V5 library
+:ref:`realms` Realm-specific contact information and settings
+:ref:`domain_realm` Maps server hostnames to Kerberos realms
+:ref:`capaths` Authentication paths for non-hierarchical cross-realm
+:ref:`appdefaults` Settings used by some Kerberos V5 applications
+:ref:`plugins` Controls plugin module registration
+=================== =======================================================
+
+Additionally, krb5.conf may include any of the relations described in
+:ref:`kdc.conf(5)`, but it is not a recommended practice.
+
+.. _libdefaults:
+
+[libdefaults]
+~~~~~~~~~~~~~
+
+The libdefaults section may contain any of the following relations:
+
+**allow_weak_crypto**
+ If this flag is set to false, then weak encryption types (as noted
+ in :ref:`Encryption_types` in :ref:`kdc.conf(5)`) will be filtered
+ out of the lists **default_tgs_enctypes**,
+ **default_tkt_enctypes**, and **permitted_enctypes**. The default
+ value for this tag is false, which may cause authentication
+ failures in existing Kerberos infrastructures that do not support
+ strong crypto. Users in affected environments should set this tag
+ to true until their infrastructure adopts stronger ciphers.
+
+**ap_req_checksum_type**
+ An integer which specifies the type of AP-REQ checksum to use in
+ authenticators. This variable should be unset so the appropriate
+ checksum for the encryption key in use will be used. This can be
+ set if backward compatibility requires a specific checksum type.
+ See the **kdc_req_checksum_type** configuration option for the
+ possible values and their meanings.
+
+**canonicalize**
+ If this flag is set to true, initial ticket requests to the KDC
+ will request canonicalization of the client principal name, and
+ answers with different client principals than the requested
+ principal will be accepted. The default value is false.
+
+**ccache_type**
+ This parameter determines the format of credential cache types
+ created by :ref:`kinit(1)` or other programs. The default value
+ is 4, which represents the most current format. Smaller values
+ can be used for compatibility with very old implementations of
+ Kerberos which interact with credential caches on the same host.
+
+**clockskew**
+ Sets the maximum allowable amount of clockskew in seconds that the
+ library will tolerate before assuming that a Kerberos message is
+ invalid. The default value is 300 seconds, or five minutes.
+
+ The clockskew setting is also used when evaluating ticket start
+ and expiration times. For example, tickets that have reached
+ their expiration time can still be used (and renewed if they are
+ renewable tickets) if they have been expired for a shorter
+ duration than the **clockskew** setting.
+
+**default_ccache_name**
+ This relation specifies the name of the default credential cache.
+ The default is |ccache|. This relation is subject to parameter
+ expansion (see below). New in release 1.11.
+
+**default_client_keytab_name**
+ This relation specifies the name of the default keytab for
+ obtaining client credentials. The default is |ckeytab|. This
+ relation is subject to parameter expansion (see below).
+ New in release 1.11.
+
+**default_keytab_name**
+ This relation specifies the default keytab name to be used by
+ application servers such as sshd. The default is |keytab|. This
+ relation is subject to parameter expansion (see below).
+
+**default_realm**
+ Identifies the default Kerberos realm for the client. Set its
+ value to your Kerberos realm. If this value is not set, then a
+ realm must be specified with every Kerberos principal when
+ invoking programs such as :ref:`kinit(1)`.
+
+**default_tgs_enctypes**
+ Identifies the supported list of session key encryption types that
+ the client should request when making a TGS-REQ, in order of
+ preference from highest to lowest. The list may be delimited with
+ commas or whitespace. See :ref:`Encryption_types` in
+ :ref:`kdc.conf(5)` for a list of the accepted values for this tag.
+ The default value is |defetypes|, but single-DES encryption types
+ will be implicitly removed from this list if the value of
+ **allow_weak_crypto** is false.
+
+ Do not set this unless required for specific backward
+ compatibility purposes; stale values of this setting can prevent
+ clients from taking advantage of new stronger enctypes when the
+ libraries are upgraded.
+
+**default_tkt_enctypes**
+ Identifies the supported list of session key encryption types that
+ the client should request when making an AS-REQ, in order of
+ preference from highest to lowest. The format is the same as for
+ default_tgs_enctypes. The default value for this tag is
+ |defetypes|, but single-DES encryption types will be implicitly
+ removed from this list if the value of **allow_weak_crypto** is
+ false.
+
+ Do not set this unless required for specific backward
+ compatibility purposes; stale values of this setting can prevent
+ clients from taking advantage of new stronger enctypes when the
+ libraries are upgraded.
+
+**dns_canonicalize_hostname**
+ Indicate whether name lookups will be used to canonicalize
+ hostnames for use in service principal names. Setting this flag
+ to false can improve security by reducing reliance on DNS, but
+ means that short hostnames will not be canonicalized to
+ fully-qualified hostnames. The default value is true.
+
+**dns_lookup_kdc**
+ Indicate whether DNS SRV records should be used to locate the KDCs
+ and other servers for a realm, if they are not listed in the
+ krb5.conf information for the realm. (Note that the admin_server
+ entry must be in the krb5.conf realm information in order to
+ contact kadmind, because the DNS implementation for kadmin is
+ incomplete.)
+
+ Enabling this option does open up a type of denial-of-service
+ attack, if someone spoofs the DNS records and redirects you to
+ another server. However, it's no worse than a denial of service,
+ because that fake KDC will be unable to decode anything you send
+ it (besides the initial ticket request, which has no encrypted
+ data), and anything the fake KDC sends will not be trusted without
+ verification using some secret that it won't know.
+
+**dns_uri_lookup**
+ Indicate whether DNS URI records should be used to locate the KDCs
+ and other servers for a realm, if they are not listed in the
+ krb5.conf information for the realm. SRV records are used as a
+ fallback if no URI records were found. The default value is true.
+ New in release 1.15.
+
+**err_fmt**
+ This relation allows for custom error message formatting. If a
+ value is set, error messages will be formatted by substituting a
+ normal error message for %M and an error code for %C in the value.
+
+**extra_addresses**
+ This allows a computer to use multiple local addresses, in order
+ to allow Kerberos to work in a network that uses NATs while still
+ using address-restricted tickets. The addresses should be in a
+ comma-separated list. This option has no effect if
+ **noaddresses** is true.
+
+**forwardable**
+ If this flag is true, initial tickets will be forwardable by
+ default, if allowed by the KDC. The default value is false.
+
+**ignore_acceptor_hostname**
+ When accepting GSSAPI or krb5 security contexts for host-based
+ service principals, ignore any hostname passed by the calling
+ application, and allow clients to authenticate to any service
+ principal in the keytab matching the service name and realm name
+ (if given). This option can improve the administrative
+ flexibility of server applications on multihomed hosts, but could
+ compromise the security of virtual hosting environments. The
+ default value is false. New in release 1.10.
+
+**k5login_authoritative**
+ If this flag is true, principals must be listed in a local user's
+ k5login file to be granted login access, if a :ref:`.k5login(5)`
+ file exists. If this flag is false, a principal may still be
+ granted login access through other mechanisms even if a k5login
+ file exists but does not list the principal. The default value is
+ true.
+
+**k5login_directory**
+ If set, the library will look for a local user's k5login file
+ within the named directory, with a filename corresponding to the
+ local username. If not set, the library will look for k5login
+ files in the user's home directory, with the filename .k5login.
+ For security reasons, .k5login files must be owned by
+ the local user or by root.
+
+**kcm_mach_service**
+ On OS X only, determines the name of the bootstrap service used to
+ contact the KCM daemon for the KCM credential cache type. If the
+ value is ``-``, Mach RPC will not be used to contact the KCM
+ daemon. The default value is ``org.h5l.kcm``.
+
+**kcm_socket**
+ Determines the path to the Unix domain socket used to access the
+ KCM daemon for the KCM credential cache type. If the value is
+ ``-``, Unix domain sockets will not be used to contact the KCM
+ daemon. The default value is
+ ``/var/run/.heim_org.h5l.kcm-socket``.
+
+**kdc_default_options**
+ Default KDC options (Xored for multiple values) when requesting
+ initial tickets. By default it is set to 0x00000010
+ (KDC_OPT_RENEWABLE_OK).
+
+**kdc_timesync**
+ Accepted values for this relation are 1 or 0. If it is nonzero,
+ client machines will compute the difference between their time and
+ the time returned by the KDC in the timestamps in the tickets and
+ use this value to correct for an inaccurate system clock when
+ requesting service tickets or authenticating to services. This
+ corrective factor is only used by the Kerberos library; it is not
+ used to change the system clock. The default value is 1.
+
+**kdc_req_checksum_type**
+ An integer which specifies the type of checksum to use for the KDC
+ requests, for compatibility with very old KDC implementations.
+ This value is only used for DES keys; other keys use the preferred
+ checksum type for those keys.
+
+ The possible values and their meanings are as follows.
+
+ ======== ===============================
+ 1 CRC32
+ 2 RSA MD4
+ 3 RSA MD4 DES
+ 4 DES CBC
+ 7 RSA MD5
+ 8 RSA MD5 DES
+ 9 NIST SHA
+ 12 HMAC SHA1 DES3
+ -138 Microsoft MD5 HMAC checksum type
+ ======== ===============================
+
+**noaddresses**
+ If this flag is true, requests for initial tickets will not be
+ made with address restrictions set, allowing the tickets to be
+ used across NATs. The default value is true.
+
+**permitted_enctypes**
+ Identifies all encryption types that are permitted for use in
+ session key encryption. The default value for this tag is
+ |defetypes|, but single-DES encryption types will be implicitly
+ removed from this list if the value of **allow_weak_crypto** is
+ false.
+
+**plugin_base_dir**
+ If set, determines the base directory where krb5 plugins are
+ located. The default value is the ``krb5/plugins`` subdirectory
+ of the krb5 library directory.
+
+**preferred_preauth_types**
+ This allows you to set the preferred preauthentication types which
+ the client will attempt before others which may be advertised by a
+ KDC. The default value for this setting is "17, 16, 15, 14",
+ which forces libkrb5 to attempt to use PKINIT if it is supported.
+
+**proxiable**
+ If this flag is true, initial tickets will be proxiable by
+ default, if allowed by the KDC. The default value is false.
+
+**rdns**
+ If this flag is true, reverse name lookup will be used in addition
+ to forward name lookup to canonicalizing hostnames for use in
+ service principal names. If **dns_canonicalize_hostname** is set
+ to false, this flag has no effect. The default value is true.
+
+**realm_try_domains**
+ Indicate whether a host's domain components should be used to
+ determine the Kerberos realm of the host. The value of this
+ variable is an integer: -1 means not to search, 0 means to try the
+ host's domain itself, 1 means to also try the domain's immediate
+ parent, and so forth. The library's usual mechanism for locating
+ Kerberos realms is used to determine whether a domain is a valid
+ realm, which may involve consulting DNS if **dns_lookup_kdc** is
+ set. The default is not to search domain components.
+
+**renew_lifetime**
+ (:ref:`duration` string.) Sets the default renewable lifetime
+ for initial ticket requests. The default value is 0.
+
+**safe_checksum_type**
+ An integer which specifies the type of checksum to use for the
+ KRB-SAFE requests. By default it is set to 8 (RSA MD5 DES). For
+ compatibility with applications linked against DCE version 1.1 or
+ earlier Kerberos libraries, use a value of 3 to use the RSA MD4
+ DES instead. This field is ignored when its value is incompatible
+ with the session key type. See the **kdc_req_checksum_type**
+ configuration option for the possible values and their meanings.
+
+**ticket_lifetime**
+ (:ref:`duration` string.) Sets the default lifetime for initial
+ ticket requests. The default value is 1 day.
+
+**udp_preference_limit**
+ When sending a message to the KDC, the library will try using TCP
+ before UDP if the size of the message is above
+ **udp_preference_limit**. If the message is smaller than
+ **udp_preference_limit**, then UDP will be tried before TCP.
+ Regardless of the size, both protocols will be tried if the first
+ attempt fails.
+
+**verify_ap_req_nofail**
+ If this flag is true, then an attempt to verify initial
+ credentials will fail if the client machine does not have a
+ keytab. The default value is false.
+
+.. _realms:
+
+[realms]
+~~~~~~~~
+
+Each tag in the [realms] section of the file is the name of a Kerberos
+realm. The value of the tag is a subsection with relations that
+define the properties of that particular realm. For each realm, the
+following tags may be specified in the realm's subsection:
+
+**admin_server**
+ Identifies the host where the administration server is running.
+ Typically, this is the master Kerberos server. This tag must be
+ given a value in order to communicate with the :ref:`kadmind(8)`
+ server for the realm.
+
+**auth_to_local**
+ This tag allows you to set a general rule for mapping principal
+ names to local user names. It will be used if there is not an
+ explicit mapping for the principal name that is being
+ translated. The possible values are:
+
+ **RULE:**\ *exp*
+ The local name will be formulated from *exp*.
+
+ The format for *exp* is **[**\ *n*\ **:**\ *string*\ **](**\
+ *regexp*\ **)s/**\ *pattern*\ **/**\ *replacement*\ **/g**.
+ The integer *n* indicates how many components the target
+ principal should have. If this matches, then a string will be
+ formed from *string*, substituting the realm of the principal
+ for ``$0`` and the *n*'th component of the principal for
+ ``$n`` (e.g., if the principal was ``johndoe/admin`` then
+ ``[2:$2$1foo]`` would result in the string
+ ``adminjohndoefoo``). If this string matches *regexp*, then
+ the ``s//[g]`` substitution command will be run over the
+ string. The optional **g** will cause the substitution to be
+ global over the *string*, instead of replacing only the first
+ match in the *string*.
+
+ **DEFAULT**
+ The principal name will be used as the local user name. If
+ the principal has more than one component or is not in the
+ default realm, this rule is not applicable and the conversion
+ will fail.
+
+ For example::
+
+ [realms]
+ ATHENA.MIT.EDU = {
+ auth_to_local = RULE:[2:$1](johndoe)s/^.*$/guest/
+ auth_to_local = RULE:[2:$1;$2](^.*;admin$)s/;admin$//
+ auth_to_local = RULE:[2:$2](^.*;root)s/^.*$/root/
+ auto_to_local = DEFAULT
+ }
+
+ would result in any principal without ``root`` or ``admin`` as the
+ second component to be translated with the default rule. A
+ principal with a second component of ``admin`` will become its
+ first component. ``root`` will be used as the local name for any
+ principal with a second component of ``root``. The exception to
+ these two rules are any principals ``johndoe/*``, which will
+ always get the local name ``guest``.
+
+**auth_to_local_names**
+ This subsection allows you to set explicit mappings from principal
+ names to local user names. The tag is the mapping name, and the
+ value is the corresponding local user name.
+
+**default_domain**
+ This tag specifies the domain used to expand hostnames when
+ translating Kerberos 4 service principals to Kerberos 5 principals
+ (for example, when converting ``rcmd.hostname`` to
+ ``host/hostname.domain``).
+
+**http_anchors**
+ When KDCs and kpasswd servers are accessed through HTTPS proxies, this tag
+ can be used to specify the location of the CA certificate which should be
+ trusted to issue the certificate for a proxy server. If left unspecified,
+ the system-wide default set of CA certificates is used.
+
+ The syntax for values is similar to that of values for the
+ **pkinit_anchors** tag:
+
+ **FILE:** *filename*
+
+ *filename* is assumed to be the name of an OpenSSL-style ca-bundle file.
+
+ **DIR:** *dirname*
+
+ *dirname* is assumed to be an directory which contains CA certificates.
+ All files in the directory will be examined; if they contain certificates
+ (in PEM format), they will be used.
+
+ **ENV:** *envvar*
+
+ *envvar* specifies the name of an environment variable which has been set
+ to a value conforming to one of the previous values. For example,
+ ``ENV:X509_PROXY_CA``, where environment variable ``X509_PROXY_CA`` has
+ been set to ``FILE:/tmp/my_proxy.pem``.
+
+**kdc**
+ The name or address of a host running a KDC for that realm. An
+ optional port number, separated from the hostname by a colon, may
+ be included. If the name or address contains colons (for example,
+ if it is an IPv6 address), enclose it in square brackets to
+ distinguish the colon from a port separator. For your computer to
+ be able to communicate with the KDC for each realm, this tag must
+ be given a value in each realm subsection in the configuration
+ file, or there must be DNS SRV records specifying the KDCs.
+
+**kpasswd_server**
+ Points to the server where all the password changes are performed.
+ If there is no such entry, the port 464 on the **admin_server**
+ host will be tried.
+
+**master_kdc**
+ Identifies the master KDC(s). Currently, this tag is used in only
+ one case: If an attempt to get credentials fails because of an
+ invalid password, the client software will attempt to contact the
+ master KDC, in case the user's password has just been changed, and
+ the updated database has not been propagated to the slave servers
+ yet.
+
+**v4_instance_convert**
+ This subsection allows the administrator to configure exceptions
+ to the **default_domain** mapping rule. It contains V4 instances
+ (the tag name) which should be translated to some specific
+ hostname (the tag value) as the second component in a Kerberos V5
+ principal name.
+
+**v4_realm**
+ This relation is used by the krb524 library routines when
+ converting a V5 principal name to a V4 principal name. It is used
+ when the V4 realm name and the V5 realm name are not the same, but
+ still share the same principal names and passwords. The tag value
+ is the Kerberos V4 realm name.
+
+
+.. _domain_realm:
+
+[domain_realm]
+~~~~~~~~~~~~~~
+
+The [domain_realm] section provides a translation from a domain name
+or hostname to a Kerberos realm name. The tag name can be a host name
+or domain name, where domain names are indicated by a prefix of a
+period (``.``). The value of the relation is the Kerberos realm name
+for that particular host or domain. A host name relation implicitly
+provides the corresponding domain name relation, unless an explicit domain
+name relation is provided. The Kerberos realm may be
+identified either in the realms_ section or using DNS SRV records.
+Host names and domain names should be in lower case. For example::
+
+ [domain_realm]
+ crash.mit.edu = TEST.ATHENA.MIT.EDU
+ .dev.mit.edu = TEST.ATHENA.MIT.EDU
+ mit.edu = ATHENA.MIT.EDU
+
+maps the host with the name ``crash.mit.edu`` into the
+``TEST.ATHENA.MIT.EDU`` realm. The second entry maps all hosts under the
+domain ``dev.mit.edu`` into the ``TEST.ATHENA.MIT.EDU`` realm, but not
+the host with the name ``dev.mit.edu``. That host is matched
+by the third entry, which maps the host ``mit.edu`` and all hosts
+under the domain ``mit.edu`` that do not match a preceding rule
+into the realm ``ATHENA.MIT.EDU``.
+
+If no translation entry applies to a hostname used for a service
+principal for a service ticket request, the library will try to get a
+referral to the appropriate realm from the client realm's KDC. If
+that does not succeed, the host's realm is considered to be the
+hostname's domain portion converted to uppercase, unless the
+**realm_try_domains** setting in [libdefaults] causes a different
+parent domain to be used.
+
+
+.. _capaths:
+
+[capaths]
+~~~~~~~~~
+
+In order to perform direct (non-hierarchical) cross-realm
+authentication, configuration is needed to determine the
+authentication paths between realms.
+
+A client will use this section to find the authentication path between
+its realm and the realm of the server. The server will use this
+section to verify the authentication path used by the client, by
+checking the transited field of the received ticket.
+
+There is a tag for each participating client realm, and each tag has
+subtags for each of the server realms. The value of the subtags is an
+intermediate realm which may participate in the cross-realm
+authentication. The subtags may be repeated if there is more then one
+intermediate realm. A value of "." means that the two realms share
+keys directly, and no intermediate realms should be allowed to
+participate.
+
+Only those entries which will be needed on the client or the server
+need to be present. A client needs a tag for its local realm with
+subtags for all the realms of servers it will need to authenticate to.
+A server needs a tag for each realm of the clients it will serve, with
+a subtag of the server realm.
+
+For example, ``ANL.GOV``, ``PNL.GOV``, and ``NERSC.GOV`` all wish to
+use the ``ES.NET`` realm as an intermediate realm. ANL has a sub
+realm of ``TEST.ANL.GOV`` which will authenticate with ``NERSC.GOV``
+but not ``PNL.GOV``. The [capaths] section for ``ANL.GOV`` systems
+would look like this::
+
+ [capaths]
+ ANL.GOV = {
+ TEST.ANL.GOV = .
+ PNL.GOV = ES.NET
+ NERSC.GOV = ES.NET
+ ES.NET = .
+ }
+ TEST.ANL.GOV = {
+ ANL.GOV = .
+ }
+ PNL.GOV = {
+ ANL.GOV = ES.NET
+ }
+ NERSC.GOV = {
+ ANL.GOV = ES.NET
+ }
+ ES.NET = {
+ ANL.GOV = .
+ }
+
+The [capaths] section of the configuration file used on ``NERSC.GOV``
+systems would look like this::
+
+ [capaths]
+ NERSC.GOV = {
+ ANL.GOV = ES.NET
+ TEST.ANL.GOV = ES.NET
+ TEST.ANL.GOV = ANL.GOV
+ PNL.GOV = ES.NET
+ ES.NET = .
+ }
+ ANL.GOV = {
+ NERSC.GOV = ES.NET
+ }
+ PNL.GOV = {
+ NERSC.GOV = ES.NET
+ }
+ ES.NET = {
+ NERSC.GOV = .
+ }
+ TEST.ANL.GOV = {
+ NERSC.GOV = ANL.GOV
+ NERSC.GOV = ES.NET
+ }
+
+When a subtag is used more than once within a tag, clients will use
+the order of values to determine the path. The order of values is not
+important to servers.
+
+
+.. _appdefaults:
+
+[appdefaults]
+~~~~~~~~~~~~~
+
+Each tag in the [appdefaults] section names a Kerberos V5 application
+or an option that is used by some Kerberos V5 application[s]. The
+value of the tag defines the default behaviors for that application.
+
+For example::
+
+ [appdefaults]
+ telnet = {
+ ATHENA.MIT.EDU = {
+ option1 = false
+ }
+ }
+ telnet = {
+ option1 = true
+ option2 = true
+ }
+ ATHENA.MIT.EDU = {
+ option2 = false
+ }
+ option2 = true
+
+The above four ways of specifying the value of an option are shown in
+order of decreasing precedence. In this example, if telnet is running
+in the realm EXAMPLE.COM, it should, by default, have option1 and
+option2 set to true. However, a telnet program in the realm
+``ATHENA.MIT.EDU`` should have ``option1`` set to false and
+``option2`` set to true. Any other programs in ATHENA.MIT.EDU should
+have ``option2`` set to false by default. Any programs running in
+other realms should have ``option2`` set to true.
+
+The list of specifiable options for each application may be found in
+that application's man pages. The application defaults specified here
+are overridden by those specified in the realms_ section.
+
+
+.. _plugins:
+
+[plugins]
+~~~~~~~~~
+
+ * pwqual_ interface
+ * kadm5_hook_ interface
+ * clpreauth_ and kdcpreauth_ interfaces
+
+Tags in the [plugins] section can be used to register dynamic plugin
+modules and to turn modules on and off. Not every krb5 pluggable
+interface uses the [plugins] section; the ones that do are documented
+here.
+
+New in release 1.9.
+
+Each pluggable interface corresponds to a subsection of [plugins].
+All subsections support the same tags:
+
+**disable**
+ This tag may have multiple values. If there are values for this
+ tag, then the named modules will be disabled for the pluggable
+ interface.
+
+**enable_only**
+ This tag may have multiple values. If there are values for this
+ tag, then only the named modules will be enabled for the pluggable
+ interface.
+
+**module**
+ This tag may have multiple values. Each value is a string of the
+ form ``modulename:pathname``, which causes the shared object
+ located at *pathname* to be registered as a dynamic module named
+ *modulename* for the pluggable interface. If *pathname* is not an
+ absolute path, it will be treated as relative to the
+ **plugin_base_dir** value from :ref:`libdefaults`.
+
+For pluggable interfaces where module order matters, modules
+registered with a **module** tag normally come first, in the order
+they are registered, followed by built-in modules in the order they
+are documented below. If **enable_only** tags are used, then the
+order of those tags overrides the normal module order.
+
+The following subsections are currently supported within the [plugins]
+section:
+
+.. _ccselect:
+
+ccselect interface
+##################
+
+The ccselect subsection controls modules for credential cache
+selection within a cache collection. In addition to any registered
+dynamic modules, the following built-in modules exist (and may be
+disabled with the disable tag):
+
+**k5identity**
+ Uses a .k5identity file in the user's home directory to select a
+ client principal
+
+**realm**
+ Uses the service realm to guess an appropriate cache from the
+ collection
+
+.. _pwqual:
+
+pwqual interface
+################
+
+The pwqual subsection controls modules for the password quality
+interface, which is used to reject weak passwords when passwords are
+changed. The following built-in modules exist for this interface:
+
+**dict**
+ Checks against the realm dictionary file
+
+**empty**
+ Rejects empty passwords
+
+**hesiod**
+ Checks against user information stored in Hesiod (only if Kerberos
+ was built with Hesiod support)
+
+**princ**
+ Checks against components of the principal name
+
+.. _kadm5_hook:
+
+kadm5_hook interface
+####################
+
+The kadm5_hook interface provides plugins with information on
+principal creation, modification, password changes and deletion. This
+interface can be used to write a plugin to synchronize MIT Kerberos
+with another database such as Active Directory. No plugins are built
+in for this interface.
+
+.. _clpreauth:
+
+.. _kdcpreauth:
+
+clpreauth and kdcpreauth interfaces
+###################################
+
+The clpreauth and kdcpreauth interfaces allow plugin modules to
+provide client and KDC preauthentication mechanisms. The following
+built-in modules exist for these interfaces:
+
+**pkinit**
+ This module implements the PKINIT preauthentication mechanism.
+
+**encrypted_challenge**
+ This module implements the encrypted challenge FAST factor.
+
+**encrypted_timestamp**
+ This module implements the encrypted timestamp mechanism.
+
+.. _hostrealm:
+
+hostrealm interface
+###################
+
+The hostrealm section (introduced in release 1.12) controls modules
+for the host-to-realm interface, which affects the local mapping of
+hostnames to realm names and the choice of default realm. The following
+built-in modules exist for this interface:
+
+**profile**
+ This module consults the [domain_realm] section of the profile for
+ authoritative host-to-realm mappings, and the **default_realm**
+ variable for the default realm.
+
+**dns**
+ This module looks for DNS records for fallback host-to-realm
+ mappings and the default realm. It only operates if the
+ **dns_lookup_realm** variable is set to true.
+
+**domain**
+ This module applies heuristics for fallback host-to-realm
+ mappings. It implements the **realm_try_domains** variable, and
+ uses the uppercased parent domain of the hostname if that does not
+ produce a result.
+
+.. _localauth:
+
+localauth interface
+###################
+
+The localauth section (introduced in release 1.12) controls modules
+for the local authorization interface, which affects the relationship
+between Kerberos principals and local system accounts. The following
+built-in modules exist for this interface:
+
+**default**
+ This module implements the **DEFAULT** type for **auth_to_local**
+ values.
+
+**rule**
+ This module implements the **RULE** type for **auth_to_local**
+ values.
+
+**names**
+ This module looks for an **auth_to_local_names** mapping for the
+ principal name.
+
+**auth_to_local**
+ This module processes **auth_to_local** values in the default
+ realm's section, and applies the default method if no
+ **auth_to_local** values exist.
+
+**k5login**
+ This module authorizes a principal to a local account according to
+ the account's :ref:`.k5login(5)` file.
+
+**an2ln**
+ This module authorizes a principal to a local account if the
+ principal name maps to the local account name.
+
+
+PKINIT options
+--------------
+
+.. note::
+
+ The following are PKINIT-specific options. These values may
+ be specified in [libdefaults] as global defaults, or within
+ a realm-specific subsection of [libdefaults], or may be
+ specified as realm-specific values in the [realms] section.
+ A realm-specific value overrides, not adds to, a generic
+ [libdefaults] specification. The search order is:
+
+1. realm-specific subsection of [libdefaults]::
+
+ [libdefaults]
+ EXAMPLE.COM = {
+ pkinit_anchors = FILE:/usr/local/example.com.crt
+ }
+
+2. realm-specific value in the [realms] section::
+
+ [realms]
+ OTHERREALM.ORG = {
+ pkinit_anchors = FILE:/usr/local/otherrealm.org.crt
+ }
+
+3. generic value in the [libdefaults] section::
+
+ [libdefaults]
+ pkinit_anchors = DIR:/usr/local/generic_trusted_cas/
+
+
+.. _pkinit_identity:
+
+Specifying PKINIT identity information
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The syntax for specifying Public Key identity, trust, and revocation
+information for PKINIT is as follows:
+
+**FILE:**\ *filename*\ [**,**\ *keyfilename*]
+ This option has context-specific behavior.
+
+ In **pkinit_identity** or **pkinit_identities**, *filename*
+ specifies the name of a PEM-format file containing the user's
+ certificate. If *keyfilename* is not specified, the user's
+ private key is expected to be in *filename* as well. Otherwise,
+ *keyfilename* is the name of the file containing the private key.
+
+ In **pkinit_anchors** or **pkinit_pool**, *filename* is assumed to
+ be the name of an OpenSSL-style ca-bundle file.
+
+**DIR:**\ *dirname*
+ This option has context-specific behavior.
+
+ In **pkinit_identity** or **pkinit_identities**, *dirname*
+ specifies a directory with files named ``*.crt`` and ``*.key``
+ where the first part of the file name is the same for matching
+ pairs of certificate and private key files. When a file with a
+ name ending with ``.crt`` is found, a matching file ending with
+ ``.key`` is assumed to contain the private key. If no such file
+ is found, then the certificate in the ``.crt`` is not used.
+
+ In **pkinit_anchors** or **pkinit_pool**, *dirname* is assumed to
+ be an OpenSSL-style hashed CA directory where each CA cert is
+ stored in a file named ``hash-of-ca-cert.#``. This infrastructure
+ is encouraged, but all files in the directory will be examined and
+ if they contain certificates (in PEM format), they will be used.
+
+ In **pkinit_revoke**, *dirname* is assumed to be an OpenSSL-style
+ hashed CA directory where each revocation list is stored in a file
+ named ``hash-of-ca-cert.r#``. This infrastructure is encouraged,
+ but all files in the directory will be examined and if they
+ contain a revocation list (in PEM format), they will be used.
+
+**PKCS12:**\ *filename*
+ *filename* is the name of a PKCS #12 format file, containing the
+ user's certificate and private key.
+
+**PKCS11:**\ [**module_name=**]\ *modname*\ [**:slotid=**\ *slot-id*][**:token=**\ *token-label*][**:certid=**\ *cert-id*][**:certlabel=**\ *cert-label*]
+ All keyword/values are optional. *modname* specifies the location
+ of a library implementing PKCS #11. If a value is encountered
+ with no keyword, it is assumed to be the *modname*. If no
+ module-name is specified, the default is ``opensc-pkcs11.so``.
+ ``slotid=`` and/or ``token=`` may be specified to force the use of
+ a particular smard card reader or token if there is more than one
+ available. ``certid=`` and/or ``certlabel=`` may be specified to
+ force the selection of a particular certificate on the device.
+ See the **pkinit_cert_match** configuration option for more ways
+ to select a particular certificate to use for PKINIT.
+
+**ENV:**\ *envvar*
+ *envvar* specifies the name of an environment variable which has
+ been set to a value conforming to one of the previous values. For
+ example, ``ENV:X509_PROXY``, where environment variable
+ ``X509_PROXY`` has been set to ``FILE:/tmp/my_proxy.pem``.
+
+
+PKINIT krb5.conf options
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+**pkinit_anchors**
+ Specifies the location of trusted anchor (root) certificates which
+ the client trusts to sign KDC certificates. This option may be
+ specified multiple times. These values from the config file are
+ not used if the user specifies X509_anchors on the command line.
+
+**pkinit_cert_match**
+ Specifies matching rules that the client certificate must match
+ before it is used to attempt PKINIT authentication. If a user has
+ multiple certificates available (on a smart card, or via other
+ media), there must be exactly one certificate chosen before
+ attempting PKINIT authentication. This option may be specified
+ multiple times. All the available certificates are checked
+ against each rule in order until there is a match of exactly one
+ certificate.
+
+ The Subject and Issuer comparison strings are the :rfc:`2253`
+ string representations from the certificate Subject DN and Issuer
+ DN values.
+
+ The syntax of the matching rules is:
+
+ [*relation-operator*\ ]\ *component-rule* ...
+
+ where:
+
+ *relation-operator*
+ can be either ``&&``, meaning all component rules must match,
+ or ``||``, meaning only one component rule must match. The
+ default is ``&&``.
+
+ *component-rule*
+ can be one of the following. Note that there is no
+ punctuation or whitespace between component rules.
+
+ | **<SUBJECT>**\ *regular-expression*
+ | **<ISSUER>**\ *regular-expression*
+ | **<SAN>**\ *regular-expression*
+ | **<EKU>**\ *extended-key-usage-list*
+ | **<KU>**\ *key-usage-list*
+
+ *extended-key-usage-list* is a comma-separated list of
+ required Extended Key Usage values. All values in the list
+ must be present in the certificate. Extended Key Usage values
+ can be:
+
+ * pkinit
+ * msScLogin
+ * clientAuth
+ * emailProtection
+
+ *key-usage-list* is a comma-separated list of required Key
+ Usage values. All values in the list must be present in the
+ certificate. Key Usage values can be:
+
+ * digitalSignature
+ * keyEncipherment
+
+ Examples::
+
+ pkinit_cert_match = ||<SUBJECT>.*DoE.*<SAN>.*@EXAMPLE.COM
+ pkinit_cert_match = &&<EKU>msScLogin,clientAuth<ISSUER>.*DoE.*
+ pkinit_cert_match = <EKU>msScLogin,clientAuth<KU>digitalSignature
+
+**pkinit_eku_checking**
+ This option specifies what Extended Key Usage value the KDC
+ certificate presented to the client must contain. (Note that if
+ the KDC certificate has the pkinit SubjectAlternativeName encoded
+ as the Kerberos TGS name, EKU checking is not necessary since the
+ issuing CA has certified this as a KDC certificate.) The values
+ recognized in the krb5.conf file are:
+
+ **kpKDC**
+ This is the default value and specifies that the KDC must have
+ the id-pkinit-KPKdc EKU as defined in :rfc:`4556`.
+
+ **kpServerAuth**
+ If **kpServerAuth** is specified, a KDC certificate with the
+ id-kp-serverAuth EKU will be accepted. This key usage value
+ is used in most commercially issued server certificates.
+
+ **none**
+ If **none** is specified, then the KDC certificate will not be
+ checked to verify it has an acceptable EKU. The use of this
+ option is not recommended.
+
+**pkinit_dh_min_bits**
+ Specifies the size of the Diffie-Hellman key the client will
+ attempt to use. The acceptable values are 1024, 2048, and 4096.
+ The default is 2048.
+
+**pkinit_identities**
+ Specifies the location(s) to be used to find the user's X.509
+ identity information. This option may be specified multiple
+ times. Each value is attempted in order until identity
+ information is found and authentication is attempted. Note that
+ these values are not used if the user specifies
+ **X509_user_identity** on the command line.
+
+**pkinit_kdc_hostname**
+ The presense of this option indicates that the client is willing
+ to accept a KDC certificate with a dNSName SAN (Subject
+ Alternative Name) rather than requiring the id-pkinit-san as
+ defined in :rfc:`4556`. This option may be specified multiple
+ times. Its value should contain the acceptable hostname for the
+ KDC (as contained in its certificate).
+
+**pkinit_pool**
+ Specifies the location of intermediate certificates which may be
+ used by the client to complete the trust chain between a KDC
+ certificate and a trusted anchor. This option may be specified
+ multiple times.
+
+**pkinit_require_crl_checking**
+ The default certificate verification process will always check the
+ available revocation information to see if a certificate has been
+ revoked. If a match is found for the certificate in a CRL,
+ verification fails. If the certificate being verified is not
+ listed in a CRL, or there is no CRL present for its issuing CA,
+ and **pkinit_require_crl_checking** is false, then verification
+ succeeds.
+
+ However, if **pkinit_require_crl_checking** is true and there is
+ no CRL information available for the issuing CA, then verification
+ fails.
+
+ **pkinit_require_crl_checking** should be set to true if the
+ policy is such that up-to-date CRLs must be present for every CA.
+
+**pkinit_revoke**
+ Specifies the location of Certificate Revocation List (CRL)
+ information to be used by the client when verifying the validity
+ of the KDC certificate presented. This option may be specified
+ multiple times.
+
+
+.. _parameter_expansion:
+
+Parameter expansion
+-------------------
+
+Starting with release 1.11, several variables, such as
+**default_keytab_name**, allow parameters to be expanded.
+Valid parameters are:
+
+ ================= ===================================================
+ %{TEMP} Temporary directory
+ %{uid} Unix real UID or Windows SID
+ %{euid} Unix effective user ID or Windows SID
+ %{USERID} Same as %{uid}
+ %{null} Empty string
+ %{LIBDIR} Installation library directory
+ %{BINDIR} Installation binary directory
+ %{SBINDIR} Installation admin binary directory
+ %{username} (Unix) Username of effective user ID
+ %{APPDATA} (Windows) Roaming application data for current user
+ %{COMMON_APPDATA} (Windows) Application data for all users
+ %{LOCAL_APPDATA} (Windows) Local application data for current user
+ %{SYSTEM} (Windows) Windows system folder
+ %{WINDOWS} (Windows) Windows folder
+ %{USERCONFIG} (Windows) Per-user MIT krb5 config file directory
+ %{COMMONCONFIG} (Windows) Common MIT krb5 config file directory
+ ================= ===================================================
+
+Sample krb5.conf file
+---------------------
+
+Here is an example of a generic krb5.conf file::
+
+ [libdefaults]
+ default_realm = ATHENA.MIT.EDU
+ dns_lookup_kdc = true
+ dns_lookup_realm = false
+
+ [realms]
+ ATHENA.MIT.EDU = {
+ kdc = kerberos.mit.edu
+ kdc = kerberos-1.mit.edu
+ kdc = kerberos-2.mit.edu
+ admin_server = kerberos.mit.edu
+ master_kdc = kerberos.mit.edu
+ }
+ EXAMPLE.COM = {
+ kdc = kerberos.example.com
+ kdc = kerberos-1.example.com
+ admin_server = kerberos.example.com
+ }
+
+ [domain_realm]
+ mit.edu = ATHENA.MIT.EDU
+
+ [capaths]
+ ATHENA.MIT.EDU = {
+ EXAMPLE.COM = .
+ }
+ EXAMPLE.COM = {
+ ATHENA.MIT.EDU = .
+ }
+
+FILES
+-----
+
+|krb5conf|
+
+
+SEE ALSO
+--------
+
+syslog(3)
diff --git a/doc/html/_sources/admin/conf_ldap.txt b/doc/html/_sources/admin/conf_ldap.txt
new file mode 100644
index 000000000000..6443f46701fb
--- /dev/null
+++ b/doc/html/_sources/admin/conf_ldap.txt
@@ -0,0 +1,161 @@
+Configuring Kerberos with OpenLDAP back-end
+===========================================
+
+
+ 1. Set up SSL on the OpenLDAP server and client to ensure secure
+ communication when the KDC service and LDAP server are on different
+ machines. ``ldapi://`` can be used if the LDAP server and KDC
+ service are running on the same machine.
+
+ A. Setting up SSL on the OpenLDAP server:
+
+ i) Get a CA certificate using OpenSSL tools
+ ii) Configure OpenLDAP server for using SSL/TLS
+
+ For the latter, you need to specify the location of CA
+ certificate location in *slapd.conf* file.
+
+ Refer to the following link for more information:
+ http://www.openldap.org/doc/admin23/tls.html
+
+ B. Setting up SSL on OpenLDAP client:
+
+ i) For the KDC and Admin Server, you need to do the client-side
+ configuration in ldap.conf. For example::
+
+ TLS_CACERT /etc/openldap/certs/cacert.pem
+
+ 2. Include the Kerberos schema file (kerberos.schema) in the
+ configuration file (slapd.conf) on the LDAP Server, by providing
+ the location where it is stored::
+
+ include /etc/openldap/schema/kerberos.schema
+
+ 3. Choose DNs for the :ref:`krb5kdc(8)` and :ref:`kadmind(8)` servers
+ to bind to the LDAP server, and create them if necessary. These DNs
+ will be specified with the **ldap_kdc_dn** and **ldap_kadmind_dn**
+ directives in :ref:`kdc.conf(5)`; their passwords can be stashed
+ with "``kdb5_ldap_util stashsrvpw``" and the resulting file
+ specified with the **ldap_service_password_file** directive.
+
+ 4. Choose a DN for the global Kerberos container entry (but do not
+ create the entry at this time). This DN will be specified with the
+ **ldap_kerberos_container_dn** directive in :ref:`kdc.conf(5)`.
+ Realm container entries will be created underneath this DN.
+ Principal entries may exist either underneath the realm container
+ (the default) or in separate trees referenced from the realm
+ container.
+
+ 5. Configure the LDAP server ACLs to enable the KDC and kadmin server
+ DNs to read and write the Kerberos data. If
+ **disable_last_success** and **disable_lockout** are both set to
+ true in the :ref:`dbmodules` subsection for the realm, then the
+ KDC DN only requires read access to the Kerberos data.
+
+ Sample access control information::
+
+ access to dn.base=""
+ by * read
+
+ access to dn.base="cn=Subschema"
+ by * read
+
+ access to attrs=userPassword,userPKCS12
+ by self write
+ by * auth
+
+ access to attrs=shadowLastChange
+ by self write
+ by * read
+
+ # Providing access to realm container
+ access to dn.subtree= "cn=EXAMPLE.COM,cn=krbcontainer,dc=example,dc=com"
+ by dn.exact="cn=kdc-service,dc=example,dc=com" write
+ by dn.exact="cn=adm-service,dc=example,dc=com" write
+ by * none
+
+ # Providing access to principals, if not underneath realm container
+ access to dn.subtree= "ou=users,dc=example,dc=com"
+ by dn.exact="cn=kdc-service,dc=example,dc=com" write
+ by dn.exact="cn=adm-service,dc=example,dc=com" write
+ by * none
+
+ access to *
+ by * read
+
+ If the locations of the container and principals or the DNs of
+ the service objects for a realm are changed then this
+ information should be updated.
+
+ 6. Start the LDAP server as follows::
+
+ slapd -h "ldapi:/// ldaps:///"
+
+ 7. Modify the :ref:`kdc.conf(5)` file to include LDAP specific items
+ listed below::
+
+ realms
+ database_module
+
+ dbmodules
+ db_library
+ db_module_dir
+ ldap_kdc_dn
+ ldap_kadmind_dn
+ ldap_service_password_file
+ ldap_servers
+ ldap_conns_per_server
+
+ 8. Create the realm using :ref:`kdb5_ldap_util(8)` (see
+ :ref:`ldap_create_realm`)::
+
+ kdb5_ldap_util -D cn=admin,dc=example,dc=com create -subtrees ou=users,dc=example,dc=com -r EXAMPLE.COM -s
+
+ Use the **-subtrees** option if the principals are to exist in a
+ separate subtree from the realm container. Before executing the
+ command, make sure that the subtree mentioned above
+ ``(ou=users,dc=example,dc=com)`` exists. If the principals will
+ exist underneath the realm container, omit the **-subtrees** option
+ and do not worry about creating the principal subtree.
+
+ For more information, refer to the section :ref:`ops_on_ldap`.
+
+ The realm object is created under the
+ **ldap_kerberos_container_dn** specified in the configuration file.
+ This operation will also create the Kerberos container, if not
+ present already. This will be used to store information related to
+ all realms.
+
+ 9. Stash the password of the service object used by the KDC and
+ Administration service to bind to the LDAP server using the
+ :ref:`kdb5_ldap_util(8)` **stashsrvpw** command (see
+ :ref:`stash_ldap`). The object DN should be the same as
+ **ldap_kdc_dn** and **ldap_kadmind_dn** values specified in the
+ :ref:`kdc.conf(5)` file::
+
+ kdb5_ldap_util -D cn=admin,dc=example,dc=com stashsrvpw -f /etc/kerberos/service.keyfile cn=krbadmin,dc=example,dc=com
+
+ 10. Add ``krbPrincipalName`` to the indexes in slapd.conf to speed up
+ the access.
+
+With the LDAP back end it is possible to provide aliases for principal
+entries. Currently we provide no mechanism provided for creating
+aliases, so it must be done by direct manipulation of the LDAP
+entries.
+
+An entry with aliases contains multiple values of the
+*krbPrincipalName* attribute. Since LDAP attribute values are not
+ordered, it is necessary to specify which principal name is canonical,
+by using the *krbCanonicalName* attribute. Therefore, to create
+aliases for an entry, first set the *krbCanonicalName* attribute of
+the entry to the canonical principal name (which should be identical
+to the pre-existing *krbPrincipalName* value), and then add additional
+*krbPrincipalName* attributes for the aliases.
+
+Principal aliases are only returned by the KDC when the client
+requests canonicalization. Canonicalization is normally requested for
+service principals; for client principals, an explicit flag is often
+required (e.g., ``kinit -C``) and canonicalization is only performed
+for initial ticket requests.
+
+.. seealso:: :ref:`ldap_be_ubuntu`
diff --git a/doc/html/_sources/admin/database.txt b/doc/html/_sources/admin/database.txt
new file mode 100644
index 000000000000..b693042fa207
--- /dev/null
+++ b/doc/html/_sources/admin/database.txt
@@ -0,0 +1,894 @@
+Database administration
+=======================
+
+A Kerberos database contains all of a realm's Kerberos principals,
+their passwords, and other administrative information about each
+principal. For the most part, you will use the :ref:`kdb5_util(8)`
+program to manipulate the Kerberos database as a whole, and the
+:ref:`kadmin(1)` program to make changes to the entries in the
+database. (One notable exception is that users will use the
+:ref:`kpasswd(1)` program to change their own passwords.) The kadmin
+program has its own command-line interface, to which you type the
+database administrating commands.
+
+:ref:`kdb5_util(8)` provides a means to create, delete, load, or dump
+a Kerberos database. It also contains commands to roll over the
+database master key, and to stash a copy of the key so that the
+:ref:`kadmind(8)` and :ref:`krb5kdc(8)` daemons can use the database
+without manual input.
+
+:ref:`kadmin(1)` provides for the maintenance of Kerberos principals,
+password policies, and service key tables (keytabs). Normally it
+operates as a network client using Kerberos authentication to
+communicate with :ref:`kadmind(8)`, but there is also a variant, named
+kadmin.local, which directly accesses the Kerberos database on the
+local filesystem (or through LDAP). kadmin.local is necessary to set
+up enough of the database to be able to use the remote version.
+
+kadmin can authenticate to the admin server using the service
+principal ``kadmin/HOST`` (where *HOST* is the hostname of the admin
+server) or ``kadmin/admin``. If the credentials cache contains a
+ticket for either service principal and the **-c** ccache option is
+specified, that ticket is used to authenticate to KADM5. Otherwise,
+the **-p** and **-k** options are used to specify the client Kerberos
+principal name used to authenticate. Once kadmin has determined the
+principal name, it requests a ``kadmin/admin`` Kerberos service ticket
+from the KDC, and uses that service ticket to authenticate to KADM5.
+
+See :ref:`kadmin(1)` for the available kadmin and kadmin.local
+commands and options.
+
+
+kadmin options
+--------------
+
+You can invoke :ref:`kadmin(1)` or kadmin.local with any of the
+following options:
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: kadmin_synopsis:
+ :end-before: kadmin_synopsis_end:
+
+**OPTIONS**
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _kadmin_options:
+ :end-before: _kadmin_options_end:
+
+
+Date Format
+-----------
+
+For the supported date-time formats see :ref:`getdate` section
+in :ref:`datetime`.
+
+
+Principals
+----------
+
+Each entry in the Kerberos database contains a Kerberos principal and
+the attributes and policies associated with that principal.
+
+
+.. _add_mod_del_princs:
+
+Adding, modifying and deleting principals
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To add a principal to the database, use the :ref:`kadmin(1)`
+**add_principal** command.
+
+To modify attributes of a principal, use the kadmin
+**modify_principal** command.
+
+To delete a principal, use the kadmin **delete_principal** command.
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _add_principal:
+ :end-before: _add_principal_end:
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _modify_principal:
+ :end-before: _modify_principal_end:
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _delete_principal:
+ :end-before: _delete_principal_end:
+
+
+Examples
+########
+
+If you want to create a principal which is contained by a LDAP object,
+all you need to do is::
+
+ kadmin: addprinc -x dn=cn=jennifer,dc=example,dc=com jennifer
+ WARNING: no policy specified for "jennifer@ATHENA.MIT.EDU";
+ defaulting to no policy.
+ Enter password for principal jennifer@ATHENA.MIT.EDU: <= Type the password.
+ Re-enter password for principal jennifer@ATHENA.MIT.EDU: <=Type it again.
+ Principal "jennifer@ATHENA.MIT.EDU" created.
+ kadmin:
+
+If you want to create a principal under a specific LDAP container and
+link to an existing LDAP object, all you need to do is::
+
+ kadmin: addprinc -x containerdn=dc=example,dc=com -x linkdn=cn=david,dc=example,dc=com david
+ WARNING: no policy specified for "david@ATHENA.MIT.EDU";
+ defaulting to no policy.
+ Enter password for principal david@ATHENA.MIT.EDU: <= Type the password.
+ Re-enter password for principal david@ATHENA.MIT.EDU: <=Type it again.
+ Principal "david@ATHENA.MIT.EDU" created.
+ kadmin:
+
+If you want to associate a ticket policy to a principal, all you need
+to do is::
+
+ kadmin: modprinc -x tktpolicy=userpolicy david
+ Principal "david@ATHENA.MIT.EDU" modified.
+ kadmin:
+
+If, on the other hand, you want to set up an account that expires on
+January 1, 2000, that uses a policy called "stduser", with a temporary
+password (which you want the user to change immediately), you would
+type the following::
+
+ kadmin: addprinc david -expire "1/1/2000 12:01am EST" -policy stduser +needchange
+ Enter password for principal david@ATHENA.MIT.EDU: <= Type the password.
+ Re-enter password for principal
+ david@ATHENA.MIT.EDU: <= Type it again.
+ Principal "david@ATHENA.MIT.EDU" created.
+ kadmin:
+
+If you want to delete a principal::
+
+ kadmin: delprinc jennifer
+ Are you sure you want to delete the principal
+ "jennifer@ATHENA.MIT.EDU"? (yes/no): yes
+ Principal "jennifer@ATHENA.MIT.EDU" deleted.
+ Make sure that you have removed this principal from
+ all ACLs before reusing.
+ kadmin:
+
+
+Retrieving information about a principal
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To retrieve a listing of the attributes and/or policies associated
+with a principal, use the :ref:`kadmin(1)` **get_principal** command.
+
+To generate a listing of principals, use the kadmin
+**list_principals** command.
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _get_principal:
+ :end-before: _get_principal_end:
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _list_principals:
+ :end-before: _list_principals_end:
+
+
+Changing passwords
+~~~~~~~~~~~~~~~~~~
+
+To change a principal's password use the :ref:`kadmin(1)`
+**change_password** command.
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _change_password:
+ :end-before: _change_password_end:
+
+.. note::
+
+ Password changes through kadmin are subject to the same
+ password policies as would apply to password changes through
+ :ref:`kpasswd(1)`.
+
+
+.. _policies:
+
+Policies
+--------
+
+A policy is a set of rules governing passwords. Policies can dictate
+minimum and maximum password lifetimes, minimum number of characters
+and character classes a password must contain, and the number of old
+passwords kept in the database.
+
+
+Adding, modifying and deleting policies
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To add a new policy, use the :ref:`kadmin(1)` **add_policy** command.
+
+To modify attributes of a principal, use the kadmin **modify_policy**
+command.
+
+To delete a policy, use the kadmin **delete_policy** command.
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _add_policy:
+ :end-before: _add_policy_end:
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _modify_policy:
+ :end-before: _modify_policy_end:
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _delete_policy:
+ :end-before: _delete_policy_end:
+
+.. note::
+
+ You must cancel the policy from *all* principals before
+ deleting it. The *delete_policy* command will fail if the policy
+ is in use by any principals.
+
+
+Retrieving policies
+~~~~~~~~~~~~~~~~~~~
+
+To retrieve a policy, use the :ref:`kadmin(1)` **get_policy** command.
+
+You can retrieve the list of policies with the kadmin
+**list_policies** command.
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _get_policy:
+ :end-before: _get_policy_end:
+
+.. include:: admin_commands/kadmin_local.rst
+ :start-after: _list_policies:
+ :end-before: _list_policies_end:
+
+
+Policies and principals
+~~~~~~~~~~~~~~~~~~~~~~~
+
+Policies can be applied to principals as they are created by using
+the **-policy** flag to :ref:`add_principal`. Existing principals can
+be modified by using the **-policy** or **-clearpolicy** flag to
+:ref:`modify_principal`.
+
+
+Updating the history key
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+If a policy specifies a number of old keys kept of two or more, the
+stored old keys are encrypted in a history key, which is found in the
+key data of the ``kadmin/history`` principal.
+
+Currently there is no support for proper rollover of the history key,
+but you can change the history key (for example, to use a better
+encryption type) at the cost of invalidating currently stored old
+keys. To change the history key, run::
+
+ kadmin: change_password -randkey kadmin/history
+
+This command will fail if you specify the **-keepold** flag. Only one
+new history key will be created, even if you specify multiple key/salt
+combinations.
+
+In the future, we plan to migrate towards encrypting old keys in the
+master key instead of the history key, and implementing proper
+rollover support for stored old keys.
+
+
+.. _privileges:
+
+Privileges
+----------
+
+Administrative privileges for the Kerberos database are stored in the
+file :ref:`kadm5.acl(5)`.
+
+.. note::
+
+ A common use of an admin instance is so you can grant
+ separate permissions (such as administrator access to the
+ Kerberos database) to a separate Kerberos principal. For
+ example, the user ``joeadmin`` might have a principal for
+ his administrative use, called ``joeadmin/admin``. This
+ way, ``joeadmin`` would obtain ``joeadmin/admin`` tickets
+ only when he actually needs to use those permissions.
+
+
+.. _db_operations:
+
+Operations on the Kerberos database
+-----------------------------------
+
+The :ref:`kdb5_util(8)` command is the primary tool for administrating
+the Kerberos database.
+
+.. include:: admin_commands/kdb5_util.rst
+ :start-after: _kdb5_util_synopsis:
+ :end-before: _kdb5_util_synopsis_end:
+
+**OPTIONS**
+
+.. include:: admin_commands/kdb5_util.rst
+ :start-after: _kdb5_util_options:
+ :end-before: _kdb5_util_options_end:
+
+.. toctree::
+ :maxdepth: 1
+
+
+Dumping a Kerberos database to a file
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To dump a Kerberos database into a file, use the :ref:`kdb5_util(8)`
+**dump** command on one of the KDCs.
+
+.. include:: admin_commands/kdb5_util.rst
+ :start-after: _kdb5_util_dump:
+ :end-before: _kdb5_util_dump_end:
+
+
+Examples
+########
+
+::
+
+ shell% kdb5_util dump dumpfile
+ shell%
+
+ shell% kbd5_util dump -verbose dumpfile
+ kadmin/admin@ATHENA.MIT.EDU
+ krbtgt/ATHENA.MIT.EDU@ATHENA.MIT.EDU
+ kadmin/history@ATHENA.MIT.EDU
+ K/M@ATHENA.MIT.EDU
+ kadmin/changepw@ATHENA.MIT.EDU
+ shell%
+
+If you specify which principals to dump, you must use the full
+principal, as in the following example::
+
+ shell% kdb5_util dump -verbose dumpfile K/M@ATHENA.MIT.EDU kadmin/admin@ATHENA.MIT.EDU
+ kadmin/admin@ATHENA.MIT.EDU
+ K/M@ATHENA.MIT.EDU
+ shell%
+
+Otherwise, the principals will not match those in the database and
+will not be dumped::
+
+ shell% kdb5_util dump -verbose dumpfile K/M kadmin/admin
+ shell%
+
+If you do not specify a dump file, kdb5_util will dump the database to
+the standard output.
+
+
+.. _restore_from_dump:
+
+Restoring a Kerberos database from a dump file
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To restore a Kerberos database dump from a file, use the
+:ref:`kdb5_util(8)` **load** command on one of the KDCs.
+
+.. include:: admin_commands/kdb5_util.rst
+ :start-after: _kdb5_util_load:
+ :end-before: _kdb5_util_load_end:
+
+
+Examples
+########
+
+To load a single principal, either replacing or updating the database:
+
+::
+
+ shell% kdb5_util load dumpfile principal
+ shell%
+
+ shell% kdb5_util load -update dumpfile principal
+ shell%
+
+
+.. note::
+
+ If the database file exists, and the *-update* flag was not
+ given, *kdb5_util* will overwrite the existing database.
+
+Using kdb5_util to upgrade a master KDC from krb5 1.1.x:
+
+::
+
+ shell% kdb5_util dump old-kdb-dump
+ shell% kdb5_util dump -ov old-kdb-dump.ov
+ [Create a new KDC installation, using the old stash file/master password]
+ shell% kdb5_util load old-kdb-dump
+ shell% kdb5_util load -update old-kdb-dump.ov
+
+The use of old-kdb-dump.ov for an extra dump and load is necessary
+to preserve per-principal policy information, which is not included in
+the default dump format of krb5 1.1.x.
+
+.. note::
+
+ Using kdb5_util to dump and reload the principal database is
+ only necessary when upgrading from versions of krb5 prior
+ to 1.2.0---newer versions will use the existing database as-is.
+
+
+.. _create_stash:
+
+Creating a stash file
+~~~~~~~~~~~~~~~~~~~~~
+
+A stash file allows a KDC to authenticate itself to the database
+utilities, such as :ref:`kadmind(8)`, :ref:`krb5kdc(8)`, and
+:ref:`kdb5_util(8)`.
+
+To create a stash file, use the :ref:`kdb5_util(8)` **stash** command.
+
+.. include:: admin_commands/kdb5_util.rst
+ :start-after: _kdb5_util_stash:
+ :end-before: _kdb5_util_stash_end:
+
+
+Example
+#######
+
+ shell% kdb5_util stash
+ kdb5_util: Cannot find/read stored master key while reading master key
+ kdb5_util: Warning: proceeding without master key
+ Enter KDC database master key: <= Type the KDC database master password.
+ shell%
+
+If you do not specify a stash file, kdb5_util will stash the key in
+the file specified in your :ref:`kdc.conf(5)` file.
+
+
+Creating and destroying a Kerberos database
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If you need to create a new Kerberos database, use the
+:ref:`kdb5_util(8)` **create** command.
+
+.. include:: admin_commands/kdb5_util.rst
+ :start-after: _kdb5_util_create:
+ :end-before: _kdb5_util_create_end:
+
+If you need to destroy the current Kerberos database, use the
+:ref:`kdb5_util(8)` **destroy** command.
+
+.. include:: admin_commands/kdb5_util.rst
+ :start-after: _kdb5_util_destroy:
+ :end-before: _kdb5_util_destroy_end:
+
+
+Examples
+########
+
+::
+
+ shell% kdb5_util -r ATHENA.MIT.EDU create -s
+ Loading random data
+ Initializing database '/usr/local/var/krb5kdc/principal' for realm 'ATHENA.MIT.EDU',
+ master key name 'K/M@ATHENA.MIT.EDU'
+ You will be prompted for the database Master Password.
+ It is important that you NOT FORGET this password.
+ Enter KDC database master key: <= Type the master password.
+ Re-enter KDC database master key to verify: <= Type it again.
+ shell%
+
+ shell% kdb5_util -r ATHENA.MIT.EDU destroy
+ Deleting KDC database stored in '/usr/local/var/krb5kdc/principal', are you sure?
+ (type 'yes' to confirm)? <= yes
+ OK, deleting database '/usr/local/var/krb5kdc/principal'...
+ ** Database '/usr/local/var/krb5kdc/principal' destroyed.
+ shell%
+
+
+Updating the master key
+~~~~~~~~~~~~~~~~~~~~~~~
+
+Starting with release 1.7, :ref:`kdb5_util(8)` allows the master key
+to be changed using a rollover process, with minimal loss of
+availability. To roll over the master key, follow these steps:
+
+#. On the master KDC, run ``kdb5_util list_mkeys`` to view the current
+ master key version number (KVNO). If you have never rolled over
+ the master key before, this will likely be version 1::
+
+ $ kdb5_util list_mkeys
+ Master keys for Principal: K/M@KRBTEST.COM
+ KVNO: 1, Enctype: des-cbc-crc, Active on: Wed Dec 31 19:00:00 EST 1969 *
+
+#. On the master KDC, run ``kdb5_util use_mkey 1`` to ensure that a
+ master key activation list is present in the database. This step
+ is unnecessary in release 1.11.4 or later, or if the database was
+ initially created with release 1.7 or later.
+
+#. On the master KDC, run ``kdb5_util add_mkey -s`` to create a new
+ master key and write it to the stash file. Enter a secure password
+ when prompted. If this is the first time you are changing the
+ master key, the new key will have version 2. The new master key
+ will not be used until you make it active.
+
+#. Propagate the database to all slave KDCs, either manually or by
+ waiting until the next scheduled propagation. If you do not have
+ any slave KDCs, you can skip this and the next step.
+
+#. On each slave KDC, run ``kdb5_util list_mkeys`` to verify that the
+ new master key is present, and then ``kdb5_util stash`` to write
+ the new master key to the slave KDC's stash file.
+
+#. On the master KDC, run ``kdb5_util use_mkey 2`` to begin using the
+ new master key. Replace ``2`` with the version of the new master
+ key, as appropriate. You can optionally specify a date for the new
+ master key to become active; by default, it will become active
+ immediately. Prior to release 1.12, :ref:`kadmind(8)` must be
+ restarted for this change to take full effect.
+
+#. On the master KDC, run ``kdb5_util update_princ_encryption``. This
+ command will iterate over the database and re-encrypt all keys in
+ the new master key. If the database is large and uses DB2, the
+ master KDC will become unavailable while this command runs, but
+ clients should fail over to slave KDCs (if any are present) during
+ this time period. In release 1.13 and later, you can instead run
+ ``kdb5_util -x unlockiter update_princ_encryption`` to use unlocked
+ iteration; this variant will take longer, but will keep the
+ database available to the KDC and kadmind while it runs.
+
+#. On the master KDC, run ``kdb5_util purge_mkeys`` to clean up the
+ old master key.
+
+
+.. _ops_on_ldap:
+
+Operations on the LDAP database
+-------------------------------
+
+The :ref:`kdb5_ldap_util(8)` is the primary tool for administrating
+the Kerberos LDAP database. It allows an administrator to manage
+realms, Kerberos services (KDC and Admin Server) and ticket policies.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_synopsis:
+ :end-before: _kdb5_ldap_util_synopsis_end:
+
+**OPTIONS**
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_options:
+ :end-before: _kdb5_ldap_util_options_end:
+
+
+.. _ldap_create_realm:
+
+Creating a Kerberos realm
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If you need to create a new realm, use the :ref:`kdb5_ldap_util(8)`
+**create** command as follows.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_create:
+ :end-before: _kdb5_ldap_util_create_end:
+
+
+.. _ldap_mod_realm:
+
+Modifying a Kerberos realm
+~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If you need to modify a realm, use the :ref:`kdb5_ldap_util(8)`
+**modify** command as follows.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_modify:
+ :end-before: _kdb5_ldap_util_modify_end:
+
+
+Destroying a Kerberos realm
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If you need to destroy a Kerberos realm, use the
+:ref:`kdb5_ldap_util(8)` **destroy** command as follows.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_destroy:
+ :end-before: _kdb5_ldap_util_destroy_end:
+
+
+Retrieving information about a Kerberos realm
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If you need to display the attributes of a realm, use the
+:ref:`kdb5_ldap_util(8)` **view** command as follows.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_view:
+ :end-before: _kdb5_ldap_util_view_end:
+
+
+Listing available Kerberos realms
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If you need to display the list of the realms, use the
+:ref:`kdb5_ldap_util(8)` **list** command as follows.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_list:
+ :end-before: _kdb5_ldap_util_list_end:
+
+
+.. _stash_ldap:
+
+Stashing service object's password
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The :ref:`kdb5_ldap_util(8)` **stashsrvpw** command allows an
+administrator to store the password of service object in a file. The
+KDC and Administration server uses this password to authenticate to
+the LDAP server.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_stashsrvpw:
+ :end-before: _kdb5_ldap_util_stashsrvpw_end:
+
+
+Ticket Policy operations
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+Creating a Ticket Policy
+########################
+
+To create a new ticket policy in directory , use the
+:ref:`kdb5_ldap_util(8)` **create_policy** command. Ticket policy
+objects are created under the realm container.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_create_policy:
+ :end-before: _kdb5_ldap_util_create_policy_end:
+
+
+Modifying a Ticket Policy
+#########################
+
+To modify a ticket policy in directory, use the
+:ref:`kdb5_ldap_util(8)` **modify_policy** command.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_modify_policy:
+ :end-before: _kdb5_ldap_util_modify_policy_end:
+
+
+Retrieving Information About a Ticket Policy
+############################################
+
+To display the attributes of a ticket policy, use the
+:ref:`kdb5_ldap_util(8)` **view_policy** command.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_view_policy:
+ :end-before: _kdb5_ldap_util_view_policy_end:
+
+
+Destroying a Ticket Policy
+##########################
+
+To destroy an existing ticket policy, use the :ref:`kdb5_ldap_util(8)`
+**destroy_policy** command.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_destroy_policy:
+ :end-before: _kdb5_ldap_util_destroy_policy_end:
+
+
+Listing available Ticket Policies
+#################################
+
+To list the name of ticket policies in a realm, use the
+:ref:`kdb5_ldap_util(8)` **list_policy** command.
+
+.. include:: admin_commands/kdb5_ldap_util.rst
+ :start-after: _kdb5_ldap_util_list_policy:
+ :end-before: _kdb5_ldap_util_list_policy_end:
+
+
+.. _xrealm_authn:
+
+Cross-realm authentication
+--------------------------
+
+In order for a KDC in one realm to authenticate Kerberos users in a
+different realm, it must share a key with the KDC in the other realm.
+In both databases, there must be krbtgt service principals for both realms.
+For example, if you need to do cross-realm authentication between the realms
+``ATHENA.MIT.EDU`` and ``EXAMPLE.COM``, you would need to add the
+principals ``krbtgt/EXAMPLE.COM@ATHENA.MIT.EDU`` and
+``krbtgt/ATHENA.MIT.EDU@EXAMPLE.COM`` to both databases.
+These principals must all have the same passwords, key version
+numbers, and encryption types; this may require explicitly setting
+the key version number with the **-kvno** option.
+
+In the ATHENA.MIT.EDU and EXAMPLE.COM cross-realm case, the administrators
+would run the following commands on the KDCs in both realms::
+
+ shell%: kadmin.local -e "aes256-cts:normal"
+ kadmin: addprinc -requires_preauth krbtgt/ATHENA.MIT.EDU@EXAMPLE.COM
+ Enter password for principal krbtgt/ATHENA.MIT.EDU@EXAMPLE.COM:
+ Re-enter password for principal krbtgt/ATHENA.MIT.EDU@EXAMPLE.COM:
+ kadmin: addprinc -requires_preauth krbtgt/EXAMPLE.COM@ATHENA.MIT.EDU
+ Enter password for principal krbtgt/EXAMPLE.COM@ATHENA.MIT.EDU:
+ Enter password for principal krbtgt/EXAMPLE.COM@ATHENA.MIT.EDU:
+ kadmin:
+
+.. note::
+
+ Even if most principals in a realm are generally created
+ with the **requires_preauth** flag enabled, this flag is not
+ desirable on cross-realm authentication keys because doing
+ so makes it impossible to disable preauthentication on a
+ service-by-service basis. Disabling it as in the example
+ above is recommended.
+
+.. note::
+
+ It is very important that these principals have good
+ passwords. MIT recommends that TGT principal passwords be
+ at least 26 characters of random ASCII text.
+
+
+.. _changing_krbtgt_key:
+
+Changing the krbtgt key
+-----------------------
+
+A Kerberos Ticket Granting Ticket (TGT) is a service ticket for the
+principal ``krbtgt/REALM``. The key for this principal is created
+when the Kerberos database is initialized and need not be changed.
+However, it will only have the encryption types supported by the KDC
+at the time of the initial database creation. To allow use of newer
+encryption types for the TGT, this key has to be changed.
+
+Changing this key using the normal :ref:`kadmin(1)`
+**change_password** command would invalidate any previously issued
+TGTs. Therefore, when changing this key, normally one should use the
+**-keepold** flag to change_password to retain the previous key in the
+database as well as the new key. For example::
+
+ kadmin: change_password -randkey -keepold krbtgt/ATHENA.MIT.EDU@ATHENA.MIT.EDU
+
+.. warning::
+
+ After issuing this command, the old key is still valid
+ and is still vulnerable to (for instance) brute force
+ attacks. To completely retire an old key or encryption
+ type, run the kadmin **purgekeys** command to delete keys
+ with older kvnos, ideally first making sure that all
+ tickets issued with the old keys have expired.
+
+Only the first krbtgt key of the newest key version is used to encrypt
+ticket-granting tickets. However, the set of encryption types present
+in the krbtgt keys is used by default to determine the session key
+types supported by the krbtgt service (see
+:ref:`session_key_selection`). Because non-MIT Kerberos clients
+sometimes send a limited set of encryption types when making AS
+requests, it can be important to for the krbtgt service to support
+multiple encryption types. This can be accomplished by giving the
+krbtgt principal multiple keys, which is usually as simple as not
+specifying any **-e** option when changing the krbtgt key, or by
+setting the **session_enctypes** string attribute on the krbtgt
+principal (see :ref:`set_string`).
+
+Due to a bug in releases 1.8 through 1.13, renewed and forwarded
+tickets may not work if the original ticket was obtained prior to a
+krbtgt key change and the modified ticket is obtained afterwards.
+Upgrading the KDC to release 1.14 or later will correct this bug.
+
+
+.. _incr_db_prop:
+
+Incremental database propagation
+--------------------------------
+
+Overview
+~~~~~~~~
+
+At some very large sites, dumping and transmitting the database can
+take more time than is desirable for changes to propagate from the
+master KDC to the slave KDCs. The incremental propagation support
+added in the 1.7 release is intended to address this.
+
+With incremental propagation enabled, all programs on the master KDC
+that change the database also write information about the changes to
+an "update log" file, maintained as a circular buffer of a certain
+size. A process on each slave KDC connects to a service on the master
+KDC (currently implemented in the :ref:`kadmind(8)` server) and
+periodically requests the changes that have been made since the last
+check. By default, this check is done every two minutes. If the
+database has just been modified in the previous several seconds
+(currently the threshold is hard-coded at 10 seconds), the slave will
+not retrieve updates, but instead will pause and try again soon after.
+This reduces the likelihood that incremental update queries will cause
+delays for an administrator trying to make a bunch of changes to the
+database at the same time.
+
+Incremental propagation uses the following entries in the per-realm
+data in the KDC config file (See :ref:`kdc.conf(5)`):
+
+====================== =============== ===========================================
+iprop_enable *boolean* If *true*, then incremental propagation is enabled, and (as noted below) normal kprop propagation is disabled. The default is *false*.
+iprop_master_ulogsize *integer* Indicates the number of entries that should be retained in the update log. The default is 1000; the maximum number is 2500.
+iprop_slave_poll *time interval* Indicates how often the slave should poll the master KDC for changes to the database. The default is two minutes.
+iprop_port *integer* Specifies the port number to be used for incremental propagation. This is required in both master and slave configuration files.
+iprop_resync_timeout *integer* Specifies the number of seconds to wait for a full propagation to complete. This is optional on slave configurations. Defaults to 300 seconds (5 minutes).
+iprop_logfile *file name* Specifies where the update log file for the realm database is to be stored. The default is to use the *database_name* entry from the realms section of the config file :ref:`kdc.conf(5)`, with *.ulog* appended. (NOTE: If database_name isn't specified in the realms section, perhaps because the LDAP database back end is being used, or the file name is specified in the *dbmodules* section, then the hard-coded default for *database_name* is used. Determination of the *iprop_logfile* default value will not use values from the *dbmodules* section.)
+====================== =============== ===========================================
+
+Both master and slave sides must have a principal named
+``kiprop/hostname`` (where *hostname* is the lowercase,
+fully-qualified, canonical name for the host) registered in the
+Kerberos database, and have keys for that principal stored in the
+default keytab file (|keytab|). In release 1.13, the
+``kiprop/hostname`` principal is created automatically for the master
+KDC, but it must still be created for slave KDCs.
+
+On the master KDC side, the ``kiprop/hostname`` principal must be
+listed in the kadmind ACL file :ref:`kadm5.acl(5)`, and given the
+**p** privilege (see :ref:`privileges`).
+
+On the slave KDC side, :ref:`kpropd(8)` should be run. When
+incremental propagation is enabled, it will connect to the kadmind on
+the master KDC and start requesting updates.
+
+The normal kprop mechanism is disabled by the incremental propagation
+support. However, if the slave has been unable to fetch changes from
+the master KDC for too long (network problems, perhaps), the log on
+the master may wrap around and overwrite some of the updates that the
+slave has not yet retrieved. In this case, the slave will instruct
+the master KDC to dump the current database out to a file and invoke a
+one-time kprop propagation, with special options to also convey the
+point in the update log at which the slave should resume fetching
+incremental updates. Thus, all the keytab and ACL setup previously
+described for kprop propagation is still needed.
+
+If an environment has a large number of slaves, it may be desirable to
+arrange them in a hierarchy instead of having the master serve updates
+to every slave. To do this, run ``kadmind -proponly`` on each
+intermediate slave, and ``kpropd -A upstreamhostname`` on downstream
+slaves to direct each one to the appropriate upstream slave.
+
+There are several known restrictions in the current implementation:
+
+- The incremental update protocol does not transport changes to policy
+ objects. Any policy changes on the master will result in full
+ resyncs to all slaves.
+- The slave's KDB module must support locking; it cannot be using the
+ LDAP KDB module.
+- The master and slave must be able to initiate TCP connections in
+ both directions, without an intervening NAT.
+
+
+Sun/MIT incremental propagation differences
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Sun donated the original code for supporting incremental database
+propagation to MIT. Some changes have been made in the MIT source
+tree that will be visible to administrators. (These notes are based
+on Sun's patches. Changes to Sun's implementation since then may not
+be reflected here.)
+
+The Sun config file support looks for ``sunw_dbprop_enable``,
+``sunw_dbprop_master_ulogsize``, and ``sunw_dbprop_slave_poll``.
+
+The incremental propagation service is implemented as an ONC RPC
+service. In the Sun implementation, the service is registered with
+rpcbind (also known as portmapper) and the client looks up the port
+number to contact. In the MIT implementation, where interaction with
+some modern versions of rpcbind doesn't always work well, the port
+number must be specified in the config file on both the master and
+slave sides.
+
+The Sun implementation hard-codes pathnames in ``/var/krb5`` for the
+update log and the per-slave kprop dump files. In the MIT
+implementation, the pathname for the update log is specified in the
+config file, and the per-slave dump files are stored in
+|kdcdir|\ ``/slave_datatrans_hostname``.
diff --git a/doc/html/_sources/admin/enctypes.txt b/doc/html/_sources/admin/enctypes.txt
new file mode 100644
index 000000000000..3cdfc92cf182
--- /dev/null
+++ b/doc/html/_sources/admin/enctypes.txt
@@ -0,0 +1,146 @@
+.. _enctypes:
+
+Encryption types
+================
+
+Kerberos can use a variety of cipher algorithms to protect data. A
+Kerberos **encryption type** (also known as an **enctype**) is a
+specific combination of a cipher algorithm with an integrity algorithm
+to provide both confidentiality and integrity to data.
+
+
+Enctypes in requests
+--------------------
+
+Clients make two types of requests (KDC-REQ) to the KDC: AS-REQs and
+TGS-REQs. The client uses the AS-REQ to obtain initial tickets
+(typically a Ticket-Granting Ticket (TGT)), and uses the TGS-REQ to
+obtain service tickets.
+
+The KDC uses three different keys when issuing a ticket to a client:
+
+* The long-term key of the service: the KDC uses this to encrypt the
+ actual service ticket. The KDC only uses the first long-term key in
+ the most recent kvno for this purpose.
+
+* The session key: the KDC randomly chooses this key and places one
+ copy inside the ticket and the other copy inside the encrypted part
+ of the reply.
+
+* The reply-encrypting key: the KDC uses this to encrypt the reply it
+ sends to the client. For AS replies, this is a long-term key of the
+ client principal. For TGS replies, this is either the session key of the
+ authenticating ticket, or a subsession key.
+
+Each of these keys is of a specific enctype.
+
+Each request type allows the client to submit a list of enctypes that
+it is willing to accept. For the AS-REQ, this list affects both the
+session key selection and the reply-encrypting key selection. For the
+TGS-REQ, this list only affects the session key selection.
+
+
+.. _session_key_selection:
+
+Session key selection
+---------------------
+
+The KDC chooses the session key enctype by taking the intersection of
+its **permitted_enctypes** list, the list of long-term keys for the
+most recent kvno of the service, and the client's requested list of
+enctypes. If **allow_weak_crypto** is true, all services are assumed
+to support des-cbc-crc.
+
+Starting in krb5-1.11, **des_crc_session_supported** in
+:ref:`kdc.conf(5)` allows additional control over whether the KDC
+issues des-cbc-crc session keys.
+
+Also starting in krb5-1.11, it is possible to set a string attribute
+on a service principal to control what session key enctypes the KDC
+may issue for service tickets for that principal. See
+:ref:`set_string` in :ref:`kadmin(1)` for details.
+
+
+Choosing enctypes for a service
+-------------------------------
+
+Generally, a service should have a key of the strongest
+enctype that both it and the KDC support. If the KDC is running a
+release earlier than krb5-1.11, it is also useful to generate an
+additional key for each enctype that the service can support. The KDC
+will only use the first key in the list of long-term keys for encrypting
+the service ticket, but the additional long-term keys indicate the
+other enctypes that the service supports.
+
+As noted above, starting with release krb5-1.11, there are additional
+configuration settings that control session key enctype selection
+independently of the set of long-term keys that the KDC has stored for
+a service principal.
+
+
+Configuration variables
+-----------------------
+
+The following ``[libdefaults]`` settings in :ref:`krb5.conf(5)` will
+affect how enctypes are chosen.
+
+**allow_weak_crypto**
+ defaults to *false* starting with krb5-1.8. When *false*, removes
+ single-DES enctypes (and other weak enctypes) from
+ **permitted_enctypes**, **default_tkt_enctypes**, and
+ **default_tgs_enctypes**. Do not set this to *true* unless the
+ use of weak enctypes is an acceptable risk for your environment
+ and the weak enctypes are required for backward compatibility.
+
+**permitted_enctypes**
+ controls the set of enctypes that a service will accept as session
+ keys.
+
+**default_tkt_enctypes**
+ controls the default set of enctypes that the Kerberos client
+ library requests when making an AS-REQ. Do not set this unless
+ required for specific backward compatibility purposes; stale
+ values of this setting can prevent clients from taking advantage
+ of new stronger enctypes when the libraries are upgraded.
+
+**default_tgs_enctypes**
+ controls the default set of enctypes that the Kerberos client
+ library requests when making a TGS-REQ. Do not set this unless
+ required for specific backward compatibility purposes; stale
+ values of this setting can prevent clients from taking advantage
+ of new stronger enctypes when the libraries are upgraded.
+
+The following per-realm setting in :ref:`kdc.conf(5)` affects the
+generation of long-term keys.
+
+**supported_enctypes**
+ controls the default set of enctype-salttype pairs that :ref:`kadmind(8)`
+ will use for generating long-term keys, either randomly or from
+ passwords
+
+
+Enctype compatibility
+---------------------
+
+See :ref:`Encryption_types` for additional information about enctypes.
+
+========================== ===== ======== =======
+enctype weak? krb5 Windows
+========================== ===== ======== =======
+des-cbc-crc weak all >=2000
+des-cbc-md4 weak all ?
+des-cbc-md5 weak all >=2000
+des3-cbc-sha1 >=1.1 none
+arcfour-hmac >=1.3 >=2000
+arcfour-hmac-exp weak >=1.3 >=2000
+aes128-cts-hmac-sha1-96 >=1.3 >=Vista
+aes256-cts-hmac-sha1-96 >=1.3 >=Vista
+aes128-cts-hmac-sha256-128 >=1.15 none
+aes256-cts-hmac-sha384-192 >=1.15 none
+camellia128-cts-cmac >=1.9 none
+camellia256-cts-cmac >=1.9 none
+========================== ===== ======== =======
+
+krb5 releases 1.8 and later disable the single-DES enctypes by
+default. Microsoft Windows releases Windows 7 and later disable
+single-DES enctypes by default.
diff --git a/doc/html/_sources/admin/env_variables.txt b/doc/html/_sources/admin/env_variables.txt
new file mode 100644
index 000000000000..0c146d3e31f7
--- /dev/null
+++ b/doc/html/_sources/admin/env_variables.txt
@@ -0,0 +1,46 @@
+Environment variables
+=====================
+
+The following environment variables can be used during runtime:
+
+**KRB5_CONFIG**
+ Main Kerberos configuration file. Multiple filenames can be
+ specified, separated by a colon; all files which are present will
+ be read. (See :ref:`mitK5defaults` for the default path.)
+
+**KRB5_KDC_PROFILE**
+ KDC configuration file. (See :ref:`mitK5defaults` for the default
+ name.)
+
+**KRB5_KTNAME**
+ Default keytab file name. (See :ref:`mitK5defaults` for the
+ default name.)
+
+**KRB5_CLIENT_KTNAME**
+ Default client keytab file name. (See :ref:`mitK5defaults` for
+ the default name.)
+
+**KRB5CCNAME**
+ Default name for the credentials cache file, in the form *type*\:\
+ *residual*. The type of the default cache may determine the
+ availability of a cache collection. For instance, a default cache
+ of type ``DIR`` causes caches within the directory to be present
+ in the global cache collection.
+
+**KRB5RCACHETYPE**
+ Default replay cache type. Defaults to ``dfl``. A value of
+ ``none`` disables the replay cache.
+
+**KRB5RCACHEDIR**
+ Default replay cache directory. (See :ref:`mitK5defaults` for the
+ default location.)
+
+**KPROP_PORT**
+ :ref:`kprop(8)` port to use. Defaults to 754.
+
+**KRB5_TRACE**
+ Filename for trace-logging output (introduced in release 1.9).
+ For example, ``env KRB5_TRACE=/dev/stdout kinit`` would send
+ tracing information for kinit to ``/dev/stdout``. Some programs
+ may ignore this variable (particularly setuid or login system
+ programs).
diff --git a/doc/html/_sources/admin/host_config.txt b/doc/html/_sources/admin/host_config.txt
new file mode 100644
index 000000000000..6df250406dec
--- /dev/null
+++ b/doc/html/_sources/admin/host_config.txt
@@ -0,0 +1,231 @@
+Host configuration
+==================
+
+All hosts running Kerberos software, whether they are clients,
+application servers, or KDCs, can be configured using
+:ref:`krb5.conf(5)`. Here we describe some of the behavior changes
+you might want to make.
+
+
+Default realm
+-------------
+
+In the :ref:`libdefaults` section, the **default_realm** realm
+relation sets the default Kerberos realm. For example::
+
+ [libdefaults]
+ default_realm = ATHENA.MIT.EDU
+
+The default realm affects Kerberos behavior in the following ways:
+
+* When a principal name is parsed from text, the default realm is used
+ if no ``@REALM`` component is specified.
+
+* The default realm affects login authorization as described below.
+
+* For programs which operate on a Kerberos database, the default realm
+ is used to determine which database to operate on, unless the **-r**
+ parameter is given to specify a realm.
+
+* A server program may use the default realm when looking up its key
+ in a :ref:`keytab file <keytab_file>`, if its realm is not
+ determined by :ref:`domain_realm` configuration or by the server
+ program itself.
+
+* If :ref:`kinit(1)` is passed the **-n** flag, it requests anonymous
+ tickets from the default realm.
+
+In some situations, these uses of the default realm might conflict.
+For example, it might be desirable for principal name parsing to use
+one realm by default, but for login authorization to use a second
+realm. In this situation, the first realm can be configured as the
+default realm, and **auth_to_local** relations can be used as
+described below to use the second realm for login authorization.
+
+
+.. _login_authorization:
+
+Login authorization
+-------------------
+
+If a host runs a Kerberos-enabled login service such as OpenSSH with
+GSSAPIAuthentication enabled, login authorization rules determine
+whether a Kerberos principal is allowed to access a local account.
+
+By default, a Kerberos principal is allowed access to an account if
+its realm matches the default realm and its name matches the account
+name. (For historical reasons, access is also granted by default if
+the name has two components and the second component matches the
+default realm; for instance, ``alice/ATHENA.MIT.EDU@ATHENA.MIT.EDU``
+is granted access to the ``alice`` account if ``ATHENA.MIT.EDU`` is
+the default realm.)
+
+The simplest way to control local access is using :ref:`.k5login(5)`
+files. To use these, place a ``.k5login`` file in the home directory
+of each account listing the principal names which should have login
+access to that account. If it is not desirable to use ``.k5login``
+files located in account home directories, the **k5login_directory**
+relation in the :ref:`libdefaults` section can specify a directory
+containing one file per account uname.
+
+By default, if a ``.k5login`` file is present, it controls
+authorization both positively and negatively--any principal name
+contained in the file is granted access and any other principal name
+is denied access, even if it would have had access if the ``.k5login``
+file didn't exist. The **k5login_authoritative** relation in the
+:ref:`libdefaults` section can be set to false to make ``.k5login``
+files provide positive authorization only.
+
+The **auth_to_local** relation in the :ref:`realms` section for the
+default realm can specify pattern-matching rules to control login
+authorization. For example, the following configuration allows access
+to principals from a different realm than the default realm::
+
+ [realms]
+ DEFAULT.REALM = {
+ # Allow access to principals from OTHER.REALM.
+ #
+ # [1:$1@$0] matches single-component principal names and creates
+ # a selection string containing the principal name and realm.
+ #
+ # (.*@OTHER\.REALM) matches against the selection string, so that
+ # only principals in OTHER.REALM are matched.
+ #
+ # s/@OTHER\.REALM$// removes the realm name, leaving behind the
+ # principal name as the acount name.
+ auth_to_local = RULE:[1:$1@$0](.*@OTHER\.REALM)s/@OTHER\.REALM$//
+
+ # Also allow principals from the default realm. Omit this line
+ # to only allow access to principals in OTHER.REALM.
+ auth_to_local = DEFAULT
+ }
+
+The **auth_to_local_names** subsection of the :ref:`realms` section
+for the default realm can specify explicit mappings from principal
+names to local accounts. The key used in this subsection is the
+principal name without realm, so it is only safe to use in a Kerberos
+environment with a single realm or a tightly controlled set of realms.
+An example use of **auth_to_local_names** might be::
+
+ [realms]
+ ATHENA.MIT.EDU = {
+ auth_to_local_names = {
+ # Careful, these match principals in any realm!
+ host/example.com = hostaccount
+ fred = localfred
+ }
+ }
+
+Local authorization behavior can also be modified using plugin
+modules; see :ref:`hostrealm_plugin` for details.
+
+
+.. _plugin_config:
+
+Plugin module configuration
+---------------------------
+
+Many aspects of Kerberos behavior, such as client preauthentication
+and KDC service location, can be modified through the use of plugin
+modules. For most of these behaviors, you can use the :ref:`plugins`
+section of krb5.conf to register third-party modules, and to switch
+off registered or built-in modules.
+
+A plugin module takes the form of a Unix shared object
+(``modname.so``) or Windows DLL (``modname.dll``). If you have
+installed a third-party plugin module and want to register it, you do
+so using the **module** relation in the appropriate subsection of the
+[plugins] section. The value for **module** must give the module name
+and the path to the module, separated by a colon. The module name
+will often be the same as the shared object's name, but in unusual
+cases (such as a shared object which implements multiple modules for
+the same interface) it might not be. For example, to register a
+client preauthentication module named ``mypreauth`` installed at
+``/path/to/mypreauth.so``, you could write::
+
+ [plugins]
+ clpreauth = {
+ module = mypreauth:/path/to/mypreauth.so
+ }
+
+Many of the pluggable behaviors in MIT krb5 contain built-in modules
+which can be switched off. You can disable a built-in module (or one
+you have registered) using the **disable** directive in the
+appropriate subsection of the [plugins] section. For example, to
+disable the use of .k5identity files to select credential caches, you
+could write::
+
+ [plugins]
+ ccselect = {
+ disable = k5identity
+ }
+
+If you want to disable multiple modules, specify the **disable**
+directive multiple times, giving one module to disable each time.
+
+Alternatively, you can explicitly specify which modules you want to be
+enabled for that behavior using the **enable_only** directive. For
+example, to make :ref:`kadmind(8)` check password quality using only a
+module you have registered, and no other mechanism, you could write::
+
+ [plugins]
+ pwqual = {
+ module = mymodule:/path/to/mymodule.so
+ enable_only = mymodule
+ }
+
+Again, if you want to specify multiple modules, specify the
+**enable_only** directive multiple times, giving one module to enable
+each time.
+
+Some Kerberos interfaces use different mechanisms to register plugin
+modules.
+
+
+KDC location modules
+~~~~~~~~~~~~~~~~~~~~
+
+For historical reasons, modules to control how KDC servers are located
+are registered simply by placing the shared object or DLL into the
+"libkrb5" subdirectory of the krb5 plugin directory, which defaults to
+|libdir|\ ``/krb5/plugins``. For example, Samba's winbind krb5
+locator plugin would be registered by placing its shared object in
+|libdir|\ ``/krb5/plugins/libkrb5/winbind_krb5_locator.so``.
+
+
+.. _gssapi_plugin_config:
+
+GSSAPI mechanism modules
+~~~~~~~~~~~~~~~~~~~~~~~~
+
+GSSAPI mechanism modules are registered using the file
+``/etc/gss/mech`` or configuration files in the ``/etc/gss/mech.d/``
+directory. Only files with a ``.conf`` suffix will be read from the
+``/etc/gss/mech.d/`` directory. Each line in these files has the
+form::
+
+ oid pathname [options] <type>
+
+Only the oid and pathname are required. *oid* is the object
+identifier of the GSSAPI mechanism to be registered. *pathname* is a
+path to the module shared object or DLL. *options* (if present) are
+options provided to the plugin module, surrounded in square brackets.
+*type* (if present) can be used to indicate a special type of module.
+Currently the only special module type is "interposer", for a module
+designed to intercept calls to other mechanisms.
+
+
+.. _profile_plugin_config:
+
+Configuration profile modules
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+A configuration profile module replaces the information source for
+:ref:`krb5.conf(5)` itself. To use a profile module, begin krb5.conf
+with the line::
+
+ module PATHNAME:STRING
+
+where *PATHNAME* is a path to the module shared object or DLL, and
+*STRING* is a string to provide to the module. The module will then
+take over, and the rest of krb5.conf will be ignored.
diff --git a/doc/html/_sources/admin/https.txt b/doc/html/_sources/admin/https.txt
new file mode 100644
index 000000000000..b4e68b2b2029
--- /dev/null
+++ b/doc/html/_sources/admin/https.txt
@@ -0,0 +1,48 @@
+.. _https:
+
+HTTPS proxy configuration
+=========================
+
+In addition to being able to use UDP or TCP to communicate directly
+with a KDC as is outlined in RFC4120, and with kpasswd services in a
+similar fashion, the client libraries can attempt to use an HTTPS
+proxy server to communicate with a KDC or kpasswd service, using the
+protocol outlined in [MS-KKDCP].
+
+Communicating with a KDC through an HTTPS proxy allows clients to
+contact servers when network firewalls might otherwise prevent them
+from doing so. The use of TLS also encrypts all traffic between the
+clients and the KDC, preventing observers from conducting password
+dictionary attacks or from observing the client and server principals
+being authenticated, at additional computational cost to both clients
+and servers.
+
+An HTTPS proxy server is provided as a feature in some versions of
+Microsoft Windows Server, and a WSGI implementation named `kdcproxy`
+is available in the python package index.
+
+
+Configuring the clients
+-----------------------
+
+To use an HTTPS proxy, a client host must trust the CA which issued
+that proxy's SSL certificate. If that CA's certificate is not in the
+system-wide default set of trusted certificates, configure the
+following relation in the client host's :ref:`krb5.conf(5)` file in
+the appropriate :ref:`realms` subsection::
+
+ http_anchors = FILE:/etc/krb5/cacert.pem
+
+Adjust the pathname to match the path of the file which contains a
+copy of the CA's certificate. The `http_anchors` option is documented
+more fully in :ref:`krb5.conf(5)`.
+
+Configure the client to access the KDC and kpasswd service by
+specifying their locations in its :ref:`krb5.conf(5)` file in the form
+of HTTPS URLs for the proxy server::
+
+ kdc = https://server.fqdn/KdcProxy
+ kpasswd_server = https://server.fqdn/KdcProxy
+
+If the proxy and client are properly configured, client commands such
+as ``kinit``, ``kvno``, and ``kpasswd`` should all function normally.
diff --git a/doc/html/_sources/admin/index.txt b/doc/html/_sources/admin/index.txt
new file mode 100644
index 000000000000..b702f4021452
--- /dev/null
+++ b/doc/html/_sources/admin/index.txt
@@ -0,0 +1,31 @@
+For administrators
+==================
+
+.. toctree::
+ :maxdepth: 1
+
+ install.rst
+ conf_files/index.rst
+ realm_config.rst
+ database.rst
+ lockout.rst
+ conf_ldap.rst
+ appl_servers.rst
+ host_config.rst
+ backup_host.rst
+ pkinit.rst
+ otp.rst
+ princ_dns.rst
+ enctypes.rst
+ https.rst
+ auth_indicator.rst
+
+.. toctree::
+ :maxdepth: 1
+
+ admin_commands/index.rst
+ ../mitK5defaults.rst
+ env_variables.rst
+ troubleshoot.rst
+ advanced/index.rst
+ various_envs.rst
diff --git a/doc/html/_sources/admin/install.txt b/doc/html/_sources/admin/install.txt
new file mode 100644
index 000000000000..a79bda952f40
--- /dev/null
+++ b/doc/html/_sources/admin/install.txt
@@ -0,0 +1,21 @@
+Installation guide
+==================
+
+Contents
+--------
+
+.. toctree::
+ :maxdepth: 2
+
+ install_kdc.rst
+ install_clients.rst
+ install_appl_srv.rst
+
+
+Additional references
+---------------------
+
+#. Debian: `Setting up MIT Kerberos 5
+ <http://techpubs.spinlocksolutions.com/dklar/kerberos.html>`_
+#. Solaris: `Configuring the Kerberos Service
+ <http://download.oracle.com/docs/cd/E19253-01/816-4557/6maosrjv2/index.html>`_
diff --git a/doc/html/_sources/admin/install_appl_srv.txt b/doc/html/_sources/admin/install_appl_srv.txt
new file mode 100644
index 000000000000..14905009807f
--- /dev/null
+++ b/doc/html/_sources/admin/install_appl_srv.txt
@@ -0,0 +1,83 @@
+UNIX Application Servers
+========================
+
+An application server is a host that provides one or more services
+over the network. Application servers can be "secure" or "insecure."
+A "secure" host is set up to require authentication from every client
+connecting to it. An "insecure" host will still provide Kerberos
+authentication, but will also allow unauthenticated clients to
+connect.
+
+If you have Kerberos V5 installed on all of your client machines, MIT
+recommends that you make your hosts secure, to take advantage of the
+security that Kerberos authentication affords. However, if you have
+some clients that do not have Kerberos V5 installed, you can run an
+insecure server, and still take advantage of Kerberos V5's single
+sign-on capability.
+
+
+.. _keytab_file:
+
+The keytab file
+---------------
+
+All Kerberos server machines need a keytab file to authenticate to the
+KDC. By default on UNIX-like systems this file is named |keytab|.
+The keytab file is an local copy of the host's key. The keytab file
+is a potential point of entry for a break-in, and if compromised,
+would allow unrestricted access to its host. The keytab file should
+be readable only by root, and should exist only on the machine's local
+disk. The file should not be part of any backup of the machine,
+unless access to the backup data is secured as tightly as access to
+the machine's root password.
+
+In order to generate a keytab for a host, the host must have a
+principal in the Kerberos database. The procedure for adding hosts to
+the database is described fully in :ref:`add_mod_del_princs`. (See
+:ref:`slave_host_key` for a brief description.) The keytab is
+generated by running :ref:`kadmin(1)` and issuing the :ref:`ktadd`
+command.
+
+For example, to generate a keytab file to allow the host
+``trillium.mit.edu`` to authenticate for the services host, ftp, and
+pop, the administrator ``joeadmin`` would issue the command (on
+``trillium.mit.edu``)::
+
+ trillium% kadmin
+ kadmin5: ktadd host/trillium.mit.edu ftp/trillium.mit.edu
+ pop/trillium.mit.edu
+ kadmin: Entry for principal host/trillium.mit.edu@ATHENA.MIT.EDU with
+ kvno 3, encryption type DES-CBC-CRC added to keytab
+ FILE:/etc/krb5.keytab.
+ kadmin: Entry for principal ftp/trillium.mit.edu@ATHENA.MIT.EDU with
+ kvno 3, encryption type DES-CBC-CRC added to keytab
+ FILE:/etc/krb5.keytab.
+ kadmin: Entry for principal pop/trillium.mit.edu@ATHENA.MIT.EDU with
+ kvno 3, encryption type DES-CBC-CRC added to keytab
+ FILE:/etc/krb5.keytab.
+ kadmin5: quit
+ trillium%
+
+If you generate the keytab file on another host, you need to get a
+copy of the keytab file onto the destination host (``trillium``, in
+the above example) without sending it unencrypted over the network.
+
+
+Some advice about secure hosts
+------------------------------
+
+Kerberos V5 can protect your host from certain types of break-ins, but
+it is possible to install Kerberos V5 and still leave your host
+vulnerable to attack. Obviously an installation guide is not the
+place to try to include an exhaustive list of countermeasures for
+every possible attack, but it is worth noting some of the larger holes
+and how to close them.
+
+We recommend that backups of secure machines exclude the keytab file
+(|keytab|). If this is not possible, the backups should at least be
+done locally, rather than over a network, and the backup tapes should
+be physically secured.
+
+The keytab file and any programs run by root, including the Kerberos
+V5 binaries, should be kept on local disk. The keytab file should be
+readable only by root.
diff --git a/doc/html/_sources/admin/install_clients.txt b/doc/html/_sources/admin/install_clients.txt
new file mode 100644
index 000000000000..f2c87d072cb9
--- /dev/null
+++ b/doc/html/_sources/admin/install_clients.txt
@@ -0,0 +1,58 @@
+Installing and configuring UNIX client machines
+===============================================
+
+The Kerberized client programs include :ref:`kinit(1)`,
+:ref:`klist(1)`, :ref:`kdestroy(1)`, and :ref:`kpasswd(1)`. All of
+these programs are in the directory |bindir|.
+
+You can often integrate Kerberos with the login system on client
+machines, typically through the use of PAM. The details vary by
+operating system, and should be covered in your operating system's
+documentation. If you do this, you will need to make sure your users
+know to use their Kerberos passwords when they log in.
+
+You will also need to educate your users to use the ticket management
+programs kinit, klist, and kdestroy. If you do not have Kerberos
+password changing integrated into the native password program (again,
+typically through PAM), you will need to educate users to use kpasswd
+in place of its non-Kerberos counterparts passwd.
+
+
+Client machine configuration files
+----------------------------------
+
+Each machine running Kerberos should have a :ref:`krb5.conf(5)` file.
+At a minimum, it should define a **default_realm** setting in
+:ref:`libdefaults`. If you are not using DNS SRV records
+(:ref:`kdc_hostnames`) or URI records (:ref:`kdc_discovery`), it must
+also contain a :ref:`realms` section containing information for your
+realm's KDCs.
+
+Consider setting **rdns** to false in order to reduce your dependence
+on precisely correct DNS information for service hostnames. Turning
+this flag off means that service hostnames will be canonicalized
+through forward name resolution (which adds your domain name to
+unqualified hostnames, and resolves CNAME records in DNS), but not
+through reverse address lookup. The default value of this flag is
+true for historical reasons only.
+
+If you anticipate users frequently logging into remote hosts
+(e.g., using ssh) using forwardable credentials, consider setting
+**forwardable** to true so that users obtain forwardable tickets by
+default. Otherwise users will need to use ``kinit -f`` to get
+forwardable tickets.
+
+Consider adjusting the **ticket_lifetime** setting to match the likely
+length of sessions for your users. For instance, if most of your
+users will be logging in for an eight-hour workday, you could set the
+default to ten hours so that tickets obtained in the morning expire
+shortly after the end of the workday. Users can still manually
+request longer tickets when necessary, up to the maximum allowed by
+each user's principal record on the KDC.
+
+If a client host may access services in different realms, it may be
+useful to define a :ref:`domain_realm` mapping so that clients know
+which hosts belong to which realms. However, if your clients and KDC
+are running release 1.7 or later, it is also reasonable to leave this
+section out on client machines and just define it in the KDC's
+krb5.conf.
diff --git a/doc/html/_sources/admin/install_kdc.txt b/doc/html/_sources/admin/install_kdc.txt
new file mode 100644
index 000000000000..5c97fee86751
--- /dev/null
+++ b/doc/html/_sources/admin/install_kdc.txt
@@ -0,0 +1,533 @@
+Installing KDCs
+===============
+
+When setting up Kerberos in a production environment, it is best to
+have multiple slave KDCs alongside with a master KDC to ensure the
+continued availability of the Kerberized services. Each KDC contains
+a copy of the Kerberos database. The master KDC contains the writable
+copy of the realm database, which it replicates to the slave KDCs at
+regular intervals. All database changes (such as password changes)
+are made on the master KDC. Slave KDCs provide Kerberos
+ticket-granting services, but not database administration, when the
+master KDC is unavailable. MIT recommends that you install all of
+your KDCs to be able to function as either the master or one of the
+slaves. This will enable you to easily switch your master KDC with
+one of the slaves if necessary (see :ref:`switch_master_slave`). This
+installation procedure is based on that recommendation.
+
+.. warning::
+
+ - The Kerberos system relies on the availability of correct time
+ information. Ensure that the master and all slave KDCs have
+ properly synchronized clocks.
+
+ - It is best to install and run KDCs on secured and dedicated
+ hardware with limited access. If your KDC is also a file
+ server, FTP server, Web server, or even just a client machine,
+ someone who obtained root access through a security hole in any
+ of those areas could potentially gain access to the Kerberos
+ database.
+
+
+Install and configure the master KDC
+------------------------------------
+
+Install Kerberos either from the OS-provided packages or from the
+source (See :ref:`do_build`).
+
+.. note::
+
+ For the purpose of this document we will use the following
+ names::
+
+ kerberos.mit.edu - master KDC
+ kerberos-1.mit.edu - slave KDC
+ ATHENA.MIT.EDU - realm name
+ .k5.ATHENA.MIT.EDU - stash file
+ admin/admin - admin principal
+
+ See :ref:`mitK5defaults` for the default names and locations
+ of the relevant to this topic files. Adjust the names and
+ paths to your system environment.
+
+
+Edit KDC configuration files
+----------------------------
+
+Modify the configuration files, :ref:`krb5.conf(5)` and
+:ref:`kdc.conf(5)`, to reflect the correct information (such as
+domain-realm mappings and Kerberos servers names) for your realm.
+(See :ref:`mitK5defaults` for the recommended default locations for
+these files).
+
+Most of the tags in the configuration have default values that will
+work well for most sites. There are some tags in the
+:ref:`krb5.conf(5)` file whose values must be specified, and this
+section will explain those.
+
+If the locations for these configuration files differs from the
+default ones, set **KRB5_CONFIG** and **KRB5_KDC_PROFILE** environment
+variables to point to the krb5.conf and kdc.conf respectively. For
+example::
+
+ export KRB5_CONFIG=/yourdir/krb5.conf
+ export KRB5_KDC_PROFILE=/yourdir/kdc.conf
+
+
+krb5.conf
+~~~~~~~~~
+
+If you are not using DNS TXT records (see :ref:`mapping_hostnames`),
+you must specify the **default_realm** in the :ref:`libdefaults`
+section. If you are not using DNS URI or SRV records (see
+:ref:`kdc_hostnames` and :ref:`kdc_discovery`), you must include the
+**kdc** tag for each *realm* in the :ref:`realms` section. To
+communicate with the kadmin server in each realm, the **admin_server**
+tag must be set in the
+:ref:`realms` section.
+
+An example krb5.conf file::
+
+ [libdefaults]
+ default_realm = ATHENA.MIT.EDU
+
+ [realms]
+ ATHENA.MIT.EDU = {
+ kdc = kerberos.mit.edu
+ kdc = kerberos-1.mit.edu
+ admin_server = kerberos.mit.edu
+ }
+
+
+kdc.conf
+~~~~~~~~
+
+The kdc.conf file can be used to control the listening ports of the
+KDC and kadmind, as well as realm-specific defaults, the database type
+and location, and logging.
+
+An example kdc.conf file::
+
+ [kdcdefaults]
+ kdc_listen = 88
+ kdc_tcp_listen = 88
+
+ [realms]
+ ATHENA.MIT.EDU = {
+ kadmind_port = 749
+ max_life = 12h 0m 0s
+ max_renewable_life = 7d 0h 0m 0s
+ master_key_type = aes256-cts
+ supported_enctypes = aes256-cts:normal aes128-cts:normal
+ # If the default location does not suit your setup,
+ # explicitly configure the following values:
+ # database_name = /var/krb5kdc/principal
+ # key_stash_file = /var/krb5kdc/.k5.ATHENA.MIT.EDU
+ # acl_file = /var/krb5kdc/kadm5.acl
+ }
+
+ [logging]
+ # By default, the KDC and kadmind will log output using
+ # syslog. You can instead send log output to files like this:
+ kdc = FILE:/var/log/krb5kdc.log
+ admin_server = FILE:/var/log/kadmin.log
+ default = FILE:/var/log/krb5lib.log
+
+Replace ``ATHENA.MIT.EDU`` and ``kerberos.mit.edu`` with the name of
+your Kerberos realm and server respectively.
+
+.. note::
+
+ You have to have write permission on the target directories
+ (these directories must exist) used by **database_name**,
+ **key_stash_file**, and **acl_file**.
+
+
+.. _create_db:
+
+Create the KDC database
+-----------------------
+
+You will use the :ref:`kdb5_util(8)` command on the master KDC to
+create the Kerberos database and the optional :ref:`stash_definition`.
+
+.. note::
+
+ If you choose not to install a stash file, the KDC will
+ prompt you for the master key each time it starts up. This
+ means that the KDC will not be able to start automatically,
+ such as after a system reboot.
+
+:ref:`kdb5_util(8)` will prompt you for the master password for the
+Kerberos database. This password can be any string. A good password
+is one you can remember, but that no one else can guess. Examples of
+bad passwords are words that can be found in a dictionary, any common
+or popular name, especially a famous person (or cartoon character),
+your username in any form (e.g., forward, backward, repeated twice,
+etc.), and any of the sample passwords that appear in this manual.
+One example of a password which might be good if it did not appear in
+this manual is "MITiys4K5!", which represents the sentence "MIT is
+your source for Kerberos 5!" (It's the first letter of each word,
+substituting the numeral "4" for the word "for", and includes the
+punctuation mark at the end.)
+
+The following is an example of how to create a Kerberos database and
+stash file on the master KDC, using the :ref:`kdb5_util(8)` command.
+Replace ``ATHENA.MIT.EDU`` with the name of your Kerberos realm::
+
+ shell% kdb5_util create -r ATHENA.MIT.EDU -s
+
+ Initializing database '/usr/local/var/krb5kdc/principal' for realm 'ATHENA.MIT.EDU',
+ master key name 'K/M@ATHENA.MIT.EDU'
+ You will be prompted for the database Master Password.
+ It is important that you NOT FORGET this password.
+ Enter KDC database master key: <= Type the master password.
+ Re-enter KDC database master key to verify: <= Type it again.
+ shell%
+
+This will create five files in |kdcdir| (or at the locations specified
+in :ref:`kdc.conf(5)`):
+
+* two Kerberos database files, ``principal``, and ``principal.ok``
+* the Kerberos administrative database file, ``principal.kadm5``
+* the administrative database lock file, ``principal.kadm5.lock``
+* the stash file, in this example ``.k5.ATHENA.MIT.EDU``. If you do
+ not want a stash file, run the above command without the **-s**
+ option.
+
+For more information on administrating Kerberos database see
+:ref:`db_operations`.
+
+
+.. _admin_acl:
+
+Add administrators to the ACL file
+----------------------------------
+
+Next, you need create an Access Control List (ACL) file and put the
+Kerberos principal of at least one of the administrators into it.
+This file is used by the :ref:`kadmind(8)` daemon to control which
+principals may view and make privileged modifications to the Kerberos
+database files. The ACL filename is determined by the **acl_file**
+variable in :ref:`kdc.conf(5)`; the default is |kdcdir|\
+``/kadm5.acl``.
+
+For more information on Kerberos ACL file see :ref:`kadm5.acl(5)`.
+
+.. _addadmin_kdb:
+
+Add administrators to the Kerberos database
+-------------------------------------------
+
+Next you need to add administrative principals (i.e., principals who
+are allowed to administer Kerberos database) to the Kerberos database.
+You *must* add at least one principal now to allow communication
+between the Kerberos administration daemon kadmind and the kadmin
+program over the network for further administration. To do this, use
+the kadmin.local utility on the master KDC. kadmin.local is designed
+to be run on the master KDC host without using Kerberos authentication
+to an admin server; instead, it must have read and write access to the
+Kerberos database on the local filesystem.
+
+The administrative principals you create should be the ones you added
+to the ACL file (see :ref:`admin_acl`).
+
+In the following example, the administrative principal ``admin/admin``
+is created::
+
+ shell% kadmin.local
+
+ kadmin.local: addprinc admin/admin@ATHENA.MIT.EDU
+
+ WARNING: no policy specified for "admin/admin@ATHENA.MIT.EDU";
+ assigning "default".
+ Enter password for principal admin/admin@ATHENA.MIT.EDU: <= Enter a password.
+ Re-enter password for principal admin/admin@ATHENA.MIT.EDU: <= Type it again.
+ Principal "admin/admin@ATHENA.MIT.EDU" created.
+ kadmin.local:
+
+.. _start_kdc_daemons:
+
+Start the Kerberos daemons on the master KDC
+--------------------------------------------
+
+At this point, you are ready to start the Kerberos KDC
+(:ref:`krb5kdc(8)`) and administrative daemons on the Master KDC. To
+do so, type::
+
+ shell% krb5kdc
+ shell% kadmind
+
+Each server daemon will fork and run in the background.
+
+.. note::
+
+ Assuming you want these daemons to start up automatically at
+ boot time, you can add them to the KDC's ``/etc/rc`` or
+ ``/etc/inittab`` file. You need to have a
+ :ref:`stash_definition` in order to do this.
+
+You can verify that they started properly by checking for their
+startup messages in the logging locations you defined in
+:ref:`krb5.conf(5)` (see :ref:`logging`). For example::
+
+ shell% tail /var/log/krb5kdc.log
+ Dec 02 12:35:47 beeblebrox krb5kdc[3187](info): commencing operation
+ shell% tail /var/log/kadmin.log
+ Dec 02 12:35:52 beeblebrox kadmind[3189](info): starting
+
+Any errors the daemons encounter while starting will also be listed in
+the logging output.
+
+As an additional verification, check if :ref:`kinit(1)` succeeds
+against the principals that you have created on the previous step
+(:ref:`addadmin_kdb`). Run::
+
+ shell% kinit admin/admin@ATHENA.MIT.EDU
+
+
+Install the slave KDCs
+----------------------
+
+You are now ready to start configuring the slave KDCs.
+
+.. note::
+
+ Assuming you are setting the KDCs up so that you can easily
+ switch the master KDC with one of the slaves, you should
+ perform each of these steps on the master KDC as well as the
+ slave KDCs, unless these instructions specify otherwise.
+
+
+.. _slave_host_key:
+
+Create host keytabs for slave KDCs
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Each KDC needs a ``host`` key in the Kerberos database. These keys
+are used for mutual authentication when propagating the database dump
+file from the master KDC to the secondary KDC servers.
+
+On the master KDC, connect to administrative interface and create the
+host principal for each of the KDCs' ``host`` services. For example,
+if the master KDC were called ``kerberos.mit.edu``, and you had a
+slave KDC named ``kerberos-1.mit.edu``, you would type the following::
+
+ shell% kadmin
+ kadmin: addprinc -randkey host/kerberos.mit.edu
+ NOTICE: no policy specified for "host/kerberos.mit.edu@ATHENA.MIT.EDU"; assigning "default"
+ Principal "host/kerberos.mit.edu@ATHENA.MIT.EDU" created.
+
+ kadmin: addprinc -randkey host/kerberos-1.mit.edu
+ NOTICE: no policy specified for "host/kerberos-1.mit.edu@ATHENA.MIT.EDU"; assigning "default"
+ Principal "host/kerberos-1.mit.edu@ATHENA.MIT.EDU" created.
+
+It is not strictly necessary to have the master KDC server in the
+Kerberos database, but it can be handy if you want to be able to swap
+the master KDC with one of the slaves.
+
+Next, extract ``host`` random keys for all participating KDCs and
+store them in each host's default keytab file. Ideally, you should
+extract each keytab locally on its own KDC. If this is not feasible,
+you should use an encrypted session to send them across the network.
+To extract a keytab directly on a slave KDC called
+``kerberos-1.mit.edu``, you would execute the following command::
+
+ kadmin: ktadd host/kerberos-1.mit.edu
+ Entry for principal host/kerberos-1.mit.edu with kvno 2, encryption
+ type aes256-cts-hmac-sha1-96 added to keytab FILE:/etc/krb5.keytab.
+ Entry for principal host/kerberos-1.mit.edu with kvno 2, encryption
+ type aes128-cts-hmac-sha1-96 added to keytab FILE:/etc/krb5.keytab.
+ Entry for principal host/kerberos-1.mit.edu with kvno 2, encryption
+ type des3-cbc-sha1 added to keytab FILE:/etc/krb5.keytab.
+ Entry for principal host/kerberos-1.mit.edu with kvno 2, encryption
+ type arcfour-hmac added to keytab FILE:/etc/krb5.keytab.
+
+If you are instead extracting a keytab for the slave KDC called
+``kerberos-1.mit.edu`` on the master KDC, you should use a dedicated
+temporary keytab file for that machine's keytab::
+
+ kadmin: ktadd -k /tmp/kerberos-1.keytab host/kerberos-1.mit.edu
+ Entry for principal host/kerberos-1.mit.edu with kvno 2, encryption
+ type aes256-cts-hmac-sha1-96 added to keytab FILE:/etc/krb5.keytab.
+ Entry for principal host/kerberos-1.mit.edu with kvno 2, encryption
+ type aes128-cts-hmac-sha1-96 added to keytab FILE:/etc/krb5.keytab.
+
+The file ``/tmp/kerberos-1.keytab`` can then be installed as
+``/etc/krb5.keytab`` on the host ``kerberos-1.mit.edu``.
+
+
+Configure slave KDCs
+~~~~~~~~~~~~~~~~~~~~
+
+Database propagation copies the contents of the master's database, but
+does not propagate configuration files, stash files, or the kadm5 ACL
+file. The following files must be copied by hand to each slave (see
+:ref:`mitK5defaults` for the default locations for these files):
+
+* krb5.conf
+* kdc.conf
+* kadm5.acl
+* master key stash file
+
+Move the copied files into their appropriate directories, exactly as
+on the master KDC. kadm5.acl is only needed to allow a slave to swap
+with the master KDC.
+
+The database is propagated from the master KDC to the slave KDCs via
+the :ref:`kpropd(8)` daemon. You must explicitly specify the
+principals which are allowed to provide Kerberos dump updates on the
+slave machine with a new database. Create a file named kpropd.acl in
+the KDC state directory containing the ``host`` principals for each of
+the KDCs::
+
+ host/kerberos.mit.edu@ATHENA.MIT.EDU
+ host/kerberos-1.mit.edu@ATHENA.MIT.EDU
+
+.. note::
+
+ If you expect that the master and slave KDCs will be
+ switched at some point of time, list the host principals
+ from all participating KDC servers in kpropd.acl files on
+ all of the KDCs. Otherwise, you only need to list the
+ master KDC's host principal in the kpropd.acl files of the
+ slave KDCs.
+
+Then, add the following line to ``/etc/inetd.conf`` on each KDC
+(adjust the path to kpropd)::
+
+ krb5_prop stream tcp nowait root /usr/local/sbin/kpropd kpropd
+
+You also need to add the following line to ``/etc/services`` on each
+KDC, if it is not already present (assuming that the default port is
+used)::
+
+ krb5_prop 754/tcp # Kerberos slave propagation
+
+Restart inetd daemon.
+
+Alternatively, start :ref:`kpropd(8)` as a stand-alone daemon. This is
+required when incremental propagation is enabled.
+
+Now that the slave KDC is able to accept database propagation, you’ll
+need to propagate the database from the master server.
+
+NOTE: Do not start the slave KDC yet; you still do not have a copy of
+the master's database.
+
+
+.. _kprop_to_slaves:
+
+Propagate the database to each slave KDC
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+First, create a dump file of the database on the master KDC, as
+follows::
+
+ shell% kdb5_util dump /usr/local/var/krb5kdc/slave_datatrans
+
+Then, manually propagate the database to each slave KDC, as in the
+following example::
+
+ shell% kprop -f /usr/local/var/krb5kdc/slave_datatrans kerberos-1.mit.edu
+
+ Database propagation to kerberos-1.mit.edu: SUCCEEDED
+
+You will need a script to dump and propagate the database. The
+following is an example of a Bourne shell script that will do this.
+
+.. note::
+
+ Remember that you need to replace ``/usr/local/var/krb5kdc``
+ with the name of the KDC state directory.
+
+::
+
+ #!/bin/sh
+
+ kdclist = "kerberos-1.mit.edu kerberos-2.mit.edu"
+
+ kdb5_util dump /usr/local/var/krb5kdc/slave_datatrans
+
+ for kdc in $kdclist
+ do
+ kprop -f /usr/local/var/krb5kdc/slave_datatrans $kdc
+ done
+
+You will need to set up a cron job to run this script at the intervals
+you decided on earlier (see :ref:`db_prop`).
+
+Now that the slave KDC has a copy of the Kerberos database, you can
+start the krb5kdc daemon::
+
+ shell% krb5kdc
+
+As with the master KDC, you will probably want to add this command to
+the KDCs' ``/etc/rc`` or ``/etc/inittab`` files, so they will start
+the krb5kdc daemon automatically at boot time.
+
+
+Propagation failed?
+###################
+
+You may encounter the following error messages. For a more detailed
+discussion on possible causes and solutions click on the error link
+to be redirected to :ref:`troubleshoot` section.
+
+.. include:: ./troubleshoot.rst
+ :start-after: _prop_failed_start:
+ :end-before: _prop_failed_end:
+
+
+Add Kerberos principals to the database
+---------------------------------------
+
+Once your KDCs are set up and running, you are ready to use
+:ref:`kadmin(1)` to load principals for your users, hosts, and other
+services into the Kerberos database. This procedure is described
+fully in :ref:`add_mod_del_princs`.
+
+You may occasionally want to use one of your slave KDCs as the master.
+This might happen if you are upgrading the master KDC, or if your
+master KDC has a disk crash. See the following section for the
+instructions.
+
+
+.. _switch_master_slave:
+
+Switching master and slave KDCs
+-------------------------------
+
+You may occasionally want to use one of your slave KDCs as the master.
+This might happen if you are upgrading the master KDC, or if your
+master KDC has a disk crash.
+
+Assuming you have configured all of your KDCs to be able to function
+as either the master KDC or a slave KDC (as this document recommends),
+all you need to do to make the changeover is:
+
+If the master KDC is still running, do the following on the *old*
+master KDC:
+
+#. Kill the kadmind process.
+#. Disable the cron job that propagates the database.
+#. Run your database propagation script manually, to ensure that the
+ slaves all have the latest copy of the database (see
+ :ref:`kprop_to_slaves`).
+
+On the *new* master KDC:
+
+#. Start the :ref:`kadmind(8)` daemon (see :ref:`start_kdc_daemons`).
+#. Set up the cron job to propagate the database (see
+ :ref:`kprop_to_slaves`).
+#. Switch the CNAMEs of the old and new master KDCs. If you can't do
+ this, you'll need to change the :ref:`krb5.conf(5)` file on every
+ client machine in your Kerberos realm.
+
+
+Incremental database propagation
+--------------------------------
+
+If you expect your Kerberos database to become large, you may wish to
+set up incremental propagation to slave KDCs. See :ref:`incr_db_prop`
+for details.
diff --git a/doc/html/_sources/admin/lockout.txt b/doc/html/_sources/admin/lockout.txt
new file mode 100644
index 000000000000..d262663b3ece
--- /dev/null
+++ b/doc/html/_sources/admin/lockout.txt
@@ -0,0 +1,150 @@
+Account lockout
+===============
+
+As of release 1.8, the KDC can be configured to lock out principals
+after a number of failed authentication attempts within a period of
+time. Account lockout can make it more difficult to attack a
+principal's password by brute force, but also makes it easy for an
+attacker to deny access to a principal.
+
+
+Configuring account lockout
+---------------------------
+
+Account lockout only works for principals with the
+**+requires_preauth** flag set. Without this flag, the KDC cannot
+know whether or not a client successfully decrypted the ticket it
+issued. It is also important to set the **-allow_svr** flag on a
+principal to protect its password from an off-line dictionary attack
+through a TGS request. You can set these flags on a principal with
+:ref:`kadmin(1)` as follows::
+
+ kadmin: modprinc +requires_preauth -allow_svr PRINCNAME
+
+Account lockout parameters are configured via :ref:`policy objects
+<policies>`. There may be an existing policy associated with user
+principals (such as the "default" policy), or you may need to create a
+new one and associate it with each user principal.
+
+The policy parameters related to account lockout are:
+
+* :ref:`maxfailure <policy_maxfailure>`: the number of failed attempts
+ before the principal is locked out
+* :ref:`failurecountinterval <policy_failurecountinterval>`: the
+ allowable interval between failed attempts
+* :ref:`lockoutduration <policy_lockoutduration>`: the amount of time
+ a principal is locked out for
+
+Here is an example of setting these parameters on a new policy and
+associating it with a principal::
+
+ kadmin: addpol -maxfailure 10 -failurecountinterval 180
+ -lockoutduration 60 lockout_policy
+ kadmin: modprinc -policy lockout_policy PRINCNAME
+
+
+Testing account lockout
+-----------------------
+
+To test that account lockout is working, try authenticating as the
+principal (hopefully not one that might be in use) multiple times with
+the wrong password. For instance, if **maxfailure** is set to 2, you
+might see::
+
+ $ kinit user
+ Password for user@KRBTEST.COM:
+ kinit: Password incorrect while getting initial credentials
+ $ kinit user
+ Password for user@KRBTEST.COM:
+ kinit: Password incorrect while getting initial credentials
+ $ kinit user
+ kinit: Client's credentials have been revoked while getting initial credentials
+
+
+Account lockout principal state
+-------------------------------
+
+A principal entry keeps three pieces of state related to account
+lockout:
+
+* The time of last successful authentication
+* The time of last failed authentication
+* A counter of failed attempts
+
+The time of last successful authentication is not actually needed for
+the account lockout system to function, but may be of administrative
+interest. These fields can be observed with the **getprinc** kadmin
+command. For example::
+
+ kadmin: getprinc user
+ Principal: user@KRBTEST.COM
+ ...
+ Last successful authentication: [never]
+ Last failed authentication: Mon Dec 03 12:30:33 EST 2012
+ Failed password attempts: 2
+ ...
+
+A principal which has been locked out can be administratively unlocked
+with the **-unlock** option to the **modprinc** kadmin command::
+
+ kadmin: modprinc -unlock PRINCNAME
+
+This command will reset the number of failed attempts to 0.
+
+
+KDC replication and account lockout
+-----------------------------------
+
+The account lockout state of a principal is not replicated by either
+traditional :ref:`kprop(8)` or incremental propagation. Because of
+this, the number of attempts an attacker can make within a time period
+is multiplied by the number of KDCs. For instance, if the
+**maxfailure** parameter on a policy is 10 and there are four KDCs in
+the environment (a master and three slaves), an attacker could make as
+many as 40 attempts before the principal is locked out on all four
+KDCs.
+
+An administrative unlock is propagated from the master to the slave
+KDCs during the next propagation. Propagation of an administrative
+unlock will cause the counter of failed attempts on each slave to
+reset to 1 on the next failure.
+
+If a KDC environment uses a replication strategy other than kprop or
+incremental propagation, such as the LDAP KDB module with multi-master
+LDAP replication, then account lockout state may be replicated between
+KDCs and the concerns of this section may not apply.
+
+
+KDC performance and account lockout
+-----------------------------------
+
+In order to fully track account lockout state, the KDC must write to
+the the database on each successful and failed authentication.
+Writing to the database is generally more expensive than reading from
+it, so these writes may have a significant impact on KDC performance.
+As of release 1.9, it is possible to turn off account lockout state
+tracking in order to improve performance, by setting the
+**disable_last_success** and **disable_lockout** variables in the
+database module subsection of :ref:`kdc.conf(5)`. For example::
+
+ [dbmodules]
+ DB = {
+ disable_last_success = true
+ disable_lockout = true
+ }
+
+Of the two variables, setting **disable_last_success** will usually
+have the largest positive impact on performance, and will still allow
+account lockout policies to operate. However, it will make it
+impossible to observe the last successful authentication time with
+kadmin.
+
+
+KDC setup and account lockout
+-----------------------------
+
+To update the account lockout state on principals, the KDC must be
+able to write to the principal database. For the DB2 module, no
+special setup is required. For the LDAP module, the KDC DN must be
+granted write access to the principal objects. If the KDC DN has only
+read access, account lockout will not function.
diff --git a/doc/html/_sources/admin/otp.txt b/doc/html/_sources/admin/otp.txt
new file mode 100644
index 000000000000..29dc520f327f
--- /dev/null
+++ b/doc/html/_sources/admin/otp.txt
@@ -0,0 +1,100 @@
+.. _otp_preauth:
+
+OTP Preauthentication
+=====================
+
+OTP is a preauthentication mechanism for Kerberos 5 which uses One
+Time Passwords (OTP) to authenticate the client to the KDC. The OTP
+is passed to the KDC over an encrypted FAST channel in clear-text.
+The KDC uses the password along with per-user configuration to proxy
+the request to a third-party RADIUS system. This enables
+out-of-the-box compatibility with a large number of already widely
+deployed proprietary systems.
+
+Additionally, our implementation of the OTP system allows for the
+passing of RADIUS requests over a UNIX domain stream socket. This
+permits the use of a local companion daemon which can handle the
+details of authentication.
+
+
+Defining token types
+--------------------
+
+Token types are defined in either :ref:`krb5.conf(5)` or
+:ref:`kdc.conf(5)` according to the following format::
+
+ [otp]
+ <name> = {
+ server = <host:port or filename> (default: see below)
+ secret = <filename>
+ timeout = <integer> (default: 5 [seconds])
+ retries = <integer> (default: 3)
+ strip_realm = <boolean> (default: true)
+ indicator = <string> (default: none)
+ }
+
+If the server field begins with '/', it will be interpreted as a UNIX
+socket. Otherwise, it is assumed to be in the format host:port. When
+a UNIX domain socket is specified, the secret field is optional and an
+empty secret is used by default. If the server field is not
+specified, it defaults to |kdcrundir|\ ``/<name>.socket``.
+
+When forwarding the request over RADIUS, by default the principal is
+used in the User-Name attribute of the RADIUS packet. The strip_realm
+parameter controls whether the principal is forwarded with or without
+the realm portion.
+
+If an indicator field is present, tickets issued using this token type
+will be annotated with the specified authentication indicator (see
+:ref:`auth_indicator`). This key may be specified multiple times to
+add multiple indicators.
+
+
+The default token type
+----------------------
+
+A default token type is used internally when no token type is specified for a
+given user. It is defined as follows::
+
+ [otp]
+ DEFAULT = {
+ strip_realm = false
+ }
+
+The administrator may override the internal ``DEFAULT`` token type
+simply by defining a configuration with the same name.
+
+
+Token instance configuration
+----------------------------
+
+To enable OTP for a client principal, the administrator must define
+the **otp** string attribute for that principal. (See
+:ref:`set_string`.) The **otp** user string is a JSON string of the
+format:
+
+.. code-block:: xml
+
+ [{
+ "type": <string>,
+ "username": <string>,
+ "indicators": [<string>, ...]
+ }, ...]
+
+This is an array of token objects. Both fields of token objects are
+optional. The **type** field names the token type of this token; if
+not specified, it defaults to ``DEFAULT``. The **username** field
+specifies the value to be sent in the User-Name RADIUS attribute. If
+not specified, the principal name is sent, with or without realm as
+defined in the token type. The **indicators** field specifies a list
+of authentication indicators to annotate tickets with, overriding any
+indicators specified in the token type.
+
+For ease of configuration, an empty array (``[]``) is treated as
+equivalent to one DEFAULT token (``[{}]``).
+
+
+Other considerations
+--------------------
+
+#. FAST is required for OTP to work.
diff --git a/doc/html/_sources/admin/pkinit.txt b/doc/html/_sources/admin/pkinit.txt
new file mode 100644
index 000000000000..460d75d1e2be
--- /dev/null
+++ b/doc/html/_sources/admin/pkinit.txt
@@ -0,0 +1,309 @@
+.. _pkinit:
+
+PKINIT configuration
+====================
+
+PKINIT is a preauthentication mechanism for Kerberos 5 which uses
+X.509 certificates to authenticate the KDC to clients and vice versa.
+PKINIT can also be used to enable anonymity support, allowing clients
+to communicate securely with the KDC or with application servers
+without authenticating as a particular client principal.
+
+
+Creating certificates
+---------------------
+
+PKINIT requires an X.509 certificate for the KDC and one for each
+client principal which will authenticate using PKINIT. For anonymous
+PKINIT, a KDC certificate is required, but client certificates are
+not. A commercially issued server certificate can be used for the KDC
+certificate, but generally cannot be used for client certificates.
+
+The instruction in this section describe how to establish a
+certificate authority and create standard PKINIT certificates. Skip
+this section if you are using a commercially issued server certificate
+as the KDC certificate for anonymous PKINIT, or if you are configuring
+a client to use an Active Directory KDC.
+
+
+Generating a certificate authority certificate
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+You can establish a new certificate authority (CA) for use with a
+PKINIT deployment with the commands::
+
+ openssl genrsa -out cakey.pem 2048
+ openssl req -key cakey.pem -new -x509 -out cacert.pem -days 3650
+
+The second command will ask for the values of several certificate
+fields. These fields can be set to any values. You can adjust the
+expiration time of the CA certificate by changing the number after
+``-days``. Since the CA certificate must be deployed to client
+machines each time it changes, it should normally have an expiration
+time far in the future; however, expiration times after 2037 may cause
+interoperability issues in rare circumstances.
+
+The result of these commands will be two files, cakey.pem and
+cacert.pem. cakey.pem will contain a 2048-bit RSA private key, which
+must be carefully protected. cacert.pem will contain the CA
+certificate, which must be placed in the filesytems of the KDC and
+each client host. cakey.pem will be required to create KDC and client
+certificates.
+
+
+Generating a KDC certificate
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+A KDC certificate for use with PKINIT is required to have some unusual
+fields, which makes generating them with OpenSSL somewhat complicated.
+First, you will need a file containing the following::
+
+ [kdc_cert]
+ basicConstraints=CA:FALSE
+ keyUsage=nonRepudiation,digitalSignature,keyEncipherment,keyAgreement
+ extendedKeyUsage=1.3.6.1.5.2.3.5
+ subjectKeyIdentifier=hash
+ authorityKeyIdentifier=keyid,issuer
+ issuerAltName=issuer:copy
+ subjectAltName=otherName:1.3.6.1.5.2.2;SEQUENCE:kdc_princ_name
+
+ [kdc_princ_name]
+ realm=EXP:0,GeneralString:${ENV::REALM}
+ principal_name=EXP:1,SEQUENCE:kdc_principal_seq
+
+ [kdc_principal_seq]
+ name_type=EXP:0,INTEGER:1
+ name_string=EXP:1,SEQUENCE:kdc_principals
+
+ [kdc_principals]
+ princ1=GeneralString:krbtgt
+ princ2=GeneralString:${ENV::REALM}
+
+If the above contents are placed in extensions.kdc, you can generate
+and sign a KDC certificate with the following commands::
+
+ openssl genrsa -out kdckey.pem 2048
+ openssl req -new -out kdc.req -key kdckey.pem
+ env REALM=YOUR_REALMNAME openssl x509 -req -in kdc.req \
+ -CAkey cakey.pem -CA cacert.pem -out kdc.pem -days 365 \
+ -extfile extensions.kdc -extensions kdc_cert -CAcreateserial
+ rm kdc.req
+
+The second command will ask for the values of certificate fields,
+which can be set to any values. In the third command, substitute your
+KDC's realm name for YOUR_REALMNAME. You can adjust the certificate's
+expiration date by changing the number after ``-days``. Remember to
+create a new KDC certificate before the old one expires.
+
+The result of this operation will be in two files, kdckey.pem and
+kdc.pem. Both files must be placed in the KDC's filesystem.
+kdckey.pem, which contains the KDC's private key, must be carefully
+protected.
+
+If you examine the KDC certificate with ``openssl x509 -in kdc.pem
+-text -noout``, OpenSSL will not know how to display the KDC principal
+name in the Subject Alternative Name extension, so it will appear as
+``othername:<unsupported>``. This is normal and does not mean
+anything is wrong with the KDC certificate.
+
+
+Generating client certificates
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+PKINIT client certificates also must have some unusual certificate
+fields. To generate a client certificate with OpenSSL for a
+single-component principal name, you will need an extensions file
+(different from the KDC extensions file above) containing::
+
+ [client_cert]
+ basicConstraints=CA:FALSE
+ keyUsage=digitalSignature,keyEncipherment,keyAgreement
+ extendedKeyUsage=1.3.6.1.5.2.3.4
+ subjectKeyIdentifier=hash
+ authorityKeyIdentifier=keyid,issuer
+ issuerAltName=issuer:copy
+ subjectAltName=otherName:1.3.6.1.5.2.2;SEQUENCE:princ_name
+
+ [princ_name]
+ realm=EXP:0,GeneralString:${ENV::REALM}
+ principal_name=EXP:1,SEQUENCE:principal_seq
+
+ [principal_seq]
+ name_type=EXP:0,INTEGER:1
+ name_string=EXP:1,SEQUENCE:principals
+
+ [principals]
+ princ1=GeneralString:${ENV::CLIENT}
+
+If the above contents are placed in extensions.client, you can
+generate and sign a client certificate with the following commands::
+
+ openssl genrsa -out clientkey.pem 2048
+ openssl req -new -key clientkey.pem -out client.req
+ env REALM=YOUR_REALMNAME CLIENT=YOUR_PRINCNAME openssl x509 \
+ -CAkey cakey.pem -CA cacert.pem -req -in client.req \
+ -extensions client_cert -extfile extensions.client \
+ -days 365 -out client.pem
+ rm client.req
+
+Normally, the first two commands should be run on the client host, and
+the resulting client.req file transferred to the certificate authority
+host for the third command. As in the previous steps, the second
+command will ask for the values of certificate fields, which can be
+set to any values. In the third command, substitute your realm's name
+for YOUR_REALMNAME and the client's principal name (without realm) for
+YOUR_PRINCNAME. You can adjust the certificate's expiration date by
+changing the number after ``-days``.
+
+The result of this operation will be two files, clientkey.pem and
+client.pem. Both files must be present on the client's host;
+clientkey.pem, which contains the client's private key, must be
+protected from access by others.
+
+As in the KDC certificate, OpenSSL will display the client principal
+name as ``othername:<unsupported>`` in the Subject Alternative Name
+extension of a PKINIT client certificate.
+
+If the client principal name contains more than one component
+(e.g. ``host/example.com@REALM``), the ``[principals]`` section of
+``extensions.client`` must be altered to contain multiple entries.
+(Simply setting ``CLIENT`` to ``host/example.com`` would generate a
+certificate for ``host\/example.com@REALM`` which would not match the
+multi-component principal name.) For a two-component principal, the
+section should read::
+
+ [principals]
+ princ1=GeneralString:${ENV::CLIENT1}
+ princ2=GeneralString:${ENV::CLIENT2}
+
+The environment variables ``CLIENT1`` and ``CLIENT2`` must then be set
+to the first and second components when running ``openssl x509``.
+
+
+Configuring the KDC
+-------------------
+
+The KDC must have filesystem access to the KDC certificate (kdc.pem)
+and the KDC private key (kdckey.pem). Configure the following
+relation in the KDC's :ref:`kdc.conf(5)` file, either in the
+:ref:`kdcdefaults` section or in a :ref:`kdc_realms` subsection (with
+appropriate pathnames)::
+
+ pkinit_identity = FILE:/var/lib/krb5kdc/kdc.pem,/var/lib/krb5kdc/kdckey.pem
+
+If any clients will authenticate using regular (as opposed to
+anonymous) PKINIT, the KDC must also have filesystem access to the CA
+certificate (cacert.pem), and the following configuration (with the
+appropriate pathname)::
+
+ pkinit_anchors = FILE:/var/lib/krb5kdc/cacert.pem
+
+Because of the larger size of requests and responses using PKINIT, you
+may also need to allow TCP access to the KDC::
+
+ kdc_tcp_listen = 88
+
+Restart the :ref:`krb5kdc(8)` daemon to pick up the configuration
+changes.
+
+The principal entry for each PKINIT-using client must be configured to
+require preauthentication. Ensure this with the command::
+
+ kadmin -q 'modprinc +requires_preauth YOUR_PRINCNAME'
+
+Starting with release 1.12, it is possible to remove the long-term
+keys of a principal entry, which can save some space in the database
+and help to clarify some PKINIT-related error conditions by not asking
+for a password::
+
+ kadmin -q 'purgekeys -all YOUR_PRINCNAME'
+
+These principal options can also be specified at principal creation
+time as follows::
+
+ kadmin -q 'add_principal +requires_preauth -nokey YOUR_PRINCNAME'
+
+
+Configuring the clients
+-----------------------
+
+Client hosts must be configured to trust the issuing authority for the
+KDC certificate. For a newly established certificate authority, the
+client host must have filesystem access to the CA certificate
+(cacert.pem) and the following relation in :ref:`krb5.conf(5)` in the
+appropriate :ref:`realms` subsection (with appropriate pathnames)::
+
+ pkinit_anchors = FILE:/etc/krb5/cacert.pem
+
+If the KDC certificate is a commercially issued server certificate,
+the issuing certificate is most likely included in a system directory.
+You can specify it by filename as above, or specify the whole
+directory like so::
+
+ pkinit_anchors = DIR:/etc/ssl/certs
+
+A commercially issued server certificate will usually not have the
+standard PKINIT principal name or Extended Key Usage extensions, so
+the following additional configuration is required::
+
+ pkinit_eku_checking = kpServerAuth
+ pkinit_kdc_hostname = hostname.of.kdc.certificate
+
+Multiple **pkinit_kdc_hostname** relations can be configured to
+recognize multiple KDC certificates. If the KDC is an Active
+Directory domain controller, setting **pkinit_kdc_hostname** is
+necessary, but it should not be necessary to set
+**pkinit_eku_checking**.
+
+To perform regular (as opposed to anonymous) PKINIT authentication, a
+client host must have filesystem access to a client certificate
+(client.pem), and the corresponding private key (clientkey.pem).
+Configure the following relations in the client host's
+:ref:`krb5.conf(5)` file in the appropriate :ref:`realms` subsection
+(with appropriate pathnames)::
+
+ pkinit_identities = FILE:/etc/krb5/client.pem,/etc/krb5/clientkey.pem
+
+If the KDC and client are properly configured, it should now be
+possible to run ``kinit username`` without entering a password.
+
+
+.. _anonymous_pkinit:
+
+Anonymous PKINIT
+----------------
+
+Anonymity support in Kerberos allows a client to obtain a ticket
+without authenticating as any particular principal. Such a ticket can
+be used as a FAST armor ticket, or to securely communicate with an
+application server anonymously.
+
+To configure anonymity support, you must generate or otherwise procure
+a KDC certificate and configure the KDC host, but you do not need to
+generate any client certificates. On the KDC, you must set the
+**pkinit_identity** variable to provide the KDC certificate, but do
+not need to set the **pkinit_anchors** variable or store the issuing
+certificate if you won't have any client certificates to verify. On
+client hosts, you must set the **pkinit_anchors** variable (and
+possibly **pkinit_kdc_hostname** and **pkinit_eku_checking**) in order
+to trust the issuing authority for the KDC certificate, but do not
+need to set the **pkinit_identities** variable.
+
+Anonymity support is not enabled by default. To enable it, you must
+create the principal ``WELLKNOWN/ANONYMOUS`` using the command::
+
+ kadmin -q 'addprinc -randkey WELLKNOWN/ANONYMOUS'
+
+Some Kerberos deployments include application servers which lack
+proper access control, and grant some level of access to any user who
+can authenticate. In such an environment, enabling anonymity support
+on the KDC would present a security issue. If you need to enable
+anonymity support for TGTs (for use as FAST armor tickets) without
+enabling anonymous authentication to application servers, you can set
+the variable **restrict_anonymous_to_tgt** to ``true`` in the
+appropriate :ref:`kdc_realms` subsection of the KDC's
+:ref:`kdc.conf(5)` file.
+
+To obtain anonymous credentials on a client, run ``kinit -n``, or
+``kinit -n @REALMNAME`` to specify a realm. The resulting tickets
+will have the client name ``WELLKNOWN/ANONYMOUS@WELLKNOWN:ANONYMOUS``.
diff --git a/doc/html/_sources/admin/princ_dns.txt b/doc/html/_sources/admin/princ_dns.txt
new file mode 100644
index 000000000000..e1d823f27927
--- /dev/null
+++ b/doc/html/_sources/admin/princ_dns.txt
@@ -0,0 +1,109 @@
+Principal names and DNS
+=======================
+
+Kerberos clients can do DNS lookups to canonicalize service principal
+names. This can cause difficulties when setting up Kerberos
+application servers, especially when the client's name for the service
+is different from what the service thinks its name is.
+
+
+Service principal names
+-----------------------
+
+A frequently used kind of principal name is the host-based service
+principal name. This kind of principal name has two components: a
+service name and a hostname. For example, ``imap/imap.example.com``
+is the principal name of the "imap" service on the host
+"imap.example.com". Other possible service names for the first
+component include "host" (remote login services such as ssh), "HTTP",
+and "nfs" (Network File System).
+
+Service administrators often publish well-known hostname aliases that
+they would prefer users to use instead of the canonical name of the
+service host. This gives service administrators more flexibility in
+deploying services. For example, a shell login server might be named
+"long-vanity-hostname.example.com", but users will naturally prefer to
+type something like "login.example.com". Hostname aliases also allow
+for administrators to set up load balancing for some sorts of services
+based on rotating ``CNAME`` records in DNS.
+
+
+Service principal canonicalization
+----------------------------------
+
+MIT Kerberos clients currently always do forward resolution (looking
+up the IPv4 and possibly IPv6 addresses using ``getaddrinfo()``) of
+the hostname part of a host-based service principal to canonicalize
+the hostname. They obtain the "canonical" name of the host when doing
+so. By default, MIT Kerberos clients will also then do reverse DNS
+resolution (looking up the hostname associated with the IPv4 or IPv6
+address using ``getnameinfo()``) of the hostname. Using the
+:ref:`krb5.conf(5)` setting::
+
+ [libdefaults]
+ rdns = false
+
+will disable reverse DNS lookup on clients. The default setting is
+"true".
+
+Operating system bugs may prevent a setting of ``rdns = false`` from
+disabling reverse DNS lookup. Some versions of GNU libc have a bug in
+``getaddrinfo()`` that cause them to look up ``PTR`` records even when
+not required. MIT Kerberos releases krb5-1.10.2 and newer have a
+workaround for this problem, as does the krb5-1.9.x series as of
+release krb5-1.9.4.
+
+
+Reverse DNS mismatches
+----------------------
+
+Sometimes, an enterprise will have control over its forward DNS but
+not its reverse DNS. The reverse DNS is sometimes under the control
+of the Internet service provider of the enterprise, and the enterprise
+may not have much influence in setting up reverse DNS records for its
+address space. If there are difficulties with getting forward and
+reverse DNS to match, it is best to set ``rdns = false`` on client
+machines.
+
+
+Overriding application behavior
+-------------------------------
+
+Applications can choose to use a default hostname component in their
+service principal name when accepting authentication, which avoids
+some sorts of hostname mismatches. Because not all relevant
+applications do this yet, using the :ref:`krb5.conf(5)` setting::
+
+ [libdefaults]
+ ignore_acceptor_hostname = true
+
+will allow the Kerberos library to override the application's choice
+of service principal hostname and will allow a server program to
+accept incoming authentications using any key in its keytab that
+matches the service name and realm name (if given). This setting
+defaults to "false" and is available in releases krb5-1.10 and later.
+
+
+Provisioning keytabs
+--------------------
+
+One service principal entry that should be in the keytab is a
+principal whose hostname component is the canonical hostname that
+``getaddrinfo()`` reports for all known aliases for the host. If the
+reverse DNS information does not match this canonical hostname, an
+additional service principal entry should be in the keytab for this
+different hostname.
+
+
+Specific application advice
+---------------------------
+
+Secure shell (ssh)
+~~~~~~~~~~~~~~~~~~
+
+Setting ``GSSAPIStrictAcceptorCheck = no`` in the configuration file
+of modern versions of the openssh daemon will allow the daemon to try
+any key in its keytab when accepting a connection, rather than looking
+for the keytab entry that matches the host's own idea of its name
+(typically the name that ``gethostname()`` returns). This requires
+krb5-1.10 or later.
diff --git a/doc/html/_sources/admin/realm_config.txt b/doc/html/_sources/admin/realm_config.txt
new file mode 100644
index 000000000000..c016d720fded
--- /dev/null
+++ b/doc/html/_sources/admin/realm_config.txt
@@ -0,0 +1,265 @@
+Realm configuration decisions
+=============================
+
+Before installing Kerberos V5, it is necessary to consider the
+following issues:
+
+* The name of your Kerberos realm (or the name of each realm, if you
+ need more than one).
+* How you will assign your hostnames to Kerberos realms.
+* Which ports your KDC and and kadmind services will use, if they will
+ not be using the default ports.
+* How many slave KDCs you need and where they should be located.
+* The hostnames of your master and slave KDCs.
+* How frequently you will propagate the database from the master KDC
+ to the slave KDCs.
+
+
+Realm name
+----------
+
+Although your Kerberos realm can be any ASCII string, convention is to
+make it the same as your domain name, in upper-case letters.
+
+For example, hosts in the domain ``example.com`` would be in the
+Kerberos realm::
+
+ EXAMPLE.COM
+
+If you need multiple Kerberos realms, MIT recommends that you use
+descriptive names which end with your domain name, such as::
+
+ BOSTON.EXAMPLE.COM
+ HOUSTON.EXAMPLE.COM
+
+
+.. _mapping_hostnames:
+
+Mapping hostnames onto Kerberos realms
+--------------------------------------
+
+Mapping hostnames onto Kerberos realms is done in one of three ways.
+
+The first mechanism works through a set of rules in the
+:ref:`domain_realm` section of :ref:`krb5.conf(5)`. You can specify
+mappings for an entire domain or on a per-hostname basis. Typically
+you would do this by specifying the mappings for a given domain or
+subdomain and listing the exceptions.
+
+The second mechanism is to use KDC host-based service referrals. With
+this method, the KDC's krb5.conf has a full [domain_realm] mapping for
+hosts, but the clients do not, or have mappings for only a subset of
+the hosts they might contact. When a client needs to contact a server
+host for which it has no mapping, it will ask the client realm's KDC
+for the service ticket, and will receive a referral to the appropriate
+service realm.
+
+To use referrals, clients must be running MIT krb5 1.6 or later, and
+the KDC must be running MIT krb5 1.7 or later. The
+**host_based_services** and **no_host_referral** variables in the
+:ref:`kdc_realms` section of :ref:`kdc.conf(5)` can be used to
+fine-tune referral behavior on the KDC.
+
+It is also possible for clients to use DNS TXT records, if
+**dns_lookup_realm** is enabled in :ref:`krb5.conf(5)`. Such lookups
+are disabled by default because DNS is an insecure protocol and security
+holes could result if DNS records are spoofed. If enabled, the client
+will try to look up a TXT record formed by prepending the prefix
+``_kerberos`` to the hostname in question. If that record is not
+found, the client will attempt a lookup by prepending ``_kerberos`` to the
+host's domain name, then its parent domain, up to the top-level domain.
+For the hostname ``boston.engineering.example.com``, the names looked up
+would be::
+
+ _kerberos.boston.engineering.example.com
+ _kerberos.engineering.example.com
+ _kerberos.example.com
+ _kerberos.com
+
+The value of the first TXT record found is taken as the realm name.
+
+Even if you do not choose to use this mechanism within your site,
+you may wish to set it up anyway, for use when interacting with other sites.
+
+
+Ports for the KDC and admin services
+------------------------------------
+
+The default ports used by Kerberos are port 88 for the KDC and port
+749 for the admin server. You can, however, choose to run on other
+ports, as long as they are specified in each host's
+:ref:`krb5.conf(5)` files or in DNS SRV records, and the
+:ref:`kdc.conf(5)` file on each KDC. For a more thorough treatment of
+port numbers used by the Kerberos V5 programs, refer to the
+:ref:`conf_firewall`.
+
+
+Slave KDCs
+----------
+
+Slave KDCs provide an additional source of Kerberos ticket-granting
+services in the event of inaccessibility of the master KDC. The
+number of slave KDCs you need and the decision of where to place them,
+both physically and logically, depends on the specifics of your
+network.
+
+Kerberos authentication requires that each client be able to contact a
+KDC. Therefore, you need to anticipate any likely reason a KDC might
+be unavailable and have a slave KDC to take up the slack.
+
+Some considerations include:
+
+* Have at least one slave KDC as a backup, for when the master KDC is
+ down, is being upgraded, or is otherwise unavailable.
+* If your network is split such that a network outage is likely to
+ cause a network partition (some segment or segments of the network
+ to become cut off or isolated from other segments), have a slave KDC
+ accessible to each segment.
+* If possible, have at least one slave KDC in a different building
+ from the master, in case of power outages, fires, or other localized
+ disasters.
+
+
+.. _kdc_hostnames:
+
+Hostnames for KDCs
+------------------
+
+MIT recommends that your KDCs have a predefined set of CNAME records
+(DNS hostname aliases), such as ``kerberos`` for the master KDC and
+``kerberos-1``, ``kerberos-2``, ... for the slave KDCs. This way, if
+you need to swap a machine, you only need to change a DNS entry,
+rather than having to change hostnames.
+
+As of MIT krb5 1.4, clients can locate a realm's KDCs through DNS
+using SRV records (:rfc:`2782`), assuming the Kerberos realm name is
+also a DNS domain name. These records indicate the hostname and port
+number to contact for that service, optionally with weighting and
+prioritization. The domain name used in the SRV record name is the
+realm name. Several different Kerberos-related service names are
+used:
+
+_kerberos._udp
+ This is for contacting any KDC by UDP. This entry will be used
+ the most often. Normally you should list port 88 on each of your
+ KDCs.
+_kerberos._tcp
+ This is for contacting any KDC by TCP. The MIT KDC by default
+ will not listen on any TCP ports, so unless you've changed the
+ configuration or you're running another KDC implementation, you
+ should leave this unspecified. If you do enable TCP support,
+ normally you should use port 88.
+_kerberos-master._udp
+ This entry should refer to those KDCs, if any, that will
+ immediately see password changes to the Kerberos database. If a
+ user is logging in and the password appears to be incorrect, the
+ client will retry with the master KDC before failing with an
+ "incorrect password" error given.
+
+ If you have only one KDC, or for whatever reason there is no
+ accessible KDC that would get database changes faster than the
+ others, you do not need to define this entry.
+_kerberos-adm._tcp
+ This should list port 749 on your master KDC. Support for it is
+ not complete at this time, but it will eventually be used by the
+ :ref:`kadmin(1)` program and related utilities. For now, you will
+ also need the **admin_server** variable in :ref:`krb5.conf(5)`.
+_kpasswd._udp
+ This should list port 464 on your master KDC. It is used when a
+ user changes her password. If this entry is not defined but a
+ _kerberos-adm._tcp entry is defined, the client will use the
+ _kerberos-adm._tcp entry with the port number changed to 749.
+
+The DNS SRV specification requires that the hostnames listed be the
+canonical names, not aliases. So, for example, you might include the
+following records in your (BIND-style) zone file::
+
+ $ORIGIN foobar.com.
+ _kerberos TXT "FOOBAR.COM"
+ kerberos CNAME daisy
+ kerberos-1 CNAME use-the-force-luke
+ kerberos-2 CNAME bunny-rabbit
+ _kerberos._udp SRV 0 0 88 daisy
+ SRV 0 0 88 use-the-force-luke
+ SRV 0 0 88 bunny-rabbit
+ _kerberos-master._udp SRV 0 0 88 daisy
+ _kerberos-adm._tcp SRV 0 0 749 daisy
+ _kpasswd._udp SRV 0 0 464 daisy
+
+Clients can also be configured with the explicit location of services
+using the **kdc**, **master_kdc**, **admin_server**, and
+**kpasswd_server** variables in the :ref:`realms` section of
+:ref:`krb5.conf(5)`. Even if some clients will be configured with
+explicit server locations, providing SRV records will still benefit
+unconfigured clients, and be useful for other sites.
+
+
+.. _kdc_discovery:
+
+KDC Discovery
+-------------
+
+As of MIT krb5 1.15, clients can also locate KDCs in DNS through URI
+records (:rfc:`7553`). Limitations with the SRV record format may
+result in extra DNS queries in situations where a client must failover
+to other transport types, or find a master server. The URI record can
+convey more information about a realm's KDCs with a single query.
+
+The client performs a query for the following URI records:
+
+* ``_kerberos.REALM`` for fiding KDCs.
+* ``_kerberos-adm.REALM`` for finding kadmin services.
+* ``_kpasswd.REALM`` for finding password services.
+
+The URI record includes a priority, weight, and a URI string that
+consists of case-insensitive colon separated fields, in the form
+``scheme:[flags]:transport:residual``.
+
+* *scheme* defines the registered URI type. It should always be
+ ``krb5srv``.
+* *flags* contains zero or more flag characters. Currently the only
+ valid flag is ``m``, which indicates that the record is for a master
+ server.
+* *transport* defines the transport type of the residual URL or
+ address. Accepted values are ``tcp``, ``udp``, or ``kkdcp`` for the
+ MS-KKDCP type.
+* *residual* contains the hostname, IP address, or URL to be
+ contacted using the specified transport, with an optional port
+ extension. The MS-KKDCP transport type uses a HTTPS URL, and can
+ include a port and/or path extension.
+
+An example of URI records in a zone file::
+
+ _kerberos.EXAMPLE.COM URI 10 1 krb5srv:m:tcp:kdc1.example.com
+ URI 20 1 krb5srv:m:udp:kdc2.example.com:89
+ URI 40 1 krb5srv::udp:10.10.0.23
+ URI 30 1 krb5srv::kkdcp:https://proxy:89/auth
+
+URI lookups are enabled by default, and can be disabled by setting
+**dns_uri_lookup** in the :ref:`libdefaults` section of
+:ref:`krb5.conf(5)` to False. When enabled, URI lookups take
+precedence over SRV lookups, falling back to SRV lookups if no URI
+records are found.
+
+
+.. _db_prop:
+
+Database propagation
+--------------------
+
+The Kerberos database resides on the master KDC, and must be
+propagated regularly (usually by a cron job) to the slave KDCs. In
+deciding how frequently the propagation should happen, you will need
+to balance the amount of time the propagation takes against the
+maximum reasonable amount of time a user should have to wait for a
+password change to take effect.
+
+If the propagation time is longer than this maximum reasonable time
+(e.g., you have a particularly large database, you have a lot of
+slaves, or you experience frequent network delays), you may wish to
+cut down on your propagation delay by performing the propagation in
+parallel. To do this, have the master KDC propagate the database to
+one set of slaves, and then have each of these slaves propagate the
+database to additional slaves.
+
+See also :ref:`incr_db_prop`
diff --git a/doc/html/_sources/admin/troubleshoot.txt b/doc/html/_sources/admin/troubleshoot.txt
new file mode 100644
index 000000000000..0c614931478d
--- /dev/null
+++ b/doc/html/_sources/admin/troubleshoot.txt
@@ -0,0 +1,135 @@
+.. _troubleshoot:
+
+Troubleshooting
+===============
+
+.. _trace_logging:
+
+Trace logging
+-------------
+
+Most programs using MIT krb5 1.9 or later can be made to provide
+information about internal krb5 library operations using trace
+logging. To enable this, set the **KRB5_TRACE** environment variable
+to a filename before running the program. On many operating systems,
+the filename ``/dev/stdout`` can be used to send trace logging output
+to standard output.
+
+Some programs do not honor **KRB5_TRACE**, either because they use
+secure library contexts (this generally applies to setuid programs and
+parts of the login system) or because they take direct control of the
+trace logging system using the API.
+
+Here is a short example showing trace logging output for an invocation
+of the :ref:`kvno(1)` command::
+
+ shell% env KRB5_TRACE=/dev/stdout kvno krbtgt/KRBTEST.COM
+ [9138] 1332348778.823276: Getting credentials user@KRBTEST.COM ->
+ krbtgt/KRBTEST.COM@KRBTEST.COM using ccache
+ FILE:/me/krb5/build/testdir/ccache
+ [9138] 1332348778.823381: Retrieving user@KRBTEST.COM ->
+ krbtgt/KRBTEST.COM@KRBTEST.COM from
+ FILE:/me/krb5/build/testdir/ccache with result: 0/Unknown code 0
+ krbtgt/KRBTEST.COM@KRBTEST.COM: kvno = 1
+
+
+List of errors
+--------------
+
+Frequently seen errors
+~~~~~~~~~~~~~~~~~~~~~~
+
+#. :ref:`init_creds_ETYPE_NOSUPP`
+
+#. :ref:`cert_chain_ETYPE_NOSUPP`
+
+#. :ref:`err_cert_chain_cert_expired`
+
+
+Errors seen by admins
+~~~~~~~~~~~~~~~~~~~~~
+
+.. _prop_failed_start:
+
+#. :ref:`kprop_no_route`
+
+#. :ref:`kprop_con_refused`
+
+#. :ref:`kprop_sendauth_exchange`
+
+.. _prop_failed_end:
+
+-----
+
+.. _init_creds_etype_nosupp:
+
+KDC has no support for encryption type while getting initial credentials
+........................................................................
+
+.. _cert_chain_etype_nosupp:
+
+
+credential verification failed: KDC has no support for encryption type
+......................................................................
+
+This most commonly happens when trying to use a principal with only
+DES keys, in a release (MIT krb5 1.7 or later) which disables DES by
+default. DES encryption is considered weak due to its inadequate key
+size. If you cannot migrate away from its use, you can re-enable DES
+by adding ``allow_weak_crypto = true`` to the :ref:`libdefaults`
+section of :ref:`krb5.conf(5)`.
+
+
+.. _err_cert_chain_cert_expired:
+
+Cannot create cert chain: certificate has expired
+.................................................
+
+This error message indicates that PKINIT authentication failed because
+the client certificate, KDC certificate, or one of the certificates in
+the signing chain above them has expired.
+
+If the KDC certificate has expired, this message appears in the KDC
+log file, and the client will receive a "Preauthentication failed"
+error. (Prior to release 1.11, the KDC log file message erroneously
+appears as "Out of memory". Prior to release 1.12, the client will
+receive a "Generic error".)
+
+If the client or a signing certificate has expired, this message may
+appear in trace_logging_ output from :ref:`kinit(1)` or, starting in
+release 1.12, as an error message from kinit or another program which
+gets initial tickets. The error message is more likely to appear
+properly on the client if the principal entry has no long-term keys.
+
+.. _kprop_no_route:
+
+kprop: No route to host while connecting to server
+..................................................
+
+Make sure that the hostname of the slave (as given to kprop) is
+correct, and that any firewalls between the master and the slave allow
+a connection on port 754.
+
+.. _kprop_con_refused:
+
+kprop: Connection refused while connecting to server
+....................................................
+
+If the slave is intended to run kpropd out of inetd, make sure that
+inetd is configured to accept krb5_prop connections. inetd may need
+to be restarted or sent a SIGHUP to recognize the new configuration.
+If the slave is intended to run kpropd in standalone mode, make sure
+that it is running.
+
+.. _kprop_sendauth_exchange:
+
+kprop: Server rejected authentication (during sendauth exchange) while authenticating to server
+...............................................................................................
+
+Make sure that:
+
+#. The time is synchronized between the master and slave KDCs.
+#. The master stash file was copied from the master to the expected
+ location on the slave.
+#. The slave has a keytab file in the default location containing a
+ ``host`` principal for the slave's hostname.
diff --git a/doc/html/_sources/admin/various_envs.txt b/doc/html/_sources/admin/various_envs.txt
new file mode 100644
index 000000000000..c32ac05f6202
--- /dev/null
+++ b/doc/html/_sources/admin/various_envs.txt
@@ -0,0 +1,33 @@
+Various links
+=============
+
+Whitepapers
+-----------
+
+#. http://kerberos.org/software/whitepapers.html
+
+
+Tutorials
+---------
+
+#. Fulvio Ricciardi <http://www.kerberos.org/software/tutorial.html>_
+
+
+Troubleshooting
+---------------
+
+#. http://www.ncsa.illinois.edu/UserInfo/Resources/Software/kerberos/troubleshooting.html
+
+#. http://nfsv4.bullopensource.org/doc/kerberosnfs/krbnfs_howto_v3.pdf
+
+#. http://sysdoc.doors.ch/HP/T1417-90005.pdf
+
+#. http://www.shrubbery.net/solaris9ab/SUNWaadm/SYSADV6/p27.html
+
+#. http://download.oracle.com/docs/cd/E19253-01/816-4557/trouble-1/index.html
+
+#. http://technet.microsoft.com/en-us/library/bb463167.aspx#EBAA
+
+#. https://bugs.launchpad.net/ubuntu/+source/libpam-heimdal/+bug/86528
+
+#. http://h71000.www7.hp.com/doc/83final/ba548_90007/ch06s05.html
diff --git a/doc/html/_sources/appdev/gssapi.txt b/doc/html/_sources/appdev/gssapi.txt
new file mode 100644
index 000000000000..0258f793b99b
--- /dev/null
+++ b/doc/html/_sources/appdev/gssapi.txt
@@ -0,0 +1,618 @@
+Developing with GSSAPI
+======================
+
+The GSSAPI (Generic Security Services API) allows applications to
+communicate securely using Kerberos 5 or other security mechanisms.
+We recommend using the GSSAPI (or a higher-level framework which
+encompasses GSSAPI, such as SASL) for secure network communication
+over using the libkrb5 API directly.
+
+GSSAPIv2 is specified in :rfc:`2743` and :rfc:`2744`. Also see
+:rfc:`7546` for a description of how to use the GSSAPI in a client or
+server program.
+
+This documentation will describe how various ways of using the
+GSSAPI will behave with the krb5 mechanism as implemented in MIT krb5,
+as well as krb5-specific extensions to the GSSAPI.
+
+
+Name types
+----------
+
+A GSSAPI application can name a local or remote entity by calling
+gss_import_name_, specifying a name type and a value. The following
+name types are supported by the krb5 mechanism:
+
+* **GSS_C_NT_HOSTBASED_SERVICE**: The value should be a string of the
+ form ``service`` or ``service@hostname``. This is the most common
+ way to name target services when initiating a security context, and
+ is the most likely name type to work across multiple mechanisms.
+
+* **GSS_KRB5_NT_PRINCIPAL_NAME**: The value should be a principal name
+ string. This name type only works with the krb5 mechanism, and is
+ defined in the ``<gssapi/gssapi_krb5.h>`` header.
+
+* **GSS_C_NT_USER_NAME** or **GSS_C_NULL_OID**: The value is treated
+ as an unparsed principal name string, as above. These name types
+ may work with mechanisms other than krb5, but will have different
+ interpretations in those mechanisms. **GSS_C_NT_USER_NAME** is
+ intended to be used with a local username, which will parse into a
+ single-component principal in the default realm.
+
+* **GSS_C_NT_ANONYMOUS**: The value is ignored. The anonymous
+ principal is used, allowing a client to authenticate to a server
+ without asserting a particular identity (which may or may not be
+ allowed by a particular server or Kerberos realm).
+
+* **GSS_C_NT_MACHINE_UID_NAME**: The value is uid_t object. On
+ Unix-like systems, the username of the uid is looked up in the
+ system user database and the resulting username is parsed as a
+ principal name.
+
+* **GSS_C_NT_STRING_UID_NAME**: As above, but the value is a decimal
+ string representation of the uid.
+
+* **GSS_C_NT_EXPORT_NAME**: The value must be the result of a
+ gss_export_name_ call.
+
+
+Initiator credentials
+---------------------
+
+A GSSAPI client application uses gss_init_sec_context_ to establish a
+security context. The *initiator_cred_handle* parameter determines
+what tickets are used to establish the connection. An application can
+either pass **GSS_C_NO_CREDENTIAL** to use the default client
+credential, or it can use gss_acquire_cred_ beforehand to acquire an
+initiator credential. The call to gss_acquire_cred_ may include a
+*desired_name* parameter, or it may pass **GSS_C_NO_NAME** if it does
+not have a specific name preference.
+
+If the desired name for a krb5 initiator credential is a host-based
+name, it is converted to a principal name of the form
+``service/hostname`` in the local realm, where *hostname* is the local
+hostname if not specified. The hostname will be canonicalized using
+forward name resolution, and possibly also using reverse name
+resolution depending on the value of the **rdns** variable in
+:ref:`libdefaults`.
+
+If a desired name is specified in the call to gss_acquire_cred_, the
+krb5 mechanism will attempt to find existing tickets for that client
+principal name in the default credential cache or collection. If the
+default cache type does not support a collection, and the default
+cache contains credentials for a different principal than the desired
+name, a **GSS_S_CRED_UNAVAIL** error will be returned with a minor
+code indicating a mismatch.
+
+If no existing tickets are available for the desired name, but the
+name has an entry in the default client :ref:`keytab_definition`, the
+krb5 mechanism will acquire initial tickets for the name using the
+default client keytab.
+
+If no desired name is specified, credential acquisition will be
+deferred until the credential is used in a call to
+gss_init_sec_context_ or gss_inquire_cred_. If the call is to
+gss_init_sec_context_, the target name will be used to choose a client
+principal name using the credential cache selection facility. (This
+facility might, for instance, try to choose existing tickets for a
+client principal in the same realm as the target service). If there
+are no existing tickets for the chosen principal, but it is present in
+the default client keytab, the krb5 mechanism will acquire initial
+tickets using the keytab.
+
+If the target name cannot be used to select a client principal
+(because the credentials are used in a call to gss_inquire_cred_), or
+if the credential cache selection facility cannot choose a principal
+for it, the default credential cache will be selected if it exists and
+contains tickets.
+
+If the default credential cache does not exist, but the default client
+keytab does, the krb5 mechanism will try to acquire initial tickets
+for the first principal in the default client keytab.
+
+If the krb5 mechanism acquires initial tickets using the default
+client keytab, the resulting tickets will be stored in the default
+cache or collection, and will be refreshed by future calls to
+gss_acquire_cred_ as they approach their expire time.
+
+
+Acceptor names
+--------------
+
+A GSSAPI server application uses gss_accept_sec_context_ to establish
+a security context based on tokens provided by the client. The
+*acceptor_cred_handle* parameter determines what
+:ref:`keytab_definition` entries may be authenticated to by the
+client, if the krb5 mechanism is used.
+
+The simplest choice is to pass **GSS_C_NO_CREDENTIAL** as the acceptor
+credential. In this case, clients may authenticate to any service
+principal in the default keytab (typically |keytab|, or the value of
+the **KRB5_KTNAME** environment variable). This is the recommended
+approach if the server application has no specific requirements to the
+contrary.
+
+A server may acquire an acceptor credential with gss_acquire_cred_ and
+a *cred_usage* of **GSS_C_ACCEPT** or **GSS_C_BOTH**. If the
+*desired_name* parameter is **GSS_C_NO_NAME**, then clients will be
+allowed to authenticate to any service principal in the default
+keytab, just as if no acceptor credential was supplied.
+
+If a server wishes to specify a *desired_name* to gss_acquire_cred_,
+the most common choice is a host-based name. If the host-based
+*desired_name* contains just a *service*, then clients will be allowed
+to authenticate to any host-based service principal (that is, a
+principal of the form ``service/hostname@REALM``) for the named
+service, regardless of hostname or realm, as long as it is present in
+the default keytab. If the input name contains both a *service* and a
+*hostname*, clients will be allowed to authenticate to any host-based
+principal for the named service and hostname, regardless of realm.
+
+.. note::
+
+ If a *hostname* is specified, it will be canonicalized
+ using forward name resolution, and possibly also using
+ reverse name resolution depending on the value of the
+ **rdns** variable in :ref:`libdefaults`.
+
+.. note::
+
+ If the **ignore_acceptor_hostname** variable in
+ :ref:`libdefaults` is enabled, then *hostname* will be
+ ignored even if one is specified in the input name.
+
+.. note::
+
+ In MIT krb5 versions prior to 1.10, and in Heimdal's
+ implementation of the krb5 mechanism, an input name with
+ just a *service* is treated like an input name of
+ ``service@localhostname``, where *localhostname* is the
+ string returned by gethostname().
+
+If the *desired_name* is a krb5 principal name or a local system name
+type which is mapped to a krb5 principal name, clients will only be
+allowed to authenticate to that principal in the default keytab.
+
+
+Name Attributes
+---------------
+
+In release 1.8 or later, the gss_inquire_name_ and
+gss_get_name_attribute_ functions, specified in :rfc:`6680`, can be
+used to retrieve name attributes from the *src_name* returned by
+gss_accept_sec_context_. The following attributes are defined when
+the krb5 mechanism is used:
+
+.. _gssapi_authind_attr:
+
+* "auth-indicators" attribute:
+
+This attribute will be included in the gss_inquire_name_ output if the
+ticket contains :ref:`authentication indicators <auth_indicator>`.
+One indicator is returned per invocation of gss_get_name_attribute_,
+so multiple invocations may be necessary to retrieve all of the
+indicators from the ticket. (New in release 1.15.)
+
+
+Importing and exporting credentials
+-----------------------------------
+
+The following GSSAPI extensions can be used to import and export
+credentials (declared in ``<gssapi/gssapi_ext.h>``)::
+
+ OM_uint32 gss_export_cred(OM_uint32 *minor_status,
+ gss_cred_id_t cred_handle,
+ gss_buffer_t token);
+
+ OM_uint32 gss_import_cred(OM_uint32 *minor_status,
+ gss_buffer_t token,
+ gss_cred_id_t *cred_handle);
+
+The first function serializes a GSSAPI credential handle into a
+buffer; the second unseralizes a buffer into a GSSAPI credential
+handle. Serializing a credential does not destroy it. If any of the
+mechanisms used in *cred_handle* do not support serialization,
+gss_export_cred will return **GSS_S_UNAVAILABLE**. As with other
+GSSAPI serialization functions, these extensions are only intended to
+work with a matching implementation on the other side; they do not
+serialize credentials in a standardized format.
+
+A serialized credential may contain secret information such as ticket
+session keys. The serialization format does not protect this
+information from eavesdropping or tampering. The calling application
+must take care to protect the serialized credential when communicating
+it over an insecure channel or to an untrusted party.
+
+A krb5 GSSAPI credential may contain references to a credential cache,
+a client keytab, an acceptor keytab, and a replay cache. These
+resources are normally serialized as references to their external
+locations (such as the filename of the credential cache). Because of
+this, a serialized krb5 credential can only be imported by a process
+with similar privileges to the exporter. A serialized credential
+should not be trusted if it originates from a source with lower
+privileges than the importer, as it may contain references to external
+credential cache, keytab, or replay cache resources not accessible to
+the originator.
+
+An exception to the above rule applies when a krb5 GSSAPI credential
+refers to a memory credential cache, as is normally the case for
+delegated credentials received by gss_accept_sec_context_. In this
+case, the contents of the credential cache are serialized, so that the
+resulting token may be imported even if the original memory credential
+cache no longer exists.
+
+
+Constrained delegation (S4U)
+----------------------------
+
+The Microsoft S4U2Self and S4U2Proxy Kerberos protocol extensions
+allow an intermediate service to acquire credentials from a client to
+a target service without requiring the client to delegate a
+ticket-granting ticket, if the KDC is configured to allow it.
+
+To perform a constrained delegation operation, the intermediate
+service must submit to the KDC an "evidence ticket" from the client to
+the intermediate service with the forwardable bit set. An evidence
+ticket can be acquired when the client authenticates to the
+intermediate service with Kerberos, or with an S4U2Self request if the
+KDC allows it. The MIT krb5 GSSAPI library represents an evidence
+ticket using a "proxy credential", which is a special kind of
+gss_cred_id_t object whose underlying credential cache contains the
+evidence ticket and a krbtgt ticket for the intermediate service.
+
+To acquire a proxy credential during client authentication, the
+service should first create an acceptor credential using the
+**GSS_C_BOTH** usage. The application should then pass this
+credential as the *acceptor_cred_handle* to gss_accept_sec_context_,
+and also pass a *delegated_cred_handle* output parameter to receive a
+proxy credential containing the evidence ticket. The output value of
+*delegated_cred_handle* may be a delegated ticket-granting ticket if
+the client sent one, or a proxy credential if the client authenticated
+with a forwardable service ticket, or **GSS_C_NO_CREDENTIAL** if
+neither is the case.
+
+To acquire a proxy credential using an S4U2Self request, the service
+can use the following GSSAPI extension::
+
+ OM_uint32 gss_acquire_cred_impersonate_name(OM_uint32 *minor_status,
+ gss_cred_id_t icred,
+ gss_name_t desired_name,
+ OM_uint32 time_req,
+ gss_OID_set desired_mechs,
+ gss_cred_usage_t cred_usage,
+ gss_cred_id_t *output_cred,
+ gss_OID_set *actual_mechs,
+ OM_uint32 *time_rec);
+
+The parameters to this function are similar to those of
+gss_acquire_cred_, except that *icred* is used to make an S4U2Self
+request to the KDC for a ticket from *desired_name* to the
+intermediate service. Both *icred* and *desired_name* are required
+for this function; passing **GSS_C_NO_CREDENTIAL** or
+**GSS_C_NO_NAME** will cause the call to fail. *icred* must contain a
+krbtgt ticket for the intermediate service. If the KDC returns a
+forwardable ticket, the result of this operation is a proxy
+credential; if it is not forwardable, the result is a regular
+credential for *desired_name*.
+
+A recent KDC will usually allow any service to acquire a ticket from a
+client to itself with an S4U2Self request, but the ticket will only be
+forwardable if the service has a specific privilege. In the MIT krb5
+KDC, this privilege is determined by the **ok_to_auth_as_delegate**
+bit on the intermediate service's principal entry, which can be
+configured with :ref:`kadmin(1)`.
+
+Once the intermediate service has a proxy credential, it can simply
+pass it to gss_init_sec_context_ as the *initiator_cred_handle*
+parameter, and the desired service as the *target_name* parameter.
+The GSSAPI library will present the krbtgt ticket and evidence ticket
+in the proxy credential to the KDC in an S4U2Proxy request; if the
+intermediate service has the appropriate permissions, the KDC will
+issue a ticket from the client to the target service. The GSSAPI
+library will then use this ticket to authenticate to the target
+service.
+
+
+AEAD message wrapping
+---------------------
+
+The following GSSAPI extensions (declared in
+``<gssapi/gssapi_ext.h>``) can be used to wrap and unwrap messages
+with additional "associated data" which is integrity-checked but is
+not included in the output buffer::
+
+ OM_uint32 gss_wrap_aead(OM_uint32 *minor_status,
+ gss_ctx_id_t context_handle,
+ int conf_req_flag, gss_qop_t qop_req,
+ gss_buffer_t input_assoc_buffer,
+ gss_buffer_t input_payload_buffer,
+ int *conf_state,
+ gss_buffer_t output_message_buffer);
+
+ OM_uint32 gss_unwrap_aead(OM_uint32 *minor_status,
+ gss_ctx_id_t context_handle,
+ gss_buffer_t input_message_buffer,
+ gss_buffer_t input_assoc_buffer,
+ gss_buffer_t output_payload_buffer,
+ int *conf_state,
+ gss_qop_t *qop_state);
+
+Wrap tokens created with gss_wrap_aead will successfully unwrap only
+if the same *input_assoc_buffer* contents are presented to
+gss_unwrap_aead.
+
+
+IOV message wrapping
+--------------------
+
+The following extensions (declared in ``<gssapi/gssapi_ext.h>``) can
+be used for in-place encryption, fine-grained control over wrap token
+layout, and for constructing wrap tokens compatible with Microsoft DCE
+RPC::
+
+ typedef struct gss_iov_buffer_desc_struct {
+ OM_uint32 type;
+ gss_buffer_desc buffer;
+ } gss_iov_buffer_desc, *gss_iov_buffer_t;
+
+ OM_uint32 gss_wrap_iov(OM_uint32 *minor_status,
+ gss_ctx_id_t context_handle,
+ int conf_req_flag, gss_qop_t qop_req,
+ int *conf_state,
+ gss_iov_buffer_desc *iov, int iov_count);
+
+ OM_uint32 gss_unwrap_iov(OM_uint32 *minor_status,
+ gss_ctx_id_t context_handle,
+ int *conf_state, gss_qop_t *qop_state,
+ gss_iov_buffer_desc *iov, int iov_count);
+
+ OM_uint32 gss_wrap_iov_length(OM_uint32 *minor_status,
+ gss_ctx_id_t context_handle,
+ int conf_req_flag,
+ gss_qop_t qop_req, int *conf_state,
+ gss_iov_buffer_desc *iov,
+ int iov_count);
+
+ OM_uint32 gss_release_iov_buffer(OM_uint32 *minor_status,
+ gss_iov_buffer_desc *iov,
+ int iov_count);
+
+The caller of gss_wrap_iov provides an array of gss_iov_buffer_desc
+structures, each containing a type and a gss_buffer_desc structure.
+Valid types include:
+
+* **GSS_C_BUFFER_TYPE_DATA**: A data buffer to be included in the
+ token, and to be encrypted or decrypted in-place if the token is
+ confidentiality-protected.
+
+* **GSS_C_BUFFER_TYPE_HEADER**: The GSSAPI wrap token header and
+ underlying cryptographic header.
+
+* **GSS_C_BUFFER_TYPE_TRAILER**: The cryptographic trailer, if one is
+ required.
+
+* **GSS_C_BUFFER_TYPE_PADDING**: Padding to be combined with the data
+ during encryption and decryption. (The implementation may choose to
+ place padding in the trailer buffer, in which case it will set the
+ padding buffer length to 0.)
+
+* **GSS_C_BUFFER_TYPE_STREAM**: For unwrapping only, a buffer
+ containing a complete wrap token in standard format to be unwrapped.
+
+* **GSS_C_BUFFER_TYPE_SIGN_ONLY**: A buffer to be included in the
+ token's integrity protection checksum, but not to be encrypted or
+ included in the token itself.
+
+For gss_wrap_iov, the IOV list should contain one HEADER buffer,
+followed by zero or more SIGN_ONLY buffers, followed by one or more
+DATA buffers, followed by a TRAILER buffer. The memory pointed to by
+the buffers is not required to be contiguous or in any particular
+order. If *conf_req_flag* is true, DATA buffers will be encrypted
+in-place, while SIGN_ONLY buffers will not be modified.
+
+The type of an output buffer may be combined with
+**GSS_C_BUFFER_FLAG_ALLOCATE** to request that gss_wrap_iov allocate
+the buffer contents. If gss_wrap_iov allocates a buffer, it sets the
+**GSS_C_BUFFER_FLAG_ALLOCATED** flag on the buffer type.
+gss_release_iov_buffer can be used to release all allocated buffers
+within an iov list and unset their allocated flags. Here is an
+example of how gss_wrap_iov can be used with allocation requested
+(*ctx* is assumed to be a previously established gss_ctx_id_t)::
+
+ OM_uint32 major, minor;
+ gss_iov_buffer_desc iov[4];
+ char str[] = "message";
+
+ iov[0].type = GSS_IOV_BUFFER_TYPE_HEADER | GSS_IOV_BUFFER_FLAG_ALLOCATE;
+ iov[1].type = GSS_IOV_BUFFER_TYPE_DATA;
+ iov[1].buffer.value = str;
+ iov[1].buffer.length = strlen(str);
+ iov[2].type = GSS_IOV_BUFFER_TYPE_PADDING | GSS_IOV_BUFFER_FLAG_ALLOCATE;
+ iov[3].type = GSS_IOV_BUFFER_TYPE_TRAILER | GSS_IOV_BUFFER_FLAG_ALLOCATE;
+
+ major = gss_wrap_iov(&minor, ctx, 1, GSS_C_QOP_DEFAULT, NULL,
+ iov, 4);
+ if (GSS_ERROR(major))
+ handle_error(major, minor);
+
+ /* Transmit or otherwise use resulting buffers. */
+
+ (void)gss_release_iov_buffer(&minor, iov, 4);
+
+If the caller does not choose to request buffer allocation by
+gss_wrap_iov, it should first call gss_wrap_iov_length to query the
+lengths of the HEADER, PADDING, and TRAILER buffers. DATA buffers
+must be provided in the iov list so that padding length can be
+computed correctly, but the output buffers need not be initialized.
+Here is an example of using gss_wrap_iov_length and gss_wrap_iov::
+
+ OM_uint32 major, minor;
+ gss_iov_buffer_desc iov[4];
+ char str[1024] = "message", *ptr;
+
+ iov[0].type = GSS_IOV_BUFFER_TYPE_HEADER;
+ iov[1].type = GSS_IOV_BUFFER_TYPE_DATA;
+ iov[1].buffer.value = str;
+ iov[1].buffer.length = strlen(str);
+
+ iov[2].type = GSS_IOV_BUFFER_TYPE_PADDING;
+ iov[3].type = GSS_IOV_BUFFER_TYPE_TRAILER;
+
+ major = gss_wrap_iov_length(&minor, ctx, 1, GSS_C_QOP_DEFAULT,
+ NULL, iov, 4);
+ if (GSS_ERROR(major))
+ handle_error(major, minor);
+ if (strlen(str) + iov[0].buffer.length + iov[2].buffer.length +
+ iov[3].buffer.length > sizeof(str))
+ handle_out_of_space_error();
+ ptr = str + strlen(str);
+ iov[0].buffer.value = ptr;
+ ptr += iov[0].buffer.length;
+ iov[2].buffer.value = ptr;
+ ptr += iov[2].buffer.length;
+ iov[3].buffer.value = ptr;
+
+ major = gss_wrap_iov(&minor, ctx, 1, GSS_C_QOP_DEFAULT, NULL,
+ iov, 4);
+ if (GSS_ERROR(major))
+ handle_error(major, minor);
+
+If the context was established using the **GSS_C_DCE_STYLE** flag
+(described in :rfc:`4757`), wrap tokens compatible with Microsoft DCE
+RPC can be constructed. In this case, the IOV list must include a
+SIGN_ONLY buffer, a DATA buffer, a second SIGN_ONLY buffer, and a
+HEADER buffer in that order (the order of the buffer contents remains
+arbitrary). The application must pad the DATA buffer to a multiple of
+16 bytes as no padding or trailer buffer is used.
+
+gss_unwrap_iov may be called with an IOV list just like one which
+would be provided to gss_wrap_iov. DATA buffers will be decrypted
+in-place if they were encrypted, and SIGN_ONLY buffers will not be
+modified.
+
+Alternatively, gss_unwrap_iov may be called with a single STREAM
+buffer, zero or more SIGN_ONLY buffers, and a single DATA buffer. The
+STREAM buffer is interpreted as a complete wrap token. The STREAM
+buffer will be modified in-place to decrypt its contents. The DATA
+buffer will be initialized to point to the decrypted data within the
+STREAM buffer, unless it has the **GSS_C_BUFFER_FLAG_ALLOCATE** flag
+set, in which case it will be initialized with a copy of the decrypted
+data. Here is an example (*token* and *token_len* are assumed to be a
+pre-existing pointer and length for a modifiable region of data)::
+
+ OM_uint32 major, minor;
+ gss_iov_buffer_desc iov[2];
+
+ iov[0].type = GSS_IOV_BUFFER_TYPE_STREAM;
+ iov[0].buffer.value = token;
+ iov[0].buffer.length = token_len;
+ iov[1].type = GSS_IOV_BUFFER_TYPE_DATA;
+ major = gss_unwrap_iov(&minor, ctx, NULL, NULL, iov, 2);
+ if (GSS_ERROR(major))
+ handle_error(major, minor);
+
+ /* Decrypted data is in iov[1].buffer, pointing to a subregion of
+ * token. */
+
+.. _gssapi_mic_token:
+
+IOV MIC tokens
+--------------
+
+The following extensions (declared in ``<gssapi/gssapi_ext.h>``) can
+be used in release 1.12 or later to construct and verify MIC tokens
+using an IOV list::
+
+ OM_uint32 gss_get_mic_iov(OM_uint32 *minor_status,
+ gss_ctx_id_t context_handle,
+ gss_qop_t qop_req,
+ gss_iov_buffer_desc *iov,
+ int iov_count);
+
+ OM_uint32 gss_get_mic_iov_length(OM_uint32 *minor_status,
+ gss_ctx_id_t context_handle,
+ gss_qop_t qop_req,
+ gss_iov_buffer_desc *iov,
+ iov_count);
+
+ OM_uint32 gss_verify_mic_iov(OM_uint32 *minor_status,
+ gss_ctx_id_t context_handle,
+ gss_qop_t *qop_state,
+ gss_iov_buffer_desc *iov,
+ int iov_count);
+
+The caller of gss_get_mic_iov provides an array of gss_iov_buffer_desc
+structures, each containing a type and a gss_buffer_desc structure.
+Valid types include:
+
+* **GSS_C_BUFFER_TYPE_DATA** and **GSS_C_BUFFER_TYPE_SIGN_ONLY**: The
+ corresponding buffer for each of these types will be signed for the
+ MIC token, in the order provided.
+
+* **GSS_C_BUFFER_TYPE_MIC_TOKEN**: The GSSAPI MIC token.
+
+The type of the MIC_TOKEN buffer may be combined with
+**GSS_C_BUFFER_FLAG_ALLOCATE** to request that gss_get_mic_iov
+allocate the buffer contents. If gss_get_mic_iov allocates the
+buffer, it sets the **GSS_C_BUFFER_FLAG_ALLOCATED** flag on the buffer
+type. gss_release_iov_buffer can be used to release all allocated
+buffers within an iov list and unset their allocated flags. Here is
+an example of how gss_get_mic_iov can be used with allocation
+requested (*ctx* is assumed to be a previously established
+gss_ctx_id_t)::
+
+ OM_uint32 major, minor;
+ gss_iov_buffer_desc iov[3];
+
+ iov[0].type = GSS_IOV_BUFFER_TYPE_DATA;
+ iov[0].buffer.value = "sign1";
+ iov[0].buffer.length = 5;
+ iov[1].type = GSS_IOV_BUFFER_TYPE_SIGN_ONLY;
+ iov[1].buffer.value = "sign2";
+ iov[1].buffer.length = 5;
+ iov[2].type = GSS_IOV_BUFFER_TYPE_MIC_TOKEN | GSS_IOV_BUFFER_FLAG_ALLOCATE;
+
+ major = gss_get_mic_iov(&minor, ctx, GSS_C_QOP_DEFAULT, iov, 3);
+ if (GSS_ERROR(major))
+ handle_error(major, minor);
+
+ /* Transmit or otherwise use iov[2].buffer. */
+
+ (void)gss_release_iov_buffer(&minor, iov, 3);
+
+If the caller does not choose to request buffer allocation by
+gss_get_mic_iov, it should first call gss_get_mic_iov_length to query
+the length of the MIC_TOKEN buffer. Here is an example of using
+gss_get_mic_iov_length and gss_get_mic_iov::
+
+ OM_uint32 major, minor;
+ gss_iov_buffer_desc iov[2];
+ char data[1024];
+
+ iov[0].type = GSS_IOV_BUFFER_TYPE_MIC_TOKEN;
+ iov[1].type = GSS_IOV_BUFFER_TYPE_DATA;
+ iov[1].buffer.value = "message";
+ iov[1].buffer.length = 7;
+
+ major = gss_wrap_iov_length(&minor, ctx, 1, GSS_C_QOP_DEFAULT,
+ NULL, iov, 2);
+ if (GSS_ERROR(major))
+ handle_error(major, minor);
+ if (iov[0].buffer.length > sizeof(data))
+ handle_out_of_space_error();
+ iov[0].buffer.value = data;
+
+ major = gss_wrap_iov(&minor, ctx, 1, GSS_C_QOP_DEFAULT, NULL,
+ iov, 2);
+ if (GSS_ERROR(major))
+ handle_error(major, minor);
+
+
+.. _gss_accept_sec_context: http://tools.ietf.org/html/rfc2744.html#section-5.1
+.. _gss_acquire_cred: http://tools.ietf.org/html/rfc2744.html#section-5.2
+.. _gss_export_name: http://tools.ietf.org/html/rfc2744.html#section-5.13
+.. _gss_get_name_attribute: http://tools.ietf.org/html/6680.html#section-7.5
+.. _gss_import_name: http://tools.ietf.org/html/rfc2744.html#section-5.16
+.. _gss_init_sec_context: http://tools.ietf.org/html/rfc2744.html#section-5.19
+.. _gss_inquire_name: http://tools.ietf.org/html/rfc6680.txt#section-7.4
+.. _gss_inquire_cred: http://tools.ietf.org/html/rfc2744.html#section-5.21
diff --git a/doc/html/_sources/appdev/h5l_mit_apidiff.txt b/doc/html/_sources/appdev/h5l_mit_apidiff.txt
new file mode 100644
index 000000000000..0ea5e32efc28
--- /dev/null
+++ b/doc/html/_sources/appdev/h5l_mit_apidiff.txt
@@ -0,0 +1,31 @@
+Differences between Heimdal and MIT Kerberos API
+================================================
+
+.. tabularcolumns:: |l|l|
+
+.. table::
+
+ ======================================== =================================================
+ :c:func:`krb5_auth_con_getaddrs()` H5l: If either of the pointers to local_addr
+ and remote_addr is not NULL, it is freed
+ first and then reallocated before being
+ populated with the content of corresponding
+ address from authentication context.
+ :c:func:`krb5_auth_con_setaddrs()` H5l: If either address is NULL, the previous
+ address remains in place
+ :c:func:`krb5_auth_con_setports()` H5l: Not implemented as of version 1.3.3
+ :c:func:`krb5_auth_con_setrecvsubkey()` H5l: If either port is NULL, the previous
+ port remains in place
+ :c:func:`krb5_auth_con_setsendsubkey()` H5l: Not implemented as of version 1.3.3
+ :c:func:`krb5_cc_set_config()` MIT: Before version 1.10 it was assumed that
+ the last argument *data* is ALWAYS non-zero.
+ :c:func:`krb5_cccol_last_change_time()` H5l takes 3 arguments: krb5_context context,
+ const char \*type, krb5_timestamp \*change_time
+ MIT takes two arguments: krb5_context context,
+ krb5_timestamp \*change_time
+ :c:func:`krb5_set_default_realm()` H5l: Caches the computed default realm context
+ field. If the second argument is NULL,
+ it tries to retrieve it from libdefaults or DNS.
+ MIT: Computes the default realm each time
+ if it wasn't explicitly set in the context
+ ======================================== =================================================
diff --git a/doc/html/_sources/appdev/index.txt b/doc/html/_sources/appdev/index.txt
new file mode 100644
index 000000000000..3d62045ca870
--- /dev/null
+++ b/doc/html/_sources/appdev/index.txt
@@ -0,0 +1,15 @@
+For application developers
+==========================
+
+.. toctree::
+ :maxdepth: 1
+
+ gssapi.rst
+ h5l_mit_apidiff.rst
+ init_creds.rst
+ princ_handle.rst
+
+.. toctree::
+ :maxdepth: 1
+
+ refs/index.rst
diff --git a/doc/html/_sources/appdev/init_creds.txt b/doc/html/_sources/appdev/init_creds.txt
new file mode 100644
index 000000000000..5c3c0a87c5da
--- /dev/null
+++ b/doc/html/_sources/appdev/init_creds.txt
@@ -0,0 +1,304 @@
+Initial credentials
+===================
+
+Software that performs tasks such as logging users into a computer
+when they type their Kerberos password needs to get initial
+credentials (usually ticket granting tickets) from Kerberos. Such
+software shares some behavior with the :ref:`kinit(1)` program.
+
+Whenever a program grants access to a resource (such as a local login
+session on a desktop computer) based on a user successfully getting
+initial Kerberos credentials, it must verify those credentials against
+a secure shared secret (e.g., a host keytab) to ensure that the user
+credentials actually originate from a legitimate KDC. Failure to
+perform this verification is a critical vulnerability, because a
+malicious user can execute the "Zanarotti attack": the user constructs
+a fake response that appears to come from the legitimate KDC, but
+whose contents come from an attacker-controlled KDC.
+
+Some applications read a Kerberos password over the network (ideally
+over a secure channel), which they then verify against the KDC. While
+this technique may be the only practical way to integrate Kerberos
+into some existing legacy systems, its use is contrary to the original
+design goals of Kerberos.
+
+The function :c:func:`krb5_get_init_creds_password` will get initial
+credentials for a client using a password. An application that needs
+to verify the credentials can call :c:func:`krb5_verify_init_creds`.
+Here is an example of code to obtain and verify TGT credentials, given
+strings *princname* and *password* for the client principal name and
+password::
+
+ krb5_error_code ret;
+ krb5_creds creds;
+ krb5_principal client_princ = NULL;
+
+ memset(&creds, 0, sizeof(creds));
+ ret = krb5_parse_name(context, princname, &client_princ);
+ if (ret)
+ goto cleanup;
+ ret = krb5_get_init_creds_password(context, &creds, client_princ,
+ password, NULL, NULL, 0, NULL, NULL);
+ if (ret)
+ goto cleanup;
+ ret = krb5_verify_init_creds(context, &creds, NULL, NULL, NULL, NULL);
+
+ cleanup:
+ krb5_free_principal(context, client_princ);
+ krb5_free_cred_contents(context, &creds);
+ return ret;
+
+Options for get_init_creds
+--------------------------
+
+The function :c:func:`krb5_get_init_creds_password` takes an options
+parameter (which can be a null pointer). Use the function
+:c:func:`krb5_get_init_creds_opt_alloc` to allocate an options
+structure, and :c:func:`krb5_get_init_creds_opt_free` to free it. For
+example::
+
+ krb5_error_code ret;
+ krb5_get_init_creds_opt *opt = NULL;
+ krb5_creds creds;
+
+ memset(&creds, 0, sizeof(creds));
+ ret = krb5_get_init_creds_opt_alloc(context, &opt);
+ if (ret)
+ goto cleanup;
+ krb5_get_init_creds_opt_set_tkt_life(opt, 24 * 60 * 60);
+ ret = krb5_get_init_creds_password(context, &creds, client_princ,
+ password, NULL, NULL, 0, NULL, opt);
+ if (ret)
+ goto cleanup;
+
+ cleanup:
+ krb5_get_init_creds_opt_free(context, opt);
+ krb5_free_cred_contents(context, &creds);
+ return ret;
+
+Getting anonymous credentials
+-----------------------------
+
+As of release 1.8, it is possible to obtain fully anonymous or
+partially anonymous (realm-exposed) credentials, if the KDC supports
+it. The MIT KDC supports issuing fully anonymous credentials as of
+release 1.8 if configured appropriately (see :ref:`anonymous_pkinit`),
+but does not support issuing realm-exposed anonymous credentials at
+this time.
+
+To obtain fully anonymous credentials, call
+:c:func:`krb5_get_init_creds_opt_set_anonymous` on the options
+structure to set the anonymous flag, and specify a client principal
+with the KDC's realm and a single empty data component (the principal
+obtained by parsing ``@``\ *realmname*). Authentication will take
+place using anonymous PKINIT; if successful, the client principal of
+the resulting tickets will be
+``WELLKNOWN/ANONYMOUS@WELLKNOWN:ANONYMOUS``. Here is an example::
+
+ krb5_get_init_creds_opt_set_anonymous(opt, 1);
+ ret = krb5_build_principal(context, &client_princ, strlen(myrealm),
+ myrealm, "", (char *)NULL);
+ if (ret)
+ goto cleanup;
+ ret = krb5_get_init_creds_password(context, &creds, client_princ,
+ password, NULL, NULL, 0, NULL, opt);
+ if (ret)
+ goto cleanup;
+
+To obtain realm-exposed anonymous credentials, set the anonymous flag
+on the options structure as above, but specify a normal client
+principal in order to prove membership in the realm. Authentication
+will take place as it normally does; if successful, the client
+principal of the resulting tickets will be ``WELLKNOWN/ANONYMOUS@``\
+*realmname*.
+
+User interaction
+----------------
+
+Authenticating a user usually requires the entry of secret
+information, such as a password. A password can be supplied directly
+to :c:func:`krb5_get_init_creds_password` via the *password*
+parameter, or the application can supply prompter and/or responder
+callbacks instead. If callbacks are used, the user can also be
+queried for other secret information such as a PIN, informed of
+impending password expiration, or prompted to change a password which
+has expired.
+
+Prompter callback
+~~~~~~~~~~~~~~~~~
+
+A prompter callback can be specified via the *prompter* and *data*
+parameters to :c:func:`krb5_get_init_creds_password`. The prompter
+will be invoked each time the krb5 library has a question to ask or
+information to present. When the prompter callback is invoked, the
+*banner* argument (if not null) is intended to be displayed to the
+user, and the questions to be answered are specified in the *prompts*
+array. Each prompt contains a text question in the *prompt* field, a
+*hidden* bit to indicate whether the answer should be hidden from
+display, and a storage area for the answer in the *reply* field. The
+callback should fill in each question's ``reply->data`` with the
+answer, up to a maximum number of ``reply->length`` bytes, and then
+reset ``reply->length`` to the length of the answer.
+
+A prompter callback can call :c:func:`krb5_get_prompt_types` to get an
+array of type constants corresponding to the prompts, to get
+programmatic information about the semantic meaning of the questions.
+:c:func:`krb5_get_prompt_types` may return a null pointer if no prompt
+type information is available.
+
+Text-based applications can use a built-in text prompter
+implementation by supplying :c:func:`krb5_prompter_posix` as the
+*prompter* parameter and a null pointer as the *data* parameter. For
+example::
+
+ ret = krb5_get_init_creds_password(context, &creds, client_princ,
+ NULL, krb5_prompter_posix, NULL, 0,
+ NULL, NULL);
+
+Responder callback
+~~~~~~~~~~~~~~~~~~
+
+A responder callback can be specified through the init_creds options
+using the :c:func:`krb5_get_init_creds_opt_set_responder` function.
+Responder callbacks can present a more sophisticated user interface
+for authentication secrets. The responder callback is usually invoked
+only once per authentication, with a list of questions produced by all
+of the allowed preauthentication mechanisms.
+
+When the responder callback is invoked, the *rctx* argument can be
+accessed to obtain the list of questions and to answer them. The
+:c:func:`krb5_responder_list_questions` function retrieves an array of
+question types. For each question type, the
+:c:func:`krb5_responder_get_challenge` function retrieves additional
+information about the question, if applicable, and the
+:c:func:`krb5_responder_set_answer` function sets the answer.
+
+Responder question types, challenges, and answers are UTF-8 strings.
+The question type is a well-known string; the meaning of the challenge
+and answer depend on the question type. If an application does not
+understand a question type, it cannot interpret the challenge or
+provide an answer. Failing to answer a question typically results in
+the prompter callback being used as a fallback.
+
+Password question
+#################
+
+The :c:macro:`KRB5_RESPONDER_QUESTION_PASSWORD` (or ``"password"``)
+question type requests the user's password. This question does not
+have a challenge, and the response is simply the password string.
+
+One-time password question
+##########################
+
+The :c:macro:`KRB5_RESPONDER_QUESTION_OTP` (or ``"otp"``) question
+type requests a choice among one-time password tokens and the PIN and
+value for the chosen token. The challenge and answer are JSON-encoded
+strings, but an application can use convenience functions to avoid
+doing any JSON processing itself.
+
+The :c:func:`krb5_responder_otp_get_challenge` function decodes the
+challenge into a krb5_responder_otp_challenge structure. The
+:c:func:`krb5_responder_otp_set_answer` function selects one of the
+token information elements from the challenge and supplies the value
+and pin for that token.
+
+PKINIT password or PIN question
+###############################
+
+The :c:macro:`KRB5_RESPONDER_QUESTION_PKINIT` (or ``"pkinit"``) question
+type requests PINs for hardware devices and/or passwords for encrypted
+credentials which are stored on disk, potentially also supplying
+information about the state of the hardware devices. The challenge and
+answer are JSON-encoded strings, but an application can use convenience
+functions to avoid doing any JSON processing itself.
+
+The :c:func:`krb5_responder_pkinit_get_challenge` function decodes the
+challenges into a krb5_responder_pkinit_challenge structure. The
+:c:func:`krb5_responder_pkinit_set_answer` function can be used to
+supply the PIN or password for a particular client credential, and can
+be called multiple times.
+
+Example
+#######
+
+Here is an example of using a responder callback::
+
+ static krb5_error_code
+ my_responder(krb5_context context, void *data,
+ krb5_responder_context rctx)
+ {
+ krb5_error_code ret;
+ krb5_responder_otp_challenge *chl;
+
+ if (krb5_responder_get_challenge(context, rctx,
+ KRB5_RESPONDER_QUESTION_PASSWORD)) {
+ ret = krb5_responder_set_answer(context, rctx,
+ KRB5_RESPONDER_QUESTION_PASSWORD,
+ "open sesame");
+ if (ret)
+ return ret;
+ }
+ ret = krb5_responder_otp_get_challenge(context, rctx, &chl);
+ if (ret == 0 && chl != NULL) {
+ ret = krb5_responder_otp_set_answer(context, rctx, 0, "1234",
+ NULL);
+ krb5_responder_otp_challenge_free(context, rctx, chl);
+ if (ret)
+ return ret;
+ }
+ return 0;
+ }
+
+ static krb5_error_code
+ get_creds(krb5_context context, krb5_principal client_princ)
+ {
+ krb5_error_code ret;
+ krb5_get_init_creds_opt *opt = NULL;
+ krb5_creds creds;
+
+ memset(&creds, 0, sizeof(creds));
+ ret = krb5_get_init_creds_opt_alloc(context, &opt);
+ if (ret)
+ goto cleanup;
+ ret = krb5_get_init_creds_opt_set_responder(context, opt, my_responder,
+ NULL);
+ if (ret)
+ goto cleanup;
+ ret = krb5_get_init_creds_password(context, &creds, client_princ,
+ NULL, NULL, NULL, 0, NULL, opt);
+
+ cleanup:
+ krb5_get_init_creds_opt_free(context, opt);
+ krb5_free_cred_contents(context, &creds);
+ return ret;
+ }
+
+Verifying initial credentials
+-----------------------------
+
+Use the function :c:func:`krb5_verify_init_creds` to verify initial
+credentials. It takes an options structure (which can be a null
+pointer). Use :c:func:`krb5_verify_init_creds_opt_init` to initialize
+the caller-allocated options structure, and
+:c:func:`krb5_verify_init_creds_opt_set_ap_req_nofail` to set the
+"nofail" option. For example::
+
+ krb5_verify_init_creds_opt vopt;
+
+ krb5_verify_init_creds_opt_init(&vopt);
+ krb5_verify_init_creds_opt_set_ap_req_nofail(&vopt, 1);
+ ret = krb5_verify_init_creds(context, &creds, NULL, NULL, NULL, &vopt);
+
+The confusingly named "nofail" option, when set, means that the
+verification must actually succeed in order for
+:c:func:`krb5_verify_init_creds` to indicate success. The default
+state of this option (cleared) means that if there is no key material
+available to verify the user credentials, the verification will
+succeed anyway. (The default can be changed by a configuration file
+setting.)
+
+This accommodates a use case where a large number of unkeyed shared
+desktop workstations need to allow users to log in using Kerberos.
+The security risks from this practice are mitigated by the absence of
+valuable state on the shared workstations---any valuable resources
+that the users would access reside on networked servers.
diff --git a/doc/html/_sources/appdev/princ_handle.txt b/doc/html/_sources/appdev/princ_handle.txt
new file mode 100644
index 000000000000..455f00a4b6e7
--- /dev/null
+++ b/doc/html/_sources/appdev/princ_handle.txt
@@ -0,0 +1,79 @@
+Principal manipulation and parsing
+==================================
+
+Kerberos principal structure
+
+..
+
+:c:type:`krb5_principal_data`
+
+:c:type:`krb5_principal`
+
+..
+
+Create and free principal
+
+..
+
+:c:func:`krb5_build_principal()`
+
+:c:func:`krb5_build_principal_alloc_va()`
+
+:c:func:`krb5_build_principal_ext()`
+
+:c:func:`krb5_copy_principal()`
+
+:c:func:`krb5_free_principal()`
+
+:c:func:`krb5_cc_get_principal()`
+
+..
+
+Comparing
+
+..
+
+:c:func:`krb5_principal_compare()`
+
+:c:func:`krb5_principal_compare_flags()`
+
+:c:func:`krb5_principal_compare_any_realm()`
+
+:c:func:`krb5_sname_match()`
+
+:c:func:`krb5_sname_to_principal()`
+
+..
+
+
+Parsing:
+
+..
+
+:c:func:`krb5_parse_name()`
+
+:c:func:`krb5_parse_name_flags()`
+
+:c:func:`krb5_unparse_name()`
+
+:c:func:`krb5_unparse_name_flags()`
+
+..
+
+Utilities:
+
+..
+
+:c:func:`krb5_is_config_principal()`
+
+:c:func:`krb5_kuserok()`
+
+:c:func:`krb5_set_password()`
+
+:c:func:`krb5_set_password_using_ccache()`
+
+:c:func:`krb5_set_principal_realm()`
+
+:c:func:`krb5_realm_compare()`
+
+..
diff --git a/doc/html/_sources/appdev/refs/api/index.txt b/doc/html/_sources/appdev/refs/api/index.txt
new file mode 100644
index 000000000000..f2f27fe72ea2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/index.txt
@@ -0,0 +1,411 @@
+krb5 API
+========
+
+
+Frequently used public interfaces
+----------------------------------
+
+.. toctree::
+ :maxdepth: 1
+
+ krb5_build_principal.rst
+ krb5_build_principal_alloc_va.rst
+ krb5_build_principal_ext.rst
+ krb5_cc_close.rst
+ krb5_cc_default.rst
+ krb5_cc_default_name.rst
+ krb5_cc_destroy.rst
+ krb5_cc_dup.rst
+ krb5_cc_get_name.rst
+ krb5_cc_get_principal.rst
+ krb5_cc_get_type.rst
+ krb5_cc_initialize.rst
+ krb5_cc_new_unique.rst
+ krb5_cc_resolve.rst
+ krb5_change_password.rst
+ krb5_chpw_message.rst
+ krb5_expand_hostname.rst
+ krb5_free_context.rst
+ krb5_free_error_message.rst
+ krb5_free_principal.rst
+ krb5_fwd_tgt_creds.rst
+ krb5_get_default_realm.rst
+ krb5_get_error_message.rst
+ krb5_get_host_realm.rst
+ krb5_get_credentials.rst
+ krb5_get_fallback_host_realm.rst
+ krb5_get_init_creds_keytab.rst
+ krb5_get_init_creds_opt_alloc.rst
+ krb5_get_init_creds_opt_free.rst
+ krb5_get_init_creds_opt_get_fast_flags.rst
+ krb5_get_init_creds_opt_set_address_list.rst
+ krb5_get_init_creds_opt_set_anonymous.rst
+ krb5_get_init_creds_opt_set_canonicalize.rst
+ krb5_get_init_creds_opt_set_change_password_prompt.rst
+ krb5_get_init_creds_opt_set_etype_list.rst
+ krb5_get_init_creds_opt_set_expire_callback.rst
+ krb5_get_init_creds_opt_set_fast_ccache.rst
+ krb5_get_init_creds_opt_set_fast_ccache_name.rst
+ krb5_get_init_creds_opt_set_fast_flags.rst
+ krb5_get_init_creds_opt_set_forwardable.rst
+ krb5_get_init_creds_opt_set_in_ccache.rst
+ krb5_get_init_creds_opt_set_out_ccache.rst
+ krb5_get_init_creds_opt_set_pa.rst
+ krb5_get_init_creds_opt_set_pac_request.rst
+ krb5_get_init_creds_opt_set_preauth_list.rst
+ krb5_get_init_creds_opt_set_proxiable.rst
+ krb5_get_init_creds_opt_set_renew_life.rst
+ krb5_get_init_creds_opt_set_responder.rst
+ krb5_get_init_creds_opt_set_salt.rst
+ krb5_get_init_creds_opt_set_tkt_life.rst
+ krb5_get_init_creds_password.rst
+ krb5_get_profile.rst
+ krb5_get_prompt_types.rst
+ krb5_get_renewed_creds.rst
+ krb5_get_validated_creds.rst
+ krb5_init_context.rst
+ krb5_init_secure_context.rst
+ krb5_is_config_principal.rst
+ krb5_is_thread_safe.rst
+ krb5_kt_close.rst
+ krb5_kt_client_default.rst
+ krb5_kt_default.rst
+ krb5_kt_default_name.rst
+ krb5_kt_dup.rst
+ krb5_kt_get_name.rst
+ krb5_kt_get_type.rst
+ krb5_kt_resolve.rst
+ krb5_kuserok.rst
+ krb5_parse_name.rst
+ krb5_parse_name_flags.rst
+ krb5_principal_compare.rst
+ krb5_principal_compare_any_realm.rst
+ krb5_principal_compare_flags.rst
+ krb5_prompter_posix.rst
+ krb5_realm_compare.rst
+ krb5_responder_get_challenge.rst
+ krb5_responder_list_questions.rst
+ krb5_responder_set_answer.rst
+ krb5_responder_otp_get_challenge.rst
+ krb5_responder_otp_set_answer.rst
+ krb5_responder_otp_challenge_free.rst
+ krb5_responder_pkinit_get_challenge.rst
+ krb5_responder_pkinit_set_answer.rst
+ krb5_responder_pkinit_challenge_free.rst
+ krb5_set_default_realm.rst
+ krb5_set_password.rst
+ krb5_set_password_using_ccache.rst
+ krb5_set_principal_realm.rst
+ krb5_set_trace_callback.rst
+ krb5_set_trace_filename.rst
+ krb5_sname_match.rst
+ krb5_sname_to_principal.rst
+ krb5_unparse_name.rst
+ krb5_unparse_name_ext.rst
+ krb5_unparse_name_flags.rst
+ krb5_unparse_name_flags_ext.rst
+ krb5_us_timeofday.rst
+ krb5_verify_authdata_kdc_issued.rst
+
+Rarely used public interfaces
+--------------------------------
+
+.. toctree::
+ :maxdepth: 1
+
+ krb5_425_conv_principal.rst
+ krb5_524_conv_principal.rst
+ krb5_address_compare.rst
+ krb5_address_order.rst
+ krb5_address_search.rst
+ krb5_allow_weak_crypto.rst
+ krb5_aname_to_localname.rst
+ krb5_anonymous_principal.rst
+ krb5_anonymous_realm.rst
+ krb5_appdefault_boolean.rst
+ krb5_appdefault_string.rst
+ krb5_auth_con_free.rst
+ krb5_auth_con_genaddrs.rst
+ krb5_auth_con_get_checksum_func.rst
+ krb5_auth_con_getaddrs.rst
+ krb5_auth_con_getauthenticator.rst
+ krb5_auth_con_getflags.rst
+ krb5_auth_con_getkey.rst
+ krb5_auth_con_getkey_k.rst
+ krb5_auth_con_getlocalseqnumber.rst
+ krb5_auth_con_getrcache.rst
+ krb5_auth_con_getrecvsubkey.rst
+ krb5_auth_con_getrecvsubkey_k.rst
+ krb5_auth_con_getremoteseqnumber.rst
+ krb5_auth_con_getsendsubkey.rst
+ krb5_auth_con_getsendsubkey_k.rst
+ krb5_auth_con_init.rst
+ krb5_auth_con_set_checksum_func.rst
+ krb5_auth_con_set_req_cksumtype.rst
+ krb5_auth_con_setaddrs.rst
+ krb5_auth_con_setflags.rst
+ krb5_auth_con_setports.rst
+ krb5_auth_con_setrcache.rst
+ krb5_auth_con_setrecvsubkey.rst
+ krb5_auth_con_setrecvsubkey_k.rst
+ krb5_auth_con_setsendsubkey.rst
+ krb5_auth_con_setsendsubkey_k.rst
+ krb5_auth_con_setuseruserkey.rst
+ krb5_cc_cache_match.rst
+ krb5_cc_copy_creds.rst
+ krb5_cc_end_seq_get.rst
+ krb5_cc_get_config.rst
+ krb5_cc_get_flags.rst
+ krb5_cc_get_full_name.rst
+ krb5_cc_last_change_time.rst
+ krb5_cc_lock.rst
+ krb5_cc_move.rst
+ krb5_cc_next_cred.rst
+ krb5_cc_remove_cred.rst
+ krb5_cc_retrieve_cred.rst
+ krb5_cc_select.rst
+ krb5_cc_set_config.rst
+ krb5_cc_set_default_name.rst
+ krb5_cc_set_flags.rst
+ krb5_cc_start_seq_get.rst
+ krb5_cc_store_cred.rst
+ krb5_cc_support_switch.rst
+ krb5_cc_switch.rst
+ krb5_cc_unlock.rst
+ krb5_cccol_cursor_free.rst
+ krb5_cccol_cursor_new.rst
+ krb5_cccol_cursor_next.rst
+ krb5_cccol_have_content.rst
+ krb5_cccol_last_change_time.rst
+ krb5_cccol_lock.rst
+ krb5_cccol_unlock.rst
+ krb5_clear_error_message.rst
+ krb5_check_clockskew.rst
+ krb5_copy_addresses.rst
+ krb5_copy_authdata.rst
+ krb5_copy_authenticator.rst
+ krb5_copy_checksum.rst
+ krb5_copy_context.rst
+ krb5_copy_creds.rst
+ krb5_copy_data.rst
+ krb5_copy_error_message.rst
+ krb5_copy_keyblock.rst
+ krb5_copy_keyblock_contents.rst
+ krb5_copy_principal.rst
+ krb5_copy_ticket.rst
+ krb5_find_authdata.rst
+ krb5_free_addresses.rst
+ krb5_free_ap_rep_enc_part.rst
+ krb5_free_authdata.rst
+ krb5_free_authenticator.rst
+ krb5_free_cred_contents.rst
+ krb5_free_creds.rst
+ krb5_free_data.rst
+ krb5_free_data_contents.rst
+ krb5_free_default_realm.rst
+ krb5_free_enctypes.rst
+ krb5_free_error.rst
+ krb5_free_host_realm.rst
+ krb5_free_keyblock.rst
+ krb5_free_keyblock_contents.rst
+ krb5_free_keytab_entry_contents.rst
+ krb5_free_string.rst
+ krb5_free_ticket.rst
+ krb5_free_unparsed_name.rst
+ krb5_get_permitted_enctypes.rst
+ krb5_get_server_rcache.rst
+ krb5_get_time_offsets.rst
+ krb5_init_context_profile.rst
+ krb5_init_creds_free.rst
+ krb5_init_creds_get.rst
+ krb5_init_creds_get_creds.rst
+ krb5_init_creds_get_error.rst
+ krb5_init_creds_get_times.rst
+ krb5_init_creds_init.rst
+ krb5_init_creds_set_keytab.rst
+ krb5_init_creds_set_password.rst
+ krb5_init_creds_set_service.rst
+ krb5_init_creds_step.rst
+ krb5_init_keyblock.rst
+ krb5_is_referral_realm.rst
+ krb5_kt_add_entry.rst
+ krb5_kt_end_seq_get.rst
+ krb5_kt_get_entry.rst
+ krb5_kt_have_content.rst
+ krb5_kt_next_entry.rst
+ krb5_kt_read_service_key.rst
+ krb5_kt_remove_entry.rst
+ krb5_kt_start_seq_get.rst
+ krb5_make_authdata_kdc_issued.rst
+ krb5_merge_authdata.rst
+ krb5_mk_1cred.rst
+ krb5_mk_error.rst
+ krb5_mk_ncred.rst
+ krb5_mk_priv.rst
+ krb5_mk_rep.rst
+ krb5_mk_rep_dce.rst
+ krb5_mk_req.rst
+ krb5_mk_req_extended.rst
+ krb5_mk_safe.rst
+ krb5_os_localaddr.rst
+ krb5_pac_add_buffer.rst
+ krb5_pac_free.rst
+ krb5_pac_get_buffer.rst
+ krb5_pac_get_types.rst
+ krb5_pac_init.rst
+ krb5_pac_parse.rst
+ krb5_pac_sign.rst
+ krb5_pac_verify.rst
+ krb5_prepend_error_message.rst
+ krb5_principal2salt.rst
+ krb5_rd_cred.rst
+ krb5_rd_error.rst
+ krb5_rd_priv.rst
+ krb5_rd_rep.rst
+ krb5_rd_rep_dce.rst
+ krb5_rd_req.rst
+ krb5_rd_safe.rst
+ krb5_read_password.rst
+ krb5_salttype_to_string.rst
+ krb5_server_decrypt_ticket_keytab.rst
+ krb5_set_default_tgs_enctypes.rst
+ krb5_set_error_message.rst
+ krb5_set_kdc_recv_hook.rst
+ krb5_set_kdc_send_hook.rst
+ krb5_set_real_time.rst
+ krb5_string_to_cksumtype.rst
+ krb5_string_to_deltat.rst
+ krb5_string_to_enctype.rst
+ krb5_string_to_salttype.rst
+ krb5_string_to_timestamp.rst
+ krb5_timeofday.rst
+ krb5_timestamp_to_sfstring.rst
+ krb5_timestamp_to_string.rst
+ krb5_tkt_creds_free.rst
+ krb5_tkt_creds_get.rst
+ krb5_tkt_creds_get_creds.rst
+ krb5_tkt_creds_get_times.rst
+ krb5_tkt_creds_init.rst
+ krb5_tkt_creds_step.rst
+ krb5_verify_init_creds.rst
+ krb5_verify_init_creds_opt_init.rst
+ krb5_verify_init_creds_opt_set_ap_req_nofail.rst
+ krb5_vprepend_error_message.rst
+ krb5_vset_error_message.rst
+ krb5_vwrap_error_message.rst
+ krb5_wrap_error_message.rst
+
+
+Public interfaces that should not be called directly
+-------------------------------------------------------
+
+.. toctree::
+ :maxdepth: 1
+
+ krb5_c_block_size.rst
+ krb5_c_checksum_length.rst
+ krb5_c_crypto_length.rst
+ krb5_c_crypto_length_iov.rst
+ krb5_c_decrypt.rst
+ krb5_c_decrypt_iov.rst
+ krb5_c_derive_prfplus.rst
+ krb5_c_encrypt.rst
+ krb5_c_encrypt_iov.rst
+ krb5_c_encrypt_length.rst
+ krb5_c_enctype_compare.rst
+ krb5_c_free_state.rst
+ krb5_c_fx_cf2_simple.rst
+ krb5_c_init_state.rst
+ krb5_c_is_coll_proof_cksum.rst
+ krb5_c_is_keyed_cksum.rst
+ krb5_c_keyed_checksum_types.rst
+ krb5_c_keylengths.rst
+ krb5_c_make_checksum.rst
+ krb5_c_make_checksum_iov.rst
+ krb5_c_make_random_key.rst
+ krb5_c_padding_length.rst
+ krb5_c_prf.rst
+ krb5_c_prfplus.rst
+ krb5_c_prf_length.rst
+ krb5_c_random_add_entropy.rst
+ krb5_c_random_make_octets.rst
+ krb5_c_random_os_entropy.rst
+ krb5_c_random_to_key.rst
+ krb5_c_string_to_key.rst
+ krb5_c_string_to_key_with_params.rst
+ krb5_c_valid_cksumtype.rst
+ krb5_c_valid_enctype.rst
+ krb5_c_verify_checksum.rst
+ krb5_c_verify_checksum_iov.rst
+ krb5_cksumtype_to_string.rst
+ krb5_decode_authdata_container.rst
+ krb5_decode_ticket.rst
+ krb5_deltat_to_string.rst
+ krb5_encode_authdata_container.rst
+ krb5_enctype_to_name.rst
+ krb5_enctype_to_string.rst
+ krb5_free_checksum.rst
+ krb5_free_checksum_contents.rst
+ krb5_free_cksumtypes.rst
+ krb5_free_tgt_creds.rst
+ krb5_k_create_key.rst
+ krb5_k_decrypt.rst
+ krb5_k_decrypt_iov.rst
+ krb5_k_encrypt.rst
+ krb5_k_encrypt_iov.rst
+ krb5_k_free_key.rst
+ krb5_k_key_enctype.rst
+ krb5_k_key_keyblock.rst
+ krb5_k_make_checksum.rst
+ krb5_k_make_checksum_iov.rst
+ krb5_k_prf.rst
+ krb5_k_reference_key.rst
+ krb5_k_verify_checksum.rst
+ krb5_k_verify_checksum_iov.rst
+
+
+Legacy convenience interfaces
+------------------------------
+
+.. toctree::
+ :maxdepth: 1
+
+ krb5_recvauth.rst
+ krb5_recvauth_version.rst
+ krb5_sendauth.rst
+
+
+Deprecated public interfaces
+------------------------------
+
+.. toctree::
+ :maxdepth: 1
+
+ krb5_524_convert_creds.rst
+ krb5_auth_con_getlocalsubkey.rst
+ krb5_auth_con_getremotesubkey.rst
+ krb5_auth_con_initivector.rst
+ krb5_build_principal_va.rst
+ krb5_c_random_seed.rst
+ krb5_calculate_checksum.rst
+ krb5_checksum_size.rst
+ krb5_encrypt.rst
+ krb5_decrypt.rst
+ krb5_eblock_enctype.rst
+ krb5_encrypt_size.rst
+ krb5_finish_key.rst
+ krb5_finish_random_key.rst
+ krb5_cc_gen_new.rst
+ krb5_get_credentials_renew.rst
+ krb5_get_credentials_validate.rst
+ krb5_get_in_tkt_with_password.rst
+ krb5_get_in_tkt_with_skey.rst
+ krb5_get_in_tkt_with_keytab.rst
+ krb5_get_init_creds_opt_init.rst
+ krb5_init_random_key.rst
+ krb5_kt_free_entry.rst
+ krb5_random_key.rst
+ krb5_process_key.rst
+ krb5_string_to_key.rst
+ krb5_use_enctype.rst
+ krb5_verify_checksum.rst
diff --git a/doc/html/_sources/appdev/refs/api/krb5_425_conv_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_425_conv_principal.txt
new file mode 100644
index 000000000000..c6b68270e296
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_425_conv_principal.txt
@@ -0,0 +1,59 @@
+krb5_425_conv_principal - Convert a Kerberos V4 principal to a Kerberos V5 principal.
+=======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_425_conv_principal(krb5_context context, const char * name, const char * instance, const char * realm, krb5_principal * princ)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **name** - V4 name
+
+ **[in]** **instance** - V4 instance
+
+ **[in]** **realm** - Realm
+
+ **[out]** **princ** - V5 principal
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function builds a *princ* from V4 specification based on given input *name.instance@realm* .
+
+
+
+Use :c:func:`krb5_free_principal()` to free *princ* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_524_conv_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_524_conv_principal.txt
new file mode 100644
index 000000000000..14b2fc10137e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_524_conv_principal.txt
@@ -0,0 +1,60 @@
+krb5_524_conv_principal - Convert a Kerberos V5 principal to a Kerberos V4 principal.
+=======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_524_conv_principal(krb5_context context, krb5_const_principal princ, char * name, char * inst, char * realm)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **princ** - V5 Principal
+
+ **[out]** **name** - V4 principal's name to be filled in
+
+ **[out]** **inst** - V4 principal's instance name to be filled in
+
+ **[out]** **realm** - Principal's realm name to be filled in
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5_INVALID_PRINCIPAL Invalid principal name
+ - KRB5_CONFIG_CANTOPEN Can't open or find Kerberos configuration file
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function separates a V5 principal *princ* into *name* , *instance* , and *realm* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_524_convert_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_524_convert_creds.txt
new file mode 100644
index 000000000000..f8d96f0da7a1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_524_convert_creds.txt
@@ -0,0 +1,55 @@
+krb5_524_convert_creds - Convert a Kerberos V5 credentials to a Kerberos V4 credentials.
+==========================================================================================
+
+..
+
+.. c:function:: int krb5_524_convert_creds(krb5_context context, krb5_creds * v5creds, struct credentials * v4creds)
+
+..
+
+
+:param:
+
+ **context**
+
+ **v5creds**
+
+ **v4creds**
+
+
+..
+
+
+:retval:
+ - KRB524_KRB4_DISABLED (always)
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ Not implemented
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_address_compare.txt b/doc/html/_sources/appdev/refs/api/krb5_address_compare.txt
new file mode 100644
index 000000000000..7665fc705c2e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_address_compare.txt
@@ -0,0 +1,47 @@
+krb5_address_compare - Compare two Kerberos addresses.
+========================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_address_compare(krb5_context context, const krb5_address * addr1, const krb5_address * addr2)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **addr1** - First address to be compared
+
+ **[in]** **addr2** - Second address to be compared
+
+
+..
+
+
+
+:return:
+ - TRUE if the addresses are the same, FALSE otherwise
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_address_order.txt b/doc/html/_sources/appdev/refs/api/krb5_address_order.txt
new file mode 100644
index 000000000000..6d344ccf2e5a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_address_order.txt
@@ -0,0 +1,49 @@
+krb5_address_order - Return an ordering of the specified addresses.
+=====================================================================
+
+..
+
+.. c:function:: int krb5_address_order(krb5_context context, const krb5_address * addr1, const krb5_address * addr2)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **addr1** - First address
+
+ **[in]** **addr2** - Second address
+
+
+..
+
+
+:retval:
+ - 0 The two addresses are the same
+ - \< 0 First address is less than second
+ - \> 0 First address is greater than second
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_address_search.txt b/doc/html/_sources/appdev/refs/api/krb5_address_search.txt
new file mode 100644
index 000000000000..2bc68c490111
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_address_search.txt
@@ -0,0 +1,55 @@
+krb5_address_search - Search a list of addresses for a specified address.
+===========================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_address_search(krb5_context context, const krb5_address * addr, krb5_address *const * addrlist)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **addr** - Address to search for
+
+ **[in]** **addrlist** - Address list to be searched (or NULL)
+
+
+..
+
+
+
+:return:
+ - TRUE if addr is listed in addrlist , or addrlist is NULL; FALSE otherwise
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If *addrlist* contains only a NetBIOS addresses, it will be treated as a null list.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_allow_weak_crypto.txt b/doc/html/_sources/appdev/refs/api/krb5_allow_weak_crypto.txt
new file mode 100644
index 000000000000..f81d5040fb2c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_allow_weak_crypto.txt
@@ -0,0 +1,49 @@
+krb5_allow_weak_crypto - Allow the appplication to override the profile's allow_weak_crypto setting.
+======================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_allow_weak_crypto(krb5_context context, krb5_boolean enable)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enable** - Boolean flag
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+This function allows an application to override the allow_weak_crypto setting. It is primarily for use by aklog.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_aname_to_localname.txt b/doc/html/_sources/appdev/refs/api/krb5_aname_to_localname.txt
new file mode 100644
index 000000000000..c6162940839d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_aname_to_localname.txt
@@ -0,0 +1,61 @@
+krb5_aname_to_localname - Convert a principal name to a local name.
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_aname_to_localname(krb5_context context, krb5_const_principal aname, int lnsize_in, char * lname)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **aname** - Principal name
+
+ **[in]** **lnsize_in** - Space available in *lname*
+
+ **[out]** **lname** - Local name buffer to be filled in
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - System errors
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+If *aname* does not correspond to any local account, KRB5_LNAME_NOTRANS is returned. If *lnsize_in* is too small for the local name, KRB5_CONFIG_NOTENUFSPACE is returned.
+
+
+
+Local names, rather than principal names, can be used by programs that translate to an environment-specific name (for example, a user account name).
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_anonymous_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_anonymous_principal.txt
new file mode 100644
index 000000000000..4de5547b10dd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_anonymous_principal.txt
@@ -0,0 +1,47 @@
+krb5_anonymous_principal - Build an anonymous principal.
+==========================================================
+
+..
+
+.. c:function:: krb5_const_principal krb5_anonymous_principal(void None)
+
+..
+
+
+:param:
+
+ **None**
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function returns constant storage that must not be freed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :data:`KRB5_ANONYMOUS_PRINCSTR`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_anonymous_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_anonymous_realm.txt
new file mode 100644
index 000000000000..b8366abb426a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_anonymous_realm.txt
@@ -0,0 +1,47 @@
+krb5_anonymous_realm - Return an anonymous realm data.
+========================================================
+
+..
+
+.. c:function:: const krb5_data * krb5_anonymous_realm(void None)
+
+..
+
+
+:param:
+
+ **None**
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function returns constant storage that must not be freed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :data:`KRB5_ANONYMOUS_REALMSTR`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_appdefault_boolean.txt b/doc/html/_sources/appdev/refs/api/krb5_appdefault_boolean.txt
new file mode 100644
index 000000000000..e1643411340b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_appdefault_boolean.txt
@@ -0,0 +1,57 @@
+krb5_appdefault_boolean - Retrieve a boolean value from the appdefaults section of krb5.conf.
+===============================================================================================
+
+..
+
+.. c:function:: void krb5_appdefault_boolean(krb5_context context, const char * appname, const krb5_data * realm, const char * option, int default_value, int * ret_value)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **appname** - Application name
+
+ **[in]** **realm** - Realm name
+
+ **[in]** **option** - Option to be checked
+
+ **[in]** **default_value** - Default value to return if no match is found
+
+ **[out]** **ret_value** - Boolean value of *option*
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function gets the application defaults for *option* based on the given *appname* and/or *realm* .
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_appdefault_string()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_appdefault_string.txt b/doc/html/_sources/appdev/refs/api/krb5_appdefault_string.txt
new file mode 100644
index 000000000000..1c7590b75192
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_appdefault_string.txt
@@ -0,0 +1,57 @@
+krb5_appdefault_string - Retrieve a string value from the appdefaults section of krb5.conf.
+=============================================================================================
+
+..
+
+.. c:function:: void krb5_appdefault_string(krb5_context context, const char * appname, const krb5_data * realm, const char * option, const char * default_value, char ** ret_value)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **appname** - Application name
+
+ **[in]** **realm** - Realm name
+
+ **[in]** **option** - Option to be checked
+
+ **[in]** **default_value** - Default value to return if no match is found
+
+ **[out]** **ret_value** - String value of *option*
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function gets the application defaults for *option* based on the given *appname* and/or *realm* .
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_appdefault_boolean()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_free.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_free.txt
new file mode 100644
index 000000000000..2062de7842e6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_free.txt
@@ -0,0 +1,49 @@
+krb5_auth_con_free - Free a krb5_auth_context structure.
+==========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_free(krb5_context context, krb5_auth_context auth_context)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context to be freed
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+This function frees an auth context allocated by :c:func:`krb5_auth_con_init()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_genaddrs.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_genaddrs.txt
new file mode 100644
index 000000000000..b8a3f40538e3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_genaddrs.txt
@@ -0,0 +1,66 @@
+krb5_auth_con_genaddrs - Generate auth context addresses from a connected socket.
+===================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_genaddrs(krb5_context context, krb5_auth_context auth_context, int infd, int flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **infd** - Connected socket descriptor
+
+ **[in]** **flags** - Flags
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets the local and/or remote addresses in *auth_context* based on the local and remote endpoints of the socket *infd* . The following flags determine the operations performed:
+
+
+
+
+
+ - :data:`KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR` Generate local address.
+
+
+ - :data:`KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR` Generate remote address.
+
+
+ - :data:`KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR` Generate local address and port.
+
+
+ - :data:`KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR` Generate remote address and port.
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_get_checksum_func.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_get_checksum_func.txt
new file mode 100644
index 000000000000..e3a427427ffd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_get_checksum_func.txt
@@ -0,0 +1,49 @@
+krb5_auth_con_get_checksum_func - Get the checksum callback from an auth context.
+===================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_get_checksum_func(krb5_context context, krb5_auth_context auth_context, krb5_mk_req_checksum_func * func, void ** data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **func** - Checksum callback
+
+ **[out]** **data** - Callback argument
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getaddrs.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getaddrs.txt
new file mode 100644
index 000000000000..1225294092e5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getaddrs.txt
@@ -0,0 +1,49 @@
+krb5_auth_con_getaddrs - Retrieve address fields from an auth context.
+========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getaddrs(krb5_context context, krb5_auth_context auth_context, krb5_address ** local_addr, krb5_address ** remote_addr)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **local_addr** - Local address (NULL if not needed)
+
+ **[out]** **remote_addr** - Remote address (NULL if not needed)
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getauthenticator.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getauthenticator.txt
new file mode 100644
index 000000000000..a2883385982d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getauthenticator.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getauthenticator - Retrieve the authenticator from an auth context.
+===================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getauthenticator(krb5_context context, krb5_auth_context auth_context, krb5_authenticator ** authenticator)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **authenticator** - Authenticator
+
+
+..
+
+
+:retval:
+ - 0 Success. Otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_free_authenticator()` to free *authenticator* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getflags.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getflags.txt
new file mode 100644
index 000000000000..1884f127a555
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getflags.txt
@@ -0,0 +1,60 @@
+krb5_auth_con_getflags - Retrieve flags from a krb5_auth_context structure.
+=============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getflags(krb5_context context, krb5_auth_context auth_context, krb5_int32 * flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **flags** - Flags bit mask
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+Valid values for *flags* are:
+
+ - :data:`KRB5_AUTH_CONTEXT_DO_TIME` Use timestamps
+
+
+ - :data:`KRB5_AUTH_CONTEXT_RET_TIME` Save timestamps
+
+
+ - :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` Use sequence numbers
+
+
+ - :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` Save sequence numbers
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getkey.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getkey.txt
new file mode 100644
index 000000000000..cfe99ff259c4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getkey.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getkey - Retrieve the session key from an auth context as a keyblock.
+=====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock ** keyblock)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **keyblock** - Session key
+
+
+..
+
+
+:retval:
+ - 0 Success. Otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a keyblock containing the session key from *auth_context* . Use :c:func:`krb5_free_keyblock()` to free *keyblock* when it is no longer needed
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getkey_k.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getkey_k.txt
new file mode 100644
index 000000000000..0a320aeb3e61
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getkey_k.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getkey_k - Retrieve the session key from an auth context.
+=========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getkey_k(krb5_context context, krb5_auth_context auth_context, krb5_key * key)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **key** - Session key
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+This function sets *key* to the session key from *auth_context* . Use :c:func:`krb5_k_free_key()` to release *key* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getlocalseqnumber.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getlocalseqnumber.txt
new file mode 100644
index 000000000000..977d0efbf5ee
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getlocalseqnumber.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getlocalseqnumber - Retrieve the local sequence number from an auth context.
+============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getlocalseqnumber(krb5_context context, krb5_auth_context auth_context, krb5_int32 * seqnumber)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **seqnumber** - Local sequence number
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Retrieve the local sequence number from *auth_context* and return it in *seqnumber* . The :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` flag must be set in *auth_context* for this function to be useful.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getlocalsubkey.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getlocalsubkey.txt
new file mode 100644
index 000000000000..655b9d581d34
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getlocalsubkey.txt
@@ -0,0 +1,46 @@
+krb5_auth_con_getlocalsubkey
+============================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getlocalsubkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock ** keyblock)
+
+..
+
+
+:param:
+
+ **context**
+
+ **auth_context**
+
+ **keyblock**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_auth_con_getsendsubkey() .
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrcache.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrcache.txt
new file mode 100644
index 000000000000..c50663643508
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrcache.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getrcache - Retrieve the replay cache from an auth context.
+===========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getrcache(krb5_context context, krb5_auth_context auth_context, krb5_rcache * rcache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **rcache** - Replay cache handle
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+This function fetches the replay cache from *auth_context* . The caller should not close *rcache* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrecvsubkey.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrecvsubkey.txt
new file mode 100644
index 000000000000..1b7ddfa63c74
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrecvsubkey.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getrecvsubkey - Retrieve the receiving subkey from an auth context as a keyblock.
+=================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getrecvsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock ** keyblock)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **ac** - Authentication context
+
+ **[out]** **keyblock** - Receiving subkey
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a keyblock containing the receiving subkey from *auth_context* . Use :c:func:`krb5_free_keyblock()` to free *keyblock* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrecvsubkey_k.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrecvsubkey_k.txt
new file mode 100644
index 000000000000..44ce57307ba5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getrecvsubkey_k.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getrecvsubkey_k - Retrieve the receiving subkey from an auth context as a keyblock.
+===================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getrecvsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key * key)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **ac** - Authentication context
+
+ **[out]** **key** - Receiving subkey
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets *key* to the receiving subkey from *auth_context* . Use :c:func:`krb5_k_free_key()` to release *key* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getremoteseqnumber.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getremoteseqnumber.txt
new file mode 100644
index 000000000000..9dee0e61fd21
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getremoteseqnumber.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getremoteseqnumber - Retrieve the remote sequence number from an auth context.
+==============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getremoteseqnumber(krb5_context context, krb5_auth_context auth_context, krb5_int32 * seqnumber)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **seqnumber** - Remote sequence number
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Retrieve the remote sequence number from *auth_context* and return it in *seqnumber* . The :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` flag must be set in *auth_context* for this function to be useful.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getremotesubkey.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getremotesubkey.txt
new file mode 100644
index 000000000000..3f1095c9fe1a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getremotesubkey.txt
@@ -0,0 +1,46 @@
+krb5_auth_con_getremotesubkey
+=============================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getremotesubkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock ** keyblock)
+
+..
+
+
+:param:
+
+ **context**
+
+ **auth_context**
+
+ **keyblock**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_auth_con_getrecvsubkey() .
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getsendsubkey.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getsendsubkey.txt
new file mode 100644
index 000000000000..6a842b6a3cc8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getsendsubkey.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getsendsubkey - Retrieve the send subkey from an auth context as a keyblock.
+============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getsendsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock ** keyblock)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **ac** - Authentication context
+
+ **[out]** **keyblock** - Send subkey
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a keyblock containing the send subkey from *auth_context* . Use :c:func:`krb5_free_keyblock()` to free *keyblock* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_getsendsubkey_k.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getsendsubkey_k.txt
new file mode 100644
index 000000000000..c63e6c9613ac
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_getsendsubkey_k.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_getsendsubkey_k - Retrieve the send subkey from an auth context.
+================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_getsendsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key * key)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **ac** - Authentication context
+
+ **[out]** **key** - Send subkey
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets *key* to the send subkey from *auth_context* . Use :c:func:`krb5_k_free_key()` to release *key* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_init.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_init.txt
new file mode 100644
index 000000000000..9c5ee8f10458
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_init.txt
@@ -0,0 +1,57 @@
+krb5_auth_con_init - Create and initialize an authentication context.
+=======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_init(krb5_context context, krb5_auth_context * auth_context)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **auth_context** - Authentication context
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates an authentication context to hold configuration and state relevant to krb5 functions for authenticating principals and protecting messages once authentication has occurred.
+
+
+
+By default, flags for the context are set to enable the use of the replay cache ( :data:`KRB5_AUTH_CONTEXT_DO_TIME` ), but not sequence numbers. Use :c:func:`krb5_auth_con_setflags()` to change the flags.
+
+
+
+The allocated *auth_context* must be freed with :c:func:`krb5_auth_con_free()` when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_initivector.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_initivector.txt
new file mode 100644
index 000000000000..7d5bf4cf03ee
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_initivector.txt
@@ -0,0 +1,48 @@
+krb5_auth_con_initivector
+=========================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_initivector(krb5_context context, krb5_auth_context auth_context)
+
+..
+
+
+:param:
+
+ **context**
+
+ **auth_context**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Not replaced.
+
+
+
+
+
+
+
+
+
+
+RFC 4120 doesn't have anything like the initvector concept; only really old protocols may need this API.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_set_checksum_func.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_set_checksum_func.txt
new file mode 100644
index 000000000000..a762d4e85c9a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_set_checksum_func.txt
@@ -0,0 +1,53 @@
+krb5_auth_con_set_checksum_func - Set a checksum callback in an auth context.
+===============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_set_checksum_func(krb5_context context, krb5_auth_context auth_context, krb5_mk_req_checksum_func func, void * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **func** - Checksum callback
+
+ **[in]** **data** - Callback argument
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+Set a callback to obtain checksum data in :c:func:`krb5_mk_req()` . The callback will be invoked after the subkey and local sequence number are stored in *auth_context* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_set_req_cksumtype.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_set_req_cksumtype.txt
new file mode 100644
index 000000000000..76c948e67dc8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_set_req_cksumtype.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_set_req_cksumtype - Set checksum type in an an auth context.
+============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_set_req_cksumtype(krb5_context context, krb5_auth_context auth_context, krb5_cksumtype cksumtype)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **cksumtype** - Checksum type
+
+
+..
+
+
+:retval:
+ - 0 Success. Otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets the checksum type in *auth_context* to be used by :c:func:`krb5_mk_req()` for the authenticator checksum.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setaddrs.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setaddrs.txt
new file mode 100644
index 000000000000..47302190492d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setaddrs.txt
@@ -0,0 +1,56 @@
+krb5_auth_con_setaddrs - Set the local and remote addresses in an auth context.
+=================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setaddrs(krb5_context context, krb5_auth_context auth_context, krb5_address * local_addr, krb5_address * remote_addr)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **local_addr** - Local address
+
+ **[in]** **remote_addr** - Remote address
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function releases the storage assigned to the contents of the local and remote addresses of *auth_context* and then sets them to *local_addr* and *remote_addr* respectively.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_auth_con_genaddrs()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setflags.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setflags.txt
new file mode 100644
index 000000000000..a159e23da2c2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setflags.txt
@@ -0,0 +1,60 @@
+krb5_auth_con_setflags - Set a flags field in a krb5_auth_context structure.
+==============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setflags(krb5_context context, krb5_auth_context auth_context, krb5_int32 flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **flags** - Flags bit mask
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+Valid values for *flags* are:
+
+ - :data:`KRB5_AUTH_CONTEXT_DO_TIME` Use timestamps
+
+
+ - :data:`KRB5_AUTH_CONTEXT_RET_TIME` Save timestamps
+
+
+ - :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` Use sequence numbers
+
+
+ - :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` Save sequence numbers
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setports.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setports.txt
new file mode 100644
index 000000000000..279c327e2447
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setports.txt
@@ -0,0 +1,56 @@
+krb5_auth_con_setports - Set local and remote port fields in an auth context.
+===============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setports(krb5_context context, krb5_auth_context auth_context, krb5_address * local_port, krb5_address * remote_port)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **local_port** - Local port
+
+ **[in]** **remote_port** - Remote port
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function releases the storage assigned to the contents of the local and remote ports of *auth_context* and then sets them to *local_port* and *remote_port* respectively.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_auth_con_genaddrs()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrcache.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrcache.txt
new file mode 100644
index 000000000000..9b197a3a7a50
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrcache.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_setrcache - Set the replay cache in an auth context.
+====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setrcache(krb5_context context, krb5_auth_context auth_context, krb5_rcache rcache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **rcache** - Replay cache haddle
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets the replay cache in *auth_context* to *rcache* . *rcache* will be closed when *auth_context* is freed, so the caller should relinguish that responsibility.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrecvsubkey.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrecvsubkey.txt
new file mode 100644
index 000000000000..7e43d9148dcd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrecvsubkey.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_setrecvsubkey - Set the receiving subkey in an auth context with a keyblock.
+============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setrecvsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock * keyblock)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **ac** - Authentication context
+
+ **[in]** **keyblock** - Receiving subkey
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets the receiving subkey in *ac* to a copy of *keyblock* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrecvsubkey_k.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrecvsubkey_k.txt
new file mode 100644
index 000000000000..feafaabff0b4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setrecvsubkey_k.txt
@@ -0,0 +1,55 @@
+krb5_auth_con_setrecvsubkey_k - Set the receiving subkey in an auth context.
+==============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setrecvsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key key)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **ac** - Authentication context
+
+ **[in]** **key** - Receiving subkey
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets the receiving subkey in *ac* to *key* , incrementing its reference count.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setsendsubkey.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setsendsubkey.txt
new file mode 100644
index 000000000000..47f746b57035
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setsendsubkey.txt
@@ -0,0 +1,51 @@
+krb5_auth_con_setsendsubkey - Set the send subkey in an auth context with a keyblock.
+=======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setsendsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock * keyblock)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **ac** - Authentication context
+
+ **[in]** **keyblock** - Send subkey
+
+
+..
+
+
+:retval:
+ - 0 Success. Otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets the send subkey in *ac* to a copy of *keyblock* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setsendsubkey_k.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setsendsubkey_k.txt
new file mode 100644
index 000000000000..59fd7392b96a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setsendsubkey_k.txt
@@ -0,0 +1,55 @@
+krb5_auth_con_setsendsubkey_k - Set the send subkey in an auth context.
+=========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setsendsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key key)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **ac** - Authentication context
+
+ **[out]** **key** - Send subkey
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets the send subkey in *ac* to *key* , incrementing its reference count.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_auth_con_setuseruserkey.txt b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setuseruserkey.txt
new file mode 100644
index 000000000000..11d9249dd9b5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_auth_con_setuseruserkey.txt
@@ -0,0 +1,47 @@
+krb5_auth_con_setuseruserkey - Set the session key in an auth context.
+========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock * keyblock)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **keyblock** - User key
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_build_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_build_principal.txt
new file mode 100644
index 000000000000..5a8cb0e89479
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_build_principal.txt
@@ -0,0 +1,68 @@
+krb5_build_principal - Build a principal name using null-terminated strings.
+==============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_build_principal(krb5_context context, krb5_principal * princ, unsigned int rlen, const char * realm, ... )
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **princ** - Principal name
+
+ **[in]** **rlen** - Realm name length
+
+ **[in]** **realm** - Realm name
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Call :c:func:`krb5_free_principal()` to free *princ* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ :c:func:`krb5_build_principal()` and :c:func:`krb5_build_principal_alloc_va()` perform the same task. :c:func:`krb5_build_principal()` takes variadic arguments. :c:func:`krb5_build_principal_alloc_va()` takes a pre-computed *varargs* pointer.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_build_principal_alloc_va.txt b/doc/html/_sources/appdev/refs/api/krb5_build_principal_alloc_va.txt
new file mode 100644
index 000000000000..6f8a57e49e8a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_build_principal_alloc_va.txt
@@ -0,0 +1,66 @@
+krb5_build_principal_alloc_va - Build a principal name, using a precomputed variable argument list.
+=====================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_build_principal_alloc_va(krb5_context context, krb5_principal * princ, unsigned int rlen, const char * realm, va_list ap)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **princ** - Principal structure
+
+ **[in]** **rlen** - Realm name length
+
+ **[in]** **realm** - Realm name
+
+ **[in]** **ap** - List of char * components, ending with NULL
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Similar to :c:func:`krb5_build_principal()` , this function builds a principal name, but its name components are specified as a va_list.
+
+
+
+Use :c:func:`krb5_free_principal()` to deallocate *princ* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_build_principal_ext.txt b/doc/html/_sources/appdev/refs/api/krb5_build_principal_ext.txt
new file mode 100644
index 000000000000..e1b6397853f5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_build_principal_ext.txt
@@ -0,0 +1,60 @@
+krb5_build_principal_ext - Build a principal name using length-counted strings.
+=================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_build_principal_ext(krb5_context context, krb5_principal * princ, unsigned int rlen, const char * realm, ... )
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **princ** - Principal name
+
+ **[in]** **rlen** - Realm name length
+
+ **[in]** **realm** - Realm name
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function creates a principal from a length-counted string and a variable-length list of length-counted components. The list of components ends with the first 0 length argument (so it is not possible to specify an empty component with this function). Call :c:func:`krb5_free_principal()` to free allocated memory for principal when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_build_principal_va.txt b/doc/html/_sources/appdev/refs/api/krb5_build_principal_va.txt
new file mode 100644
index 000000000000..88f530e27ba0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_build_principal_va.txt
@@ -0,0 +1,50 @@
+krb5_build_principal_va
+=======================
+
+..
+
+.. c:function:: krb5_error_code krb5_build_principal_va(krb5_context context, krb5_principal princ, unsigned int rlen, const char * realm, va_list ap)
+
+..
+
+
+:param:
+
+ **context**
+
+ **princ**
+
+ **rlen**
+
+ **realm**
+
+ **ap**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_build_principal_alloc_va() .
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_block_size.txt b/doc/html/_sources/appdev/refs/api/krb5_c_block_size.txt
new file mode 100644
index 000000000000..4c4a13eafaab
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_block_size.txt
@@ -0,0 +1,47 @@
+krb5_c_block_size - Return cipher block size.
+===============================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_block_size(krb5_context context, krb5_enctype enctype, size_t * blocksize)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[out]** **blocksize** - Block size for *enctype*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_checksum_length.txt b/doc/html/_sources/appdev/refs/api/krb5_c_checksum_length.txt
new file mode 100644
index 000000000000..644e34bf2b9a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_checksum_length.txt
@@ -0,0 +1,47 @@
+krb5_c_checksum_length - Return the length of checksums for a checksum type.
+==============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_checksum_length(krb5_context context, krb5_cksumtype cksumtype, size_t * length)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cksumtype** - Checksum type
+
+ **[out]** **length** - Checksum length
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_crypto_length.txt b/doc/html/_sources/appdev/refs/api/krb5_c_crypto_length.txt
new file mode 100644
index 000000000000..3879981ef814
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_crypto_length.txt
@@ -0,0 +1,49 @@
+krb5_c_crypto_length - Return a length of a message field specific to the encryption type.
+============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_crypto_length(krb5_context context, krb5_enctype enctype, krb5_cryptotype type, unsigned int * size)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[in]** **type** - Type field (See :data:`KRB5_CRYPTO_TYPE` types)
+
+ **[out]** **size** - Length of the *type* specific to *enctype*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_crypto_length_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_c_crypto_length_iov.txt
new file mode 100644
index 000000000000..1b4edaa50746
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_crypto_length_iov.txt
@@ -0,0 +1,53 @@
+krb5_c_crypto_length_iov - Fill in lengths for header, trailer and padding in a IOV array.
+============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_crypto_length_iov(krb5_context context, krb5_enctype enctype, krb5_crypto_iov * data, size_t num_data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[inout]** **data** - IOV array
+
+ **[in]** **num_data** - Size of *data*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Padding is set to the actual padding required based on the provided *data* buffers. Typically this API is used after setting up the data buffers and :data:`KRB5_CRYPTO_TYPE_SIGN_ONLY` buffers, but before actually allocating header, trailer and padding.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_decrypt.txt b/doc/html/_sources/appdev/refs/api/krb5_c_decrypt.txt
new file mode 100644
index 000000000000..31f011d12e84
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_decrypt.txt
@@ -0,0 +1,65 @@
+krb5_c_decrypt - Decrypt data using a key (operates on keyblock).
+===================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_decrypt(krb5_context context, const krb5_keyblock * key, krb5_keyusage usage, const krb5_data * cipher_state, const krb5_enc_data * input, krb5_data * output)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Encryption key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[inout]** **cipher_state** - Cipher state; specify NULL if not needed
+
+ **[in]** **input** - Encrypted data
+
+ **[out]** **output** - Decrypted data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function decrypts the data block *input* and stores the output into *output* . The actual decryption key will be derived from *key* and *usage* if key derivation is specified for the encryption type. If non-null, *cipher_state* specifies the beginning state for the decryption operation, and is updated with the state to be passed as input to the next operation.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The caller must initialize *output* and allocate at least enough space for the result. The usual practice is to allocate an output buffer as long as the ciphertext, and let :c:func:`krb5_c_decrypt()` trim *output->length* . For some enctypes, the resulting *output->length* may include padding bytes.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_decrypt_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_c_decrypt_iov.txt
new file mode 100644
index 000000000000..2dc3f1061c2b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_decrypt_iov.txt
@@ -0,0 +1,70 @@
+krb5_c_decrypt_iov - Decrypt data in place supporting AEAD (operates on keyblock).
+====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_decrypt_iov(krb5_context context, const krb5_keyblock * keyblock, krb5_keyusage usage, const krb5_data * cipher_state, krb5_crypto_iov * data, size_t num_data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keyblock** - Encryption key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[in]** **cipher_state** - Cipher state; specify NULL if not needed
+
+ **[inout]** **data** - IOV array. Modified in-place.
+
+ **[in]** **num_data** - Size of *data*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function decrypts the data block *data* and stores the output in-place. The actual decryption key will be derived from *keyblock* and *usage* if key derivation is specified for the encryption type. If non-null, *cipher_state* specifies the beginning state for the decryption operation, and is updated with the state to be passed as input to the next operation. The caller must allocate the right number of krb5_crypto_iov structures before calling into this API.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_c_decrypt_iov()`
+
+
+
+
+
+
+.. note::
+
+ On return from a :c:func:`krb5_c_decrypt_iov()` call, the *data->length* in the iov structure are adjusted to reflect actual lengths of the ciphertext used. For example, if the padding length is too large, the length will be reduced. Lengths are never increased.
+
+ This function is similar to :c:func:`krb5_k_decrypt_iov()` , but operates on keyblock *keyblock* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_derive_prfplus.txt b/doc/html/_sources/appdev/refs/api/krb5_c_derive_prfplus.txt
new file mode 100644
index 000000000000..fdb62c501b24
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_derive_prfplus.txt
@@ -0,0 +1,48 @@
+krb5_c_derive_prfplus - Derive a key using some input data (via RFC 6113 PRF+).
+=================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_derive_prfplus(krb5_context context, const krb5_keyblock * k, const krb5_data * input, krb5_enctype enctype, krb5_keyblock ** out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **k** - KDC contribution key
+
+ **[in]** **input** - Input string
+
+ **[in]** **enctype** - Output key enctype (or **ENCTYPE_NULL** )
+
+ **[out]** **out** - Derived keyblock
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function uses PRF+ as defined in RFC 6113 to derive a key from another key and an input string. If *enctype* is **ENCTYPE_NULL** , the output key will have the same enctype as the input key.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_encrypt.txt b/doc/html/_sources/appdev/refs/api/krb5_c_encrypt.txt
new file mode 100644
index 000000000000..7b6cb038b3bf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_encrypt.txt
@@ -0,0 +1,65 @@
+krb5_c_encrypt - Encrypt data using a key (operates on keyblock).
+===================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_encrypt(krb5_context context, const krb5_keyblock * key, krb5_keyusage usage, const krb5_data * cipher_state, const krb5_data * input, krb5_enc_data * output)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Encryption key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[inout]** **cipher_state** - Cipher state; specify NULL if not needed
+
+ **[in]** **input** - Data to be encrypted
+
+ **[out]** **output** - Encrypted data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function encrypts the data block *input* and stores the output into *output* . The actual encryption key will be derived from *key* and *usage* if key derivation is specified for the encryption type. If non-null, *cipher_state* specifies the beginning state for the encryption operation, and is updated with the state to be passed as input to the next operation.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The caller must initialize *output* and allocate at least enough space for the result (using :c:func:`krb5_c_encrypt_length()` to determine the amount of space needed). *output->length* will be set to the actual length of the ciphertext.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_encrypt_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_c_encrypt_iov.txt
new file mode 100644
index 000000000000..dbfcb527762e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_encrypt_iov.txt
@@ -0,0 +1,70 @@
+krb5_c_encrypt_iov - Encrypt data in place supporting AEAD (operates on keyblock).
+====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_encrypt_iov(krb5_context context, const krb5_keyblock * keyblock, krb5_keyusage usage, const krb5_data * cipher_state, krb5_crypto_iov * data, size_t num_data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keyblock** - Encryption key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[in]** **cipher_state** - Cipher state; specify NULL if not needed
+
+ **[inout]** **data** - IOV array. Modified in-place.
+
+ **[in]** **num_data** - Size of *data*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function encrypts the data block *data* and stores the output in-place. The actual encryption key will be derived from *keyblock* and *usage* if key derivation is specified for the encryption type. If non-null, *cipher_state* specifies the beginning state for the encryption operation, and is updated with the state to be passed as input to the next operation. The caller must allocate the right number of krb5_crypto_iov structures before calling into this API.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_c_decrypt_iov()`
+
+
+
+
+
+
+.. note::
+
+ On return from a :c:func:`krb5_c_encrypt_iov()` call, the *data->length* in the iov structure are adjusted to reflect actual lengths of the ciphertext used. For example, if the padding length is too large, the length will be reduced. Lengths are never increased.
+
+ This function is similar to :c:func:`krb5_k_encrypt_iov()` , but operates on keyblock *keyblock* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_encrypt_length.txt b/doc/html/_sources/appdev/refs/api/krb5_c_encrypt_length.txt
new file mode 100644
index 000000000000..a459c3a48698
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_encrypt_length.txt
@@ -0,0 +1,53 @@
+krb5_c_encrypt_length - Compute encrypted data length.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_encrypt_length(krb5_context context, krb5_enctype enctype, size_t inputlen, size_t * length)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[in]** **inputlen** - Length of the data to be encrypted
+
+ **[out]** **length** - Length of the encrypted data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function computes the length of the ciphertext produced by encrypting *inputlen* bytes including padding, confounder, and checksum.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_enctype_compare.txt b/doc/html/_sources/appdev/refs/api/krb5_c_enctype_compare.txt
new file mode 100644
index 000000000000..156cdd23ebf0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_enctype_compare.txt
@@ -0,0 +1,53 @@
+krb5_c_enctype_compare - Compare two encryption types.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_enctype_compare(krb5_context context, krb5_enctype e1, krb5_enctype e2, krb5_boolean * similar)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **e1** - First encryption type
+
+ **[in]** **e2** - Second encryption type
+
+ **[out]** **similar** - **TRUE** if types are similar, **FALSE** if not
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function determines whether two encryption types use the same kind of keys.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_free_state.txt b/doc/html/_sources/appdev/refs/api/krb5_c_free_state.txt
new file mode 100644
index 000000000000..f934e9595546
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_free_state.txt
@@ -0,0 +1,47 @@
+krb5_c_free_state - Free a cipher state previously allocated by krb5_c_init_state() .
+=======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_free_state(krb5_context context, const krb5_keyblock * key, krb5_data * state)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Key
+
+ **[in]** **state** - Cipher state to be freed
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_fx_cf2_simple.txt b/doc/html/_sources/appdev/refs/api/krb5_c_fx_cf2_simple.txt
new file mode 100644
index 000000000000..0d9cf9d5c6fd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_fx_cf2_simple.txt
@@ -0,0 +1,57 @@
+krb5_c_fx_cf2_simple - Compute the KRB-FX-CF2 combination of two keys and pepper strings.
+===========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_fx_cf2_simple(krb5_context context, const krb5_keyblock * k1, const char * pepper1, const krb5_keyblock * k2, const char * pepper2, krb5_keyblock ** out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **k1** - KDC contribution key
+
+ **[in]** **pepper1** - String"PKINIT"
+
+ **[in]** **k2** - Reply key
+
+ **[in]** **pepper2** - String"KeyExchange"
+
+ **[out]** **out** - Output key
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function computes the KRB-FX-CF2 function over its inputs and places the results in a newly allocated keyblock. This function is simple in that it assumes that *pepper1* and *pepper2* are C strings with no internal nulls and that the enctype of the result will be the same as that of *k1* . *k1* and *k2* may be of different enctypes.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_init_state.txt b/doc/html/_sources/appdev/refs/api/krb5_c_init_state.txt
new file mode 100644
index 000000000000..c28dca743b73
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_init_state.txt
@@ -0,0 +1,49 @@
+krb5_c_init_state - Initialize a new cipher state.
+====================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_init_state(krb5_context context, const krb5_keyblock * key, krb5_keyusage usage, krb5_data * new_state)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[out]** **new_state** - New cipher state
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_is_coll_proof_cksum.txt b/doc/html/_sources/appdev/refs/api/krb5_c_is_coll_proof_cksum.txt
new file mode 100644
index 000000000000..478f24668a57
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_is_coll_proof_cksum.txt
@@ -0,0 +1,43 @@
+krb5_c_is_coll_proof_cksum - Test whether a checksum type is collision-proof.
+===============================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_c_is_coll_proof_cksum(krb5_cksumtype ctype)
+
+..
+
+
+:param:
+
+ **[in]** **ctype** - Checksum type
+
+
+..
+
+
+
+:return:
+ - TRUE if ctype is collision-proof, FALSE if it is not collision-proof or not a valid checksum type.
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_is_keyed_cksum.txt b/doc/html/_sources/appdev/refs/api/krb5_c_is_keyed_cksum.txt
new file mode 100644
index 000000000000..ed6e6ab4079a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_is_keyed_cksum.txt
@@ -0,0 +1,43 @@
+krb5_c_is_keyed_cksum - Test whether a checksum type is keyed.
+================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_c_is_keyed_cksum(krb5_cksumtype ctype)
+
+..
+
+
+:param:
+
+ **[in]** **ctype** - Checksum type
+
+
+..
+
+
+
+:return:
+ - TRUE if ctype is a keyed checksum type, FALSE otherwise.
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_keyed_checksum_types.txt b/doc/html/_sources/appdev/refs/api/krb5_c_keyed_checksum_types.txt
new file mode 100644
index 000000000000..22f509218852
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_keyed_checksum_types.txt
@@ -0,0 +1,53 @@
+krb5_c_keyed_checksum_types - Return a list of keyed checksum types usable with an encryption type.
+=====================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_keyed_checksum_types(krb5_context context, krb5_enctype enctype, unsigned int * count, krb5_cksumtype ** cksumtypes)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[out]** **count** - Count of allowable checksum types
+
+ **[out]** **cksumtypes** - Array of allowable checksum types
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_free_cksumtypes()` to free *cksumtypes* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_keylengths.txt b/doc/html/_sources/appdev/refs/api/krb5_c_keylengths.txt
new file mode 100644
index 000000000000..9b195c436db9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_keylengths.txt
@@ -0,0 +1,49 @@
+krb5_c_keylengths - Return length of the specified key in bytes.
+==================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_keylengths(krb5_context context, krb5_enctype enctype, size_t * keybytes, size_t * keylength)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[out]** **keybytes** - Number of bytes required to make a key
+
+ **[out]** **keylength** - Length of final key
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_make_checksum.txt b/doc/html/_sources/appdev/refs/api/krb5_c_make_checksum.txt
new file mode 100644
index 000000000000..f432c601396f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_make_checksum.txt
@@ -0,0 +1,68 @@
+krb5_c_make_checksum - Compute a checksum (operates on keyblock).
+===================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_make_checksum(krb5_context context, krb5_cksumtype cksumtype, const krb5_keyblock * key, krb5_keyusage usage, const krb5_data * input, krb5_checksum * cksum)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cksumtype** - Checksum type (0 for mandatory type)
+
+ **[in]** **key** - Encryption key for a keyed checksum
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[in]** **input** - Input data
+
+ **[out]** **cksum** - Generated checksum
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function computes a checksum of type *cksumtype* over *input* , using *key* if the checksum type is a keyed checksum. If *cksumtype* is 0 and *key* is non-null, the checksum type will be the mandatory-to-implement checksum type for the key's encryption type. The actual checksum key will be derived from *key* and *usage* if key derivation is specified for the checksum type. The newly created *cksum* must be released by calling :c:func:`krb5_free_checksum_contents()` when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_c_verify_checksum()`
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_k_make_checksum()` , but operates on keyblock *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_make_checksum_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_c_make_checksum_iov.txt
new file mode 100644
index 000000000000..d313c2b04972
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_make_checksum_iov.txt
@@ -0,0 +1,68 @@
+krb5_c_make_checksum_iov - Fill in a checksum element in IOV array (operates on keyblock)
+===========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_make_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, const krb5_keyblock * key, krb5_keyusage usage, krb5_crypto_iov * data, size_t num_data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cksumtype** - Checksum type (0 for mandatory type)
+
+ **[in]** **key** - Encryption key for a keyed checksum
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[inout]** **data** - IOV array
+
+ **[in]** **num_data** - Size of *data*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Create a checksum in the :data:`KRB5_CRYPTO_TYPE_CHECKSUM` element over :data:`KRB5_CRYPTO_TYPE_DATA` and :data:`KRB5_CRYPTO_TYPE_SIGN_ONLY` chunks in *data* . Only the :data:`KRB5_CRYPTO_TYPE_CHECKSUM` region is modified.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_c_verify_checksum_iov()`
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_k_make_checksum_iov()` , but operates on keyblock *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_make_random_key.txt b/doc/html/_sources/appdev/refs/api/krb5_c_make_random_key.txt
new file mode 100644
index 000000000000..d485c1c50f7c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_make_random_key.txt
@@ -0,0 +1,51 @@
+krb5_c_make_random_key - Generate an enctype-specific random encryption key.
+==============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_make_random_key(krb5_context context, krb5_enctype enctype, krb5_keyblock * k5_random_key)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type of the generated key
+
+ **[out]** **k5_random_key** - An allocated and initialized keyblock
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_free_keyblock_contents()` to free *k5_random_key* when no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_padding_length.txt b/doc/html/_sources/appdev/refs/api/krb5_c_padding_length.txt
new file mode 100644
index 000000000000..35471bf12e03
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_padding_length.txt
@@ -0,0 +1,53 @@
+krb5_c_padding_length - Return a number of padding octets.
+============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_padding_length(krb5_context context, krb5_enctype enctype, size_t data_length, unsigned int * size)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[in]** **data_length** - Length of the plaintext to pad
+
+ **[out]** **size** - Number of padding octets
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - KRB5_BAD_ENCTYPE
+
+
+..
+
+
+
+
+
+
+
+This function returns the number of the padding octets required to pad *data_length* octets of plaintext.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_prf.txt b/doc/html/_sources/appdev/refs/api/krb5_c_prf.txt
new file mode 100644
index 000000000000..b626f43b6f25
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_prf.txt
@@ -0,0 +1,53 @@
+krb5_c_prf - Generate enctype-specific pseudo-random bytes.
+=============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_prf(krb5_context context, const krb5_keyblock * keyblock, krb5_data * input, krb5_data * output)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keyblock** - Key
+
+ **[in]** **input** - Input data
+
+ **[out]** **output** - Output data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function selects a pseudo-random function based on *keyblock* and computes its value over *input* , placing the result into *output* . The caller must preinitialize *output* and allocate space for the result, using :c:func:`krb5_c_prf_length()` to determine the required length.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_prf_length.txt b/doc/html/_sources/appdev/refs/api/krb5_c_prf_length.txt
new file mode 100644
index 000000000000..ff20e291c29e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_prf_length.txt
@@ -0,0 +1,47 @@
+krb5_c_prf_length - Get the output length of pseudo-random functions for an encryption type.
+==============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_prf_length(krb5_context context, krb5_enctype enctype, size_t * len)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[out]** **len** - Length of PRF output
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_prfplus.txt b/doc/html/_sources/appdev/refs/api/krb5_c_prfplus.txt
new file mode 100644
index 000000000000..682a8f4614c3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_prfplus.txt
@@ -0,0 +1,61 @@
+krb5_c_prfplus - Generate pseudo-random bytes using RFC 6113 PRF+.
+====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_prfplus(krb5_context context, const krb5_keyblock * k, const krb5_data * input, krb5_data * output)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **k** - KDC contribution key
+
+ **[in]** **input** - Input data
+
+ **[out]** **output** - Pseudo-random output buffer
+
+
+..
+
+
+
+:return:
+ - 0 on success, E2BIG if output->length is too large for PRF+ to generate, ENOMEM on allocation failure, or an error code from krb5_c_prf()
+
+..
+
+
+
+
+
+
+
+This function fills *output* with PRF+(k, input) as defined in RFC 6113 section 5.1. The caller must preinitialize *output* and allocate the desired amount of space. The length of the pseudo-random output will match the length of *output* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ RFC 4402 defines a different PRF+ operation. This function does not implement that operation.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_random_add_entropy.txt b/doc/html/_sources/appdev/refs/api/krb5_c_random_add_entropy.txt
new file mode 100644
index 000000000000..d64693c93c96
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_random_add_entropy.txt
@@ -0,0 +1,51 @@
+krb5_c_random_add_entropy - Add entropy to the pseudo-random number generator.
+================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_random_add_entropy(krb5_context context, unsigned int randsource, const krb5_data * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **randsource** - Entropy source (see KRB5_RANDSOURCE types)
+
+ **[in]** **data** - Data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Contribute entropy to the PRNG used by krb5 crypto operations. This may or may not affect the output of the next crypto operation requiring random data.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_random_make_octets.txt b/doc/html/_sources/appdev/refs/api/krb5_c_random_make_octets.txt
new file mode 100644
index 000000000000..91a1159b65fd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_random_make_octets.txt
@@ -0,0 +1,49 @@
+krb5_c_random_make_octets - Generate pseudo-random bytes.
+===========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_random_make_octets(krb5_context context, krb5_data * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **data** - Random data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Fills in *data* with bytes from the PRNG used by krb5 crypto operations. The caller must preinitialize *data* and allocate the desired amount of space.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_random_os_entropy.txt b/doc/html/_sources/appdev/refs/api/krb5_c_random_os_entropy.txt
new file mode 100644
index 000000000000..65fc2511c17d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_random_os_entropy.txt
@@ -0,0 +1,51 @@
+krb5_c_random_os_entropy - Collect entropy from the OS if possible.
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_random_os_entropy(krb5_context context, int strong, int * success)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **strong** - Strongest available source of entropy
+
+ **[out]** **success** - 1 if OS provides entropy, 0 otherwise
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+If *strong* is non-zero, this function attempts to use the strongest available source of entropy. Setting this flag may cause the function to block on some operating systems. Good uses include seeding the PRNG for kadmind and realm setup.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_random_seed.txt b/doc/html/_sources/appdev/refs/api/krb5_c_random_seed.txt
new file mode 100644
index 000000000000..9e1c81638270
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_random_seed.txt
@@ -0,0 +1,44 @@
+krb5_c_random_seed
+==================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_random_seed(krb5_context context, krb5_data * data)
+
+..
+
+
+:param:
+
+ **context**
+
+ **data**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_random_to_key.txt b/doc/html/_sources/appdev/refs/api/krb5_c_random_to_key.txt
new file mode 100644
index 000000000000..927c8780f30d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_random_to_key.txt
@@ -0,0 +1,64 @@
+krb5_c_random_to_key - Generate an enctype-specific key from random data.
+===========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_random_to_key(krb5_context context, krb5_enctype enctype, krb5_data * random_data, krb5_keyblock * k5_random_key)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[in]** **random_data** - Random input data
+
+ **[out]** **k5_random_key** - Resulting key
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function takes random input data *random_data* and produces a valid key *k5_random_key* for a given *enctype* .
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_c_keylengths()`
+
+
+
+
+
+
+.. note::
+
+ It is assumed that *k5_random_key* has already been initialized and *k5_random_key->contents* has been allocated with the correct length.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_string_to_key.txt b/doc/html/_sources/appdev/refs/api/krb5_c_string_to_key.txt
new file mode 100644
index 000000000000..deacb1490965
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_string_to_key.txt
@@ -0,0 +1,55 @@
+krb5_c_string_to_key - Convert a string (such a password) to a key.
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_string_to_key(krb5_context context, krb5_enctype enctype, const krb5_data * string, const krb5_data * salt, krb5_keyblock * key)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[in]** **string** - String to be converted
+
+ **[in]** **salt** - Salt value
+
+ **[out]** **key** - Generated key
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function converts *string* to a *key* of encryption type *enctype* , using the specified *salt* . The newly created *key* must be released by calling :c:func:`krb5_free_keyblock_contents()` when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_string_to_key_with_params.txt b/doc/html/_sources/appdev/refs/api/krb5_c_string_to_key_with_params.txt
new file mode 100644
index 000000000000..8ec6e2170212
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_string_to_key_with_params.txt
@@ -0,0 +1,57 @@
+krb5_c_string_to_key_with_params - Convert a string (such as a password) to a key with additional parameters.
+===============================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_string_to_key_with_params(krb5_context context, krb5_enctype enctype, const krb5_data * string, const krb5_data * salt, const krb5_data * params, krb5_keyblock * key)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[in]** **string** - String to be converted
+
+ **[in]** **salt** - Salt value
+
+ **[in]** **params** - Parameters
+
+ **[out]** **key** - Generated key
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function is similar to :c:func:`krb5_c_string_to_key()` , but also takes parameters which may affect the algorithm in an enctype-dependent way. The newly created *key* must be released by calling :c:func:`krb5_free_keyblock_contents()` when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_valid_cksumtype.txt b/doc/html/_sources/appdev/refs/api/krb5_c_valid_cksumtype.txt
new file mode 100644
index 000000000000..0cc7787fde3f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_valid_cksumtype.txt
@@ -0,0 +1,43 @@
+krb5_c_valid_cksumtype - Verify that specified checksum type is a valid Kerberos checksum type.
+=================================================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_c_valid_cksumtype(krb5_cksumtype ctype)
+
+..
+
+
+:param:
+
+ **[in]** **ctype** - Checksum type
+
+
+..
+
+
+
+:return:
+ - TRUE if ctype is valid, FALSE if not
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_valid_enctype.txt b/doc/html/_sources/appdev/refs/api/krb5_c_valid_enctype.txt
new file mode 100644
index 000000000000..f5adeee863de
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_valid_enctype.txt
@@ -0,0 +1,43 @@
+krb5_c_valid_enctype - Verify that a specified encryption type is a valid Kerberos encryption type.
+=====================================================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_c_valid_enctype(krb5_enctype ktype)
+
+..
+
+
+:param:
+
+ **[in]** **ktype** - Encryption type
+
+
+..
+
+
+
+:return:
+ - TRUE if ktype is valid, FALSE if not
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_verify_checksum.txt b/doc/html/_sources/appdev/refs/api/krb5_c_verify_checksum.txt
new file mode 100644
index 000000000000..49eb59902a27
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_verify_checksum.txt
@@ -0,0 +1,65 @@
+krb5_c_verify_checksum - Verify a checksum (operates on keyblock).
+====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_verify_checksum(krb5_context context, const krb5_keyblock * key, krb5_keyusage usage, const krb5_data * data, const krb5_checksum * cksum, krb5_boolean * valid)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Encryption key for a keyed checksum
+
+ **[in]** **usage** - *key* usage
+
+ **[in]** **data** - Data to be used to compute a new checksum using *key* to compare *cksum* against
+
+ **[in]** **cksum** - Checksum to be verified
+
+ **[out]** **valid** - Non-zero for success, zero for failure
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function verifies that *cksum* is a valid checksum for *data* . If the checksum type of *cksum* is a keyed checksum, *key* is used to verify the checksum. If the checksum type in *cksum* is 0 and *key* is not NULL, the mandatory checksum type for *key* will be used. The actual checksum key will be derived from *key* and *usage* if key derivation is specified for the checksum type.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_k_verify_checksum()` , but operates on keyblock *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_c_verify_checksum_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_c_verify_checksum_iov.txt
new file mode 100644
index 000000000000..e8c37b3ce639
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_c_verify_checksum_iov.txt
@@ -0,0 +1,70 @@
+krb5_c_verify_checksum_iov - Validate a checksum element in IOV array (operates on keyblock).
+===============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_c_verify_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, const krb5_keyblock * key, krb5_keyusage usage, const krb5_crypto_iov * data, size_t num_data, krb5_boolean * valid)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cksumtype** - Checksum type (0 for mandatory type)
+
+ **[in]** **key** - Encryption key for a keyed checksum
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[in]** **data** - IOV array
+
+ **[in]** **num_data** - Size of *data*
+
+ **[out]** **valid** - Non-zero for success, zero for failure
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Confirm that the checksum in the :data:`KRB5_CRYPTO_TYPE_CHECKSUM` element is a valid checksum of the :data:`KRB5_CRYPTO_TYPE_DATA` and :data:`KRB5_CRYPTO_TYPE_SIGN_ONLY` regions in the iov.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_c_make_checksum_iov()`
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_k_verify_checksum_iov()` , but operates on keyblock *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_calculate_checksum.txt b/doc/html/_sources/appdev/refs/api/krb5_calculate_checksum.txt
new file mode 100644
index 000000000000..ef40b12e32db
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_calculate_checksum.txt
@@ -0,0 +1,54 @@
+krb5_calculate_checksum
+=======================
+
+..
+
+.. c:function:: krb5_error_code krb5_calculate_checksum(krb5_context context, krb5_cksumtype ctype, krb5_const_pointer in, size_t in_length, krb5_const_pointer seed, size_t seed_length, krb5_checksum * outcksum)
+
+..
+
+
+:param:
+
+ **context**
+
+ **ctype**
+
+ **in**
+
+ **in_length**
+
+ **seed**
+
+ **seed_length**
+
+ **outcksum**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED See krb5_c_make_checksum()
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_cache_match.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_cache_match.txt
new file mode 100644
index 000000000000..3e01accab529
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_cache_match.txt
@@ -0,0 +1,56 @@
+krb5_cc_cache_match - Find a credential cache with a specified client principal.
+==================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_cache_match(krb5_context context, krb5_principal client, krb5_ccache * cache_out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **client** - Client principal
+
+ **[out]** **cache_out** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5_CC_NOTFOUND None
+
+
+..
+
+
+
+
+
+
+
+Find a cache within the collection whose default principal is *client* . Use *krb5_cc_close* to close *ccache* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.10
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_close.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_close.txt
new file mode 100644
index 000000000000..6a58c9a214ab
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_close.txt
@@ -0,0 +1,52 @@
+krb5_cc_close - Close a credential cache handle.
+==================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_close(krb5_context context, krb5_ccache cache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function closes a credential cache handle *cache* without affecting the contents of the cache.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_copy_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_copy_creds.txt
new file mode 100644
index 000000000000..f3af7c11665f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_copy_creds.txt
@@ -0,0 +1,47 @@
+krb5_cc_copy_creds - Copy a credential cache.
+===============================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_copy_creds(krb5_context context, krb5_ccache incc, krb5_ccache outcc)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **incc** - Credential cache to be copied
+
+ **[out]** **outcc** - Copy of credential cache to be filled in
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_default.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_default.txt
new file mode 100644
index 000000000000..3a85ba4a1fd5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_default.txt
@@ -0,0 +1,54 @@
+krb5_cc_default - Resolve the default credential cache name.
+==============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_default(krb5_context context, krb5_ccache * ccache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **ccache** - Pointer to credential cache name
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KV5M_CONTEXT Bad magic number for _krb5_context structure
+ - KRB5_FCC_INTERNAL The name of the default credential cache cannot be obtained
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Create a handle to the default credential cache as given by :c:func:`krb5_cc_default_name()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_default_name.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_default_name.txt
new file mode 100644
index 000000000000..f54c5e5c973f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_default_name.txt
@@ -0,0 +1,51 @@
+krb5_cc_default_name - Return the name of the default credential cache.
+=========================================================================
+
+..
+
+.. c:function:: const char * krb5_cc_default_name(krb5_context context)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+
+..
+
+
+
+:return:
+ - Name of default credential cache for the current user.
+
+..
+
+
+
+
+
+
+
+Return a pointer to the default credential cache name for *context* , as determined by a prior call to :c:func:`krb5_cc_set_default_name()` , by the KRB5CCNAME environment variable, by the default_ccache_name profile variable, or by the operating system or build-time default value. The returned value must not be modified or freed by the caller. The returned value becomes invalid when *context* is destroyed :c:func:`krb5_free_context()` or if a subsequent call to :c:func:`krb5_cc_set_default_name()` is made on *context* .
+
+
+
+The default credential cache name is cached in *context* between calls to this function, so if the value of KRB5CCNAME changes in the process environment after the first call to this function on, that change will not be reflected in later calls with the same context. The caller can invoke :c:func:`krb5_cc_set_default_name()` with a NULL value of *name* to clear the cached value and force the default name to be recomputed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_destroy.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_destroy.txt
new file mode 100644
index 000000000000..12254719d3d0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_destroy.txt
@@ -0,0 +1,52 @@
+krb5_cc_destroy - Destroy a credential cache.
+===============================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_destroy(krb5_context context, krb5_ccache cache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Permission errors
+
+..
+
+
+
+
+
+
+
+This function destroys any existing contents of *cache* and closes the handle to it.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_dup.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_dup.txt
new file mode 100644
index 000000000000..00179a0bf06c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_dup.txt
@@ -0,0 +1,44 @@
+krb5_cc_dup - Duplicate ccache handle.
+========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_dup(krb5_context context, krb5_ccache in, krb5_ccache * out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **in** - Credential cache handle to be duplicated
+
+ **[out]** **out** - Credential cache handle
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Create a new handle referring to the same cache as *in* . The new handle and *in* can be closed independently.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_end_seq_get.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_end_seq_get.txt
new file mode 100644
index 000000000000..b5b0900972a9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_end_seq_get.txt
@@ -0,0 +1,54 @@
+krb5_cc_end_seq_get - Finish a series of sequential processing credential cache entries.
+==========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_end_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor * cursor)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[in]** **cursor** - Cursor
+
+
+..
+
+
+:retval:
+ - 0 (always)
+
+
+..
+
+
+
+
+
+
+
+This function finishes processing credential cache entries and invalidates *cursor* .
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_cc_start_seq_get()` , :c:func:`krb5_cc_next_cred()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_gen_new.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_gen_new.txt
new file mode 100644
index 000000000000..3672b36274c8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_gen_new.txt
@@ -0,0 +1,39 @@
+krb5_cc_gen_new
+===============
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_gen_new(krb5_context context, krb5_ccache * cache)
+
+..
+
+
+:param:
+
+ **context**
+
+ **cache**
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_get_config.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_get_config.txt
new file mode 100644
index 000000000000..4021ee60e7f5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_get_config.txt
@@ -0,0 +1,58 @@
+krb5_cc_get_config - Get a configuration value from a credential cache.
+=========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_get_config(krb5_context context, krb5_ccache id, krb5_const_principal principal, const char * key, krb5_data * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **id** - Credential cache handle
+
+ **[in]** **principal** - Configuration for this principal; if NULL, global for the whole cache
+
+ **[in]** **key** - Name of config variable
+
+ **[out]** **data** - Data to be fetched
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_free_data_contents()` to free *data* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_get_flags.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_get_flags.txt
new file mode 100644
index 000000000000..ca764c8b4f06
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_get_flags.txt
@@ -0,0 +1,55 @@
+krb5_cc_get_flags - Retrieve flags from a credential cache structure.
+=======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_get_flags(krb5_context context, krb5_ccache cache, krb5_flags * flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[out]** **flags** - Flag bit mask
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+.. warning::
+
+ For memory credential cache always returns a flag mask of 0.
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_get_full_name.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_get_full_name.txt
new file mode 100644
index 000000000000..7c570459724f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_get_full_name.txt
@@ -0,0 +1,52 @@
+krb5_cc_get_full_name - Retrieve the full name of a credential cache.
+=======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_get_full_name(krb5_context context, krb5_ccache cache, char ** fullname_out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[out]** **fullname_out** - Full name of cache
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_free_string()` to free *fullname_out* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.10
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_get_name.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_get_name.txt
new file mode 100644
index 000000000000..34afeee49de6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_get_name.txt
@@ -0,0 +1,53 @@
+krb5_cc_get_name - Retrieve the name, but not type of a credential cache.
+===========================================================================
+
+..
+
+.. c:function:: const char * krb5_cc_get_name(krb5_context context, krb5_ccache cache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+
+..
+
+
+
+:return:
+ - On success - the name of the credential cache.
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+.. warning::
+
+ Returns the name of the credential cache. The result is an alias into *cache* and should not be freed or modified by the caller. This name does not include the cache type, so should not be used as input to :c:func:`krb5_cc_resolve()` .
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_get_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_get_principal.txt
new file mode 100644
index 000000000000..139817c0451b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_get_principal.txt
@@ -0,0 +1,58 @@
+krb5_cc_get_principal - Get the default principal of a credential cache.
+==========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_get_principal(krb5_context context, krb5_ccache cache, krb5_principal * principal)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[out]** **principal** - Primary principal
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Returns the default client principal of a credential cache as set by :c:func:`krb5_cc_initialize()` .
+
+
+
+Use :c:func:`krb5_free_principal()` to free *principal* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_get_type.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_get_type.txt
new file mode 100644
index 000000000000..a970bd6d1974
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_get_type.txt
@@ -0,0 +1,45 @@
+krb5_cc_get_type - Retrieve the type of a credential cache.
+=============================================================
+
+..
+
+.. c:function:: const char * krb5_cc_get_type(krb5_context context, krb5_ccache cache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+
+..
+
+
+
+:return:
+ - The type of a credential cache as an alias that must not be modified or freed by the caller.
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_initialize.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_initialize.txt
new file mode 100644
index 000000000000..d306a2924db0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_initialize.txt
@@ -0,0 +1,54 @@
+krb5_cc_initialize - Initialize a credential cache.
+=====================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_initialize(krb5_context context, krb5_ccache cache, krb5_principal principal)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[in]** **principal** - Default principal name
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - System errors; Permission errors; Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Destroy any existing contents of *cache* and initialize it for the default principal *principal* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_last_change_time.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_last_change_time.txt
new file mode 100644
index 000000000000..c3c5701b2ead
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_last_change_time.txt
@@ -0,0 +1,44 @@
+krb5_cc_last_change_time - Return a timestamp of the last modification to a credential cache.
+===============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_last_change_time(krb5_context context, krb5_ccache ccache, krb5_timestamp * change_time)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ccache** - Credential cache handle
+
+ **[out]** **change_time** - The last change time of *ccache*
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+If an error occurs, *change_time* is set to 0.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_lock.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_lock.txt
new file mode 100644
index 000000000000..58dfe6f412b7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_lock.txt
@@ -0,0 +1,49 @@
+krb5_cc_lock - Lock a credential cache.
+=========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_lock(krb5_context context, krb5_ccache ccache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ccache** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_cc_unlock()` to unlock the lock.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_move.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_move.txt
new file mode 100644
index 000000000000..ba9f0fd1ee7d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_move.txt
@@ -0,0 +1,54 @@
+krb5_cc_move - Move a credential cache.
+=========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_move(krb5_context context, krb5_ccache src, krb5_ccache dst)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **src** - The credential cache to move the content from
+
+ **[in]** **dst** - The credential cache to move the content to
+
+
+..
+
+
+:retval:
+ - 0 Success; src is closed.
+
+
+:return:
+ - Kerberos error codes; src is still allocated.
+
+..
+
+
+
+
+
+
+
+This function reinitializes *dst* and populates it with the credentials and default principal of *src* ; then, if successful, destroys *src* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_new_unique.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_new_unique.txt
new file mode 100644
index 000000000000..e4313c07c636
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_new_unique.txt
@@ -0,0 +1,52 @@
+krb5_cc_new_unique - Create a new credential cache of the specified type with a unique name.
+==============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_new_unique(krb5_context context, const char * type, const char * hint, krb5_ccache * id)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **type** - Credential cache type name
+
+ **[in]** **hint** - Unused
+
+ **[out]** **id** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_next_cred.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_next_cred.txt
new file mode 100644
index 000000000000..98d2586cd1e3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_next_cred.txt
@@ -0,0 +1,60 @@
+krb5_cc_next_cred - Retrieve the next entry from the credential cache.
+========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_next_cred(krb5_context context, krb5_ccache cache, krb5_cc_cursor * cursor, krb5_creds * creds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[in]** **cursor** - Cursor
+
+ **[out]** **creds** - Next credential cache entry
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function fills in *creds* with the next entry in *cache* and advances *cursor* .
+
+
+
+Use :c:func:`krb5_free_cred_contents()` to free *creds* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_cc_start_seq_get()` , krb5_end_seq_get()
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_remove_cred.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_remove_cred.txt
new file mode 100644
index 000000000000..3843e74ad716
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_remove_cred.txt
@@ -0,0 +1,64 @@
+krb5_cc_remove_cred - Remove credentials from a credential cache.
+===================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_remove_cred(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds * creds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[in]** **flags** - Bitwise-ORed search flags
+
+ **[in]** **creds** - Credentials to be matched
+
+
+..
+
+
+:retval:
+ - KRB5_CC_NOSUPP Not implemented for this cache type
+
+
+:return:
+ - No matches found; Data cannot be deleted; Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function accepts the same flag values as :c:func:`krb5_cc_retrieve_cred()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+.. warning::
+
+ This function is not implemented for some cache types.
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_resolve.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_resolve.txt
new file mode 100644
index 000000000000..746ac6c2632c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_resolve.txt
@@ -0,0 +1,58 @@
+krb5_cc_resolve - Resolve a credential cache name.
+====================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_resolve(krb5_context context, const char * name, krb5_ccache * cache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **name** - Credential cache name to be resolved
+
+ **[out]** **cache** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Fills in *cache* with a *cache* handle that corresponds to the name in *name* . *name* should be of the form **type:residual** , and *type* must be a type known to the library. If the *name* does not contain a colon, interpret it as a file name.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_retrieve_cred.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_retrieve_cred.txt
new file mode 100644
index 000000000000..b334e3062a01
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_retrieve_cred.txt
@@ -0,0 +1,94 @@
+krb5_cc_retrieve_cred - Retrieve a specified credentials from a credential cache.
+===================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_retrieve_cred(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds * mcreds, krb5_creds * creds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[in]** **flags** - Flags bit mask
+
+ **[in]** **mcreds** - Credentials to match
+
+ **[out]** **creds** - Credentials matching the requested value
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function searches a credential cache for credentials matching *mcreds* and returns it if found.
+
+
+
+Valid values for *flags* are:
+
+
+
+
+
+ - :data:`KRB5_TC_MATCH_TIMES` The requested lifetime must be at least as great as in *mcreds* .
+
+
+ - :data:`KRB5_TC_MATCH_IS_SKEY` The *is_skey* field much match exactly.
+
+
+ - :data:`KRB5_TC_MATCH_FLAGS` Flags set in *mcreds* must be set.
+
+
+ - :data:`KRB5_TC_MATCH_TIMES_EXACT` The requested lifetime must match exactly.
+
+
+ - :data:`KRB5_TC_MATCH_FLAGS_EXACT` Flags must match exactly.
+
+
+ - :data:`KRB5_TC_MATCH_AUTHDATA` The authorization data must match.
+
+
+ - :data:`KRB5_TC_MATCH_SRV_NAMEONLY` Only the name portion of the principal name must match, not the realm.
+
+
+ - :data:`KRB5_TC_MATCH_2ND_TKT` The second tickets must match.
+
+
+ - :data:`KRB5_TC_MATCH_KTYPE` The encryption key types must match.
+
+
+ - :data:`KRB5_TC_SUPPORTED_KTYPES` Check all matching entries that have any supported encryption type and return the one with the encryption type listed earliest.
+
+ Use :c:func:`krb5_free_cred_contents()` to free *creds* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_select.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_select.txt
new file mode 100644
index 000000000000..221eb2844460
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_select.txt
@@ -0,0 +1,73 @@
+krb5_cc_select - Select a credential cache to use with a server principal.
+============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_select(krb5_context context, krb5_principal server, krb5_ccache * cache_out, krb5_principal * princ_out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **server** - Server principal
+
+ **[out]** **cache_out** - Credential cache handle
+
+ **[out]** **princ_out** - Client principal
+
+
+..
+
+
+
+:return:
+ - If an appropriate cache is found, 0 is returned, cache_out is set to the selected cache, and princ_out is set to the default principal of that cache.
+
+..
+
+
+
+
+
+
+
+Select a cache within the collection containing credentials most appropriate for use with *server* , according to configured rules and heuristics.
+
+
+
+Use :c:func:`krb5_cc_close()` to release *cache_out* when it is no longer needed. Use :c:func:`krb5_free_principal()` to release *princ_out* when it is no longer needed. Note that *princ_out* is set in some error conditions.
+
+
+
+If the appropriate client principal can be authoritatively determined but the cache collection contains no credentials for that principal, then KRB5_CC_NOTFOUND is returned, *cache_out* is set to NULL, and *princ_out* is set to the appropriate client principal.
+
+
+
+If no configured mechanism can determine the appropriate cache or principal, KRB5_CC_NOTFOUND is returned and *cache_out* and *princ_out* are set to NULL.
+
+
+
+Any other error code indicates a fatal error in the processing of a cache selection mechanism.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.10
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_set_config.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_set_config.txt
new file mode 100644
index 000000000000..fdcc61391db3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_set_config.txt
@@ -0,0 +1,66 @@
+krb5_cc_set_config - Store a configuration value in a credential cache.
+=========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_set_config(krb5_context context, krb5_ccache id, krb5_const_principal principal, const char * key, krb5_data * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **id** - Credential cache handle
+
+ **[in]** **principal** - Configuration for a specific principal; if NULL, global for the whole cache
+
+ **[in]** **key** - Name of config variable
+
+ **[in]** **data** - Data to store, or NULL to remove
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+.. warning::
+
+ Before version 1.10 *data* was assumed to be always non-null.
+
+
+.. note::
+
+ Existing configuration under the same key is over-written.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_set_default_name.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_set_default_name.txt
new file mode 100644
index 000000000000..f1eb902c25e8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_set_default_name.txt
@@ -0,0 +1,57 @@
+krb5_cc_set_default_name - Set the default credential cache name.
+===================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_set_default_name(krb5_context context, const char * name)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **name** - Default credential cache name or NULL
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KV5M_CONTEXT Bad magic number for _krb5_context structure
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Set the default credential cache name to *name* for future operations using *context* . If *name* is NULL, clear any previous application-set default name and forget any cached value of the default name for *context* .
+
+
+
+Calls to this function invalidate the result of any previous calls to :c:func:`krb5_cc_default_name()` using *context* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_set_flags.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_set_flags.txt
new file mode 100644
index 000000000000..d68d874835e0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_set_flags.txt
@@ -0,0 +1,51 @@
+krb5_cc_set_flags - Set options flags on a credential cache.
+==============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_set_flags(krb5_context context, krb5_ccache cache, krb5_flags flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[in]** **flags** - Flag bit mask
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function resets *cache* flags to *flags* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_start_seq_get.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_start_seq_get.txt
new file mode 100644
index 000000000000..75f4b09f1d17
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_start_seq_get.txt
@@ -0,0 +1,59 @@
+krb5_cc_start_seq_get - Prepare to sequentially read every credential in a credential cache.
+==============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_start_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor * cursor)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[out]** **cursor** - Cursor
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+ :c:func:`krb5_cc_end_seq_get()` must be called to complete the retrieve operation.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If *cache* is modified between the time of the call to this function and the time of the final :c:func:`krb5_cc_end_seq_get()` , the results are undefined.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_store_cred.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_store_cred.txt
new file mode 100644
index 000000000000..1cc27ccc8685
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_store_cred.txt
@@ -0,0 +1,54 @@
+krb5_cc_store_cred - Store credentials in a credential cache.
+===============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_store_cred(krb5_context context, krb5_ccache cache, krb5_creds * creds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+ **[in]** **creds** - Credentials to be stored in cache
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Permission errors; storage failure errors; Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function stores *creds* into *cache* . If *creds->server* and the server in the decoded ticket *creds->ticket* differ, the credentials will be stored under both server principal names.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_support_switch.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_support_switch.txt
new file mode 100644
index 000000000000..394629b0f939
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_support_switch.txt
@@ -0,0 +1,50 @@
+krb5_cc_support_switch - Determine whether a credential cache type supports switching.
+========================================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_cc_support_switch(krb5_context context, const char * type)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **type** - Credential cache type
+
+
+..
+
+
+:retval:
+ - TRUE if type supports switching
+ - FALSE if it does not or is not a valid credential cache type.
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.10
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_switch.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_switch.txt
new file mode 100644
index 000000000000..ef4c570d4c74
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_switch.txt
@@ -0,0 +1,52 @@
+krb5_cc_switch - Make a credential cache the primary cache for its collection.
+================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_switch(krb5_context context, krb5_ccache cache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cache** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success, or the type of cache doesn't support switching
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+If the type of *cache* supports it, set *cache* to be the primary credential cache for the collection it belongs to.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cc_unlock.txt b/doc/html/_sources/appdev/refs/api/krb5_cc_unlock.txt
new file mode 100644
index 000000000000..5e280461af3b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cc_unlock.txt
@@ -0,0 +1,49 @@
+krb5_cc_unlock - Unlock a credential cache.
+=============================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cc_unlock(krb5_context context, krb5_ccache ccache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ccache** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function unlocks the *ccache* locked by :c:func:`krb5_cc_lock()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_free.txt b/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_free.txt
new file mode 100644
index 000000000000..14bc7306c1d6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_free.txt
@@ -0,0 +1,48 @@
+krb5_cccol_cursor_free - Free a credential cache collection cursor.
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cccol_cursor_free(krb5_context context, krb5_cccol_cursor * cursor)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cursor** - Cursor
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_cccol_cursor_new()` , :c:func:`krb5_cccol_cursor_next()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_new.txt b/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_new.txt
new file mode 100644
index 000000000000..8a447fc6a4dc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_new.txt
@@ -0,0 +1,56 @@
+krb5_cccol_cursor_new - Prepare to iterate over the collection of known credential caches.
+============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cccol_cursor_new(krb5_context context, krb5_cccol_cursor * cursor)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **cursor** - Cursor
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Get a new cache iteration *cursor* that will iterate over all known credential caches independent of type.
+
+
+
+Use :c:func:`krb5_cccol_cursor_free()` to release *cursor* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_cccol_cursor_next()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_next.txt b/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_next.txt
new file mode 100644
index 000000000000..7b8c9646280e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cccol_cursor_next.txt
@@ -0,0 +1,62 @@
+krb5_cccol_cursor_next - Get the next credential cache in the collection.
+===========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cccol_cursor_next(krb5_context context, krb5_cccol_cursor cursor, krb5_ccache * ccache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cursor** - Cursor
+
+ **[out]** **ccache** - Credential cache handle
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_cc_close()` to close *ccache* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_cccol_cursor_new()` , :c:func:`krb5_cccol_cursor_free()`
+
+
+
+
+
+
+.. note::
+
+ When all caches are iterated over and the end of the list is reached, *ccache* is set to NULL.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cccol_have_content.txt b/doc/html/_sources/appdev/refs/api/krb5_cccol_have_content.txt
new file mode 100644
index 000000000000..fbd6a8565c6e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cccol_have_content.txt
@@ -0,0 +1,48 @@
+krb5_cccol_have_content - Check if the credential cache collection contains any credentials.
+==============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cccol_have_content(krb5_context context)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+
+..
+
+
+:retval:
+ - 0 Credentials are available in the collection
+ - KRB5_CC_NOTFOUND The collection contains no credentials
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cccol_last_change_time.txt b/doc/html/_sources/appdev/refs/api/krb5_cccol_last_change_time.txt
new file mode 100644
index 000000000000..b6868d061098
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cccol_last_change_time.txt
@@ -0,0 +1,53 @@
+krb5_cccol_last_change_time - Return a timestamp of the last modification of any known credential cache.
+==========================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cccol_last_change_time(krb5_context context, krb5_timestamp * change_time)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **change_time** - Last modification timestamp
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function returns the most recent modification time of any known credential cache, ignoring any caches which cannot supply a last modification time.
+
+
+
+If there are no known credential caches, *change_time* is set to 0.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cccol_lock.txt b/doc/html/_sources/appdev/refs/api/krb5_cccol_lock.txt
new file mode 100644
index 000000000000..79071292e271
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cccol_lock.txt
@@ -0,0 +1,51 @@
+krb5_cccol_lock - Acquire a global lock for credential caches.
+================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cccol_lock(krb5_context context)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function locks the global credential cache collection, ensuring that no ccaches are added to or removed from it until the collection lock is released.
+
+
+
+Use :c:func:`krb5_cccol_unlock()` to unlock the lock.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cccol_unlock.txt b/doc/html/_sources/appdev/refs/api/krb5_cccol_unlock.txt
new file mode 100644
index 000000000000..4c5a2145e335
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cccol_unlock.txt
@@ -0,0 +1,47 @@
+krb5_cccol_unlock - Release a global lock for credential caches.
+==================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cccol_unlock(krb5_context context)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function unlocks the lock from :c:func:`krb5_cccol_lock()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_change_password.txt b/doc/html/_sources/appdev/refs/api/krb5_change_password.txt
new file mode 100644
index 000000000000..7c5db7f5c5f1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_change_password.txt
@@ -0,0 +1,77 @@
+krb5_change_password - Change a password for an existing Kerberos account.
+============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_change_password(krb5_context context, krb5_creds * creds, const char * newpw, int * result_code, krb5_data * result_code_string, krb5_data * result_string)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **creds** - Credentials for kadmin/changepw service
+
+ **[in]** **newpw** - New password
+
+ **[out]** **result_code** - Numeric error code from server
+
+ **[out]** **result_code_string** - String equivalent to *result_code*
+
+ **[out]** **result_string** - Change password response from the KDC
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Change the password for the existing principal identified by *creds* .
+
+
+
+The possible values of the output *result_code* are:
+
+
+
+
+
+ - :data:`KRB5_KPASSWD_SUCCESS` (0) - success
+
+
+ - :data:`KRB5_KPASSWD_MALFORMED` (1) - Malformed request error
+
+
+ - :data:`KRB5_KPASSWD_HARDERROR` (2) - Server error
+
+
+ - :data:`KRB5_KPASSWD_AUTHERROR` (3) - Authentication error
+
+
+ - :data:`KRB5_KPASSWD_SOFTERROR` (4) - Password change rejected
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_check_clockskew.txt b/doc/html/_sources/appdev/refs/api/krb5_check_clockskew.txt
new file mode 100644
index 000000000000..4999d4851800
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_check_clockskew.txt
@@ -0,0 +1,54 @@
+krb5_check_clockskew - Check if a timestamp is within the allowed clock skew of the current time.
+===================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_check_clockskew(krb5_context context, krb5_timestamp date)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **date** - Timestamp to check
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5KRB_AP_ERR_SKEW date is not within allowable clock skew
+
+
+..
+
+
+
+
+
+
+
+This function checks if *date* is close enough to the current time according to the configured allowable clock skew.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.10
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_checksum_size.txt b/doc/html/_sources/appdev/refs/api/krb5_checksum_size.txt
new file mode 100644
index 000000000000..5a6769914f13
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_checksum_size.txt
@@ -0,0 +1,44 @@
+krb5_checksum_size
+==================
+
+..
+
+.. c:function:: size_t krb5_checksum_size(krb5_context context, krb5_cksumtype ctype)
+
+..
+
+
+:param:
+
+ **context**
+
+ **ctype**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED See krb5_c_checksum_length()
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_chpw_message.txt b/doc/html/_sources/appdev/refs/api/krb5_chpw_message.txt
new file mode 100644
index 000000000000..372c95d29f61
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_chpw_message.txt
@@ -0,0 +1,62 @@
+krb5_chpw_message - Get a result message for changing or setting a password.
+==============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_chpw_message(krb5_context context, const krb5_data * server_string, char ** message_out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **server_string** - Data returned from the remote system
+
+ **[out]** **message_out** - A message displayable to the user
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function processes the *server_string* returned in the *result_string* parameter of :c:func:`krb5_change_password()` , :c:func:`krb5_set_password()` , and related functions, and returns a displayable string. If *server_string* contains Active Directory structured policy information, it will be converted into human-readable text.
+
+
+
+Use :c:func:`krb5_free_string()` to free *message_out* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_cksumtype_to_string.txt b/doc/html/_sources/appdev/refs/api/krb5_cksumtype_to_string.txt
new file mode 100644
index 000000000000..a297c8f9666d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_cksumtype_to_string.txt
@@ -0,0 +1,47 @@
+krb5_cksumtype_to_string - Convert a checksum type to a string.
+=================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_cksumtype_to_string(krb5_cksumtype cksumtype, char * buffer, size_t buflen)
+
+..
+
+
+:param:
+
+ **[in]** **cksumtype** - Checksum type
+
+ **[out]** **buffer** - Buffer to hold converted checksum type
+
+ **[in]** **buflen** - Storage available in *buffer*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_clear_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_clear_error_message.txt
new file mode 100644
index 000000000000..c988ca3ab07b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_clear_error_message.txt
@@ -0,0 +1,40 @@
+krb5_clear_error_message - Clear the extended error message in a context.
+===========================================================================
+
+..
+
+.. c:function:: void krb5_clear_error_message(krb5_context ctx)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function unsets the extended error message in a context, to ensure that it is not mistakenly applied to another occurrence of the same error code.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_addresses.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_addresses.txt
new file mode 100644
index 000000000000..a9c7c748356e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_addresses.txt
@@ -0,0 +1,51 @@
+krb5_copy_addresses - Copy an array of addresses.
+===================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_addresses(krb5_context context, krb5_address *const * inaddr, krb5_address *** outaddr)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **inaddr** - Array of addresses to be copied
+
+ **[out]** **outaddr** - Copy of array of addresses
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new address array containing a copy of *inaddr* . Use :c:func:`krb5_free_addresses()` to free *outaddr* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_authdata.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_authdata.txt
new file mode 100644
index 000000000000..0ee9ba0c6f0e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_authdata.txt
@@ -0,0 +1,59 @@
+krb5_copy_authdata - Copy an authorization data list.
+=======================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_authdata(krb5_context context, krb5_authdata *const * in_authdat, krb5_authdata *** out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **in_authdat** - List of *krb5_authdata* structures
+
+ **[out]** **out** - New array of *krb5_authdata* structures
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new authorization data list containing a copy of *in_authdat* , which must be null-terminated. Use :c:func:`krb5_free_authdata()` to free *out* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The last array entry in *in_authdat* must be a NULL pointer.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_authenticator.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_authenticator.txt
new file mode 100644
index 000000000000..bc0c3459d80d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_authenticator.txt
@@ -0,0 +1,51 @@
+krb5_copy_authenticator - Copy a krb5_authenticator structure.
+================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_authenticator(krb5_context context, const krb5_authenticator * authfrom, krb5_authenticator ** authto)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **authfrom** - krb5_authenticator structure to be copied
+
+ **[out]** **authto** - Copy of krb5_authenticator structure
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new krb5_authenticator structure with the content of *authfrom* . Use :c:func:`krb5_free_authenticator()` to free *authto* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_checksum.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_checksum.txt
new file mode 100644
index 000000000000..1c9395501490
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_checksum.txt
@@ -0,0 +1,51 @@
+krb5_copy_checksum - Copy a krb5_checksum structure.
+======================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_checksum(krb5_context context, const krb5_checksum * ckfrom, krb5_checksum ** ckto)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ckfrom** - Checksum to be copied
+
+ **[out]** **ckto** - Copy of krb5_checksum structure
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new krb5_checksum structure with the contents of *ckfrom* . Use :c:func:`krb5_free_checksum()` to free *ckto* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_context.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_context.txt
new file mode 100644
index 000000000000..2b5d2154dd11
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_context.txt
@@ -0,0 +1,52 @@
+krb5_copy_context - Copy a krb5_context structure.
+====================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_context(krb5_context ctx, krb5_context * nctx_out)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[out]** **nctx_out** - New context structure
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+The newly created context must be released by calling :c:func:`krb5_free_context()` when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_creds.txt
new file mode 100644
index 000000000000..862293b075bc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_creds.txt
@@ -0,0 +1,51 @@
+krb5_copy_creds - Copy a krb5_creds structure.
+================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_creds(krb5_context context, const krb5_creds * incred, krb5_creds ** outcred)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **incred** - Credentials structure to be copied
+
+ **[out]** **outcred** - Copy of *incred*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new credential with the contents of *incred* . Use :c:func:`krb5_free_creds()` to free *outcred* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_data.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_data.txt
new file mode 100644
index 000000000000..81ad0f2af5b0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_data.txt
@@ -0,0 +1,51 @@
+krb5_copy_data - Copy a krb5_data object.
+===========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_data(krb5_context context, const krb5_data * indata, krb5_data ** outdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **indata** - Data object to be copied
+
+ **[out]** **outdata** - Copy of *indata*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new krb5_data object with the contents of *indata* . Use :c:func:`krb5_free_data()` to free *outdata* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_error_message.txt
new file mode 100644
index 000000000000..3904cabfff44
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_error_message.txt
@@ -0,0 +1,42 @@
+krb5_copy_error_message - Copy the most recent extended error message from one context to another.
+====================================================================================================
+
+..
+
+.. c:function:: void krb5_copy_error_message(krb5_context dest_ctx, krb5_context src_ctx)
+
+..
+
+
+:param:
+
+ **[in]** **dest_ctx** - Library context to copy message to
+
+ **[in]** **src_ctx** - Library context with current message
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_keyblock.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_keyblock.txt
new file mode 100644
index 000000000000..5bb2958ff546
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_keyblock.txt
@@ -0,0 +1,51 @@
+krb5_copy_keyblock - Copy a keyblock.
+=======================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_keyblock(krb5_context context, const krb5_keyblock * from, krb5_keyblock ** to)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **from** - Keyblock to be copied
+
+ **[out]** **to** - Copy of keyblock *from*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new keyblock with the same contents as *from* . Use :c:func:`krb5_free_keyblock()` to free *to* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_keyblock_contents.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_keyblock_contents.txt
new file mode 100644
index 000000000000..9f858598f6b1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_keyblock_contents.txt
@@ -0,0 +1,51 @@
+krb5_copy_keyblock_contents - Copy the contents of a keyblock.
+================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_keyblock_contents(krb5_context context, const krb5_keyblock * from, krb5_keyblock * to)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **from** - Key to be copied
+
+ **[out]** **to** - Output key
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function copies the contents of *from* to *to* . Use :c:func:`krb5_free_keyblock_contents()` to free *to* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_principal.txt
new file mode 100644
index 000000000000..1ca9fea71603
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_principal.txt
@@ -0,0 +1,51 @@
+krb5_copy_principal - Copy a principal.
+=========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_principal(krb5_context context, krb5_const_principal inprinc, krb5_principal * outprinc)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **inprinc** - Principal to be copied
+
+ **[out]** **outprinc** - Copy of *inprinc*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new principal structure with the contents of *inprinc* . Use :c:func:`krb5_free_principal()` to free *outprinc* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_copy_ticket.txt b/doc/html/_sources/appdev/refs/api/krb5_copy_ticket.txt
new file mode 100644
index 000000000000..a643cc5f42fa
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_copy_ticket.txt
@@ -0,0 +1,51 @@
+krb5_copy_ticket - Copy a krb5_ticket structure.
+==================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_copy_ticket(krb5_context context, const krb5_ticket * from, krb5_ticket ** pto)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **from** - Ticket to be copied
+
+ **[out]** **pto** - Copy of ticket
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new krb5_ticket structure containing the contents of *from* . Use :c:func:`krb5_free_ticket()` to free *pto* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_decode_authdata_container.txt b/doc/html/_sources/appdev/refs/api/krb5_decode_authdata_container.txt
new file mode 100644
index 000000000000..791b41be893c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_decode_authdata_container.txt
@@ -0,0 +1,52 @@
+krb5_decode_authdata_container - Unwrap authorization data.
+=============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_decode_authdata_container(krb5_context context, krb5_authdatatype type, const krb5_authdata * container, krb5_authdata *** authdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **type** - :data:`KRB5_AUTHDATA` type of *container*
+
+ **[in]** **container** - Authorization data to be decoded
+
+ **[out]** **authdata** - List of decoded authorization data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_encode_authdata_container()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_decode_ticket.txt b/doc/html/_sources/appdev/refs/api/krb5_decode_ticket.txt
new file mode 100644
index 000000000000..8f2cf8210baf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_decode_ticket.txt
@@ -0,0 +1,45 @@
+krb5_decode_ticket - Decode an ASN.1-formatted ticket.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_decode_ticket(const krb5_data * code, krb5_ticket ** rep)
+
+..
+
+
+:param:
+
+ **[in]** **code** - ASN.1-formatted ticket
+
+ **[out]** **rep** - Decoded ticket information
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_decrypt.txt b/doc/html/_sources/appdev/refs/api/krb5_decrypt.txt
new file mode 100644
index 000000000000..eb8123ff54e0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_decrypt.txt
@@ -0,0 +1,52 @@
+krb5_decrypt
+============
+
+..
+
+.. c:function:: krb5_error_code krb5_decrypt(krb5_context context, krb5_const_pointer inptr, krb5_pointer outptr, size_t size, krb5_encrypt_block * eblock, krb5_pointer ivec)
+
+..
+
+
+:param:
+
+ **context**
+
+ **inptr**
+
+ **outptr**
+
+ **size**
+
+ **eblock**
+
+ **ivec**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_deltat_to_string.txt b/doc/html/_sources/appdev/refs/api/krb5_deltat_to_string.txt
new file mode 100644
index 000000000000..3b66ba3b2095
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_deltat_to_string.txt
@@ -0,0 +1,47 @@
+krb5_deltat_to_string - Convert a relative time value to a string.
+====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_deltat_to_string(krb5_deltat deltat, char * buffer, size_t buflen)
+
+..
+
+
+:param:
+
+ **[in]** **deltat** - Relative time value to convert
+
+ **[out]** **buffer** - Buffer to hold time string
+
+ **[in]** **buflen** - Storage available in *buffer*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_eblock_enctype.txt b/doc/html/_sources/appdev/refs/api/krb5_eblock_enctype.txt
new file mode 100644
index 000000000000..c621a6df3755
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_eblock_enctype.txt
@@ -0,0 +1,44 @@
+krb5_eblock_enctype
+===================
+
+..
+
+.. c:function:: krb5_enctype krb5_eblock_enctype(krb5_context context, const krb5_encrypt_block * eblock)
+
+..
+
+
+:param:
+
+ **context**
+
+ **eblock**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_encode_authdata_container.txt b/doc/html/_sources/appdev/refs/api/krb5_encode_authdata_container.txt
new file mode 100644
index 000000000000..4ca53b4b4315
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_encode_authdata_container.txt
@@ -0,0 +1,56 @@
+krb5_encode_authdata_container - Wrap authorization data in a container.
+==========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_encode_authdata_container(krb5_context context, krb5_authdatatype type, krb5_authdata *const * authdata, krb5_authdata *** container)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **type** - :data:`KRB5_AUTHDATA` type of *container*
+
+ **[in]** **authdata** - List of authorization data to be encoded
+
+ **[out]** **container** - List of encoded authorization data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+The result is returned in *container* as a single-element list.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_decode_authdata_container()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_encrypt.txt b/doc/html/_sources/appdev/refs/api/krb5_encrypt.txt
new file mode 100644
index 000000000000..56e93be139cf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_encrypt.txt
@@ -0,0 +1,52 @@
+krb5_encrypt
+============
+
+..
+
+.. c:function:: krb5_error_code krb5_encrypt(krb5_context context, krb5_const_pointer inptr, krb5_pointer outptr, size_t size, krb5_encrypt_block * eblock, krb5_pointer ivec)
+
+..
+
+
+:param:
+
+ **context**
+
+ **inptr**
+
+ **outptr**
+
+ **size**
+
+ **eblock**
+
+ **ivec**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_encrypt_size.txt b/doc/html/_sources/appdev/refs/api/krb5_encrypt_size.txt
new file mode 100644
index 000000000000..f331490f5d2a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_encrypt_size.txt
@@ -0,0 +1,44 @@
+krb5_encrypt_size
+=================
+
+..
+
+.. c:function:: size_t krb5_encrypt_size(size_t length, krb5_enctype crypto)
+
+..
+
+
+:param:
+
+ **length**
+
+ **crypto**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_enctype_to_name.txt b/doc/html/_sources/appdev/refs/api/krb5_enctype_to_name.txt
new file mode 100644
index 000000000000..d830697cfd4b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_enctype_to_name.txt
@@ -0,0 +1,57 @@
+krb5_enctype_to_name - Convert an encryption type to a name or alias.
+=======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_enctype_to_name(krb5_enctype enctype, krb5_boolean shortest, char * buffer, size_t buflen)
+
+..
+
+
+:param:
+
+ **[in]** **enctype** - Encryption type
+
+ **[in]** **shortest** - Flag
+
+ **[out]** **buffer** - Buffer to hold encryption type string
+
+ **[in]** **buflen** - Storage available in *buffer*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+If *shortest* is FALSE, this function returns the enctype's canonical name (like"aes128-cts-hmac-sha1-96"). If *shortest* is TRUE, it return the enctype's shortest alias (like"aes128-cts").
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_enctype_to_string.txt b/doc/html/_sources/appdev/refs/api/krb5_enctype_to_string.txt
new file mode 100644
index 000000000000..d46d83eba426
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_enctype_to_string.txt
@@ -0,0 +1,47 @@
+krb5_enctype_to_string - Convert an encryption type to a string.
+==================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_enctype_to_string(krb5_enctype enctype, char * buffer, size_t buflen)
+
+..
+
+
+:param:
+
+ **[in]** **enctype** - Encryption type
+
+ **[out]** **buffer** - Buffer to hold encryption type string
+
+ **[in]** **buflen** - Storage available in *buffer*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_expand_hostname.txt b/doc/html/_sources/appdev/refs/api/krb5_expand_hostname.txt
new file mode 100644
index 000000000000..60ff0b5c321e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_expand_hostname.txt
@@ -0,0 +1,52 @@
+krb5_expand_hostname - Canonicalize a hostname, possibly using name service.
+==============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_expand_hostname(krb5_context context, const char * host, char ** canonhost_out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **host** - Input hostname
+
+ **[out]** **canonhost_out** - Canonicalized hostname
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function canonicalizes orig_hostname, possibly using name service lookups if configuration permits. Use :c:func:`krb5_free_string()` to free *canonhost_out* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.15
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_find_authdata.txt b/doc/html/_sources/appdev/refs/api/krb5_find_authdata.txt
new file mode 100644
index 000000000000..42aea2c405c0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_find_authdata.txt
@@ -0,0 +1,56 @@
+krb5_find_authdata - Find authorization data elements.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_find_authdata(krb5_context context, krb5_authdata *const * ticket_authdata, krb5_authdata *const * ap_req_authdata, krb5_authdatatype ad_type, krb5_authdata *** results)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ticket_authdata** - Authorization data list from ticket
+
+ **[in]** **ap_req_authdata** - Authorization data list from AP request
+
+ **[in]** **ad_type** - Authorization data type to find
+
+ **[out]** **results** - List of matching entries
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function searches *ticket_authdata* and *ap_req_authdata* for elements of type *ad_type* . Either input list may be NULL, in which case it will not be searched; otherwise, the input lists must be terminated by NULL entries. This function will search inside AD-IF-RELEVANT containers if found in either list. Use :c:func:`krb5_free_authdata()` to free *results* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.10
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_finish_key.txt b/doc/html/_sources/appdev/refs/api/krb5_finish_key.txt
new file mode 100644
index 000000000000..a9f3da59e0a3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_finish_key.txt
@@ -0,0 +1,44 @@
+krb5_finish_key
+===============
+
+..
+
+.. c:function:: krb5_error_code krb5_finish_key(krb5_context context, krb5_encrypt_block * eblock)
+
+..
+
+
+:param:
+
+ **context**
+
+ **eblock**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_finish_random_key.txt b/doc/html/_sources/appdev/refs/api/krb5_finish_random_key.txt
new file mode 100644
index 000000000000..26c8b59d29d0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_finish_random_key.txt
@@ -0,0 +1,46 @@
+krb5_finish_random_key
+======================
+
+..
+
+.. c:function:: krb5_error_code krb5_finish_random_key(krb5_context context, const krb5_encrypt_block * eblock, krb5_pointer * ptr)
+
+..
+
+
+:param:
+
+ **context**
+
+ **eblock**
+
+ **ptr**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_addresses.txt b/doc/html/_sources/appdev/refs/api/krb5_free_addresses.txt
new file mode 100644
index 000000000000..6717f529d8a4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_addresses.txt
@@ -0,0 +1,54 @@
+krb5_free_addresses - Free the data stored in array of addresses.
+===================================================================
+
+..
+
+.. c:function:: void krb5_free_addresses(krb5_context context, krb5_address ** val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Array of addresses to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the array itself.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The last entry in the array must be a NULL pointer.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_ap_rep_enc_part.txt b/doc/html/_sources/appdev/refs/api/krb5_free_ap_rep_enc_part.txt
new file mode 100644
index 000000000000..33f24e8926ff
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_ap_rep_enc_part.txt
@@ -0,0 +1,42 @@
+krb5_free_ap_rep_enc_part - Free a krb5_ap_rep_enc_part structure.
+====================================================================
+
+..
+
+.. c:function:: void krb5_free_ap_rep_enc_part(krb5_context context, krb5_ap_rep_enc_part * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - AP-REP enc part to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_authdata.txt b/doc/html/_sources/appdev/refs/api/krb5_free_authdata.txt
new file mode 100644
index 000000000000..e2b3e90b0826
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_authdata.txt
@@ -0,0 +1,54 @@
+krb5_free_authdata - Free the storage assigned to array of authentication data.
+=================================================================================
+
+..
+
+.. c:function:: void krb5_free_authdata(krb5_context context, krb5_authdata ** val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Array of authentication data to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the array itself.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The last entry in the array must be a NULL pointer.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_authenticator.txt b/doc/html/_sources/appdev/refs/api/krb5_free_authenticator.txt
new file mode 100644
index 000000000000..505a508ae731
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_authenticator.txt
@@ -0,0 +1,42 @@
+krb5_free_authenticator - Free a krb5_authenticator structure.
+================================================================
+
+..
+
+.. c:function:: void krb5_free_authenticator(krb5_context context, krb5_authenticator * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Authenticator structure to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_checksum.txt b/doc/html/_sources/appdev/refs/api/krb5_free_checksum.txt
new file mode 100644
index 000000000000..b1cd9bc591d4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_checksum.txt
@@ -0,0 +1,42 @@
+krb5_free_checksum - Free a krb5_checksum structure.
+======================================================
+
+..
+
+.. c:function:: void krb5_free_checksum(krb5_context context, register krb5_checksum * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Checksum structure to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_checksum_contents.txt b/doc/html/_sources/appdev/refs/api/krb5_free_checksum_contents.txt
new file mode 100644
index 000000000000..d265d49f770a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_checksum_contents.txt
@@ -0,0 +1,42 @@
+krb5_free_checksum_contents - Free the contents of a krb5_checksum structure.
+===============================================================================
+
+..
+
+.. c:function:: void krb5_free_checksum_contents(krb5_context context, register krb5_checksum * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Checksum structure to free contents of
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* , but not the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_cksumtypes.txt b/doc/html/_sources/appdev/refs/api/krb5_free_cksumtypes.txt
new file mode 100644
index 000000000000..d4d0d288d3cc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_cksumtypes.txt
@@ -0,0 +1,42 @@
+krb5_free_cksumtypes - Free an array of checksum types.
+=========================================================
+
+..
+
+.. c:function:: void krb5_free_cksumtypes(krb5_context context, krb5_cksumtype * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Array of checksum types to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_context.txt b/doc/html/_sources/appdev/refs/api/krb5_free_context.txt
new file mode 100644
index 000000000000..dc05228a2a40
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_context.txt
@@ -0,0 +1,40 @@
+krb5_free_context - Free a krb5 library context.
+==================================================
+
+..
+
+.. c:function:: void krb5_free_context(krb5_context context)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees a *context* that was created by :c:func:`krb5_init_context()` or :c:func:`krb5_init_secure_context()` .
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_cred_contents.txt b/doc/html/_sources/appdev/refs/api/krb5_free_cred_contents.txt
new file mode 100644
index 000000000000..cc26788018cb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_cred_contents.txt
@@ -0,0 +1,42 @@
+krb5_free_cred_contents - Free the contents of a krb5_creds structure.
+========================================================================
+
+..
+
+.. c:function:: void krb5_free_cred_contents(krb5_context context, krb5_creds * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Credential structure to free contents of
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* , but not the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_free_creds.txt
new file mode 100644
index 000000000000..c78ecdfcb83b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_creds.txt
@@ -0,0 +1,42 @@
+krb5_free_creds - Free a krb5_creds structure.
+================================================
+
+..
+
+.. c:function:: void krb5_free_creds(krb5_context context, krb5_creds * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Credential structure to be freed.
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_data.txt b/doc/html/_sources/appdev/refs/api/krb5_free_data.txt
new file mode 100644
index 000000000000..8cd23a50cc69
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_data.txt
@@ -0,0 +1,42 @@
+krb5_free_data - Free a krb5_data structure.
+==============================================
+
+..
+
+.. c:function:: void krb5_free_data(krb5_context context, krb5_data * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Data structure to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_data_contents.txt b/doc/html/_sources/appdev/refs/api/krb5_free_data_contents.txt
new file mode 100644
index 000000000000..9feddc9632fa
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_data_contents.txt
@@ -0,0 +1,42 @@
+krb5_free_data_contents - Free the contents of a krb5_data structure and zero the data field.
+===============================================================================================
+
+..
+
+.. c:function:: void krb5_free_data_contents(krb5_context context, krb5_data * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Data structure to free contents of
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* , but not the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_default_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_free_default_realm.txt
new file mode 100644
index 000000000000..79228bf869d9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_default_realm.txt
@@ -0,0 +1,42 @@
+krb5_free_default_realm - Free a default realm string returned by krb5_get_default_realm() .
+==============================================================================================
+
+..
+
+.. c:function:: void krb5_free_default_realm(krb5_context context, char * lrealm)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **lrealm** - Realm to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_enctypes.txt b/doc/html/_sources/appdev/refs/api/krb5_free_enctypes.txt
new file mode 100644
index 000000000000..e1189cb0aade
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_enctypes.txt
@@ -0,0 +1,46 @@
+krb5_free_enctypes - Free an array of encryption types.
+=========================================================
+
+..
+
+.. c:function:: void krb5_free_enctypes(krb5_context context, krb5_enctype * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Array of enctypes to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.12
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_error.txt b/doc/html/_sources/appdev/refs/api/krb5_free_error.txt
new file mode 100644
index 000000000000..4339bda91b2d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_error.txt
@@ -0,0 +1,42 @@
+krb5_free_error - Free an error allocated by krb5_read_error() or krb5_sendauth() .
+=====================================================================================
+
+..
+
+.. c:function:: void krb5_free_error(krb5_context context, register krb5_error * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Error data structure to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_free_error_message.txt
new file mode 100644
index 000000000000..b4b006134acc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_error_message.txt
@@ -0,0 +1,42 @@
+krb5_free_error_message - Free an error message generated by krb5_get_error_message() .
+=========================================================================================
+
+..
+
+.. c:function:: void krb5_free_error_message(krb5_context ctx, const char * msg)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **msg** - Pointer to error message
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_host_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_free_host_realm.txt
new file mode 100644
index 000000000000..a38e6ae6a1ab
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_host_realm.txt
@@ -0,0 +1,48 @@
+krb5_free_host_realm - Free the memory allocated by krb5_get_host_realm() .
+=============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_free_host_realm(krb5_context context, char *const * realmlist)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **realmlist** - List of realm names to be released
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_keyblock.txt b/doc/html/_sources/appdev/refs/api/krb5_free_keyblock.txt
new file mode 100644
index 000000000000..d3b7dc62b2d5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_keyblock.txt
@@ -0,0 +1,42 @@
+krb5_free_keyblock - Free a krb5_keyblock structure.
+======================================================
+
+..
+
+.. c:function:: void krb5_free_keyblock(krb5_context context, register krb5_keyblock * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Keyblock to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_keyblock_contents.txt b/doc/html/_sources/appdev/refs/api/krb5_free_keyblock_contents.txt
new file mode 100644
index 000000000000..5f5aa5824bc6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_keyblock_contents.txt
@@ -0,0 +1,42 @@
+krb5_free_keyblock_contents - Free the contents of a krb5_keyblock structure.
+===============================================================================
+
+..
+
+.. c:function:: void krb5_free_keyblock_contents(krb5_context context, register krb5_keyblock * key)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Keyblock to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *key* , but not the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_keytab_entry_contents.txt b/doc/html/_sources/appdev/refs/api/krb5_free_keytab_entry_contents.txt
new file mode 100644
index 000000000000..adecfe2fa9dc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_keytab_entry_contents.txt
@@ -0,0 +1,53 @@
+krb5_free_keytab_entry_contents - Free the contents of a key table entry.
+===========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_free_keytab_entry_contents(krb5_context context, krb5_keytab_entry * entry)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **entry** - Key table entry whose contents are to be freed
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The pointer is not freed.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_free_principal.txt
new file mode 100644
index 000000000000..218369af551e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_principal.txt
@@ -0,0 +1,42 @@
+krb5_free_principal - Free the storage assigned to a principal.
+=================================================================
+
+..
+
+.. c:function:: void krb5_free_principal(krb5_context context, krb5_principal val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Principal to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_string.txt b/doc/html/_sources/appdev/refs/api/krb5_free_string.txt
new file mode 100644
index 000000000000..4c7bcac3c100
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_string.txt
@@ -0,0 +1,46 @@
+krb5_free_string - Free a string allocated by a krb5 function.
+================================================================
+
+..
+
+.. c:function:: void krb5_free_string(krb5_context context, char * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - String to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.10
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_tgt_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_free_tgt_creds.txt
new file mode 100644
index 000000000000..f885fc0c9a8d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_tgt_creds.txt
@@ -0,0 +1,50 @@
+krb5_free_tgt_creds - Free an array of credential structures.
+===============================================================
+
+..
+
+.. c:function:: void krb5_free_tgt_creds(krb5_context context, krb5_creds ** tgts)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **tgts** - Null-terminated array of credentials to free
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The last entry in the array *tgts* must be a NULL pointer.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_ticket.txt b/doc/html/_sources/appdev/refs/api/krb5_free_ticket.txt
new file mode 100644
index 000000000000..f523917c8d7c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_ticket.txt
@@ -0,0 +1,42 @@
+krb5_free_ticket - Free a ticket.
+===================================
+
+..
+
+.. c:function:: void krb5_free_ticket(krb5_context context, krb5_ticket * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Ticket to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *val* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_free_unparsed_name.txt b/doc/html/_sources/appdev/refs/api/krb5_free_unparsed_name.txt
new file mode 100644
index 000000000000..b6f9e1626b91
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_free_unparsed_name.txt
@@ -0,0 +1,42 @@
+krb5_free_unparsed_name - Free a string representation of a principal.
+========================================================================
+
+..
+
+.. c:function:: void krb5_free_unparsed_name(krb5_context context, char * val)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **val** - Name string to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_fwd_tgt_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_fwd_tgt_creds.txt
new file mode 100644
index 000000000000..a6273bbb2c75
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_fwd_tgt_creds.txt
@@ -0,0 +1,68 @@
+krb5_fwd_tgt_creds - Get a forwarded TGT and format a KRB-CRED message.
+=========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_fwd_tgt_creds(krb5_context context, krb5_auth_context auth_context, char * rhost, krb5_principal client, krb5_principal server, krb5_ccache cc, int forwardable, krb5_data * outbuf)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **rhost** - Remote host
+
+ **[in]** **client** - Client principal of TGT
+
+ **[in]** **server** - Principal of server to receive TGT
+
+ **[in]** **cc** - Credential cache handle (NULL to use default)
+
+ **[in]** **forwardable** - Whether TGT should be forwardable
+
+ **[out]** **outbuf** - KRB-CRED message
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - ENOMEM Insufficient memory
+ - KRB5_PRINC_NOMATCH Requested principal and ticket do not match
+ - KRB5_NO_TKT_SUPPLIED Request did not supply a ticket
+ - KRB5_CC_BADNAME Credential cache name or principal name malformed
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Get a TGT for use at the remote host *rhost* and format it into a KRB-CRED message. If *rhost* is NULL and *server* is of type :data:`KRB5_NT_SRV_HST` , the second component of *server* will be used.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_credentials.txt b/doc/html/_sources/appdev/refs/api/krb5_get_credentials.txt
new file mode 100644
index 000000000000..6cf56d0c71c3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_credentials.txt
@@ -0,0 +1,81 @@
+krb5_get_credentials - Get an additional ticket.
+==================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_credentials(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds * in_creds, krb5_creds ** out_creds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **options** - Options
+
+ **[in]** **ccache** - Credential cache handle
+
+ **[in]** **in_creds** - Input credentials
+
+ **[out]** **out_creds** - Output updated credentials
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Use *ccache* or a TGS exchange to get a service ticket matching *in_creds* .
+
+
+
+Valid values for *options* are:
+
+ - :data:`KRB5_GC_CACHED` Search only credential cache for the ticket
+
+
+ - :data:`KRB5_GC_USER_USER` Return a user to user authentication ticket
+
+ *in_creds* must be non-null. *in_creds->client* and *in_creds->server* must be filled in to specify the client and the server respectively. If any authorization data needs to be requested for the service ticket (such as restrictions on how the ticket can be used), specify it in *in_creds->authdata* ; otherwise set *in_creds->authdata* to NULL. The session key type is specified in *in_creds->keyblock.enctype* , if it is nonzero.
+
+
+
+The expiration date is specified in *in_creds->times.endtime* . The KDC may return tickets with an earlier expiration date. If *in_creds->times.endtime* is set to 0, the latest possible expiration date will be requested.
+
+
+
+Any returned ticket and intermediate ticket-granting tickets are stored in *ccache* .
+
+
+
+Use :c:func:`krb5_free_creds()` to free *out_creds* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_credentials_renew.txt b/doc/html/_sources/appdev/refs/api/krb5_get_credentials_renew.txt
new file mode 100644
index 000000000000..75aac54057ed
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_credentials_renew.txt
@@ -0,0 +1,50 @@
+krb5_get_credentials_renew
+==========================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_credentials_renew(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds * in_creds, krb5_creds ** out_creds)
+
+..
+
+
+:param:
+
+ **context**
+
+ **options**
+
+ **ccache**
+
+ **in_creds**
+
+ **out_creds**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_get_renewed_creds.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_credentials_validate.txt b/doc/html/_sources/appdev/refs/api/krb5_get_credentials_validate.txt
new file mode 100644
index 000000000000..29033b9d5c31
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_credentials_validate.txt
@@ -0,0 +1,50 @@
+krb5_get_credentials_validate
+=============================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_credentials_validate(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds * in_creds, krb5_creds ** out_creds)
+
+..
+
+
+:param:
+
+ **context**
+
+ **options**
+
+ **ccache**
+
+ **in_creds**
+
+ **out_creds**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_get_validated_creds.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_default_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_get_default_realm.txt
new file mode 100644
index 000000000000..5b63648cad73
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_default_realm.txt
@@ -0,0 +1,56 @@
+krb5_get_default_realm - Retrieve the default realm.
+======================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_default_realm(krb5_context context, char ** lrealm)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **lrealm** - Default realm name
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Retrieves the default realm to be used if no user-specified realm is available.
+
+
+
+Use :c:func:`krb5_free_default_realm()` to free *lrealm* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_get_error_message.txt
new file mode 100644
index 000000000000..81b7de31f1b0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_error_message.txt
@@ -0,0 +1,62 @@
+krb5_get_error_message - Get the (possibly extended) error message for a code.
+================================================================================
+
+..
+
+.. c:function:: const char * krb5_get_error_message(krb5_context ctx, krb5_error_code code)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **code** - Error code
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+The behavior of :c:func:`krb5_get_error_message()` is only defined the first time it is called after a failed call to a krb5 function using the same context, and only when the error code passed in is the same as that returned by the krb5 function.
+
+
+
+This function never returns NULL, so its result may be used unconditionally as a C string.
+
+
+
+The string returned by this function must be freed using :c:func:`krb5_free_error_message()`
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ Future versions may return the same string for the second and following calls.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_fallback_host_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_get_fallback_host_realm.txt
new file mode 100644
index 000000000000..6ab4330cc686
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_fallback_host_realm.txt
@@ -0,0 +1,52 @@
+krb5_get_fallback_host_realm
+============================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_fallback_host_realm(krb5_context context, krb5_data * hdata, char *** realmsp)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **hdata** - Host name (or NULL)
+
+ **[out]** **realmsp** - Null-terminated list of realm names
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Fill in *realmsp* with a pointer to a null-terminated list of realm names obtained through heuristics or insecure resolution methods which have lower priority than KDC referrals.
+
+
+
+If *host* is NULL, the local host's realms are determined.
+
+
+
+Use :c:func:`krb5_free_host_realm()` to release *realmsp* when it is no longer needed.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_host_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_get_host_realm.txt
new file mode 100644
index 000000000000..7cc8e947a2a3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_host_realm.txt
@@ -0,0 +1,63 @@
+krb5_get_host_realm - Get the Kerberos realm names for a host.
+================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_host_realm(krb5_context context, const char * host, char *** realmsp)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **host** - Host name (or NULL)
+
+ **[out]** **realmsp** - Null-terminated list of realm names
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - ENOMEM Insufficient memory
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Fill in *realmsp* with a pointer to a null-terminated list of realm names. If there are no known realms for the host, a list containing the referral (empty) realm is returned.
+
+
+
+If *host* is NULL, the local host's realms are determined.
+
+
+
+Use :c:func:`krb5_free_host_realm()` to release *realmsp* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_keytab.txt b/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_keytab.txt
new file mode 100644
index 000000000000..fd3985bbd2eb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_keytab.txt
@@ -0,0 +1,58 @@
+krb5_get_in_tkt_with_keytab
+===========================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_in_tkt_with_keytab(krb5_context context, krb5_flags options, krb5_address *const * addrs, krb5_enctype * ktypes, krb5_preauthtype * pre_auth_types, krb5_keytab arg_keytab, krb5_ccache ccache, krb5_creds * creds, krb5_kdc_rep ** ret_as_reply)
+
+..
+
+
+:param:
+
+ **context**
+
+ **options**
+
+ **addrs**
+
+ **ktypes**
+
+ **pre_auth_types**
+
+ **arg_keytab**
+
+ **ccache**
+
+ **creds**
+
+ **ret_as_reply**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_get_init_creds_keytab() .
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_password.txt b/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_password.txt
new file mode 100644
index 000000000000..556c6fee0ab7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_password.txt
@@ -0,0 +1,58 @@
+krb5_get_in_tkt_with_password
+=============================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_in_tkt_with_password(krb5_context context, krb5_flags options, krb5_address *const * addrs, krb5_enctype * ktypes, krb5_preauthtype * pre_auth_types, const char * password, krb5_ccache ccache, krb5_creds * creds, krb5_kdc_rep ** ret_as_reply)
+
+..
+
+
+:param:
+
+ **context**
+
+ **options**
+
+ **addrs**
+
+ **ktypes**
+
+ **pre_auth_types**
+
+ **password**
+
+ **ccache**
+
+ **creds**
+
+ **ret_as_reply**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_get_init_creds_password() .
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_skey.txt b/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_skey.txt
new file mode 100644
index 000000000000..fed7f0b47fec
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_in_tkt_with_skey.txt
@@ -0,0 +1,58 @@
+krb5_get_in_tkt_with_skey
+=========================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_in_tkt_with_skey(krb5_context context, krb5_flags options, krb5_address *const * addrs, krb5_enctype * ktypes, krb5_preauthtype * pre_auth_types, const krb5_keyblock * key, krb5_ccache ccache, krb5_creds * creds, krb5_kdc_rep ** ret_as_reply)
+
+..
+
+
+:param:
+
+ **context**
+
+ **options**
+
+ **addrs**
+
+ **ktypes**
+
+ **pre_auth_types**
+
+ **key**
+
+ **ccache**
+
+ **creds**
+
+ **ret_as_reply**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_get_init_creds().
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_keytab.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_keytab.txt
new file mode 100644
index 000000000000..32ce5cb62a71
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_keytab.txt
@@ -0,0 +1,62 @@
+krb5_get_init_creds_keytab - Get initial credentials using a key table.
+=========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_keytab(krb5_context context, krb5_creds * creds, krb5_principal client, krb5_keytab arg_keytab, krb5_deltat start_time, const char * in_tkt_service, krb5_get_init_creds_opt * k5_gic_options)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **creds** - New credentials
+
+ **[in]** **client** - Client principal
+
+ **[in]** **arg_keytab** - Key table handle
+
+ **[in]** **start_time** - Time when ticket becomes valid (0 for now)
+
+ **[in]** **in_tkt_service** - Service name of initial credentials (or NULL)
+
+ **[in]** **k5_gic_options** - Initial credential options
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function requests KDC for an initial credentials for *client* using a client key stored in *arg_keytab* . If *in_tkt_service* is specified, it is parsed as a principal name (with the realm ignored) and used as the service principal for the request; otherwise the ticket-granting service is used.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_alloc.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_alloc.txt
new file mode 100644
index 000000000000..45fa82d65514
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_alloc.txt
@@ -0,0 +1,49 @@
+krb5_get_init_creds_opt_alloc - Allocate a new initial credential options structure.
+======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_alloc(krb5_context context, krb5_get_init_creds_opt ** opt)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **opt** - New options structure
+
+
+..
+
+
+:retval:
+ - 0 - Success; Kerberos errors otherwise.
+
+
+..
+
+
+
+
+
+
+
+This function is the preferred way to create an options structure for getting initial credentials, and is required to make use of certain options. Use :c:func:`krb5_get_init_creds_opt_free()` to free *opt* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_free.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_free.txt
new file mode 100644
index 000000000000..0e75e152a718
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_free.txt
@@ -0,0 +1,45 @@
+krb5_get_init_creds_opt_free - Free initial credential options.
+=================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_free(krb5_context context, krb5_get_init_creds_opt * opt)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options structure to free
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_get_init_creds_opt_alloc()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_get_fast_flags.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_get_fast_flags.txt
new file mode 100644
index 000000000000..b38ddacf3087
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_get_fast_flags.txt
@@ -0,0 +1,47 @@
+krb5_get_init_creds_opt_get_fast_flags - Retrieve FAST flags from initial credential options.
+===============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_get_fast_flags(krb5_context context, krb5_get_init_creds_opt * opt, krb5_flags * out_flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options
+
+ **[out]** **out_flags** - FAST flags
+
+
+..
+
+
+:retval:
+ - 0 - Success; Kerberos errors otherwise.
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_init.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_init.txt
new file mode 100644
index 000000000000..1cbaa9abc864
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_init.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_init
+============================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_init(krb5_get_init_creds_opt * opt)
+
+..
+
+
+:param:
+
+ **opt**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Use krb5_get_init_creds_opt_alloc() instead.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_address_list.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_address_list.txt
new file mode 100644
index 000000000000..e460a46e96e5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_address_list.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_address_list - Set address restrictions in initial credential options.
+====================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_address_list(krb5_get_init_creds_opt * opt, krb5_address ** addresses)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **addresses** - Null-terminated array of addresses
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_anonymous.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_anonymous.txt
new file mode 100644
index 000000000000..6953b2c526c6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_anonymous.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_anonymous - Set or unset the anonymous flag in initial credential options.
+========================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_anonymous(krb5_get_init_creds_opt * opt, int anonymous)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **anonymous** - Whether to make an anonymous request
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function may be used to request anonymous credentials from the KDC by setting *anonymous* to non-zero. Note that anonymous credentials are only a request; clients must verify that credentials are anonymous if that is a requirement.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_canonicalize.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_canonicalize.txt
new file mode 100644
index 000000000000..099644fea0da
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_canonicalize.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_canonicalize - Set or unset the canonicalize flag in initial credential options.
+==============================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_canonicalize(krb5_get_init_creds_opt * opt, int canonicalize)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **canonicalize** - Whether to canonicalize client principal
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_change_password_prompt.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_change_password_prompt.txt
new file mode 100644
index 000000000000..633dd7df0d60
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_change_password_prompt.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_change_password_prompt - Set or unset change-password-prompt flag in initial credential options.
+==============================================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_change_password_prompt(krb5_get_init_creds_opt * opt, int prompt)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **prompt** - Whether to prompt to change password
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This flag is on by default. It controls whether :c:func:`krb5_get_init_creds_password()` will react to an expired-password error by prompting for a new password and attempting to change the old one.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_etype_list.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_etype_list.txt
new file mode 100644
index 000000000000..ac6f8ab6402a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_etype_list.txt
@@ -0,0 +1,44 @@
+krb5_get_init_creds_opt_set_etype_list - Set allowable encryption types in initial credential options.
+========================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_etype_list(krb5_get_init_creds_opt * opt, krb5_enctype * etype_list, int etype_list_length)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **etype_list** - Array of encryption types
+
+ **[in]** **etype_list_length** - Length of *etype_list*
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_expire_callback.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_expire_callback.txt
new file mode 100644
index 000000000000..2690cf1947c8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_expire_callback.txt
@@ -0,0 +1,78 @@
+krb5_get_init_creds_opt_set_expire_callback - Set an expiration callback in initial credential options.
+=========================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_expire_callback(krb5_context context, krb5_get_init_creds_opt * opt, krb5_expire_callback_func cb, void * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **cb** - Callback function
+
+ **[in]** **data** - Callback argument
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Set a callback to receive password and account expiration times.
+
+
+
+This option only applies to :c:func:`krb5_get_init_creds_password()` . *cb* will be invoked if and only if credentials are successfully acquired. The callback will receive the *context* from the :c:func:`krb5_get_init_creds_password()` call and the *data* argument supplied with this API. The remaining arguments should be interpreted as follows:
+
+
+
+If *is_last_req* is true, then the KDC reply contained last-req entries which unambiguously indicated the password expiration, account expiration, or both. (If either value was not present, the corresponding argument will be 0.) Furthermore, a non-zero *password_expiration* should be taken as a suggestion from the KDC that a warning be displayed.
+
+
+
+If *is_last_req* is false, then *account_expiration* will be 0 and *password_expiration* will contain the expiration time of either the password or account, or 0 if no expiration time was indicated in the KDC reply. The callback should independently decide whether to display a password expiration warning.
+
+
+
+Note that *cb* may be invoked even if credentials are being acquired for the kadmin/changepw service in order to change the password. It is the caller's responsibility to avoid displaying a password expiry warning in this case.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+.. warning::
+
+ Setting an expire callback with this API will cause :c:func:`krb5_get_init_creds_password()` not to send password expiry warnings to the prompter, as it ordinarily may.
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_ccache.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_ccache.txt
new file mode 100644
index 000000000000..8a26b321b35e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_ccache.txt
@@ -0,0 +1,52 @@
+krb5_get_init_creds_opt_set_fast_ccache - Set FAST armor cache in initial credential options.
+===============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_fast_ccache(krb5_context context, krb5_get_init_creds_opt * opt, krb5_ccache ccache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options
+
+ **[in]** **ccache** - Credential cache handle
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function is similar to :c:func:`krb5_get_init_creds_opt_set_fast_ccache_name()` , but uses a credential cache handle instead of a name.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_ccache_name.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_ccache_name.txt
new file mode 100644
index 000000000000..da1c78231082
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_ccache_name.txt
@@ -0,0 +1,48 @@
+krb5_get_init_creds_opt_set_fast_ccache_name - Set location of FAST armor ccache in initial credential options.
+=================================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_fast_ccache_name(krb5_context context, krb5_get_init_creds_opt * opt, const char * fast_ccache_name)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options
+
+ **[in]** **fast_ccache_name** - Credential cache name
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Sets the location of a credential cache containing an armor ticket to protect an initial credential exchange using the FAST protocol extension.
+
+
+
+In version 1.7, setting an armor ccache requires that FAST be used for the exchange. In version 1.8 or later, setting the armor ccache causes FAST to be used if the KDC supports it; :c:func:`krb5_get_init_creds_opt_set_fast_flags()` must be used to require that FAST be used.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_flags.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_flags.txt
new file mode 100644
index 000000000000..272cbac19e4c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_fast_flags.txt
@@ -0,0 +1,51 @@
+krb5_get_init_creds_opt_set_fast_flags - Set FAST flags in initial credential options.
+========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_fast_flags(krb5_context context, krb5_get_init_creds_opt * opt, krb5_flags flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options
+
+ **[in]** **flags** - FAST flags
+
+
+..
+
+
+:retval:
+ - 0 - Success; Kerberos errors otherwise.
+
+
+..
+
+
+
+
+
+
+
+The following flag values are valid:
+
+ - :data:`KRB5_FAST_REQUIRED` - Require FAST to be used
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_forwardable.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_forwardable.txt
new file mode 100644
index 000000000000..50d64b8cb505
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_forwardable.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_forwardable - Set or unset the forwardable flag in initial credential options.
+============================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_forwardable(krb5_get_init_creds_opt * opt, int forwardable)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **forwardable** - Whether credentials should be forwardable
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_in_ccache.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_in_ccache.txt
new file mode 100644
index 000000000000..41d511766714
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_in_ccache.txt
@@ -0,0 +1,52 @@
+krb5_get_init_creds_opt_set_in_ccache - Set an input credential cache in initial credential options.
+======================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_in_ccache(krb5_context context, krb5_get_init_creds_opt * opt, krb5_ccache ccache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options
+
+ **[in]** **ccache** - Credential cache handle
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+If an input credential cache is set, then the krb5_get_init_creds family of APIs will read settings from it. Setting an input ccache is desirable when the application wishes to perform authentication in the same way (using the same preauthentication mechanisms, and making the same non-security- sensitive choices) as the previous authentication attempt, which stored information in the passed-in ccache.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_out_ccache.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_out_ccache.txt
new file mode 100644
index 000000000000..dcb1cf606c6a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_out_ccache.txt
@@ -0,0 +1,44 @@
+krb5_get_init_creds_opt_set_out_ccache - Set an output credential cache in initial credential options.
+========================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_out_ccache(krb5_context context, krb5_get_init_creds_opt * opt, krb5_ccache ccache)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options
+
+ **[in]** **ccache** - Credential cache handle
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+If an output credential cache is set, then the krb5_get_init_creds family of APIs will write credentials to it. Setting an output ccache is desirable both because it simplifies calling code and because it permits the krb5_get_init_creds APIs to write out configuration information about the realm to the ccache.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_pa.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_pa.txt
new file mode 100644
index 000000000000..a610fa0cb557
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_pa.txt
@@ -0,0 +1,46 @@
+krb5_get_init_creds_opt_set_pa - Supply options for preauthentication in initial credential options.
+======================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_pa(krb5_context context, krb5_get_init_creds_opt * opt, const char * attr, const char * value)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **attr** - Preauthentication option name
+
+ **[in]** **value** - Preauthentication option value
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function allows the caller to supply options for preauthentication. The values of *attr* and *value* are supplied to each preauthentication module available within *context* .
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_pac_request.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_pac_request.txt
new file mode 100644
index 000000000000..ed46081b99df
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_pac_request.txt
@@ -0,0 +1,52 @@
+krb5_get_init_creds_opt_set_pac_request - Ask the KDC to include or not include a PAC in the ticket.
+======================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_pac_request(krb5_context context, krb5_get_init_creds_opt * opt, krb5_boolean req_pac)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **req_pac** - Whether to request a PAC or not
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+If this option is set, the AS request will include a PAC-REQUEST pa-data item explicitly asking the KDC to either include or not include a privilege attribute certificate in the ticket authorization data. By default, no request is made; typically the KDC will default to including a PAC if it supports them.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.15
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_preauth_list.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_preauth_list.txt
new file mode 100644
index 000000000000..3bcbcb4d363d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_preauth_list.txt
@@ -0,0 +1,44 @@
+krb5_get_init_creds_opt_set_preauth_list - Set preauthentication types in initial credential options.
+=======================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt * opt, krb5_preauthtype * preauth_list, int preauth_list_length)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **preauth_list** - Array of preauthentication types
+
+ **[in]** **preauth_list_length** - Length of *preauth_list*
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function can be used to perform optimistic preauthentication when getting initial credentials, in combination with :c:func:`krb5_get_init_creds_opt_set_salt()` and :c:func:`krb5_get_init_creds_opt_set_pa()` .
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_proxiable.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_proxiable.txt
new file mode 100644
index 000000000000..7ced7273c668
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_proxiable.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_proxiable - Set or unset the proxiable flag in initial credential options.
+========================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_proxiable(krb5_get_init_creds_opt * opt, int proxiable)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **proxiable** - Whether credentials should be proxiable
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_renew_life.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_renew_life.txt
new file mode 100644
index 000000000000..58e938d9f079
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_renew_life.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_renew_life - Set the ticket renewal lifetime in initial credential options.
+=========================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_renew_life(krb5_get_init_creds_opt * opt, krb5_deltat renew_life)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Pointer to *options* field
+
+ **[in]** **renew_life** - Ticket renewal lifetime
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_responder.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_responder.txt
new file mode 100644
index 000000000000..220ba403df7a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_responder.txt
@@ -0,0 +1,50 @@
+krb5_get_init_creds_opt_set_responder - Set the responder function in initial credential options.
+===================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_opt_set_responder(krb5_context context, krb5_get_init_creds_opt * opt, krb5_responder_fn responder, void * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **responder** - Responder function
+
+ **[in]** **data** - Responder data argument
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_salt.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_salt.txt
new file mode 100644
index 000000000000..22512f671ad7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_salt.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_salt - Set salt for optimistic preauthentication in initial credential options.
+=============================================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt * opt, krb5_data * salt)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **salt** - Salt data
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+When getting initial credentials with a password, a salt string it used to convert the password to a key. Normally this salt is obtained from the first KDC reply, but when performing optimistic preauthentication, the client may need to supply the salt string with this function.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_tkt_life.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_tkt_life.txt
new file mode 100644
index 000000000000..a5c1f685ca52
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_tkt_life.txt
@@ -0,0 +1,42 @@
+krb5_get_init_creds_opt_set_tkt_life - Set the ticket lifetime in initial credential options.
+===============================================================================================
+
+..
+
+.. c:function:: void krb5_get_init_creds_opt_set_tkt_life(krb5_get_init_creds_opt * opt, krb5_deltat tkt_life)
+
+..
+
+
+:param:
+
+ **[in]** **opt** - Options structure
+
+ **[in]** **tkt_life** - Ticket lifetime
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_password.txt b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_password.txt
new file mode 100644
index 000000000000..1c6fd6853934
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_password.txt
@@ -0,0 +1,75 @@
+krb5_get_init_creds_password - Get initial credentials using a password.
+==========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_init_creds_password(krb5_context context, krb5_creds * creds, krb5_principal client, const char * password, krb5_prompter_fct prompter, void * data, krb5_deltat start_time, const char * in_tkt_service, krb5_get_init_creds_opt * k5_gic_options)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **creds** - New credentials
+
+ **[in]** **client** - Client principal
+
+ **[in]** **password** - Password (or NULL)
+
+ **[in]** **prompter** - Prompter function
+
+ **[in]** **data** - Prompter callback data
+
+ **[in]** **start_time** - Time when ticket becomes valid (0 for now)
+
+ **[in]** **in_tkt_service** - Service name of initial credentials (or NULL)
+
+ **[in]** **k5_gic_options** - Initial credential options
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - EINVAL Invalid argument
+ - KRB5_KDC_UNREACH Cannot contact any KDC for requested realm
+ - KRB5_PREAUTH_FAILED Generic Pre-athentication failure
+ - KRB5_LIBOS_PWDINTR Password read interrupted
+ - KRB5_REALM_CANT_RESOLVE Cannot resolve network address for KDC in requested realm
+ - KRB5KDC_ERR_KEY_EXP Password has expired
+ - KRB5_LIBOS_BADPWDMATCH Password mismatch
+ - KRB5_CHPW_PWDNULL New password cannot be zero length
+ - KRB5_CHPW_FAIL Password change failed
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function requests KDC for an initial credentials for *client* using *password* . If *password* is NULL, a password will be prompted for using *prompter* if necessary. If *in_tkt_service* is specified, it is parsed as a principal name (with the realm ignored) and used as the service principal for the request; otherwise the ticket-granting service is used.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_permitted_enctypes.txt b/doc/html/_sources/appdev/refs/api/krb5_get_permitted_enctypes.txt
new file mode 100644
index 000000000000..f55adc6bfe02
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_permitted_enctypes.txt
@@ -0,0 +1,53 @@
+krb5_get_permitted_enctypes - Return a list of encryption types permitted for session keys.
+=============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_permitted_enctypes(krb5_context context, krb5_enctype ** ktypes)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **ktypes** - Zero-terminated list of encryption types
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function returns the list of encryption types permitted for session keys within *context* , as determined by configuration or by a previous call to :c:func:`krb5_set_default_tgs_enctypes()` .
+
+
+
+Use :c:func:`krb5_free_enctypes()` to free *ktypes* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_profile.txt b/doc/html/_sources/appdev/refs/api/krb5_get_profile.txt
new file mode 100644
index 000000000000..4ef2949a32df
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_profile.txt
@@ -0,0 +1,56 @@
+krb5_get_profile - Retrieve configuration profile from the context.
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_profile(krb5_context context, struct _profile_t ** profile)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **profile** - Pointer to data read from a configuration file
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function creates a new *profile* object that reflects profile in the supplied *context* .
+
+
+
+The *profile* object may be freed with profile_release() function. See profile.h and profile API for more details.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_prompt_types.txt b/doc/html/_sources/appdev/refs/api/krb5_get_prompt_types.txt
new file mode 100644
index 000000000000..39156ca153af
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_prompt_types.txt
@@ -0,0 +1,43 @@
+krb5_get_prompt_types - Get prompt types array from a context.
+================================================================
+
+..
+
+.. c:function:: krb5_prompt_type * krb5_get_prompt_types(krb5_context context)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+
+..
+
+
+
+:return:
+ - Pointer to an array of prompt types corresponding to the prompter's prompts arguments. Each type has one of the following values: KRB5_PROMPT_TYPE_PASSWORD KRB5_PROMPT_TYPE_NEW_PASSWORD KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN KRB5_PROMPT_TYPE_PREAUTH
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_renewed_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_get_renewed_creds.txt
new file mode 100644
index 000000000000..21458f8531bd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_renewed_creds.txt
@@ -0,0 +1,62 @@
+krb5_get_renewed_creds - Get renewed credential from KDC using an existing credential.
+========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_renewed_creds(krb5_context context, krb5_creds * creds, krb5_principal client, krb5_ccache ccache, const char * in_tkt_service)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **creds** - Renewed credentials
+
+ **[in]** **client** - Client principal name
+
+ **[in]** **ccache** - Credential cache
+
+ **[in]** **in_tkt_service** - Server principal string (or NULL)
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function gets a renewed credential using an existing one from *ccache* . If *in_tkt_service* is specified, it is parsed (with the realm part ignored) and used as the server principal of the credential; otherwise, the ticket-granting service is used.
+
+
+
+If successful, the renewed credential is placed in *creds* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_server_rcache.txt b/doc/html/_sources/appdev/refs/api/krb5_get_server_rcache.txt
new file mode 100644
index 000000000000..0e7474725991
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_server_rcache.txt
@@ -0,0 +1,51 @@
+krb5_get_server_rcache - Generate a replay cache object for server use and open it.
+=====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_server_rcache(krb5_context context, const krb5_data * piece, krb5_rcache * rcptr)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **piece** - Unique identifier for replay cache
+
+ **[out]** **rcptr** - Handle to an open rcache
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function generates a replay cache name based on *piece* and opens a handle to it. Typically *piece* is the first component of the service principal name. Use krb5_rc_close() to close *rcptr* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_time_offsets.txt b/doc/html/_sources/appdev/refs/api/krb5_get_time_offsets.txt
new file mode 100644
index 000000000000..9bdd8ecb5e69
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_time_offsets.txt
@@ -0,0 +1,51 @@
+krb5_get_time_offsets - Return the time offsets from the os context.
+======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_time_offsets(krb5_context context, krb5_timestamp * seconds, krb5_int32 * microseconds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **seconds** - Time offset, seconds portion
+
+ **[out]** **microseconds** - Time offset, microseconds portion
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function returns the time offsets in *context* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_get_validated_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_get_validated_creds.txt
new file mode 100644
index 000000000000..e1bf3107abb7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_get_validated_creds.txt
@@ -0,0 +1,67 @@
+krb5_get_validated_creds - Get validated credentials from the KDC.
+====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_get_validated_creds(krb5_context context, krb5_creds * creds, krb5_principal client, krb5_ccache ccache, const char * in_tkt_service)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **creds** - Validated credentials
+
+ **[in]** **client** - Client principal name
+
+ **[in]** **ccache** - Credential cache
+
+ **[in]** **in_tkt_service** - Server principal string (or NULL)
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5_NO_2ND_TKT Request missing second ticket
+ - KRB5_NO_TKT_SUPPLIED Request did not supply a ticket
+ - KRB5_PRINC_NOMATCH Requested principal and ticket do not match
+ - KRB5_KDCREP_MODIFIED KDC reply did not match expectations
+ - KRB5_KDCREP_SKEW Clock skew too great in KDC reply
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function gets a validated credential using a postdated credential from *ccache* . If *in_tkt_service* is specified, it is parsed (with the realm part ignored) and used as the server principal of the credential; otherwise, the ticket-granting service is used.
+
+
+
+If successful, the validated credential is placed in *creds* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_context.txt b/doc/html/_sources/appdev/refs/api/krb5_init_context.txt
new file mode 100644
index 000000000000..ec50809c440b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_context.txt
@@ -0,0 +1,58 @@
+krb5_init_context - Create a krb5 library context.
+====================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_context(krb5_context * context)
+
+..
+
+
+:param:
+
+ **[out]** **context** - Library context
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+The *context* must be released by calling :c:func:`krb5_free_context()` when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+.. warning::
+
+ Any program or module that needs the Kerberos code to not trust the environment must use :c:func:`krb5_init_secure_context()` , or clean out the environment.
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_context_profile.txt b/doc/html/_sources/appdev/refs/api/krb5_init_context_profile.txt
new file mode 100644
index 000000000000..273230908a4a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_context_profile.txt
@@ -0,0 +1,55 @@
+krb5_init_context_profile - Create a krb5 library context using a specified profile.
+======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_context_profile(struct _profile_t * profile, krb5_flags flags, krb5_context * context)
+
+..
+
+
+:param:
+
+ **[in]** **profile** - Profile object (NULL to create default profile)
+
+ **[in]** **flags** - Context initialization flags
+
+ **[out]** **context** - Library context
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Create a context structure, optionally using a specified profile and initialization flags. If *profile* is NULL, the default profile will be created from config files. If *profile* is non-null, a copy of it will be made for the new context; the caller should still clean up its copy. Valid flag values are:
+
+
+
+
+
+ - :data:`KRB5_INIT_CONTEXT_SECURE` Ignore environment variables
+
+
+ - :data:`KRB5_INIT_CONTEXT_KDC` Use KDC configuration if creating profile
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_free.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_free.txt
new file mode 100644
index 000000000000..85efec065a5e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_free.txt
@@ -0,0 +1,42 @@
+krb5_init_creds_free - Free an initial credentials context.
+=============================================================
+
+..
+
+.. c:function:: void krb5_init_creds_free(krb5_context context, krb5_init_creds_context ctx)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_get.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_get.txt
new file mode 100644
index 000000000000..05c26f3759b4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_get.txt
@@ -0,0 +1,49 @@
+krb5_init_creds_get - Acquire credentials using an initial credentials context.
+=================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_get(krb5_context context, krb5_init_creds_context ctx)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function synchronously obtains credentials using a context created by :c:func:`krb5_init_creds_init()` . On successful return, the credentials can be retrieved with :c:func:`krb5_init_creds_get_creds()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_creds.txt
new file mode 100644
index 000000000000..46ef1cf4e1df
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_creds.txt
@@ -0,0 +1,51 @@
+krb5_init_creds_get_creds - Retrieve acquired credentials from an initial credentials context.
+================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_get_creds(krb5_context context, krb5_init_creds_context ctx, krb5_creds * creds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+ **[out]** **creds** - Acquired credentials
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function copies the acquired initial credentials from *ctx* into *creds* , after the successful completion of :c:func:`krb5_init_creds_get()` or :c:func:`krb5_init_creds_step()` . Use :c:func:`krb5_free_cred_contents()` to free *creds* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_error.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_error.txt
new file mode 100644
index 000000000000..66aea0b85b7f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_error.txt
@@ -0,0 +1,47 @@
+krb5_init_creds_get_error - Get the last error from KDC from an initial credentials context.
+==============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_get_error(krb5_context context, krb5_init_creds_context ctx, krb5_error ** error)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+ **[out]** **error** - Error from KDC, or NULL if none was received
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_times.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_times.txt
new file mode 100644
index 000000000000..7e9d516fc79b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_get_times.txt
@@ -0,0 +1,51 @@
+krb5_init_creds_get_times - Retrieve ticket times from an initial credentials context.
+========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_get_times(krb5_context context, krb5_init_creds_context ctx, krb5_ticket_times * times)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+ **[out]** **times** - Ticket times for acquired credentials
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+The initial credentials context must have completed obtaining credentials via either :c:func:`krb5_init_creds_get()` or :c:func:`krb5_init_creds_step()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_init.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_init.txt
new file mode 100644
index 000000000000..6bbbeed869e4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_init.txt
@@ -0,0 +1,59 @@
+krb5_init_creds_init - Create a context for acquiring initial credentials.
+============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_init(krb5_context context, krb5_principal client, krb5_prompter_fct prompter, void * data, krb5_deltat start_time, krb5_get_init_creds_opt * options, krb5_init_creds_context * ctx)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **client** - Client principal to get initial creds for
+
+ **[in]** **prompter** - Prompter callback
+
+ **[in]** **data** - Prompter callback argument
+
+ **[in]** **start_time** - Time when credentials become valid (0 for now)
+
+ **[in]** **options** - Options structure (NULL for default)
+
+ **[out]** **ctx** - New initial credentials context
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a new context for acquiring initial credentials. Use :c:func:`krb5_init_creds_free()` to free *ctx* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_keytab.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_keytab.txt
new file mode 100644
index 000000000000..222755aab8bb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_keytab.txt
@@ -0,0 +1,51 @@
+krb5_init_creds_set_keytab - Specify a keytab to use for acquiring initial credentials.
+=========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_set_keytab(krb5_context context, krb5_init_creds_context ctx, krb5_keytab keytab)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+ **[in]** **keytab** - Key table handle
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function supplies a keytab containing the client key for an initial credentials request.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_password.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_password.txt
new file mode 100644
index 000000000000..10ad140d04d3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_password.txt
@@ -0,0 +1,51 @@
+krb5_init_creds_set_password - Set a password for acquiring initial credentials.
+==================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_set_password(krb5_context context, krb5_init_creds_context ctx, const char * password)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+ **[in]** **password** - Password
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function supplies a password to be used to construct the client key for an initial credentials request.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_service.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_service.txt
new file mode 100644
index 000000000000..d08ffc7d629d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_set_service.txt
@@ -0,0 +1,51 @@
+krb5_init_creds_set_service - Specify a service principal for acquiring initial credentials.
+==============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_set_service(krb5_context context, krb5_init_creds_context ctx, const char * service)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+ **[in]** **service** - Service principal string
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function supplies a service principal string to acquire initial credentials for instead of the default krbtgt service. *service* is parsed as a principal name; any realm part is ignored.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_creds_step.txt b/doc/html/_sources/appdev/refs/api/krb5_init_creds_step.txt
new file mode 100644
index 000000000000..c4e8a202aa53
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_creds_step.txt
@@ -0,0 +1,65 @@
+krb5_init_creds_step - Get the next KDC request for acquiring initial credentials.
+====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_creds_step(krb5_context context, krb5_init_creds_context ctx, krb5_data * in, krb5_data * out, krb5_data * realm, unsigned int * flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - Initial credentials context
+
+ **[in]** **in** - KDC response (empty on the first call)
+
+ **[out]** **out** - Next KDC request
+
+ **[out]** **realm** - Realm for next KDC request
+
+ **[out]** **flags** - Output flags
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function constructs the next KDC request in an initial credential exchange, allowing the caller to control the transport of KDC requests and replies. On the first call, *in* should be set to an empty buffer; on subsequent calls, it should be set to the KDC's reply to the previous request.
+
+
+
+If more requests are needed, *flags* will be set to :data:`KRB5_INIT_CREDS_STEP_FLAG_CONTINUE` and the next request will be placed in *out* . If no more requests are needed, *flags* will not contain :data:`KRB5_INIT_CREDS_STEP_FLAG_CONTINUE` and *out* will be empty.
+
+
+
+If this function returns **KRB5KRB_ERR_RESPONSE_TOO_BIG** , the caller should transmit the next request using TCP rather than UDP. If this function returns any other error, the initial credential exchange has failed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_keyblock.txt b/doc/html/_sources/appdev/refs/api/krb5_init_keyblock.txt
new file mode 100644
index 000000000000..b0258eb6a067
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_keyblock.txt
@@ -0,0 +1,61 @@
+krb5_init_keyblock - Initialize an empty krb5_keyblock .
+==========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_keyblock(krb5_context context, krb5_enctype enctype, size_t length, krb5_keyblock ** out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enctype** - Encryption type
+
+ **[in]** **length** - Length of keyblock (or 0)
+
+ **[out]** **out** - New keyblock structure
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Initialize a new keyblock and allocate storage for the contents of the key. It is legal to pass in a length of 0, in which case contents are left unallocated. Use :c:func:`krb5_free_keyblock()` to free *out* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If *length* is set to 0, contents are left unallocated.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_random_key.txt b/doc/html/_sources/appdev/refs/api/krb5_init_random_key.txt
new file mode 100644
index 000000000000..271d7274a122
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_random_key.txt
@@ -0,0 +1,48 @@
+krb5_init_random_key
+====================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_random_key(krb5_context context, const krb5_encrypt_block * eblock, const krb5_keyblock * keyblock, krb5_pointer * ptr)
+
+..
+
+
+:param:
+
+ **context**
+
+ **eblock**
+
+ **keyblock**
+
+ **ptr**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_init_secure_context.txt b/doc/html/_sources/appdev/refs/api/krb5_init_secure_context.txt
new file mode 100644
index 000000000000..8d27396e3890
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_init_secure_context.txt
@@ -0,0 +1,54 @@
+krb5_init_secure_context - Create a krb5 library context using only configuration files.
+==========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_init_secure_context(krb5_context * context)
+
+..
+
+
+:param:
+
+ **[out]** **context** - Library context
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Create a context structure, using only system configuration files. All information passed through the environment variables is ignored.
+
+
+
+The *context* must be released by calling :c:func:`krb5_free_context()` when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_is_config_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_is_config_principal.txt
new file mode 100644
index 000000000000..3b50605a0547
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_is_config_principal.txt
@@ -0,0 +1,45 @@
+krb5_is_config_principal - Test whether a principal is a configuration principal.
+===================================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_is_config_principal(krb5_context context, krb5_const_principal principal)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **principal** - Principal to check
+
+
+..
+
+
+
+:return:
+ - TRUE if the principal is a configuration principal (generated part of krb5_cc_set_config() ); FALSE otherwise.
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_is_referral_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_is_referral_realm.txt
new file mode 100644
index 000000000000..89916c322a10
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_is_referral_realm.txt
@@ -0,0 +1,43 @@
+krb5_is_referral_realm - Check for a match with KRB5_REFERRAL_REALM.
+======================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_is_referral_realm(const krb5_data * r)
+
+..
+
+
+:param:
+
+ **[in]** **r** - Realm to check
+
+
+..
+
+
+
+:return:
+ - TRUE if r is zero-length, FALSE otherwise
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_is_thread_safe.txt b/doc/html/_sources/appdev/refs/api/krb5_is_thread_safe.txt
new file mode 100644
index 000000000000..812a2c321121
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_is_thread_safe.txt
@@ -0,0 +1,43 @@
+krb5_is_thread_safe - Test whether the Kerberos library was built with multithread support.
+=============================================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_is_thread_safe(void None)
+
+..
+
+
+:param:
+
+ **None**
+
+
+..
+
+
+:retval:
+ - TRUE if the library is threadsafe; FALSE otherwise
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_create_key.txt b/doc/html/_sources/appdev/refs/api/krb5_k_create_key.txt
new file mode 100644
index 000000000000..547338259701
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_create_key.txt
@@ -0,0 +1,51 @@
+krb5_k_create_key - Create a krb5_key from the enctype and key data in a keyblock.
+====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_create_key(krb5_context context, const krb5_keyblock * key_data, krb5_key * out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key_data** - Keyblock
+
+ **[out]** **out** - Opaque key
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - KRB5_BAD_ENCTYPE
+
+
+..
+
+
+
+
+
+
+
+The reference count on a key *out* is set to 1. Use :c:func:`krb5_k_free_key()` to free *out* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_decrypt.txt b/doc/html/_sources/appdev/refs/api/krb5_k_decrypt.txt
new file mode 100644
index 000000000000..81b5c6321520
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_decrypt.txt
@@ -0,0 +1,65 @@
+krb5_k_decrypt - Decrypt data using a key (operates on opaque key).
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_decrypt(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data * cipher_state, const krb5_enc_data * input, krb5_data * output)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Encryption key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[inout]** **cipher_state** - Cipher state; specify NULL if not needed
+
+ **[in]** **input** - Encrypted data
+
+ **[out]** **output** - Decrypted data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function decrypts the data block *input* and stores the output into *output* . The actual decryption key will be derived from *key* and *usage* if key derivation is specified for the encryption type. If non-null, *cipher_state* specifies the beginning state for the decryption operation, and is updated with the state to be passed as input to the next operation.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The caller must initialize *output* and allocate at least enough space for the result. The usual practice is to allocate an output buffer as long as the ciphertext, and let :c:func:`krb5_c_decrypt()` trim *output->length* . For some enctypes, the resulting *output->length* may include padding bytes.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_decrypt_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_k_decrypt_iov.txt
new file mode 100644
index 000000000000..f6cf2f31f6e3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_decrypt_iov.txt
@@ -0,0 +1,70 @@
+krb5_k_decrypt_iov - Decrypt data in place supporting AEAD (operates on opaque key).
+======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_decrypt_iov(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data * cipher_state, krb5_crypto_iov * data, size_t num_data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Encryption key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[in]** **cipher_state** - Cipher state; specify NULL if not needed
+
+ **[inout]** **data** - IOV array. Modified in-place.
+
+ **[in]** **num_data** - Size of *data*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function decrypts the data block *data* and stores the output in-place. The actual decryption key will be derived from *key* and *usage* if key derivation is specified for the encryption type. If non-null, *cipher_state* specifies the beginning state for the decryption operation, and is updated with the state to be passed as input to the next operation. The caller must allocate the right number of krb5_crypto_iov structures before calling into this API.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_k_encrypt_iov()`
+
+
+
+
+
+
+.. note::
+
+ On return from a :c:func:`krb5_c_decrypt_iov()` call, the *data->length* in the iov structure are adjusted to reflect actual lengths of the ciphertext used. For example, if the padding length is too large, the length will be reduced. Lengths are never increased.
+
+ This function is similar to :c:func:`krb5_c_decrypt_iov()` , but operates on opaque key *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_encrypt.txt b/doc/html/_sources/appdev/refs/api/krb5_k_encrypt.txt
new file mode 100644
index 000000000000..90f92c49e18c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_encrypt.txt
@@ -0,0 +1,65 @@
+krb5_k_encrypt - Encrypt data using a key (operates on opaque key).
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_encrypt(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data * cipher_state, const krb5_data * input, krb5_enc_data * output)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Encryption key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[inout]** **cipher_state** - Cipher state; specify NULL if not needed
+
+ **[in]** **input** - Data to be encrypted
+
+ **[out]** **output** - Encrypted data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function encrypts the data block *input* and stores the output into *output* . The actual encryption key will be derived from *key* and *usage* if key derivation is specified for the encryption type. If non-null, *cipher_state* specifies the beginning state for the encryption operation, and is updated with the state to be passed as input to the next operation.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The caller must initialize *output* and allocate at least enough space for the result (using :c:func:`krb5_c_encrypt_length()` to determine the amount of space needed). *output->length* will be set to the actual length of the ciphertext.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_encrypt_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_k_encrypt_iov.txt
new file mode 100644
index 000000000000..c22152946681
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_encrypt_iov.txt
@@ -0,0 +1,70 @@
+krb5_k_encrypt_iov - Encrypt data in place supporting AEAD (operates on opaque key).
+======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_encrypt_iov(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data * cipher_state, krb5_crypto_iov * data, size_t num_data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Encryption key
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[in]** **cipher_state** - Cipher state; specify NULL if not needed
+
+ **[inout]** **data** - IOV array. Modified in-place.
+
+ **[in]** **num_data** - Size of *data*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function encrypts the data block *data* and stores the output in-place. The actual encryption key will be derived from *key* and *usage* if key derivation is specified for the encryption type. If non-null, *cipher_state* specifies the beginning state for the encryption operation, and is updated with the state to be passed as input to the next operation. The caller must allocate the right number of krb5_crypto_iov structures before calling into this API.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_k_decrypt_iov()`
+
+
+
+
+
+
+.. note::
+
+ On return from a :c:func:`krb5_c_encrypt_iov()` call, the *data->length* in the iov structure are adjusted to reflect actual lengths of the ciphertext used. For example, if the padding length is too large, the length will be reduced. Lengths are never increased.
+
+ This function is similar to :c:func:`krb5_c_encrypt_iov()` , but operates on opaque key *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_free_key.txt b/doc/html/_sources/appdev/refs/api/krb5_k_free_key.txt
new file mode 100644
index 000000000000..c1060f6dd4d8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_free_key.txt
@@ -0,0 +1,39 @@
+krb5_k_free_key - Decrement the reference count on a key and free it if it hits zero.
+=======================================================================================
+
+..
+
+.. c:function:: void krb5_k_free_key(krb5_context context, krb5_key key)
+
+..
+
+
+:param:
+
+ **context**
+
+ **key**
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_key_enctype.txt b/doc/html/_sources/appdev/refs/api/krb5_k_key_enctype.txt
new file mode 100644
index 000000000000..d77a541e9869
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_key_enctype.txt
@@ -0,0 +1,39 @@
+krb5_k_key_enctype - Retrieve the enctype of a krb5_key structure.
+====================================================================
+
+..
+
+.. c:function:: krb5_enctype krb5_k_key_enctype(krb5_context context, krb5_key key)
+
+..
+
+
+:param:
+
+ **context**
+
+ **key**
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_key_keyblock.txt b/doc/html/_sources/appdev/refs/api/krb5_k_key_keyblock.txt
new file mode 100644
index 000000000000..efd782c95ee5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_key_keyblock.txt
@@ -0,0 +1,41 @@
+krb5_k_key_keyblock - Retrieve a copy of the keyblock from a krb5_key structure.
+==================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_key_keyblock(krb5_context context, krb5_key key, krb5_keyblock ** key_data)
+
+..
+
+
+:param:
+
+ **context**
+
+ **key**
+
+ **key_data**
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_make_checksum.txt b/doc/html/_sources/appdev/refs/api/krb5_k_make_checksum.txt
new file mode 100644
index 000000000000..2a11066fc7cf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_make_checksum.txt
@@ -0,0 +1,68 @@
+krb5_k_make_checksum - Compute a checksum (operates on opaque key).
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_make_checksum(krb5_context context, krb5_cksumtype cksumtype, krb5_key key, krb5_keyusage usage, const krb5_data * input, krb5_checksum * cksum)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cksumtype** - Checksum type (0 for mandatory type)
+
+ **[in]** **key** - Encryption key for a keyed checksum
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[in]** **input** - Input data
+
+ **[out]** **cksum** - Generated checksum
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function computes a checksum of type *cksumtype* over *input* , using *key* if the checksum type is a keyed checksum. If *cksumtype* is 0 and *key* is non-null, the checksum type will be the mandatory-to-implement checksum type for the key's encryption type. The actual checksum key will be derived from *key* and *usage* if key derivation is specified for the checksum type. The newly created *cksum* must be released by calling :c:func:`krb5_free_checksum_contents()` when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_c_verify_checksum()`
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_c_make_checksum()` , but operates on opaque *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_make_checksum_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_k_make_checksum_iov.txt
new file mode 100644
index 000000000000..381f70632bf8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_make_checksum_iov.txt
@@ -0,0 +1,68 @@
+krb5_k_make_checksum_iov - Fill in a checksum element in IOV array (operates on opaque key)
+=============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_make_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, krb5_key key, krb5_keyusage usage, krb5_crypto_iov * data, size_t num_data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cksumtype** - Checksum type (0 for mandatory type)
+
+ **[in]** **key** - Encryption key for a keyed checksum
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[inout]** **data** - IOV array
+
+ **[in]** **num_data** - Size of *data*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Create a checksum in the :data:`KRB5_CRYPTO_TYPE_CHECKSUM` element over :data:`KRB5_CRYPTO_TYPE_DATA` and :data:`KRB5_CRYPTO_TYPE_SIGN_ONLY` chunks in *data* . Only the :data:`KRB5_CRYPTO_TYPE_CHECKSUM` region is modified.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_k_verify_checksum_iov()`
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_c_make_checksum_iov()` , but operates on opaque *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_prf.txt b/doc/html/_sources/appdev/refs/api/krb5_k_prf.txt
new file mode 100644
index 000000000000..f6d952715098
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_prf.txt
@@ -0,0 +1,61 @@
+krb5_k_prf - Generate enctype-specific pseudo-random bytes (operates on opaque key).
+======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_prf(krb5_context context, krb5_key key, krb5_data * input, krb5_data * output)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Key
+
+ **[in]** **input** - Input data
+
+ **[out]** **output** - Output data
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function selects a pseudo-random function based on *key* and computes its value over *input* , placing the result into *output* . The caller must preinitialize *output* and allocate space for the result.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_c_prf()` , but operates on opaque *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_reference_key.txt b/doc/html/_sources/appdev/refs/api/krb5_k_reference_key.txt
new file mode 100644
index 000000000000..06b4629eda7c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_reference_key.txt
@@ -0,0 +1,39 @@
+krb5_k_reference_key - Increment the reference count on a key.
+================================================================
+
+..
+
+.. c:function:: void krb5_k_reference_key(krb5_context context, krb5_key key)
+
+..
+
+
+:param:
+
+ **context**
+
+ **key**
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_verify_checksum.txt b/doc/html/_sources/appdev/refs/api/krb5_k_verify_checksum.txt
new file mode 100644
index 000000000000..1a183f259804
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_verify_checksum.txt
@@ -0,0 +1,65 @@
+krb5_k_verify_checksum - Verify a checksum (operates on opaque key).
+======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_verify_checksum(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data * data, const krb5_checksum * cksum, krb5_boolean * valid)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Encryption key for a keyed checksum
+
+ **[in]** **usage** - *key* usage
+
+ **[in]** **data** - Data to be used to compute a new checksum using *key* to compare *cksum* against
+
+ **[in]** **cksum** - Checksum to be verified
+
+ **[out]** **valid** - Non-zero for success, zero for failure
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function verifies that *cksum* is a valid checksum for *data* . If the checksum type of *cksum* is a keyed checksum, *key* is used to verify the checksum. If the checksum type in *cksum* is 0 and *key* is not NULL, the mandatory checksum type for *key* will be used. The actual checksum key will be derived from *key* and *usage* if key derivation is specified for the checksum type.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_c_verify_checksum()` , but operates on opaque *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_k_verify_checksum_iov.txt b/doc/html/_sources/appdev/refs/api/krb5_k_verify_checksum_iov.txt
new file mode 100644
index 000000000000..1cfca031ea18
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_k_verify_checksum_iov.txt
@@ -0,0 +1,70 @@
+krb5_k_verify_checksum_iov - Validate a checksum element in IOV array (operates on opaque key).
+=================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_k_verify_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, krb5_key key, krb5_keyusage usage, const krb5_crypto_iov * data, size_t num_data, krb5_boolean * valid)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **cksumtype** - Checksum type (0 for mandatory type)
+
+ **[in]** **key** - Encryption key for a keyed checksum
+
+ **[in]** **usage** - Key usage (see :data:`KRB5_KEYUSAGE` types)
+
+ **[in]** **data** - IOV array
+
+ **[in]** **num_data** - Size of *data*
+
+ **[out]** **valid** - Non-zero for success, zero for failure
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Confirm that the checksum in the :data:`KRB5_CRYPTO_TYPE_CHECKSUM` element is a valid checksum of the :data:`KRB5_CRYPTO_TYPE_DATA` and :data:`KRB5_CRYPTO_TYPE_SIGN_ONLY` regions in the iov.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_k_make_checksum_iov()`
+
+
+
+
+
+
+.. note::
+
+ This function is similar to :c:func:`krb5_c_verify_checksum_iov()` , but operates on opaque *key* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_add_entry.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_add_entry.txt
new file mode 100644
index 000000000000..f762d360ff70
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_add_entry.txt
@@ -0,0 +1,52 @@
+krb5_kt_add_entry - Add a new entry to a key table.
+=====================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_add_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry * entry)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **id** - Key table handle
+
+ **[in]** **entry** - Entry to be added
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - ENOMEM Insufficient memory
+ - KRB5_KT_NOWRITE Key table is not writeable
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_client_default.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_client_default.txt
new file mode 100644
index 000000000000..8f5663bcc05b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_client_default.txt
@@ -0,0 +1,56 @@
+krb5_kt_client_default - Resolve the default client key table.
+================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_client_default(krb5_context context, krb5_keytab * keytab_out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **keytab_out** - Key table handle
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Fill *keytab_out* with a handle to the default client key table.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_close.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_close.txt
new file mode 100644
index 000000000000..4761ad689786
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_close.txt
@@ -0,0 +1,45 @@
+krb5_kt_close - Close a key table handle.
+===========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_close(krb5_context context, krb5_keytab keytab)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keytab** - Key table handle
+
+
+..
+
+
+:retval:
+ - 0 None
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_default.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_default.txt
new file mode 100644
index 000000000000..35f5a66049fb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_default.txt
@@ -0,0 +1,52 @@
+krb5_kt_default - Resolve the default key table.
+==================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_default(krb5_context context, krb5_keytab * id)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **id** - Key table handle
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Set *id* to a handle to the default key table. The key table is not opened.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_default_name.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_default_name.txt
new file mode 100644
index 000000000000..6f9e558f97f5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_default_name.txt
@@ -0,0 +1,55 @@
+krb5_kt_default_name - Get the default key table name.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_default_name(krb5_context context, char * name, int name_size)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **name** - Default key table name
+
+ **[in]** **name_size** - Space available in *name*
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5_CONFIG_NOTENUFSPACE Buffer is too short
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Fill *name* with the name of the default key table for *context* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_dup.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_dup.txt
new file mode 100644
index 000000000000..745463503769
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_dup.txt
@@ -0,0 +1,52 @@
+krb5_kt_dup - Duplicate keytab handle.
+========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_dup(krb5_context context, krb5_keytab in, krb5_keytab * out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **in** - Key table handle to be duplicated
+
+ **[out]** **out** - Key table handle
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Create a new handle referring to the same key table as *in* . The new handle and *in* can be closed independently.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.12
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_end_seq_get.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_end_seq_get.txt
new file mode 100644
index 000000000000..9e4265307468
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_end_seq_get.txt
@@ -0,0 +1,54 @@
+krb5_kt_end_seq_get - Release a keytab cursor.
+================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_end_seq_get(krb5_context context, krb5_keytab keytab, krb5_kt_cursor * cursor)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keytab** - Key table handle
+
+ **[out]** **cursor** - Cursor
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function should be called to release the cursor created by :c:func:`krb5_kt_start_seq_get()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_free_entry.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_free_entry.txt
new file mode 100644
index 000000000000..5eaa118f81c0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_free_entry.txt
@@ -0,0 +1,44 @@
+krb5_kt_free_entry
+==================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_free_entry(krb5_context context, krb5_keytab_entry * entry)
+
+..
+
+
+:param:
+
+ **context**
+
+ **entry**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Use krb5_free_keytab_entry_contents instead.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_get_entry.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_get_entry.txt
new file mode 100644
index 000000000000..cfbae19e62d5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_get_entry.txt
@@ -0,0 +1,70 @@
+krb5_kt_get_entry - Get an entry from a key table.
+====================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_get_entry(krb5_context context, krb5_keytab keytab, krb5_const_principal principal, krb5_kvno vno, krb5_enctype enctype, krb5_keytab_entry * entry)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keytab** - Key table handle
+
+ **[in]** **principal** - Principal name
+
+ **[in]** **vno** - Key version number (0 for highest available)
+
+ **[in]** **enctype** - Encryption type (0 zero for any enctype)
+
+ **[out]** **entry** - Returned entry from key table
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - Kerberos error codes on failure
+
+
+..
+
+
+
+
+
+
+
+Retrieve an entry from a key table which matches the *keytab* , *principal* , *vno* , and *enctype* . If *vno* is zero, retrieve the highest-numbered kvno matching the other fields. If *enctype* is 0, match any enctype.
+
+
+
+Use :c:func:`krb5_free_keytab_entry_contents()` to free *entry* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If *vno* is zero, the function retrieves the highest-numbered-kvno entry that matches the specified principal.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_get_name.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_get_name.txt
new file mode 100644
index 000000000000..5d36dbba68a8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_get_name.txt
@@ -0,0 +1,57 @@
+krb5_kt_get_name - Get a key table name.
+==========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_get_name(krb5_context context, krb5_keytab keytab, char * name, unsigned int namelen)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keytab** - Key table handle
+
+ **[out]** **name** - Key table name
+
+ **[in]** **namelen** - Maximum length to fill in name
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5_KT_NAME_TOOLONG Key table name does not fit in namelen bytes
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Fill *name* with the name of *keytab* including the type and delimiter.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_get_type.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_get_type.txt
new file mode 100644
index 000000000000..c675af8fa092
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_get_type.txt
@@ -0,0 +1,45 @@
+krb5_kt_get_type - Return the type of a key table.
+====================================================
+
+..
+
+.. c:function:: const char * krb5_kt_get_type(krb5_context context, krb5_keytab keytab)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keytab** - Key table handle
+
+
+..
+
+
+
+:return:
+ - The type of a key table as an alias that must not be modified or freed by the caller.
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_have_content.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_have_content.txt
new file mode 100644
index 000000000000..dffa94e6ea54
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_have_content.txt
@@ -0,0 +1,50 @@
+krb5_kt_have_content - Check if a keytab exists and contains entries.
+=======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_have_content(krb5_context context, krb5_keytab keytab)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keytab** - Key table handle
+
+
+..
+
+
+:retval:
+ - 0 Keytab exists and contains entries
+ - KRB5_KT_NOTFOUND Keytab does not contain entries
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_next_entry.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_next_entry.txt
new file mode 100644
index 000000000000..993a4cc6f801
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_next_entry.txt
@@ -0,0 +1,57 @@
+krb5_kt_next_entry - Retrieve the next entry from the key table.
+==================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_next_entry(krb5_context context, krb5_keytab keytab, krb5_keytab_entry * entry, krb5_kt_cursor * cursor)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keytab** - Key table handle
+
+ **[out]** **entry** - Returned key table entry
+
+ **[in]** **cursor** - Key table cursor
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5_KT_END - if the last entry was reached
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Return the next sequential entry in *keytab* and advance *cursor* . Callers must release the returned entry with :c:func:`krb5_kt_free_entry()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_read_service_key.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_read_service_key.txt
new file mode 100644
index 000000000000..dd51694507e4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_read_service_key.txt
@@ -0,0 +1,68 @@
+krb5_kt_read_service_key - Retrieve a service key from a key table.
+=====================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_read_service_key(krb5_context context, krb5_pointer keyprocarg, krb5_principal principal, krb5_kvno vno, krb5_enctype enctype, krb5_keyblock ** key)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keyprocarg** - Name of a key table (NULL to use default name)
+
+ **[in]** **principal** - Service principal
+
+ **[in]** **vno** - Key version number (0 for highest available)
+
+ **[in]** **enctype** - Encryption type (0 for any type)
+
+ **[out]** **key** - Service key from key table
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error code if not found or keyprocarg is invalid.
+
+..
+
+
+
+
+
+
+
+Open and search the specified key table for the entry identified by *principal* , *enctype* , and *vno* . If no key is found, return an error code.
+
+
+
+The default key table is used, unless *keyprocarg* is non-null. *keyprocarg* designates a specific key table.
+
+
+
+Use :c:func:`krb5_free_keyblock()` to free *key* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_remove_entry.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_remove_entry.txt
new file mode 100644
index 000000000000..10c1705acf76
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_remove_entry.txt
@@ -0,0 +1,51 @@
+krb5_kt_remove_entry - Remove an entry from a key table.
+==========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_remove_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry * entry)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **id** - Key table handle
+
+ **[in]** **entry** - Entry to remove from key table
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5_KT_NOWRITE Key table is not writable
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_resolve.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_resolve.txt
new file mode 100644
index 000000000000..49d5e2563331
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_resolve.txt
@@ -0,0 +1,66 @@
+krb5_kt_resolve - Get a handle for a key table.
+=================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_resolve(krb5_context context, const char * name, krb5_keytab * ktid)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **name** - Name of the key table
+
+ **[out]** **ktid** - Key table handle
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Resolve the key table name *name* and set *ktid* to a handle identifying the key table. Use :c:func:`krb5_kt_close()` to free *ktid* when it is no longer needed.
+
+
+
+ *name* must be of the form **type:residual** , where *type* must be a type known to the library and *residual* portion should be specific to the particular keytab type. If no *type* is given, the default is **FILE** .
+
+
+
+If *name* is of type **FILE** , the keytab file is not opened by this call.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kt_start_seq_get.txt b/doc/html/_sources/appdev/refs/api/krb5_kt_start_seq_get.txt
new file mode 100644
index 000000000000..b00b263656b9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kt_start_seq_get.txt
@@ -0,0 +1,54 @@
+krb5_kt_start_seq_get - Start a sequential retrieval of key table entries.
+============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_kt_start_seq_get(krb5_context context, krb5_keytab keytab, krb5_kt_cursor * cursor)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **keytab** - Key table handle
+
+ **[out]** **cursor** - Cursor
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Prepare to read sequentially every key in the specified key table. Use :c:func:`krb5_kt_end_seq_get()` to release the cursor when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_kuserok.txt b/doc/html/_sources/appdev/refs/api/krb5_kuserok.txt
new file mode 100644
index 000000000000..7dbd15f7646c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_kuserok.txt
@@ -0,0 +1,51 @@
+krb5_kuserok - Determine if a principal is authorized to log in as a local user.
+==================================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_kuserok(krb5_context context, krb5_principal principal, const char * luser)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **principal** - Principal name
+
+ **[in]** **luser** - Local username
+
+
+..
+
+
+:retval:
+ - TRUE Principal is authorized to log in as user; FALSE otherwise.
+
+
+..
+
+
+
+
+
+
+
+Determine whether *principal* is authorized to log in as a local user *luser* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_make_authdata_kdc_issued.txt b/doc/html/_sources/appdev/refs/api/krb5_make_authdata_kdc_issued.txt
new file mode 100644
index 000000000000..e671af5f8e85
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_make_authdata_kdc_issued.txt
@@ -0,0 +1,48 @@
+krb5_make_authdata_kdc_issued - Encode and sign AD-KDCIssued authorization data.
+==================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_make_authdata_kdc_issued(krb5_context context, const krb5_keyblock * key, krb5_const_principal issuer, krb5_authdata *const * authdata, krb5_authdata *** ad_kdcissued)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Session key
+
+ **[in]** **issuer** - The name of the issuing principal
+
+ **[in]** **authdata** - List of authorization data to be signed
+
+ **[out]** **ad_kdcissued** - List containing AD-KDCIssued authdata
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function wraps a list of authorization data entries *authdata* in an AD-KDCIssued container (see RFC 4120 section 5.2.6.2) signed with *key* . The result is returned in *ad_kdcissued* as a single-element list.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_merge_authdata.txt b/doc/html/_sources/appdev/refs/api/krb5_merge_authdata.txt
new file mode 100644
index 000000000000..86370ec42b93
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_merge_authdata.txt
@@ -0,0 +1,61 @@
+krb5_merge_authdata - Merge two authorization data lists into a new list.
+===========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_merge_authdata(krb5_context context, krb5_authdata *const * inauthdat1, krb5_authdata *const * inauthdat2, krb5_authdata *** outauthdat)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **inauthdat1** - First list of *krb5_authdata* structures
+
+ **[in]** **inauthdat2** - Second list of *krb5_authdata* structures
+
+ **[out]** **outauthdat** - Merged list of *krb5_authdata* structures
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Merge two authdata arrays, such as the array from a ticket and authenticator. Use :c:func:`krb5_free_authdata()` to free *outauthdat* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The last array entry in *inauthdat1* and *inauthdat2* must be a NULL pointer.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_1cred.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_1cred.txt
new file mode 100644
index 000000000000..c1ab909eff14
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_1cred.txt
@@ -0,0 +1,60 @@
+krb5_mk_1cred - Format a KRB-CRED message for a single set of credentials.
+============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_1cred(krb5_context context, krb5_auth_context auth_context, krb5_creds * pcreds, krb5_data ** ppdata, krb5_replay_data * outdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **pcreds** - Pointer to credentials
+
+ **[out]** **ppdata** - Encoded credentials
+
+ **[out]** **outdata** - Replay cache data (NULL if not needed)
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - ENOMEM Insufficient memory
+ - KRB5_RC_REQUIRED Message replay detection requires rcache parameter
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This is a convenience function that calls :c:func:`krb5_mk_ncred()` with a single set of credentials.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_error.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_error.txt
new file mode 100644
index 000000000000..e0432106b031
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_error.txt
@@ -0,0 +1,51 @@
+krb5_mk_error - Format and encode a KRB_ERROR message.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_error(krb5_context context, const krb5_error * dec_err, krb5_data * enc_err)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **dec_err** - Error structure to be encoded
+
+ **[out]** **enc_err** - Encoded error structure
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates a **KRB_ERROR** message in *enc_err* . Use :c:func:`krb5_free_data_contents()` to free *enc_err* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_ncred.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_ncred.txt
new file mode 100644
index 000000000000..7bf0577e5967
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_ncred.txt
@@ -0,0 +1,72 @@
+krb5_mk_ncred - Format a KRB-CRED message for an array of credentials.
+========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_ncred(krb5_context context, krb5_auth_context auth_context, krb5_creds ** ppcreds, krb5_data ** ppdata, krb5_replay_data * outdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **ppcreds** - Null-terminated array of credentials
+
+ **[out]** **ppdata** - Encoded credentials
+
+ **[out]** **outdata** - Replay cache information (NULL if not needed)
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - ENOMEM Insufficient memory
+ - KRB5_RC_REQUIRED Message replay detection requires rcache parameter
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function takes an array of credentials *ppcreds* and formats a **KRB-CRED** message *ppdata* to pass to :c:func:`krb5_rd_cred()` .
+
+
+
+The message will be encrypted using the send subkey of *auth_context* if it is present, or the session key otherwise.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If the :data:`KRB5_AUTH_CONTEXT_RET_TIME` or :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` flag is set in *auth_context* , *outdata* is required.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_priv.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_priv.txt
new file mode 100644
index 000000000000..2c3cefaf32e6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_priv.txt
@@ -0,0 +1,82 @@
+krb5_mk_priv - Format a KRB-PRIV message.
+===========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data * userdata, krb5_data * outbuf, krb5_replay_data * outdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **userdata** - User data for **KRB-PRIV** message
+
+ **[out]** **outbuf** - Formatted **KRB-PRIV** message
+
+ **[out]** **outdata** - Replay cache handle (NULL if not needed)
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function is similar to :c:func:`krb5_mk_safe()` , but the message is encrypted and integrity-protected, not just integrity-protected.
+
+
+
+The local address in *auth_context* must be set, and is used to form the sender address used in the KRB-SAFE message. The remote address is optional; if specified, it will be used to form the receiver address used in the message.
+
+
+
+
+
+ - :data:`KRB5_AUTH_CONTEXT_DO_TIME` - Use timestamps in *outdata*
+
+
+ - :data:`KRB5_AUTH_CONTEXT_RET_TIME` - Copy timestamp to *outdata* .
+
+
+ - :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` - Use local sequence numbers from *auth_context* in replay cache.
+
+
+ - :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` - Use local sequence numbers from *auth_context* as a sequence number in the encrypted message *outbuf* .
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If the :data:`KRB5_AUTH_CONTEXT_RET_TIME` or :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` flag is set in *auth_context* , the *outdata* is required.
+
+ The flags from *auth_context* specify whether sequence numbers or timestamps will be used to identify the message. Valid values are:
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_rep.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_rep.txt
new file mode 100644
index 000000000000..ef712e6849b6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_rep.txt
@@ -0,0 +1,59 @@
+krb5_mk_rep - Format and encrypt a KRB_AP_REP message.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data * outbuf)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **outbuf** - **AP-REP** message
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function fills in *outbuf* with an AP-REP message using information from *auth_context* .
+
+
+
+If the flags in *auth_context* indicate that a sequence number should be used (either :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` or :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` ) and the local sequence number in *auth_context* is 0, a new number will be generated with krb5_generate_seq_number().
+
+
+
+Use :c:func:`krb5_free_data_contents()` to free *outbuf* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_rep_dce.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_rep_dce.txt
new file mode 100644
index 000000000000..ead597faa942
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_rep_dce.txt
@@ -0,0 +1,51 @@
+krb5_mk_rep_dce - Format and encrypt a KRB_AP_REP message for DCE RPC.
+========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_rep_dce(krb5_context context, krb5_auth_context auth_context, krb5_data * outbuf)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[out]** **outbuf** - **AP-REP** message
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_free_data_contents()` to free *outbuf* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_req.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_req.txt
new file mode 100644
index 000000000000..e3a5da424a8d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_req.txt
@@ -0,0 +1,65 @@
+krb5_mk_req - Create a KRB_AP_REQ message.
+============================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_req(krb5_context context, krb5_auth_context * auth_context, krb5_flags ap_req_options, char * service, char * hostname, krb5_data * in_data, krb5_ccache ccache, krb5_data * outbuf)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[inout]** **auth_context** - Pre-existing or newly created auth context
+
+ **[in]** **ap_req_options** - :data:`AP_OPTS` options
+
+ **[in]** **service** - Service name, or NULL to use **"host"**
+
+ **[in]** **hostname** - Host name, or NULL to use local hostname
+
+ **[in]** **in_data** - Application data to be checksummed in the authenticator, or NULL
+
+ **[in]** **ccache** - Credential cache used to obtain credentials for the desired service.
+
+ **[out]** **outbuf** - **AP-REQ** message
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function is similar to :c:func:`krb5_mk_req_extended()` except that it uses a given *hostname* , *service* , and *ccache* to construct a service principal name and obtain credentials.
+
+
+
+Use :c:func:`krb5_free_data_contents()` to free *outbuf* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_req_extended.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_req_extended.txt
new file mode 100644
index 000000000000..e3ef4b99b480
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_req_extended.txt
@@ -0,0 +1,74 @@
+krb5_mk_req_extended - Create a KRB_AP_REQ message using supplied credentials.
+================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_req_extended(krb5_context context, krb5_auth_context * auth_context, krb5_flags ap_req_options, krb5_data * in_data, krb5_creds * in_creds, krb5_data * outbuf)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[inout]** **auth_context** - Pre-existing or newly created auth context
+
+ **[in]** **ap_req_options** - :data:`AP_OPTS` options
+
+ **[in]** **in_data** - Application data to be checksummed in the authenticator, or NULL
+
+ **[in]** **in_creds** - Credentials for the service with valid ticket and key
+
+ **[out]** **outbuf** - **AP-REQ** message
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Valid *ap_req_options* are:
+
+ - :data:`AP_OPTS_USE_SESSION_KEY` - Use the session key when creating the request used for user to user authentication.
+
+
+ - :data:`AP_OPTS_MUTUAL_REQUIRED` - Request a mutual authentication packet from the reciever.
+
+
+ - :data:`AP_OPTS_USE_SUBKEY` - Generate a subsession key from the current session key obtained from the credentials.
+
+ This function creates a KRB_AP_REQ message using supplied credentials *in_creds* . *auth_context* may point to an existing auth context or to NULL, in which case a new one will be created. If *in_data* is non-null, a checksum of it will be included in the authenticator contained in the KRB_AP_REQ message. Use :c:func:`krb5_free_data_contents()` to free *outbuf* when it is no longer needed.
+
+
+
+On successful return, the authenticator is stored in *auth_context* with the *client* and *checksum* fields nulled out. (This is to prevent pointer-sharing problems; the caller should not need these fields anyway, since the caller supplied them.)
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_mk_req()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_mk_safe.txt b/doc/html/_sources/appdev/refs/api/krb5_mk_safe.txt
new file mode 100644
index 000000000000..3921890d387c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_mk_safe.txt
@@ -0,0 +1,83 @@
+krb5_mk_safe - Format a KRB-SAFE message.
+===========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_mk_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data * userdata, krb5_data * outbuf, krb5_replay_data * outdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **userdata** - User data in the message
+
+ **[out]** **outbuf** - Formatted **KRB-SAFE** buffer
+
+ **[out]** **outdata** - Replay data. Specify NULL if not needed
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function creates an integrity protected **KRB-SAFE** message using data supplied by the application.
+
+
+
+Fields in *auth_context* specify the checksum type, the keyblock that can be used to seed the checksum, full addresses (host and port) for the sender and receiver, and :data:`KRB5_AUTH_CONTEXT` flags.
+
+
+
+The local address in *auth_context* must be set, and is used to form the sender address used in the KRB-SAFE message. The remote address is optional; if specified, it will be used to form the receiver address used in the message.
+
+
+
+If :data:`KRB5_AUTH_CONTEXT_DO_TIME` flag is set in the *auth_context* , an entry describing the message is entered in the replay cache *auth_context->rcache* which enables the caller to detect if this message is reflected by an attacker. If :data:`KRB5_AUTH_CONTEXT_DO_TIME` is not set, the replay cache is not used.
+
+
+
+If either :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` or :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` is set, the *auth_context* local sequence number will be placed in *outdata* as its sequence number.
+
+
+
+Use :c:func:`krb5_free_data_contents()` to free *outbuf* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The *outdata* argument is required if :data:`KRB5_AUTH_CONTEXT_RET_TIME` or :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` flag is set in the *auth_context* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_os_localaddr.txt b/doc/html/_sources/appdev/refs/api/krb5_os_localaddr.txt
new file mode 100644
index 000000000000..7af9e614a76f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_os_localaddr.txt
@@ -0,0 +1,49 @@
+krb5_os_localaddr - Return all interface addresses for this host.
+===================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_os_localaddr(krb5_context context, krb5_address *** addr)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **addr** - Array of krb5_address pointers, ending with NULL
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_free_addresses()` to free *addr* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_pac_add_buffer.txt b/doc/html/_sources/appdev/refs/api/krb5_pac_add_buffer.txt
new file mode 100644
index 000000000000..3f5fa7b8a69a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_pac_add_buffer.txt
@@ -0,0 +1,75 @@
+krb5_pac_add_buffer - Add a buffer to a PAC handle.
+=====================================================
+
+..
+
+.. c:function:: 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:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+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:
+
+ - :data:`KRB5_PAC_LOGON_INFO` - Logon information
+
+
+ - :data:`KRB5_PAC_CREDENTIALS_INFO` - Credentials information
+
+
+ - :data:`KRB5_PAC_SERVER_CHECKSUM` - Server checksum
+
+
+ - :data:`KRB5_PAC_PRIVSVR_CHECKSUM` - KDC checksum
+
+
+ - :data:`KRB5_PAC_CLIENT_INFO` - Client name and ticket information
+
+
+ - :data:`KRB5_PAC_DELEGATION_INFO` - Constrained delegation information
+
+
+ - :data:`KRB5_PAC_UPN_DNS_INFO` - User principal name and DNS information
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_pac_free.txt b/doc/html/_sources/appdev/refs/api/krb5_pac_free.txt
new file mode 100644
index 000000000000..9b204befa350
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_pac_free.txt
@@ -0,0 +1,42 @@
+krb5_pac_free - Free a PAC handle.
+====================================
+
+..
+
+.. c:function:: void krb5_pac_free(krb5_context context, krb5_pac pac)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **pac** - PAC to be freed
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function frees the contents of *pac* and the structure itself.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_pac_get_buffer.txt b/doc/html/_sources/appdev/refs/api/krb5_pac_get_buffer.txt
new file mode 100644
index 000000000000..ef31a5bcaa76
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_pac_get_buffer.txt
@@ -0,0 +1,53 @@
+krb5_pac_get_buffer - Retrieve a buffer value from a PAC.
+===========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_pac_get_buffer(krb5_context context, krb5_pac pac, krb5_ui_4 type, krb5_data * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **pac** - PAC handle
+
+ **[in]** **type** - Type of buffer to retrieve
+
+ **[out]** **data** - Buffer value
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_free_data_contents()` to free *data* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_pac_get_types.txt b/doc/html/_sources/appdev/refs/api/krb5_pac_get_types.txt
new file mode 100644
index 000000000000..bce3b2c84fe6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_pac_get_types.txt
@@ -0,0 +1,49 @@
+krb5_pac_get_types - Return an array of buffer types in a PAC handle.
+=======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_pac_get_types(krb5_context context, krb5_pac pac, size_t * len, krb5_ui_4 ** types)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **pac** - PAC handle
+
+ **[out]** **len** - Number of entries in *types*
+
+ **[out]** **types** - Array of buffer types
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_pac_init.txt b/doc/html/_sources/appdev/refs/api/krb5_pac_init.txt
new file mode 100644
index 000000000000..4a0630d76917
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_pac_init.txt
@@ -0,0 +1,49 @@
+krb5_pac_init - Create an empty Privilege Attribute Certificate (PAC) handle.
+===============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_pac_init(krb5_context context, krb5_pac * pac)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **pac** - New PAC handle
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_pac_free()` to free *pac* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_pac_parse.txt b/doc/html/_sources/appdev/refs/api/krb5_pac_parse.txt
new file mode 100644
index 000000000000..1cae5be5a16c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_pac_parse.txt
@@ -0,0 +1,53 @@
+krb5_pac_parse - Unparse an encoded PAC into a new handle.
+============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_pac_parse(krb5_context context, const void * ptr, size_t len, krb5_pac * pac)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ptr** - PAC buffer
+
+ **[in]** **len** - Length of *ptr*
+
+ **[out]** **pac** - PAC handle
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+Use :c:func:`krb5_pac_free()` to free *pac* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_pac_sign.txt b/doc/html/_sources/appdev/refs/api/krb5_pac_sign.txt
new file mode 100644
index 000000000000..3c6bc41e428c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_pac_sign.txt
@@ -0,0 +1,60 @@
+krb5_pac_sign - Sign a PAC.
+=============================
+
+..
+
+.. c:function:: krb5_error_code krb5_pac_sign(krb5_context context, krb5_pac pac, krb5_timestamp authtime, krb5_const_principal principal, const krb5_keyblock * server_key, const krb5_keyblock * privsvr_key, krb5_data * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **pac** - PAC handle
+
+ **[in]** **authtime** - Expected timestamp
+
+ **[in]** **principal** - Expected principal name (or NULL)
+
+ **[in]** **server_key** - Key for server checksum
+
+ **[in]** **privsvr_key** - Key for KDC checksum
+
+ **[out]** **data** - Signed PAC encoding
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function signs *pac* using the keys *server_key* and *privsvr_key* and returns the signed encoding in *data* . *pac* is modified to include the server and KDC checksum buffers. Use :c:func:`krb5_free_data_contents()` to free *data* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.10
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_pac_verify.txt b/doc/html/_sources/appdev/refs/api/krb5_pac_verify.txt
new file mode 100644
index 000000000000..d9af52f770ab
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_pac_verify.txt
@@ -0,0 +1,69 @@
+krb5_pac_verify - Verify a PAC.
+=================================
+
+..
+
+.. c:function:: krb5_error_code krb5_pac_verify(krb5_context context, const krb5_pac pac, krb5_timestamp authtime, krb5_const_principal principal, const krb5_keyblock * server, const krb5_keyblock * privsvr)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **pac** - PAC handle
+
+ **[in]** **authtime** - Expected timestamp
+
+ **[in]** **principal** - Expected principal name (or NULL)
+
+ **[in]** **server** - Key to validate server checksum (or NULL)
+
+ **[in]** **privsvr** - Key to validate KDC checksum (or NULL)
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function validates *pac* against the supplied *server* , *privsvr* , *principal* and *authtime* . If *principal* is NULL, the principal and authtime are not verified. If *server* or *privsvr* is NULL, the corresponding checksum is not verified.
+
+
+
+If successful, *pac* is marked as verified.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ A checksum mismatch can occur if the PAC was copied from a cross-realm TGT by an ignorant KDC; also Apple Mac OS X Server Open Directory (as of 10.6) generates PACs with no server checksum at all. One should consider not failing the whole authentication because of this reason, but, instead, treating the ticket as if it did not contain a PAC or marking the PAC information as non-verified.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_parse_name.txt b/doc/html/_sources/appdev/refs/api/krb5_parse_name.txt
new file mode 100644
index 000000000000..bbd1a1ac533f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_parse_name.txt
@@ -0,0 +1,74 @@
+krb5_parse_name - Convert a string principal name to a krb5_principal structure.
+==================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_parse_name(krb5_context context, const char * name, krb5_principal * principal_out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **name** - String representation of a principal name
+
+ **[out]** **principal_out** - New principal
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Convert a string representation of a principal name to a krb5_principal structure.
+
+
+
+A string representation of a Kerberos name consists of one or more principal name components, separated by slashes, optionally followed by the @ character and a realm name. If the realm name is not specified, the local realm is used.
+
+
+
+To use the slash and @ symbols as part of a component (quoted) instead of using them as a component separator or as a realm prefix), put a backslash () character in front of the symbol. Similarly, newline, tab, backspace, and NULL characters can be included in a component by using **n** , **t** , **b** or **0** , respectively.
+
+
+
+Use :c:func:`krb5_free_principal()` to free *principal_out* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The realm in a Kerberos *name* cannot contain slash, colon, or NULL characters.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_parse_name_flags.txt b/doc/html/_sources/appdev/refs/api/krb5_parse_name_flags.txt
new file mode 100644
index 000000000000..1190ec32d73e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_parse_name_flags.txt
@@ -0,0 +1,77 @@
+krb5_parse_name_flags - Convert a string principal name to a krb5_principal with flags.
+=========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_parse_name_flags(krb5_context context, const char * name, int flags, krb5_principal * principal_out)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **name** - String representation of a principal name
+
+ **[in]** **flags** - Flag
+
+ **[out]** **principal_out** - New principal
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Similar to :c:func:`krb5_parse_name()` , this function converts a single-string representation of a principal name to a krb5_principal structure.
+
+
+
+The following flags are valid:
+
+ - :data:`KRB5_PRINCIPAL_PARSE_NO_REALM` - no realm must be present in *name*
+
+
+ - :data:`KRB5_PRINCIPAL_PARSE_REQUIRE_REALM` - realm must be present in *name*
+
+
+ - :data:`KRB5_PRINCIPAL_PARSE_ENTERPRISE` - create single-component enterprise principal
+
+
+ - :data:`KRB5_PRINCIPAL_PARSE_IGNORE_REALM` - ignore realm if present in *name*
+
+ If **KRB5_PRINCIPAL_PARSE_NO_REALM** or **KRB5_PRINCIPAL_PARSE_IGNORE_REALM** is specified in *flags* , the realm of the new principal will be empty. Otherwise, the default realm for *context* will be used if *name* does not specify a realm.
+
+
+
+Use :c:func:`krb5_free_principal()` to free *principal_out* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_prepend_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_prepend_error_message.txt
new file mode 100644
index 000000000000..6503ab162196
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_prepend_error_message.txt
@@ -0,0 +1,44 @@
+krb5_prepend_error_message - Add a prefix to the message for an error code.
+=============================================================================
+
+..
+
+.. c:function:: void krb5_prepend_error_message(krb5_context ctx, krb5_error_code code, const char * fmt, ... )
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **code** - Error code
+
+ **[in]** **fmt** - Format string for error message prefix
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Format a message and prepend it to the current message for *code* . The prefix will be separated from the old message with a colon and space.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_principal2salt.txt b/doc/html/_sources/appdev/refs/api/krb5_principal2salt.txt
new file mode 100644
index 000000000000..c8852912309d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_principal2salt.txt
@@ -0,0 +1,47 @@
+krb5_principal2salt - Convert a principal name into the default salt for that principal.
+==========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_principal2salt(krb5_context context, register krb5_const_principal pr, krb5_data * ret)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **pr** - Principal name
+
+ **[out]** **ret** - Default salt for *pr* to be filled in
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_principal_compare.txt b/doc/html/_sources/appdev/refs/api/krb5_principal_compare.txt
new file mode 100644
index 000000000000..269efe315b7b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_principal_compare.txt
@@ -0,0 +1,47 @@
+krb5_principal_compare - Compare two principals.
+==================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_principal_compare(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **princ1** - First principal
+
+ **[in]** **princ2** - Second principal
+
+
+..
+
+
+:retval:
+ - TRUE if the principals are the same; FALSE otherwise
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_principal_compare_any_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_principal_compare_any_realm.txt
new file mode 100644
index 000000000000..d2766bdb0b66
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_principal_compare_any_realm.txt
@@ -0,0 +1,51 @@
+krb5_principal_compare_any_realm - Compare two principals ignoring realm components.
+======================================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_principal_compare_any_realm(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **princ1** - First principal
+
+ **[in]** **princ2** - Second principal
+
+
+..
+
+
+:retval:
+ - TRUE if the principals are the same; FALSE otherwise
+
+
+..
+
+
+
+
+
+
+
+Similar to :c:func:`krb5_principal_compare()` , but do not compare the realm components of the principals.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_principal_compare_flags.txt b/doc/html/_sources/appdev/refs/api/krb5_principal_compare_flags.txt
new file mode 100644
index 000000000000..3df09d3f4aa0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_principal_compare_flags.txt
@@ -0,0 +1,65 @@
+krb5_principal_compare_flags - Compare two principals with additional flags.
+==============================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_principal_compare_flags(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2, int flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **princ1** - First principal
+
+ **[in]** **princ2** - Second principal
+
+ **[in]** **flags** - Flags
+
+
+..
+
+
+:retval:
+ - TRUE if the principal names are the same; FALSE otherwise
+
+
+..
+
+
+
+
+
+
+
+Valid flags are:
+
+ - :data:`KRB5_PRINCIPAL_COMPARE_IGNORE_REALM` - ignore realm component
+
+
+ - :data:`KRB5_PRINCIPAL_COMPARE_ENTERPRISE` - UPNs as real principals
+
+
+ - :data:`KRB5_PRINCIPAL_COMPARE_CASEFOLD` case-insensitive
+
+
+ - :data:`KRB5_PRINCIPAL_COMPARE_UTF8` - treat principals as UTF-8
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_principal_compare()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_process_key.txt b/doc/html/_sources/appdev/refs/api/krb5_process_key.txt
new file mode 100644
index 000000000000..3d08b5dcaea0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_process_key.txt
@@ -0,0 +1,46 @@
+krb5_process_key
+================
+
+..
+
+.. c:function:: krb5_error_code krb5_process_key(krb5_context context, krb5_encrypt_block * eblock, const krb5_keyblock * key)
+
+..
+
+
+:param:
+
+ **context**
+
+ **eblock**
+
+ **key**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_prompter_posix.txt b/doc/html/_sources/appdev/refs/api/krb5_prompter_posix.txt
new file mode 100644
index 000000000000..5450996a42de
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_prompter_posix.txt
@@ -0,0 +1,64 @@
+krb5_prompter_posix - Prompt user for password.
+=================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_prompter_posix(krb5_context context, void * data, const char * name, const char * banner, int num_prompts, krb5_prompt prompts)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **data** - Unused (callback argument)
+
+ **[in]** **name** - Name to output during prompt
+
+ **[in]** **banner** - Banner to output during prompt
+
+ **[in]** **num_prompts** - Number of prompts in *prompts*
+
+ **[in]** **prompts** - Array of prompts and replies
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function is intended to be used as a prompter callback for :c:func:`krb5_get_init_creds_password()` or :c:func:`krb5_init_creds_init()` .
+
+
+
+Writes *name* and *banner* to stdout, each followed by a newline, then writes each prompt field in the *prompts* array, followed by":", and sets the reply field of the entry to a line of input read from stdin. If the hidden flag is set for a prompt, then terminal echoing is turned off when input is read.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_random_key.txt b/doc/html/_sources/appdev/refs/api/krb5_random_key.txt
new file mode 100644
index 000000000000..d8e81ba33d79
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_random_key.txt
@@ -0,0 +1,48 @@
+krb5_random_key
+===============
+
+..
+
+.. c:function:: krb5_error_code krb5_random_key(krb5_context context, const krb5_encrypt_block * eblock, krb5_pointer ptr, krb5_keyblock ** keyblock)
+
+..
+
+
+:param:
+
+ **context**
+
+ **eblock**
+
+ **ptr**
+
+ **keyblock**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_rd_cred.txt b/doc/html/_sources/appdev/refs/api/krb5_rd_cred.txt
new file mode 100644
index 000000000000..29405647bf0e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_rd_cred.txt
@@ -0,0 +1,67 @@
+krb5_rd_cred - Read and validate a KRB-CRED message.
+======================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_rd_cred(krb5_context context, krb5_auth_context auth_context, krb5_data * pcreddata, krb5_creds *** pppcreds, krb5_replay_data * outdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **pcreddata** - **KRB-CRED** message
+
+ **[out]** **pppcreds** - Null-terminated array of forwarded credentials
+
+ **[out]** **outdata** - Replay data (NULL if not needed)
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+ *pcreddata* will be decrypted using the receiving subkey if it is present in *auth_context* , or the session key if the receiving subkey is not present or fails to decrypt the message.
+
+
+
+Use :c:func:`krb5_free_tgt_creds()` to free *pppcreds* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The *outdata* argument is required if :data:`KRB5_AUTH_CONTEXT_RET_TIME` or :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` flag is set in the *auth_context* .`
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_rd_error.txt b/doc/html/_sources/appdev/refs/api/krb5_rd_error.txt
new file mode 100644
index 000000000000..dd3437594e1b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_rd_error.txt
@@ -0,0 +1,51 @@
+krb5_rd_error - Decode a KRB-ERROR message.
+=============================================
+
+..
+
+.. c:function:: krb5_error_code krb5_rd_error(krb5_context context, const krb5_data * enc_errbuf, krb5_error ** dec_error)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **enc_errbuf** - Encoded error message
+
+ **[out]** **dec_error** - Decoded error message
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function processes **KRB-ERROR** message *enc_errbuf* and returns an allocated structure *dec_error* containing the error message. Use :c:func:`krb5_free_error()` to free *dec_error* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_rd_priv.txt b/doc/html/_sources/appdev/refs/api/krb5_rd_priv.txt
new file mode 100644
index 000000000000..af75e8f88eea
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_rd_priv.txt
@@ -0,0 +1,76 @@
+krb5_rd_priv - Process a KRB-PRIV message.
+============================================
+
+..
+
+.. c:function:: krb5_error_code krb5_rd_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data * inbuf, krb5_data * outbuf, krb5_replay_data * outdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication structure
+
+ **[in]** **inbuf** - **KRB-PRIV** message to be parsed
+
+ **[out]** **outbuf** - Data parsed from **KRB-PRIV** message
+
+ **[out]** **outdata** - Replay data. Specify NULL if not needed
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function parses a **KRB-PRIV** message, verifies its integrity, and stores its unencrypted data into *outbuf* .
+
+
+
+If the :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` flag is set in *auth_context* , the sequence number of the KRB-SAFE message is checked against the remote sequence number field of *auth_context* . Otherwise, the sequence number is not used.
+
+
+
+If the :data:`KRB5_AUTH_CONTEXT_DO_TIME` flag is set in *auth_context* , then two additional checks are performed:
+
+ - The timestamp in the message must be within the permitted clock skew (which is usually five minutes).
+
+
+ - The message must not be a replayed message field in *auth_context* .
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If the :data:`KRB5_AUTH_CONTEXT_RET_TIME` or :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` flag is set in *auth_context* , *outdata* is required.
+
+ *auth_context* must have a remote address set. This address will be used to verify the sender address in the KRB-PRIV message. If *auth_context* has a local address set, it will be used to verify the receiver address in the KRB-PRIV message if the message contains one. Both addresses must use type **ADDRTYPE_ADDRPORT** .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_rd_rep.txt b/doc/html/_sources/appdev/refs/api/krb5_rd_rep.txt
new file mode 100644
index 000000000000..67419a853be2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_rd_rep.txt
@@ -0,0 +1,57 @@
+krb5_rd_rep - Parse and decrypt a KRB_AP_REP message.
+=======================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_rd_rep(krb5_context context, krb5_auth_context auth_context, const krb5_data * inbuf, krb5_ap_rep_enc_part ** repl)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **inbuf** - AP-REP message
+
+ **[out]** **repl** - Decrypted reply message
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function parses, decrypts and verifies a message from *inbuf* and fills in *repl* with a pointer to allocated memory containing the fields from the encrypted response.
+
+
+
+Use :c:func:`krb5_free_ap_rep_enc_part()` to free *repl* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_rd_rep_dce.txt b/doc/html/_sources/appdev/refs/api/krb5_rd_rep_dce.txt
new file mode 100644
index 000000000000..c82ef4317ce5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_rd_rep_dce.txt
@@ -0,0 +1,53 @@
+krb5_rd_rep_dce - Parse and decrypt a KRB_AP_REP message for DCE RPC.
+=======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_rd_rep_dce(krb5_context context, krb5_auth_context auth_context, const krb5_data * inbuf, krb5_ui_4 * nonce)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **inbuf** - AP-REP message
+
+ **[out]** **nonce** - Sequence number from the decrypted reply
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function parses, decrypts and verifies a message from *inbuf* and fills in *nonce* with a decrypted reply sequence number.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_rd_req.txt b/doc/html/_sources/appdev/refs/api/krb5_rd_req.txt
new file mode 100644
index 000000000000..85516e3df54b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_rd_req.txt
@@ -0,0 +1,105 @@
+krb5_rd_req - Parse and decrypt a KRB_AP_REQ message.
+=======================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_rd_req(krb5_context context, krb5_auth_context * auth_context, const krb5_data * inbuf, krb5_const_principal server, krb5_keytab keytab, krb5_flags * ap_req_options, krb5_ticket ** ticket)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[inout]** **auth_context** - Pre-existing or newly created auth context
+
+ **[in]** **inbuf** - AP-REQ message to be parsed
+
+ **[in]** **server** - Matching principal for server, or NULL to allow any principal in keytab
+
+ **[in]** **keytab** - Key table, or NULL to use the default
+
+ **[out]** **ap_req_options** - If non-null, the AP-REQ flags on output
+
+ **[out]** **ticket** - If non-null, ticket from the AP-REQ message
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function parses, decrypts and verifies a AP-REQ message from *inbuf* and stores the authenticator in *auth_context* .
+
+
+
+If a keyblock was specified in *auth_context* using :c:func:`krb5_auth_con_setuseruserkey()` , that key is used to decrypt the ticket in AP-REQ message and *keytab* is ignored. In this case, *server* should be specified as a complete principal name to allow for proper transited-path checking and replay cache selection.
+
+
+
+Otherwise, the decryption key is obtained from *keytab* , or from the default keytab if it is NULL. In this case, *server* may be a complete principal name, a matching principal (see :c:func:`krb5_sname_match()` ), or NULL to match any principal name. The keys tried against the encrypted part of the ticket are determined as follows:
+
+
+
+
+
+ - If *server* is a complete principal name, then its entry in *keytab* is tried.
+
+
+ - Otherwise, if *keytab* is iterable, then all entries in *keytab* which match *server* are tried.
+
+
+ - Otherwise, the server principal in the ticket must match *server* , and its entry in *keytab* is tried.
+
+
+
+
+
+The client specified in the decrypted authenticator must match the client specified in the decrypted ticket.
+
+
+
+If the *remote_addr* field of *auth_context* is set, the request must come from that address.
+
+
+
+If a replay cache handle is provided in the *auth_context* , the authenticator and ticket are verified against it. If no conflict is found, the new authenticator is then stored in the replay cache of *auth_context* .
+
+
+
+Various other checks are performed on the decoded data, including cross-realm policy, clockskew, and ticket validation times.
+
+
+
+On success the authenticator, subkey, and remote sequence number of the request are stored in *auth_context* . If the :data:`AP_OPTS_MUTUAL_REQUIRED` bit is set, the local sequence number is XORed with the remote sequence number in the request.
+
+
+
+Use :c:func:`krb5_free_ticket()` to free *ticket* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_rd_safe.txt b/doc/html/_sources/appdev/refs/api/krb5_rd_safe.txt
new file mode 100644
index 000000000000..d6c096fa4c0e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_rd_safe.txt
@@ -0,0 +1,80 @@
+krb5_rd_safe - Process KRB-SAFE message.
+==========================================
+
+..
+
+.. c:function:: krb5_error_code krb5_rd_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data * inbuf, krb5_data * outbuf, krb5_replay_data * outdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **auth_context** - Authentication context
+
+ **[in]** **inbuf** - **KRB-SAFE** message to be parsed
+
+ **[out]** **outbuf** - Data parsed from **KRB-SAFE** message
+
+ **[out]** **outdata** - Replay data. Specify NULL if not needed
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function parses a **KRB-SAFE** message, verifies its integrity, and stores its data into *outbuf* .
+
+
+
+If the :data:`KRB5_AUTH_CONTEXT_DO_SEQUENCE` flag is set in *auth_context* , the sequence number of the KRB-SAFE message is checked against the remote sequence number field of *auth_context* . Otherwise, the sequence number is not used.
+
+
+
+If the :data:`KRB5_AUTH_CONTEXT_DO_TIME` flag is set in *auth_context* , then two additional checks are performed:
+
+ - The timestamp in the message must be within the permitted clock skew (which is usually five minutes).
+
+
+ - The message must not be a replayed message field in *auth_context* .
+
+ Use :c:func:`krb5_free_data_contents()` to free *outbuf* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ The *outdata* argument is required if :data:`KRB5_AUTH_CONTEXT_RET_TIME` or :data:`KRB5_AUTH_CONTEXT_RET_SEQUENCE` flag is set in the *auth_context* .
+
+ *auth_context* must have a remote address set. This address will be used to verify the sender address in the KRB-SAFE message. If *auth_context* has a local address set, it will be used to verify the receiver address in the KRB-SAFE message if the message contains one. Both addresses must use type **ADDRTYPE_ADDRPORT** .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_read_password.txt b/doc/html/_sources/appdev/refs/api/krb5_read_password.txt
new file mode 100644
index 000000000000..bc13db558e20
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_read_password.txt
@@ -0,0 +1,70 @@
+krb5_read_password - Read a password from keyboard input.
+===========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_read_password(krb5_context context, const char * prompt, const char * prompt2, char * return_pwd, unsigned int * size_return)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **prompt** - First user prompt when reading password
+
+ **[in]** **prompt2** - Second user prompt (NULL to prompt only once)
+
+ **[out]** **return_pwd** - Returned password
+
+ **[inout]** **size_return** - On input, maximum size of password; on output, size of password read
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Error in reading or verifying the password Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function reads a password from keyboard input and stores it in *return_pwd* . *size_return* should be set by the caller to the amount of storage space available in *return_pwd* ; on successful return, it will be set to the length of the password read.
+
+
+
+ *prompt* is printed to the terminal, followed by":", and then a password is read from the keyboard.
+
+
+
+If *prompt2* is NULL, the password is read only once. Otherwise, *prompt2* is printed to the terminal and a second password is read. If the two passwords entered are not identical, KRB5_LIBOS_BADPWDMATCH is returned.
+
+
+
+Echoing is turned off when the password is read.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_realm_compare.txt b/doc/html/_sources/appdev/refs/api/krb5_realm_compare.txt
new file mode 100644
index 000000000000..f9df1b029aa2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_realm_compare.txt
@@ -0,0 +1,47 @@
+krb5_realm_compare - Compare the realms of two principals.
+============================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_realm_compare(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **princ1** - First principal
+
+ **[in]** **princ2** - Second principal
+
+
+..
+
+
+:retval:
+ - TRUE if the realm names are the same; FALSE otherwise
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_recvauth.txt b/doc/html/_sources/appdev/refs/api/krb5_recvauth.txt
new file mode 100644
index 000000000000..c9bcaa870e35
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_recvauth.txt
@@ -0,0 +1,68 @@
+krb5_recvauth - Server function for sendauth protocol.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_recvauth(krb5_context context, krb5_auth_context * auth_context, krb5_pointer fd, char * appl_version, krb5_principal server, krb5_int32 flags, krb5_keytab keytab, krb5_ticket ** ticket)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[inout]** **auth_context** - Pre-existing or newly created auth context
+
+ **[in]** **fd** - File descriptor
+
+ **[in]** **appl_version** - Application protocol version to be matched against the client's application version
+
+ **[in]** **server** - Server principal (NULL for any in *keytab* )
+
+ **[in]** **flags** - Additional specifications
+
+ **[in]** **keytab** - Key table containing service keys
+
+ **[out]** **ticket** - Ticket (NULL if not needed)
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function performs the server side of a sendauth/recvauth exchange by sending and receiving messages over *fd* .
+
+
+
+Use :c:func:`krb5_free_ticket()` to free *ticket* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_sendauth()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_recvauth_version.txt b/doc/html/_sources/appdev/refs/api/krb5_recvauth_version.txt
new file mode 100644
index 000000000000..6d3e446c5caf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_recvauth_version.txt
@@ -0,0 +1,61 @@
+krb5_recvauth_version - Server function for sendauth protocol with version parameter.
+=======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_recvauth_version(krb5_context context, krb5_auth_context * auth_context, krb5_pointer fd, krb5_principal server, krb5_int32 flags, krb5_keytab keytab, krb5_ticket ** ticket, krb5_data * version)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[inout]** **auth_context** - Pre-existing or newly created auth context
+
+ **[in]** **fd** - File descriptor
+
+ **[in]** **server** - Server principal (NULL for any in *keytab* )
+
+ **[in]** **flags** - Additional specifications
+
+ **[in]** **keytab** - Decryption key
+
+ **[out]** **ticket** - Ticket (NULL if not needed)
+
+ **[out]** **version** - sendauth protocol version (NULL if not needed)
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function is similar to :c:func:`krb5_recvauth()` with the additional output information place into *version* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_get_challenge.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_get_challenge.txt
new file mode 100644
index 000000000000..ae1edc9a4656
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_get_challenge.txt
@@ -0,0 +1,52 @@
+krb5_responder_get_challenge - Retrieve the challenge data for a given question in the responder context.
+===========================================================================================================
+
+..
+
+.. c:function:: const char * krb5_responder_get_challenge(krb5_context ctx, krb5_responder_context rctx, const char * question)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+ **[in]** **question** - Question name
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Return a pointer to a C string containing the challenge for *question* within *rctx* , or NULL if the question is not present in *rctx* . The structure of the question depends on the question name, but will always be printable UTF-8 text. The returned pointer is an alias, valid only as long as the lifetime of *rctx* , and should not be modified or freed by the caller.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_list_questions.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_list_questions.txt
new file mode 100644
index 000000000000..d1efd0148522
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_list_questions.txt
@@ -0,0 +1,50 @@
+krb5_responder_list_questions - List the question names contained in the responder context.
+=============================================================================================
+
+..
+
+.. c:function:: const char *const * krb5_responder_list_questions(krb5_context ctx, krb5_responder_context rctx)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Return a pointer to a null-terminated list of question names which are present in *rctx* . The pointer is an alias, valid only as long as the lifetime of *rctx* , and should not be modified or freed by the caller. A question's challenge can be retrieved using :c:func:`krb5_responder_get_challenge()` and answered using :c:func:`krb5_responder_set_answer()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_otp_challenge_free.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_otp_challenge_free.txt
new file mode 100644
index 000000000000..fb4863ea1bb3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_otp_challenge_free.txt
@@ -0,0 +1,48 @@
+krb5_responder_otp_challenge_free - Free the value returned by krb5_responder_otp_get_challenge() .
+=====================================================================================================
+
+..
+
+.. c:function:: void krb5_responder_otp_challenge_free(krb5_context ctx, krb5_responder_context rctx, krb5_responder_otp_challenge * chl)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+ **[in]** **chl** - The challenge to free
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_otp_get_challenge.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_otp_get_challenge.txt
new file mode 100644
index 000000000000..4fd609e980b6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_otp_get_challenge.txt
@@ -0,0 +1,56 @@
+krb5_responder_otp_get_challenge - Decode the KRB5_RESPONDER_QUESTION_OTP to a C struct.
+==========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_responder_otp_get_challenge(krb5_context ctx, krb5_responder_context rctx, krb5_responder_otp_challenge ** chl)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+ **[out]** **chl** - Challenge structure
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+A convenience function which parses the KRB5_RESPONDER_QUESTION_OTP question challenge data, making it available in native C. The main feature of this function is the ability to interact with OTP tokens without parsing the JSON.
+
+
+
+The returned value must be passed to :c:func:`krb5_responder_otp_challenge_free()` to be freed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_otp_set_answer.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_otp_set_answer.txt
new file mode 100644
index 000000000000..0535a206aa19
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_otp_set_answer.txt
@@ -0,0 +1,52 @@
+krb5_responder_otp_set_answer - Answer the KRB5_RESPONDER_QUESTION_OTP question.
+==================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_responder_otp_set_answer(krb5_context ctx, krb5_responder_context rctx, size_t ti, const char * value, const char * pin)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+ **[in]** **ti** - The index of the tokeninfo selected
+
+ **[in]** **value** - The value to set, or NULL for none
+
+ **[in]** **pin** - The pin to set, or NULL for none
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_challenge_free.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_challenge_free.txt
new file mode 100644
index 000000000000..e7376aaf3852
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_challenge_free.txt
@@ -0,0 +1,48 @@
+krb5_responder_pkinit_challenge_free - Free the value returned by krb5_responder_pkinit_get_challenge() .
+===========================================================================================================
+
+..
+
+.. c:function:: void krb5_responder_pkinit_challenge_free(krb5_context ctx, krb5_responder_context rctx, krb5_responder_pkinit_challenge * chl)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+ **[in]** **chl** - The challenge to free
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.12
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_get_challenge.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_get_challenge.txt
new file mode 100644
index 000000000000..a14588127aca
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_get_challenge.txt
@@ -0,0 +1,56 @@
+krb5_responder_pkinit_get_challenge - Decode the KRB5_RESPONDER_QUESTION_PKINIT to a C struct.
+================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_responder_pkinit_get_challenge(krb5_context ctx, krb5_responder_context rctx, krb5_responder_pkinit_challenge ** chl_out)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+ **[out]** **chl_out** - Challenge structure
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+A convenience function which parses the KRB5_RESPONDER_QUESTION_PKINIT question challenge data, making it available in native C. The main feature of this function is the ability to read the challenge without parsing the JSON.
+
+
+
+The returned value must be passed to :c:func:`krb5_responder_pkinit_challenge_free()` to be freed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.12
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_set_answer.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_set_answer.txt
new file mode 100644
index 000000000000..dc8fa57cc4a6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_pkinit_set_answer.txt
@@ -0,0 +1,50 @@
+krb5_responder_pkinit_set_answer - Answer the KRB5_RESPONDER_QUESTION_PKINIT question for one identity.
+=========================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_responder_pkinit_set_answer(krb5_context ctx, krb5_responder_context rctx, const char * identity, const char * pin)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+ **[in]** **identity** - The identity for which a PIN is being supplied
+
+ **[in]** **pin** - The provided PIN, or NULL for none
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.12
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_responder_set_answer.txt b/doc/html/_sources/appdev/refs/api/krb5_responder_set_answer.txt
new file mode 100644
index 000000000000..c5b588aacbbb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_responder_set_answer.txt
@@ -0,0 +1,57 @@
+krb5_responder_set_answer - Answer a named question in the responder context.
+===============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_responder_set_answer(krb5_context ctx, krb5_responder_context rctx, const char * question, const char * answer)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **rctx** - Responder context
+
+ **[in]** **question** - Question name
+
+ **[in]** **answer** - The string to set (MUST be printable UTF-8)
+
+
+..
+
+
+:retval:
+ - EINVAL question is not present within rctx
+
+
+..
+
+
+
+
+
+
+
+This function supplies an answer to *question* within *rctx* . The appropriate form of the answer depends on the question name.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.11
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_salttype_to_string.txt b/doc/html/_sources/appdev/refs/api/krb5_salttype_to_string.txt
new file mode 100644
index 000000000000..e0e44a6bfba5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_salttype_to_string.txt
@@ -0,0 +1,47 @@
+krb5_salttype_to_string - Convert a salt type to a string.
+============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_salttype_to_string(krb5_int32 salttype, char * buffer, size_t buflen)
+
+..
+
+
+:param:
+
+ **[in]** **salttype** - Salttype to convert
+
+ **[out]** **buffer** - Buffer to receive the converted string
+
+ **[in]** **buflen** - Storage available in *buffer*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_sendauth.txt b/doc/html/_sources/appdev/refs/api/krb5_sendauth.txt
new file mode 100644
index 000000000000..29abeaf4a2f5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_sendauth.txt
@@ -0,0 +1,98 @@
+krb5_sendauth - Client function for sendauth protocol.
+========================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_sendauth(krb5_context context, krb5_auth_context * auth_context, krb5_pointer fd, char * appl_version, krb5_principal client, krb5_principal server, krb5_flags ap_req_options, krb5_data * in_data, krb5_creds * in_creds, krb5_ccache ccache, krb5_error ** error, krb5_ap_rep_enc_part ** rep_result, krb5_creds ** out_creds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[inout]** **auth_context** - Pre-existing or newly created auth context
+
+ **[in]** **fd** - File descriptor that describes network socket
+
+ **[in]** **appl_version** - Application protocol version to be matched with the receiver's application version
+
+ **[in]** **client** - Client principal
+
+ **[in]** **server** - Server principal
+
+ **[in]** **ap_req_options** - :data:`AP_OPTS` options
+
+ **[in]** **in_data** - Data to be sent to the server
+
+ **[in]** **in_creds** - Input credentials, or NULL to use *ccache*
+
+ **[in]** **ccache** - Credential cache
+
+ **[out]** **error** - If non-null, contains KRB_ERROR message returned from server
+
+ **[out]** **rep_result** - If non-null and *ap_req_options* is :data:`AP_OPTS_MUTUAL_REQUIRED` , contains the result of mutual authentication exchange
+
+ **[out]** **out_creds** - If non-null, the retrieved credentials
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function performs the client side of a sendauth/recvauth exchange by sending and receiving messages over *fd* .
+
+
+
+Credentials may be specified in three ways:
+
+
+
+
+
+ - If *in_creds* is NULL, credentials are obtained with :c:func:`krb5_get_credentials()` using the principals *client* and *server* . *server* must be non-null; *client* may NULL to use the default principal of *ccache* .
+
+
+
+ - If *in_creds* is non-null, but does not contain a ticket, credentials for the exchange are obtained with :c:func:`krb5_get_credentials()` using *in_creds* . In this case, the values of *client* and *server* are unused.
+
+
+
+ - If *in_creds* is a complete credentials structure, it used directly. In this case, the values of *client* , *server* , and *ccache* are unused.
+
+ If the server is using a different application protocol than that specified in *appl_version* , an error will be returned.
+
+
+
+Use :c:func:`krb5_free_creds()` to free *out_creds* , :c:func:`krb5_free_ap_rep_enc_part()` to free *rep_result* , and :c:func:`krb5_free_error()` to free *error* when they are no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+.. seealso::
+ :c:func:`krb5_recvauth()`
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_server_decrypt_ticket_keytab.txt b/doc/html/_sources/appdev/refs/api/krb5_server_decrypt_ticket_keytab.txt
new file mode 100644
index 000000000000..0ec0337159f2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_server_decrypt_ticket_keytab.txt
@@ -0,0 +1,51 @@
+krb5_server_decrypt_ticket_keytab - Decrypt a ticket using the specified key table.
+=====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_server_decrypt_ticket_keytab(krb5_context context, const krb5_keytab kt, krb5_ticket * ticket)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **kt** - Key table
+
+ **[in]** **ticket** - Ticket to be decrypted
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function takes a *ticket* as input and decrypts it using key data from *kt* . The result is placed into *ticket->enc_part2* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_default_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_set_default_realm.txt
new file mode 100644
index 000000000000..d9ac43d5efc3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_default_realm.txt
@@ -0,0 +1,52 @@
+krb5_set_default_realm - Override the default realm for the specified context.
+================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_set_default_realm(krb5_context context, const char * lrealm)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **lrealm** - Realm name for the default realm
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+If *lrealm* is NULL, clear the default realm setting.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_default_tgs_enctypes.txt b/doc/html/_sources/appdev/refs/api/krb5_set_default_tgs_enctypes.txt
new file mode 100644
index 000000000000..870ca63dc202
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_default_tgs_enctypes.txt
@@ -0,0 +1,61 @@
+krb5_set_default_tgs_enctypes - Set default TGS encryption types in a krb5_context structure.
+===============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_set_default_tgs_enctypes(krb5_context context, const krb5_enctype * etypes)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **etypes** - Encryption type(s) to set
+
+
+..
+
+
+:retval:
+ - 0 Success
+ - KRB5_PROG_ETYPE_NOSUPP Program lacks support for encryption type
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function sets the default enctype list for TGS requests made using *context* to *etypes* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ This overrides the default list (from config file or built-in).
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_set_error_message.txt
new file mode 100644
index 000000000000..86bf9b7c7dde
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_error_message.txt
@@ -0,0 +1,44 @@
+krb5_set_error_message - Set an extended error message for an error code.
+===========================================================================
+
+..
+
+.. c:function:: void krb5_set_error_message(krb5_context ctx, krb5_error_code code, const char * fmt, ... )
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **code** - Error code
+
+ **[in]** **fmt** - Error string for the error code
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_kdc_recv_hook.txt b/doc/html/_sources/appdev/refs/api/krb5_set_kdc_recv_hook.txt
new file mode 100644
index 000000000000..66a334a44b8c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_kdc_recv_hook.txt
@@ -0,0 +1,52 @@
+krb5_set_kdc_recv_hook - Set a KDC post-receive hook function.
+================================================================
+
+..
+
+.. c:function:: void krb5_set_kdc_recv_hook(krb5_context context, krb5_post_recv_fn recv_hook, void * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - The library context.
+
+ **[in]** **recv_hook** - Hook function (or NULL to disable the hook)
+
+ **[in]** **data** - Callback data to be passed to *recv_hook*
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+ *recv_hook* will be called after a reply is received from a KDC during a call to a library function such as :c:func:`krb5_get_credentials()` . The hook function may inspect or override the reply. This hook will not be executed if the pre-send hook returns a synthetic reply.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.15
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_kdc_send_hook.txt b/doc/html/_sources/appdev/refs/api/krb5_set_kdc_send_hook.txt
new file mode 100644
index 000000000000..7bffffb44616
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_kdc_send_hook.txt
@@ -0,0 +1,52 @@
+krb5_set_kdc_send_hook - Set a KDC pre-send hook function.
+============================================================
+
+..
+
+.. c:function:: void krb5_set_kdc_send_hook(krb5_context context, krb5_pre_send_fn send_hook, void * data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **send_hook** - Hook function (or NULL to disable the hook)
+
+ **[in]** **data** - Callback data to be passed to *send_hook*
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+ *send_hook* will be called before messages are sent to KDCs by library functions such as :c:func:`krb5_get_credentials()` . The hook function may inspect, override, or synthesize its own reply to the message.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.15
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_password.txt b/doc/html/_sources/appdev/refs/api/krb5_set_password.txt
new file mode 100644
index 000000000000..0fefb2cea3e2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_password.txt
@@ -0,0 +1,74 @@
+krb5_set_password - Set a password for a principal using specified credentials.
+=================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_set_password(krb5_context context, krb5_creds * creds, const char * newpw, krb5_principal change_password_for, int * result_code, krb5_data * result_code_string, krb5_data * result_string)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **creds** - Credentials for kadmin/changepw service
+
+ **[in]** **newpw** - New password
+
+ **[in]** **change_password_for** - Change the password for this principal
+
+ **[out]** **result_code** - Numeric error code from server
+
+ **[out]** **result_code_string** - String equivalent to *result_code*
+
+ **[out]** **result_string** - Data returned from the remote system
+
+
+..
+
+
+:retval:
+ - 0 Success and result_code is set to KRB5_KPASSWD_SUCCESS .
+
+
+:return:
+ - Kerberos error codes.
+
+..
+
+
+
+
+
+
+
+This function uses the credentials *creds* to set the password *newpw* for the principal *change_password_for* . It implements the set password operation of RFC 3244, for interoperability with Microsoft Windows implementations.
+
+
+
+The error code and strings are returned in *result_code* , *result_code_string* and *result_string* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If *change_password_for* is NULL, the change is performed on the current principal. If *change_password_for* is non-null, the change is performed on the principal name passed in *change_password_for* .
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_password_using_ccache.txt b/doc/html/_sources/appdev/refs/api/krb5_set_password_using_ccache.txt
new file mode 100644
index 000000000000..24bf4be7edd6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_password_using_ccache.txt
@@ -0,0 +1,74 @@
+krb5_set_password_using_ccache - Set a password for a principal using cached credentials.
+===========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_set_password_using_ccache(krb5_context context, krb5_ccache ccache, const char * newpw, krb5_principal change_password_for, int * result_code, krb5_data * result_code_string, krb5_data * result_string)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ccache** - Credential cache
+
+ **[in]** **newpw** - New password
+
+ **[in]** **change_password_for** - Change the password for this principal
+
+ **[out]** **result_code** - Numeric error code from server
+
+ **[out]** **result_code_string** - String equivalent to *result_code*
+
+ **[out]** **result_string** - Data returned from the remote system
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function uses the cached credentials from *ccache* to set the password *newpw* for the principal *change_password_for* . It implements RFC 3244 set password operation (interoperable with MS Windows implementations) using the credential cache.
+
+
+
+The error code and strings are returned in *result_code* , *result_code_string* and *result_string* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ If *change_password_for* is set to NULL, the change is performed on the default principal in *ccache* . If *change_password_for* is non null, the change is performed on the specified principal.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_principal_realm.txt b/doc/html/_sources/appdev/refs/api/krb5_set_principal_realm.txt
new file mode 100644
index 000000000000..0319b338aa78
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_principal_realm.txt
@@ -0,0 +1,54 @@
+krb5_set_principal_realm - Set the realm field of a principal.
+================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_set_principal_realm(krb5_context context, krb5_principal principal, const char * realm)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **principal** - Principal name
+
+ **[in]** **realm** - Realm name
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+Set the realm name part of *principal* to *realm* , overwriting the previous realm.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_real_time.txt b/doc/html/_sources/appdev/refs/api/krb5_set_real_time.txt
new file mode 100644
index 000000000000..18d7a6b5f913
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_real_time.txt
@@ -0,0 +1,51 @@
+krb5_set_real_time - Set time offset field in a krb5_context structure.
+=========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_set_real_time(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **seconds** - Real time, seconds portion
+
+ **[in]** **microseconds** - Real time, microseconds portion
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function sets the time offset in *context* to the difference between the system time and the real time as determined by *seconds* and *microseconds* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_trace_callback.txt b/doc/html/_sources/appdev/refs/api/krb5_set_trace_callback.txt
new file mode 100644
index 000000000000..4c31ddb61001
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_trace_callback.txt
@@ -0,0 +1,63 @@
+krb5_set_trace_callback - Specify a callback function for trace events.
+=========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_set_trace_callback(krb5_context context, krb5_trace_callback fn, void * cb_data)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **fn** - Callback function
+
+ **[in]** **cb_data** - Callback data
+
+
+..
+
+
+
+:return:
+ - Returns KRB5_TRACE_NOSUPP if tracing is not supported in the library (unless fn is NULL).
+
+..
+
+
+
+
+
+
+
+Specify a callback for trace events occurring in krb5 operations performed within *context* . *fn* will be invoked with *context* as the first argument, *cb_data* as the last argument, and a pointer to a krb5_trace_info as the second argument. If the trace callback is reset via this function or *context* is destroyed, *fn* will be invoked with a NULL second argument so it can clean up *cb_data* . Supply a NULL value for *fn* to disable trace callbacks within *context* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ This function overrides the information passed through the *KRB5_TRACE* environment variable.
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_set_trace_filename.txt b/doc/html/_sources/appdev/refs/api/krb5_set_trace_filename.txt
new file mode 100644
index 000000000000..6d75325a3489
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_set_trace_filename.txt
@@ -0,0 +1,61 @@
+krb5_set_trace_filename - Specify a file name for directing trace events.
+===========================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_set_trace_filename(krb5_context context, const char * filename)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **filename** - File name
+
+
+..
+
+
+:retval:
+ - KRB5_TRACE_NOSUPP Tracing is not supported in the library.
+
+
+..
+
+
+
+
+
+
+
+Open *filename* for appending (creating it, if necessary) and set up a callback to write trace events to it.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ This function overrides the information passed through the *KRB5_TRACE* environment variable.
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_sname_match.txt b/doc/html/_sources/appdev/refs/api/krb5_sname_match.txt
new file mode 100644
index 000000000000..c37500068263
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_sname_match.txt
@@ -0,0 +1,59 @@
+krb5_sname_match - Test whether a principal matches a matching principal.
+===========================================================================
+
+..
+
+.. c:function:: krb5_boolean krb5_sname_match(krb5_context context, krb5_const_principal matching, krb5_const_principal princ)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **matching** - Matching principal
+
+ **[in]** **princ** - Principal to test
+
+
+..
+
+
+
+:return:
+ - TRUE if princ matches matching , FALSE otherwise.
+
+..
+
+
+
+
+
+
+
+If *matching* is NULL, return TRUE. If *matching* is not a matching principal, return the value of krb5_principal_compare(context, matching, princ).
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
+
+.. note::
+
+ A matching principal is a host-based principal with an empty realm and/or second data component (hostname). Profile configuration may cause the hostname to be ignored even if it is present. A principal matches a matching principal if the former has the same non-empty (and non-ignored) components of the latter.
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_sname_to_principal.txt b/doc/html/_sources/appdev/refs/api/krb5_sname_to_principal.txt
new file mode 100644
index 000000000000..07b4849a91ab
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_sname_to_principal.txt
@@ -0,0 +1,74 @@
+krb5_sname_to_principal - Generate a full principal name from a service name.
+===============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_sname_to_principal(krb5_context context, const char * hostname, const char * sname, krb5_int32 type, krb5_principal * ret_princ)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **hostname** - Host name, or NULL to use local host
+
+ **[in]** **sname** - Service name, or NULL to use **"host"**
+
+ **[in]** **type** - Principal type
+
+ **[out]** **ret_princ** - Generated principal
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function converts a *hostname* and *sname* into *krb5_principal* structure *ret_princ* . The returned principal will be of the form *sname\/hostname@REALM* where REALM is determined by :c:func:`krb5_get_host_realm()` . In some cases this may be the referral (empty) realm.
+
+
+
+The *type* can be one of the following:
+
+
+
+
+
+ - :data:`KRB5_NT_SRV_HST` canonicalizes the host name before looking up the realm and generating the principal.
+
+
+
+ - :data:`KRB5_NT_UNKNOWN` accepts the hostname as given, and does not canonicalize it.
+
+ Use krb5_free_principal to free *ret_princ* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_string_to_cksumtype.txt b/doc/html/_sources/appdev/refs/api/krb5_string_to_cksumtype.txt
new file mode 100644
index 000000000000..8ad07f795d83
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_string_to_cksumtype.txt
@@ -0,0 +1,45 @@
+krb5_string_to_cksumtype - Convert a string to a checksum type.
+=================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_string_to_cksumtype(char * string, krb5_cksumtype * cksumtypep)
+
+..
+
+
+:param:
+
+ **[in]** **string** - String to be converted
+
+ **[out]** **cksumtypep** - Checksum type to be filled in
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - EINVAL
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_string_to_deltat.txt b/doc/html/_sources/appdev/refs/api/krb5_string_to_deltat.txt
new file mode 100644
index 000000000000..0f1b9584bfef
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_string_to_deltat.txt
@@ -0,0 +1,45 @@
+krb5_string_to_deltat - Convert a string to a delta time value.
+=================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_string_to_deltat(char * string, krb5_deltat * deltatp)
+
+..
+
+
+:param:
+
+ **[in]** **string** - String to be converted
+
+ **[out]** **deltatp** - Delta time to be filled in
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - KRB5_DELTAT_BADFORMAT
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_string_to_enctype.txt b/doc/html/_sources/appdev/refs/api/krb5_string_to_enctype.txt
new file mode 100644
index 000000000000..173251f6d98f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_string_to_enctype.txt
@@ -0,0 +1,45 @@
+krb5_string_to_enctype - Convert a string to an encryption type.
+==================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_string_to_enctype(char * string, krb5_enctype * enctypep)
+
+..
+
+
+:param:
+
+ **[in]** **string** - String to convert to an encryption type
+
+ **[out]** **enctypep** - Encryption type
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - EINVAL
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_string_to_key.txt b/doc/html/_sources/appdev/refs/api/krb5_string_to_key.txt
new file mode 100644
index 000000000000..3f44b9d5ab28
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_string_to_key.txt
@@ -0,0 +1,50 @@
+krb5_string_to_key
+==================
+
+..
+
+.. c:function:: krb5_error_code krb5_string_to_key(krb5_context context, const krb5_encrypt_block * eblock, krb5_keyblock * keyblock, const krb5_data * data, const krb5_data * salt)
+
+..
+
+
+:param:
+
+ **context**
+
+ **eblock**
+
+ **keyblock**
+
+ **data**
+
+ **salt**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED See krb5_c_string_to_key()
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_string_to_salttype.txt b/doc/html/_sources/appdev/refs/api/krb5_string_to_salttype.txt
new file mode 100644
index 000000000000..36978f4b1bdc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_string_to_salttype.txt
@@ -0,0 +1,45 @@
+krb5_string_to_salttype - Convert a string to a salt type.
+============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_string_to_salttype(char * string, krb5_int32 * salttypep)
+
+..
+
+
+:param:
+
+ **[in]** **string** - String to convert to an encryption type
+
+ **[out]** **salttypep** - Salt type to be filled in
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - EINVAL
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_string_to_timestamp.txt b/doc/html/_sources/appdev/refs/api/krb5_string_to_timestamp.txt
new file mode 100644
index 000000000000..11b6d1e976a9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_string_to_timestamp.txt
@@ -0,0 +1,45 @@
+krb5_string_to_timestamp - Convert a string to a timestamp.
+=============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_string_to_timestamp(char * string, krb5_timestamp * timestampp)
+
+..
+
+
+:param:
+
+ **[in]** **string** - String to be converted
+
+ **[out]** **timestampp** - Pointer to timestamp
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - EINVAL
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_timeofday.txt b/doc/html/_sources/appdev/refs/api/krb5_timeofday.txt
new file mode 100644
index 000000000000..0c38a97fe7fe
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_timeofday.txt
@@ -0,0 +1,52 @@
+krb5_timeofday - Retrieve the current time with context specific time offset adjustment.
+==========================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_timeofday(krb5_context context, register krb5_timestamp * timeret)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **timeret** - Timestamp to fill in
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function retrieves the system time of day with the context specific time offset adjustment.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_timestamp_to_sfstring.txt b/doc/html/_sources/appdev/refs/api/krb5_timestamp_to_sfstring.txt
new file mode 100644
index 000000000000..3750c45d010a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_timestamp_to_sfstring.txt
@@ -0,0 +1,53 @@
+krb5_timestamp_to_sfstring - Convert a timestamp to a string, with optional output padding.
+=============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_timestamp_to_sfstring(krb5_timestamp timestamp, char * buffer, size_t buflen, char * pad)
+
+..
+
+
+:param:
+
+ **[in]** **timestamp** - Timestamp to convert
+
+ **[out]** **buffer** - Buffer to hold the converted timestamp
+
+ **[in]** **buflen** - Length of buffer
+
+ **[in]** **pad** - Optional value to pad *buffer* if converted timestamp does not fill it
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+If *pad* is not NULL, *buffer* is padded out to *buflen* - 1 characters with the value of * *pad* .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_timestamp_to_string.txt b/doc/html/_sources/appdev/refs/api/krb5_timestamp_to_string.txt
new file mode 100644
index 000000000000..1c4c71eb2e1e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_timestamp_to_string.txt
@@ -0,0 +1,51 @@
+krb5_timestamp_to_string - Convert a timestamp to a string.
+=============================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_timestamp_to_string(krb5_timestamp timestamp, char * buffer, size_t buflen)
+
+..
+
+
+:param:
+
+ **[in]** **timestamp** - Timestamp to convert
+
+ **[out]** **buffer** - Buffer to hold converted timestamp
+
+ **[in]** **buflen** - Storage available in *buffer*
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+The string is returned in the locale's appropriate date and time representation.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_free.txt b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_free.txt
new file mode 100644
index 000000000000..623ed5be390b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_free.txt
@@ -0,0 +1,46 @@
+krb5_tkt_creds_free - Free a TGS request context.
+===================================================
+
+..
+
+.. c:function:: void krb5_tkt_creds_free(krb5_context context, krb5_tkt_creds_context ctx)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - TGS request context
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get.txt b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get.txt
new file mode 100644
index 000000000000..4ff37fd13217
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get.txt
@@ -0,0 +1,53 @@
+krb5_tkt_creds_get - Synchronously obtain credentials using a TGS request context.
+====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_tkt_creds_get(krb5_context context, krb5_tkt_creds_context ctx)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - TGS request context
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function synchronously obtains credentials using a context created by :c:func:`krb5_tkt_creds_init()` . On successful return, the credentials can be retrieved with :c:func:`krb5_tkt_creds_get_creds()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get_creds.txt
new file mode 100644
index 000000000000..1f402aee8b9e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get_creds.txt
@@ -0,0 +1,55 @@
+krb5_tkt_creds_get_creds - Retrieve acquired credentials from a TGS request context.
+======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_tkt_creds_get_creds(krb5_context context, krb5_tkt_creds_context ctx, krb5_creds * creds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - TGS request context
+
+ **[out]** **creds** - Acquired credentials
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function copies the acquired initial credentials from *ctx* into *creds* , after the successful completion of :c:func:`krb5_tkt_creds_get()` or :c:func:`krb5_tkt_creds_step()` . Use :c:func:`krb5_free_cred_contents()` to free *creds* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get_times.txt b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get_times.txt
new file mode 100644
index 000000000000..09701f05717b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_get_times.txt
@@ -0,0 +1,55 @@
+krb5_tkt_creds_get_times - Retrieve ticket times from a TGS request context.
+==============================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_tkt_creds_get_times(krb5_context context, krb5_tkt_creds_context ctx, krb5_ticket_times * times)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - TGS request context
+
+ **[out]** **times** - Ticket times for acquired credentials
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+The TGS request context must have completed obtaining credentials via either :c:func:`krb5_tkt_creds_get()` or :c:func:`krb5_tkt_creds_step()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_init.txt b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_init.txt
new file mode 100644
index 000000000000..e61ee90f8af5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_init.txt
@@ -0,0 +1,67 @@
+krb5_tkt_creds_init - Create a context to get credentials from a KDC's Ticket Granting Service.
+=================================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_tkt_creds_init(krb5_context context, krb5_ccache ccache, krb5_creds * creds, krb5_flags options, krb5_tkt_creds_context * ctx)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ccache** - Credential cache handle
+
+ **[in]** **creds** - Input credentials
+
+ **[in]** **options** - :data:`KRB5_GC` options for this request.
+
+ **[out]** **ctx** - New TGS request context
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function prepares to obtain credentials matching *creds* , either by retrieving them from *ccache* or by making requests to ticket-granting services beginning with a ticket-granting ticket for the client principal's realm.
+
+
+
+The resulting TGS acquisition context can be used asynchronously with :c:func:`krb5_tkt_creds_step()` or synchronously with :c:func:`krb5_tkt_creds_get()` . See also :c:func:`krb5_get_credentials()` for synchronous use.
+
+
+
+Use :c:func:`krb5_tkt_creds_free()` to free *ctx* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_step.txt b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_step.txt
new file mode 100644
index 000000000000..6cab1642b01e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_tkt_creds_step.txt
@@ -0,0 +1,69 @@
+krb5_tkt_creds_step - Get the next KDC request in a TGS exchange.
+===================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_tkt_creds_step(krb5_context context, krb5_tkt_creds_context ctx, krb5_data * in, krb5_data * out, krb5_data * realm, unsigned int * flags)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **ctx** - TGS request context
+
+ **[in]** **in** - KDC response (empty on the first call)
+
+ **[out]** **out** - Next KDC request
+
+ **[out]** **realm** - Realm for next KDC request
+
+ **[out]** **flags** - Output flags
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function constructs the next KDC request for a TGS exchange, allowing the caller to control the transport of KDC requests and replies. On the first call, *in* should be set to an empty buffer; on subsequent calls, it should be set to the KDC's reply to the previous request.
+
+
+
+If more requests are needed, *flags* will be set to :data:`KRB5_TKT_CREDS_STEP_FLAG_CONTINUE` and the next request will be placed in *out* . If no more requests are needed, *flags* will not contain :data:`KRB5_TKT_CREDS_STEP_FLAG_CONTINUE` and *out* will be empty.
+
+
+
+If this function returns **KRB5KRB_ERR_RESPONSE_TOO_BIG** , the caller should transmit the next request using TCP rather than UDP. If this function returns any other error, the TGS exchange has failed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+.. note::
+
+ New in 1.9
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_unparse_name.txt b/doc/html/_sources/appdev/refs/api/krb5_unparse_name.txt
new file mode 100644
index 000000000000..11a434ad8f63
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_unparse_name.txt
@@ -0,0 +1,58 @@
+krb5_unparse_name - Convert a krb5_principal structure to a string representation.
+====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_unparse_name(krb5_context context, krb5_const_principal principal, register char ** name)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **principal** - Principal
+
+ **[out]** **name** - String representation of principal name
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+The resulting string representation uses the format and quoting conventions described for :c:func:`krb5_parse_name()` .
+
+
+
+Use :c:func:`krb5_free_unparsed_name()` to free *name* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_unparse_name_ext.txt b/doc/html/_sources/appdev/refs/api/krb5_unparse_name_ext.txt
new file mode 100644
index 000000000000..61b13e1b88bd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_unparse_name_ext.txt
@@ -0,0 +1,60 @@
+krb5_unparse_name_ext - Convert krb5_principal structure to string and length.
+================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_unparse_name_ext(krb5_context context, krb5_const_principal principal, char ** name, unsigned int * size)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **principal** - Principal
+
+ **[inout]** **name** - String representation of principal name
+
+ **[inout]** **size** - Size of unparsed name
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes. On failure name is set to NULL
+
+..
+
+
+
+
+
+
+
+This function is similar to :c:func:`krb5_unparse_name()` , but allows the use of an existing buffer for the result. If size is not NULL, then *name* must point to either NULL or an existing buffer of at least the size pointed to by *size* . The buffer will be allocated or resized if necessary, with the new pointer stored into *name* . Whether or not the buffer is resized, the necessary space for the result, including null terminator, will be stored into *size* .
+
+
+
+If size is NULL, this function behaves exactly as :c:func:`krb5_unparse_name()` .
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_unparse_name_flags.txt b/doc/html/_sources/appdev/refs/api/krb5_unparse_name_flags.txt
new file mode 100644
index 000000000000..0cf41cf4ae87
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_unparse_name_flags.txt
@@ -0,0 +1,70 @@
+krb5_unparse_name_flags - Convert krb5_principal structure to a string with flags.
+====================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_unparse_name_flags(krb5_context context, krb5_const_principal principal, int flags, char ** name)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **principal** - Principal
+
+ **[in]** **flags** - Flags
+
+ **[out]** **name** - String representation of principal name
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes. On failure name is set to NULL
+
+..
+
+
+
+
+
+
+
+Similar to :c:func:`krb5_unparse_name()` , this function converts a krb5_principal structure to a string representation.
+
+
+
+The following flags are valid:
+
+ - :data:`KRB5_PRINCIPAL_UNPARSE_SHORT` - omit realm if it is the local realm
+
+
+ - :data:`KRB5_PRINCIPAL_UNPARSE_NO_REALM` - omit realm
+
+
+ - :data:`KRB5_PRINCIPAL_UNPARSE_DISPLAY` - do not quote special characters
+
+ Use :c:func:`krb5_free_unparsed_name()` to free *name* when it is no longer needed.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_unparse_name_flags_ext.txt b/doc/html/_sources/appdev/refs/api/krb5_unparse_name_flags_ext.txt
new file mode 100644
index 000000000000..aa713bda494f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_unparse_name_flags_ext.txt
@@ -0,0 +1,54 @@
+krb5_unparse_name_flags_ext - Convert krb5_principal structure to string format with flags.
+=============================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_unparse_name_flags_ext(krb5_context context, krb5_const_principal principal, int flags, char ** name, unsigned int * size)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **principal** - Principal
+
+ **[in]** **flags** - Flags
+
+ **[out]** **name** - Single string format of principal name
+
+ **[out]** **size** - Size of unparsed name buffer
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes. On failure name is set to NULL
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_us_timeofday.txt b/doc/html/_sources/appdev/refs/api/krb5_us_timeofday.txt
new file mode 100644
index 000000000000..ba4ef8084f2c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_us_timeofday.txt
@@ -0,0 +1,54 @@
+krb5_us_timeofday - Retrieve the system time of day, in sec and ms, since the epoch.
+======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_us_timeofday(krb5_context context, krb5_timestamp * seconds, krb5_int32 * microseconds)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[out]** **seconds** - System timeofday, seconds portion
+
+ **[out]** **microseconds** - System timeofday, microseconds portion
+
+
+..
+
+
+:retval:
+ - 0 Success
+
+
+:return:
+ - Kerberos error codes
+
+..
+
+
+
+
+
+
+
+This function retrieves the system time of day with the context specific time offset adjustment.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_use_enctype.txt b/doc/html/_sources/appdev/refs/api/krb5_use_enctype.txt
new file mode 100644
index 000000000000..10b3fa712482
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_use_enctype.txt
@@ -0,0 +1,46 @@
+krb5_use_enctype
+================
+
+..
+
+.. c:function:: krb5_error_code krb5_use_enctype(krb5_context context, krb5_encrypt_block * eblock, krb5_enctype enctype)
+
+..
+
+
+:param:
+
+ **context**
+
+ **eblock**
+
+ **enctype**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED Replaced by krb5_c_* API family.
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_verify_authdata_kdc_issued.txt b/doc/html/_sources/appdev/refs/api/krb5_verify_authdata_kdc_issued.txt
new file mode 100644
index 000000000000..30971392e3ec
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_verify_authdata_kdc_issued.txt
@@ -0,0 +1,48 @@
+krb5_verify_authdata_kdc_issued - Unwrap and verify AD-KDCIssued authorization data.
+======================================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_verify_authdata_kdc_issued(krb5_context context, const krb5_keyblock * key, const krb5_authdata * ad_kdcissued, krb5_principal * issuer, krb5_authdata *** authdata)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **key** - Session key
+
+ **[in]** **ad_kdcissued** - AD-KDCIssued authorization data to be unwrapped
+
+ **[out]** **issuer** - Name of issuing principal (or NULL)
+
+ **[out]** **authdata** - Unwrapped list of authorization data
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function unwraps an AD-KDCIssued authdatum (see RFC 4120 section 5.2.6.2) and verifies its signature against *key* . The issuer field of the authdatum element is returned in *issuer* , and the unwrapped list of authdata is returned in *authdata* .
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_verify_checksum.txt b/doc/html/_sources/appdev/refs/api/krb5_verify_checksum.txt
new file mode 100644
index 000000000000..0ddf63185d72
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_verify_checksum.txt
@@ -0,0 +1,54 @@
+krb5_verify_checksum
+====================
+
+..
+
+.. c:function:: krb5_error_code krb5_verify_checksum(krb5_context context, krb5_cksumtype ctype, const krb5_checksum * cksum, krb5_const_pointer in, size_t in_length, krb5_const_pointer seed, size_t seed_length)
+
+..
+
+
+:param:
+
+ **context**
+
+ **ctype**
+
+ **cksum**
+
+ **in**
+
+ **in_length**
+
+ **seed**
+
+ **seed_length**
+
+
+..
+
+
+
+..
+
+
+DEPRECATED See krb5_c_verify_checksum()
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds.txt b/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds.txt
new file mode 100644
index 000000000000..04185f342d69
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds.txt
@@ -0,0 +1,65 @@
+krb5_verify_init_creds - Verify initial credentials against a keytab.
+=======================================================================
+
+..
+
+.. c:function:: krb5_error_code krb5_verify_init_creds(krb5_context context, krb5_creds * creds, krb5_principal server, krb5_keytab keytab, krb5_ccache * ccache, krb5_verify_init_creds_opt * options)
+
+..
+
+
+:param:
+
+ **[in]** **context** - Library context
+
+ **[in]** **creds** - Initial credentials to be verified
+
+ **[in]** **server** - Server principal (or NULL)
+
+ **[in]** **keytab** - Key table (NULL to use default keytab)
+
+ **[in]** **ccache** - Credential cache for fetched creds (or NULL)
+
+ **[in]** **options** - Verification options (NULL for default options)
+
+
+..
+
+
+:retval:
+ - 0 Success; otherwise - Kerberos error codes
+
+
+..
+
+
+
+
+
+
+
+This function attempts to verify that *creds* were obtained from a KDC with knowledge of a key in *keytab* , or the default keytab if *keytab* is NULL. If *server* is provided, the highest-kvno key entry for that principal name is used to verify the credentials; otherwise, all unique"host"service principals in the keytab are tried.
+
+
+
+If the specified keytab does not exist, or is empty, or cannot be read, or does not contain an entry for *server* , then credential verification may be skipped unless configuration demands that it succeed. The caller can control this behavior by providing a verification options structure; see :c:func:`krb5_verify_init_creds_opt_init()` and :c:func:`krb5_verify_init_creds_opt_set_ap_req_nofail()` .
+
+
+
+If *ccache* is NULL, any additional credentials fetched during the verification process will be destroyed. If *ccache* points to NULL, a memory ccache will be created for the additional credentials and returned in *ccache* . If *ccache* points to a valid credential cache handle, the additional credentials will be stored in that cache.
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds_opt_init.txt b/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds_opt_init.txt
new file mode 100644
index 000000000000..a55fd3aa5094
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds_opt_init.txt
@@ -0,0 +1,40 @@
+krb5_verify_init_creds_opt_init - Initialize a credential verification options structure.
+===========================================================================================
+
+..
+
+.. c:function:: void krb5_verify_init_creds_opt_init(krb5_verify_init_creds_opt * k5_vic_options)
+
+..
+
+
+:param:
+
+ **[in]** **k5_vic_options** - Verification options structure
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds_opt_set_ap_req_nofail.txt b/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds_opt_set_ap_req_nofail.txt
new file mode 100644
index 000000000000..fc6ac022cbad
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_verify_init_creds_opt_set_ap_req_nofail.txt
@@ -0,0 +1,46 @@
+krb5_verify_init_creds_opt_set_ap_req_nofail - Set whether credential verification is required.
+=================================================================================================
+
+..
+
+.. c:function:: void krb5_verify_init_creds_opt_set_ap_req_nofail(krb5_verify_init_creds_opt * k5_vic_options, int ap_req_nofail)
+
+..
+
+
+:param:
+
+ **[in]** **k5_vic_options** - Verification options structure
+
+ **[in]** **ap_req_nofail** - Whether to require successful verification
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function determines how :c:func:`krb5_verify_init_creds()` behaves if no keytab information is available. If *ap_req_nofail* is **FALSE** , verification will be skipped in this case and :c:func:`krb5_verify_init_creds()` will return successfully. If *ap_req_nofail* is **TRUE** , :c:func:`krb5_verify_init_creds()` will not return successfully unless verification can be performed.
+
+
+
+If this function is not used, the behavior of :c:func:`krb5_verify_init_creds()` is determined through configuration.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_vprepend_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_vprepend_error_message.txt
new file mode 100644
index 000000000000..7c493596028a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_vprepend_error_message.txt
@@ -0,0 +1,46 @@
+krb5_vprepend_error_message - Add a prefix to the message for an error code using a va_list.
+==============================================================================================
+
+..
+
+.. c:function:: void krb5_vprepend_error_message(krb5_context ctx, krb5_error_code code, const char * fmt, va_list args)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **code** - Error code
+
+ **[in]** **fmt** - Format string for error message prefix
+
+ **[in]** **args** - List of vprintf(3) style arguments
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function is similar to :c:func:`krb5_prepend_error_message()` , but uses a va_list instead of variadic arguments.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_vset_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_vset_error_message.txt
new file mode 100644
index 000000000000..fcb4b6996f62
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_vset_error_message.txt
@@ -0,0 +1,46 @@
+krb5_vset_error_message - Set an extended error message for an error code using a va_list.
+============================================================================================
+
+..
+
+.. c:function:: void krb5_vset_error_message(krb5_context ctx, krb5_error_code code, const char * fmt, va_list args)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **code** - Error code
+
+ **[in]** **fmt** - Error string for the error code
+
+ **[in]** **args** - List of vprintf(3) style arguments
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_vwrap_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_vwrap_error_message.txt
new file mode 100644
index 000000000000..1e2a27e7eee5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_vwrap_error_message.txt
@@ -0,0 +1,48 @@
+krb5_vwrap_error_message - Add a prefix to a different error code's message using a va_list.
+==============================================================================================
+
+..
+
+.. c:function:: void krb5_vwrap_error_message(krb5_context ctx, krb5_error_code old_code, krb5_error_code code, const char * fmt, va_list args)
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **old_code** - Previous error code
+
+ **[in]** **code** - Error code
+
+ **[in]** **fmt** - Format string for error message prefix
+
+ **[in]** **args** - List of vprintf(3) style arguments
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+This function is similar to :c:func:`krb5_wrap_error_message()` , but uses a va_list instead of variadic arguments.
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/api/krb5_wrap_error_message.txt b/doc/html/_sources/appdev/refs/api/krb5_wrap_error_message.txt
new file mode 100644
index 000000000000..b599ae78ff71
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/api/krb5_wrap_error_message.txt
@@ -0,0 +1,46 @@
+krb5_wrap_error_message - Add a prefix to a different error code's message.
+=============================================================================
+
+..
+
+.. c:function:: void krb5_wrap_error_message(krb5_context ctx, krb5_error_code old_code, krb5_error_code code, const char * fmt, ... )
+
+..
+
+
+:param:
+
+ **[in]** **ctx** - Library context
+
+ **[in]** **old_code** - Previous error code
+
+ **[in]** **code** - Error code
+
+ **[in]** **fmt** - Format string for error message prefix
+
+
+..
+
+
+
+..
+
+
+
+
+
+
+
+Format a message and prepend it to the message for *old_code* . The prefix will be separated from the old message with a colon and space. Set the resulting message as the extended error message for *code* .
+
+
+
+
+
+
+..
+
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/index.txt b/doc/html/_sources/appdev/refs/index.txt
new file mode 100644
index 000000000000..37a895f3bee4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/index.txt
@@ -0,0 +1,9 @@
+Complete reference - API and datatypes
+======================================
+
+.. toctree::
+ :maxdepth: 1
+
+ api/index.rst
+ types/index.rst
+ macros/index.rst
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_ADDRPORT.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_ADDRPORT.txt
new file mode 100644
index 000000000000..f2e324838c9d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_ADDRPORT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-ADDRPORT-data:
+
+ADDRTYPE_ADDRPORT
+=================
+
+..
+.. data:: ADDRTYPE_ADDRPORT
+..
+
+
+
+
+======================== ======================
+``ADDRTYPE_ADDRPORT`` ``0x0100``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_CHAOS.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_CHAOS.txt
new file mode 100644
index 000000000000..cbc6dae09f08
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_CHAOS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-CHAOS-data:
+
+ADDRTYPE_CHAOS
+==============
+
+..
+.. data:: ADDRTYPE_CHAOS
+..
+
+
+
+
+===================== ======================
+``ADDRTYPE_CHAOS`` ``0x0005``
+===================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_DDP.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_DDP.txt
new file mode 100644
index 000000000000..a62d91fcec6a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_DDP.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-DDP-data:
+
+ADDRTYPE_DDP
+============
+
+..
+.. data:: ADDRTYPE_DDP
+..
+
+
+
+
+=================== ======================
+``ADDRTYPE_DDP`` ``0x0010``
+=================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_INET.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_INET.txt
new file mode 100644
index 000000000000..10ed68a96b35
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_INET.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-INET-data:
+
+ADDRTYPE_INET
+=============
+
+..
+.. data:: ADDRTYPE_INET
+..
+
+
+
+
+==================== ======================
+``ADDRTYPE_INET`` ``0x0002``
+==================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_INET6.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_INET6.txt
new file mode 100644
index 000000000000..c41a4666541a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_INET6.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-INET6-data:
+
+ADDRTYPE_INET6
+==============
+
+..
+.. data:: ADDRTYPE_INET6
+..
+
+
+
+
+===================== ======================
+``ADDRTYPE_INET6`` ``0x0018``
+===================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_IPPORT.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_IPPORT.txt
new file mode 100644
index 000000000000..0cd4a20f36e5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_IPPORT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-IPPORT-data:
+
+ADDRTYPE_IPPORT
+===============
+
+..
+.. data:: ADDRTYPE_IPPORT
+..
+
+
+
+
+====================== ======================
+``ADDRTYPE_IPPORT`` ``0x0101``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_ISO.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_ISO.txt
new file mode 100644
index 000000000000..0b3524455eb1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_ISO.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-ISO-data:
+
+ADDRTYPE_ISO
+============
+
+..
+.. data:: ADDRTYPE_ISO
+..
+
+
+
+
+=================== ======================
+``ADDRTYPE_ISO`` ``0x0007``
+=================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_IS_LOCAL.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_IS_LOCAL.txt
new file mode 100644
index 000000000000..de1bdc48f863
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_IS_LOCAL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-IS-LOCAL-data:
+
+ADDRTYPE_IS_LOCAL
+=================
+
+..
+.. data:: ADDRTYPE_IS_LOCAL
+..
+
+
+
+
+================================== ======================
+``ADDRTYPE_IS_LOCAL (addrtype)`` ``(addrtype & 0x8000)``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_NETBIOS.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_NETBIOS.txt
new file mode 100644
index 000000000000..b8e4762d18d7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_NETBIOS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-NETBIOS-data:
+
+ADDRTYPE_NETBIOS
+================
+
+..
+.. data:: ADDRTYPE_NETBIOS
+..
+
+
+
+
+======================= ======================
+``ADDRTYPE_NETBIOS`` ``0x0014``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ADDRTYPE_XNS.txt b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_XNS.txt
new file mode 100644
index 000000000000..8b861728f904
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ADDRTYPE_XNS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ADDRTYPE-XNS-data:
+
+ADDRTYPE_XNS
+============
+
+..
+.. data:: ADDRTYPE_XNS
+..
+
+
+
+
+=================== ======================
+``ADDRTYPE_XNS`` ``0x0006``
+=================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AD_TYPE_EXTERNAL.txt b/doc/html/_sources/appdev/refs/macros/AD_TYPE_EXTERNAL.txt
new file mode 100644
index 000000000000..69d9f08c0ada
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AD_TYPE_EXTERNAL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _AD-TYPE-EXTERNAL-data:
+
+AD_TYPE_EXTERNAL
+================
+
+..
+.. data:: AD_TYPE_EXTERNAL
+..
+
+
+
+
+======================= ======================
+``AD_TYPE_EXTERNAL`` ``0x4000``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AD_TYPE_FIELD_TYPE_MASK.txt b/doc/html/_sources/appdev/refs/macros/AD_TYPE_FIELD_TYPE_MASK.txt
new file mode 100644
index 000000000000..a1fb2688bae9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AD_TYPE_FIELD_TYPE_MASK.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _AD-TYPE-FIELD-TYPE-MASK-data:
+
+AD_TYPE_FIELD_TYPE_MASK
+=======================
+
+..
+.. data:: AD_TYPE_FIELD_TYPE_MASK
+..
+
+
+
+
+============================== ======================
+``AD_TYPE_FIELD_TYPE_MASK`` ``0x1fff``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AD_TYPE_REGISTERED.txt b/doc/html/_sources/appdev/refs/macros/AD_TYPE_REGISTERED.txt
new file mode 100644
index 000000000000..465c3188fab2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AD_TYPE_REGISTERED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _AD-TYPE-REGISTERED-data:
+
+AD_TYPE_REGISTERED
+==================
+
+..
+.. data:: AD_TYPE_REGISTERED
+..
+
+
+
+
+========================= ======================
+``AD_TYPE_REGISTERED`` ``0x2000``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AD_TYPE_RESERVED.txt b/doc/html/_sources/appdev/refs/macros/AD_TYPE_RESERVED.txt
new file mode 100644
index 000000000000..ea1e6996c996
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AD_TYPE_RESERVED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _AD-TYPE-RESERVED-data:
+
+AD_TYPE_RESERVED
+================
+
+..
+.. data:: AD_TYPE_RESERVED
+..
+
+
+
+
+======================= ======================
+``AD_TYPE_RESERVED`` ``0x8000``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AP_OPTS_ETYPE_NEGOTIATION.txt b/doc/html/_sources/appdev/refs/macros/AP_OPTS_ETYPE_NEGOTIATION.txt
new file mode 100644
index 000000000000..5258fc9af9a5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AP_OPTS_ETYPE_NEGOTIATION.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _AP-OPTS-ETYPE-NEGOTIATION-data:
+
+AP_OPTS_ETYPE_NEGOTIATION
+=========================
+
+..
+.. data:: AP_OPTS_ETYPE_NEGOTIATION
+..
+
+
+
+
+================================ ======================
+``AP_OPTS_ETYPE_NEGOTIATION`` ``0x00000002``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AP_OPTS_MUTUAL_REQUIRED.txt b/doc/html/_sources/appdev/refs/macros/AP_OPTS_MUTUAL_REQUIRED.txt
new file mode 100644
index 000000000000..fc51787d08f9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AP_OPTS_MUTUAL_REQUIRED.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _AP-OPTS-MUTUAL-REQUIRED-data:
+
+AP_OPTS_MUTUAL_REQUIRED
+=======================
+
+..
+.. data:: AP_OPTS_MUTUAL_REQUIRED
+..
+
+Perform a mutual authentication exchange.
+
+
+
+============================== ======================
+``AP_OPTS_MUTUAL_REQUIRED`` ``0x20000000``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AP_OPTS_RESERVED.txt b/doc/html/_sources/appdev/refs/macros/AP_OPTS_RESERVED.txt
new file mode 100644
index 000000000000..101a5a85a38a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AP_OPTS_RESERVED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _AP-OPTS-RESERVED-data:
+
+AP_OPTS_RESERVED
+================
+
+..
+.. data:: AP_OPTS_RESERVED
+..
+
+
+
+
+======================= ======================
+``AP_OPTS_RESERVED`` ``0x80000000``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AP_OPTS_USE_SESSION_KEY.txt b/doc/html/_sources/appdev/refs/macros/AP_OPTS_USE_SESSION_KEY.txt
new file mode 100644
index 000000000000..76340ceaa0e6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AP_OPTS_USE_SESSION_KEY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _AP-OPTS-USE-SESSION-KEY-data:
+
+AP_OPTS_USE_SESSION_KEY
+=======================
+
+..
+.. data:: AP_OPTS_USE_SESSION_KEY
+..
+
+Use session key.
+
+
+
+============================== ======================
+``AP_OPTS_USE_SESSION_KEY`` ``0x40000000``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AP_OPTS_USE_SUBKEY.txt b/doc/html/_sources/appdev/refs/macros/AP_OPTS_USE_SUBKEY.txt
new file mode 100644
index 000000000000..1e7e757f967d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AP_OPTS_USE_SUBKEY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _AP-OPTS-USE-SUBKEY-data:
+
+AP_OPTS_USE_SUBKEY
+==================
+
+..
+.. data:: AP_OPTS_USE_SUBKEY
+..
+
+Generate a subsession key from the current session key obtained from the credentials.
+
+
+
+========================= ======================
+``AP_OPTS_USE_SUBKEY`` ``0x00000001``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/AP_OPTS_WIRE_MASK.txt b/doc/html/_sources/appdev/refs/macros/AP_OPTS_WIRE_MASK.txt
new file mode 100644
index 000000000000..c801afd5b9ae
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/AP_OPTS_WIRE_MASK.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _AP-OPTS-WIRE-MASK-data:
+
+AP_OPTS_WIRE_MASK
+=================
+
+..
+.. data:: AP_OPTS_WIRE_MASK
+..
+
+
+
+
+======================== ======================
+``AP_OPTS_WIRE_MASK`` ``0xfffffff0``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CMAC_CAMELLIA128.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CMAC_CAMELLIA128.txt
new file mode 100644
index 000000000000..302962cff7f2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CMAC_CAMELLIA128.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-CMAC-CAMELLIA128-data:
+
+CKSUMTYPE_CMAC_CAMELLIA128
+==========================
+
+..
+.. data:: CKSUMTYPE_CMAC_CAMELLIA128
+..
+
+RFC 6803.
+
+
+
+================================= ======================
+``CKSUMTYPE_CMAC_CAMELLIA128`` ``0x0011``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CMAC_CAMELLIA256.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CMAC_CAMELLIA256.txt
new file mode 100644
index 000000000000..979f06a6aefb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CMAC_CAMELLIA256.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-CMAC-CAMELLIA256-data:
+
+CKSUMTYPE_CMAC_CAMELLIA256
+==========================
+
+..
+.. data:: CKSUMTYPE_CMAC_CAMELLIA256
+..
+
+RFC 6803.
+
+
+
+================================= ======================
+``CKSUMTYPE_CMAC_CAMELLIA256`` ``0x0012``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CRC32.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CRC32.txt
new file mode 100644
index 000000000000..cf5c90c29693
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_CRC32.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-CRC32-data:
+
+CKSUMTYPE_CRC32
+===============
+
+..
+.. data:: CKSUMTYPE_CRC32
+..
+
+
+
+
+====================== ======================
+``CKSUMTYPE_CRC32`` ``0x0001``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_DESCBC.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_DESCBC.txt
new file mode 100644
index 000000000000..2d42028cf757
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_DESCBC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-DESCBC-data:
+
+CKSUMTYPE_DESCBC
+================
+
+..
+.. data:: CKSUMTYPE_DESCBC
+..
+
+
+
+
+======================= ======================
+``CKSUMTYPE_DESCBC`` ``0x0004``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_MD5_ARCFOUR.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_MD5_ARCFOUR.txt
new file mode 100644
index 000000000000..89bf8180eefc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_MD5_ARCFOUR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-HMAC-MD5-ARCFOUR-data:
+
+CKSUMTYPE_HMAC_MD5_ARCFOUR
+==========================
+
+..
+.. data:: CKSUMTYPE_HMAC_MD5_ARCFOUR
+..
+
+RFC 4757.
+
+
+
+================================= ======================
+``CKSUMTYPE_HMAC_MD5_ARCFOUR`` ``-138``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_96_AES128.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_96_AES128.txt
new file mode 100644
index 000000000000..57ad067ad761
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_96_AES128.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-HMAC-SHA1-96-AES128-data:
+
+CKSUMTYPE_HMAC_SHA1_96_AES128
+=============================
+
+..
+.. data:: CKSUMTYPE_HMAC_SHA1_96_AES128
+..
+
+RFC 3962.
+
+Used with ENCTYPE_AES128_CTS_HMAC_SHA1_96
+
+==================================== ======================
+``CKSUMTYPE_HMAC_SHA1_96_AES128`` ``0x000f``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_96_AES256.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_96_AES256.txt
new file mode 100644
index 000000000000..f48d8f7ab392
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_96_AES256.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-HMAC-SHA1-96-AES256-data:
+
+CKSUMTYPE_HMAC_SHA1_96_AES256
+=============================
+
+..
+.. data:: CKSUMTYPE_HMAC_SHA1_96_AES256
+..
+
+RFC 3962.
+
+Used with ENCTYPE_AES256_CTS_HMAC_SHA1_96
+
+==================================== ======================
+``CKSUMTYPE_HMAC_SHA1_96_AES256`` ``0x0010``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_DES3.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_DES3.txt
new file mode 100644
index 000000000000..1063b6791a94
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA1_DES3.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-HMAC-SHA1-DES3-data:
+
+CKSUMTYPE_HMAC_SHA1_DES3
+========================
+
+..
+.. data:: CKSUMTYPE_HMAC_SHA1_DES3
+..
+
+
+
+
+=============================== ======================
+``CKSUMTYPE_HMAC_SHA1_DES3`` ``0x000c``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA256_128_AES128.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA256_128_AES128.txt
new file mode 100644
index 000000000000..028e23d78488
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA256_128_AES128.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-HMAC-SHA256-128-AES128-data:
+
+CKSUMTYPE_HMAC_SHA256_128_AES128
+================================
+
+..
+.. data:: CKSUMTYPE_HMAC_SHA256_128_AES128
+..
+
+RFC 8009.
+
+
+
+======================================= ======================
+``CKSUMTYPE_HMAC_SHA256_128_AES128`` ``0x0013``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA384_192_AES256.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA384_192_AES256.txt
new file mode 100644
index 000000000000..06307c78dbc7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_HMAC_SHA384_192_AES256.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-HMAC-SHA384-192-AES256-data:
+
+CKSUMTYPE_HMAC_SHA384_192_AES256
+================================
+
+..
+.. data:: CKSUMTYPE_HMAC_SHA384_192_AES256
+..
+
+RFC 8009.
+
+
+
+======================================= ======================
+``CKSUMTYPE_HMAC_SHA384_192_AES256`` ``0x0014``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_MD5_HMAC_ARCFOUR.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_MD5_HMAC_ARCFOUR.txt
new file mode 100644
index 000000000000..10590868ff49
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_MD5_HMAC_ARCFOUR.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-MD5-HMAC-ARCFOUR-data:
+
+CKSUMTYPE_MD5_HMAC_ARCFOUR
+==========================
+
+..
+.. data:: CKSUMTYPE_MD5_HMAC_ARCFOUR
+..
+
+
+
+
+================================= ======================
+``CKSUMTYPE_MD5_HMAC_ARCFOUR`` ``-137 /* Microsoft netlogon */``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_NIST_SHA.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_NIST_SHA.txt
new file mode 100644
index 000000000000..5e2194451b0e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_NIST_SHA.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-NIST-SHA-data:
+
+CKSUMTYPE_NIST_SHA
+==================
+
+..
+.. data:: CKSUMTYPE_NIST_SHA
+..
+
+
+
+
+========================= ======================
+``CKSUMTYPE_NIST_SHA`` ``0x0009``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD4.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD4.txt
new file mode 100644
index 000000000000..7f5e2df5b7ac
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD4.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-RSA-MD4-data:
+
+CKSUMTYPE_RSA_MD4
+=================
+
+..
+.. data:: CKSUMTYPE_RSA_MD4
+..
+
+
+
+
+======================== ======================
+``CKSUMTYPE_RSA_MD4`` ``0x0002``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD4_DES.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD4_DES.txt
new file mode 100644
index 000000000000..580624e72415
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD4_DES.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-RSA-MD4-DES-data:
+
+CKSUMTYPE_RSA_MD4_DES
+=====================
+
+..
+.. data:: CKSUMTYPE_RSA_MD4_DES
+..
+
+
+
+
+============================ ======================
+``CKSUMTYPE_RSA_MD4_DES`` ``0x0003``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD5.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD5.txt
new file mode 100644
index 000000000000..e1aadebbf2b1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD5.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-RSA-MD5-data:
+
+CKSUMTYPE_RSA_MD5
+=================
+
+..
+.. data:: CKSUMTYPE_RSA_MD5
+..
+
+
+
+
+======================== ======================
+``CKSUMTYPE_RSA_MD5`` ``0x0007``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD5_DES.txt b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD5_DES.txt
new file mode 100644
index 000000000000..251a1fc159f3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/CKSUMTYPE_RSA_MD5_DES.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _CKSUMTYPE-RSA-MD5-DES-data:
+
+CKSUMTYPE_RSA_MD5_DES
+=====================
+
+..
+.. data:: CKSUMTYPE_RSA_MD5_DES
+..
+
+
+
+
+============================ ======================
+``CKSUMTYPE_RSA_MD5_DES`` ``0x0008``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES128_CTS_HMAC_SHA1_96.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES128_CTS_HMAC_SHA1_96.txt
new file mode 100644
index 000000000000..b41f106726df
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES128_CTS_HMAC_SHA1_96.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-AES128-CTS-HMAC-SHA1-96-data:
+
+ENCTYPE_AES128_CTS_HMAC_SHA1_96
+===============================
+
+..
+.. data:: ENCTYPE_AES128_CTS_HMAC_SHA1_96
+..
+
+RFC 3962.
+
+
+
+====================================== ======================
+``ENCTYPE_AES128_CTS_HMAC_SHA1_96`` ``0x0011``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES128_CTS_HMAC_SHA256_128.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES128_CTS_HMAC_SHA256_128.txt
new file mode 100644
index 000000000000..b0881224d0ec
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES128_CTS_HMAC_SHA256_128.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-AES128-CTS-HMAC-SHA256-128-data:
+
+ENCTYPE_AES128_CTS_HMAC_SHA256_128
+==================================
+
+..
+.. data:: ENCTYPE_AES128_CTS_HMAC_SHA256_128
+..
+
+RFC 8009.
+
+
+
+========================================= ======================
+``ENCTYPE_AES128_CTS_HMAC_SHA256_128`` ``0x0013``
+========================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES256_CTS_HMAC_SHA1_96.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES256_CTS_HMAC_SHA1_96.txt
new file mode 100644
index 000000000000..52773eb3ee28
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES256_CTS_HMAC_SHA1_96.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-AES256-CTS-HMAC-SHA1-96-data:
+
+ENCTYPE_AES256_CTS_HMAC_SHA1_96
+===============================
+
+..
+.. data:: ENCTYPE_AES256_CTS_HMAC_SHA1_96
+..
+
+RFC 3962.
+
+
+
+====================================== ======================
+``ENCTYPE_AES256_CTS_HMAC_SHA1_96`` ``0x0012``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES256_CTS_HMAC_SHA384_192.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES256_CTS_HMAC_SHA384_192.txt
new file mode 100644
index 000000000000..1f7bbf729ff4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_AES256_CTS_HMAC_SHA384_192.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-AES256-CTS-HMAC-SHA384-192-data:
+
+ENCTYPE_AES256_CTS_HMAC_SHA384_192
+==================================
+
+..
+.. data:: ENCTYPE_AES256_CTS_HMAC_SHA384_192
+..
+
+RFC 8009.
+
+
+
+========================================= ======================
+``ENCTYPE_AES256_CTS_HMAC_SHA384_192`` ``0x0014``
+========================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_ARCFOUR_HMAC.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_ARCFOUR_HMAC.txt
new file mode 100644
index 000000000000..272126505f90
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_ARCFOUR_HMAC.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-ARCFOUR-HMAC-data:
+
+ENCTYPE_ARCFOUR_HMAC
+====================
+
+..
+.. data:: ENCTYPE_ARCFOUR_HMAC
+..
+
+RFC 4757.
+
+
+
+=========================== ======================
+``ENCTYPE_ARCFOUR_HMAC`` ``0x0017``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_ARCFOUR_HMAC_EXP.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_ARCFOUR_HMAC_EXP.txt
new file mode 100644
index 000000000000..fa3b8c3b9748
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_ARCFOUR_HMAC_EXP.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-ARCFOUR-HMAC-EXP-data:
+
+ENCTYPE_ARCFOUR_HMAC_EXP
+========================
+
+..
+.. data:: ENCTYPE_ARCFOUR_HMAC_EXP
+..
+
+RFC 4757.
+
+
+
+=============================== ======================
+``ENCTYPE_ARCFOUR_HMAC_EXP`` ``0x0018``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_CAMELLIA128_CTS_CMAC.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_CAMELLIA128_CTS_CMAC.txt
new file mode 100644
index 000000000000..553578a25c66
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_CAMELLIA128_CTS_CMAC.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-CAMELLIA128-CTS-CMAC-data:
+
+ENCTYPE_CAMELLIA128_CTS_CMAC
+============================
+
+..
+.. data:: ENCTYPE_CAMELLIA128_CTS_CMAC
+..
+
+RFC 6803.
+
+
+
+=================================== ======================
+``ENCTYPE_CAMELLIA128_CTS_CMAC`` ``0x0019``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_CAMELLIA256_CTS_CMAC.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_CAMELLIA256_CTS_CMAC.txt
new file mode 100644
index 000000000000..2ad90d395653
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_CAMELLIA256_CTS_CMAC.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-CAMELLIA256-CTS-CMAC-data:
+
+ENCTYPE_CAMELLIA256_CTS_CMAC
+============================
+
+..
+.. data:: ENCTYPE_CAMELLIA256_CTS_CMAC
+..
+
+RFC 6803.
+
+
+
+=================================== ======================
+``ENCTYPE_CAMELLIA256_CTS_CMAC`` ``0x001a``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_ENV.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_ENV.txt
new file mode 100644
index 000000000000..d75692ec5343
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_ENV.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES3-CBC-ENV-data:
+
+ENCTYPE_DES3_CBC_ENV
+====================
+
+..
+.. data:: ENCTYPE_DES3_CBC_ENV
+..
+
+DES-3 cbc mode, CMS enveloped data.
+
+
+
+=========================== ======================
+``ENCTYPE_DES3_CBC_ENV`` ``0x000f``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_RAW.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_RAW.txt
new file mode 100644
index 000000000000..3070f17b13e5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_RAW.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES3-CBC-RAW-data:
+
+ENCTYPE_DES3_CBC_RAW
+====================
+
+..
+.. data:: ENCTYPE_DES3_CBC_RAW
+..
+
+
+
+
+=========================== ======================
+``ENCTYPE_DES3_CBC_RAW`` ``0x0006``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_SHA.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_SHA.txt
new file mode 100644
index 000000000000..62c8ca5af5fe
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_SHA.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES3-CBC-SHA-data:
+
+ENCTYPE_DES3_CBC_SHA
+====================
+
+..
+.. data:: ENCTYPE_DES3_CBC_SHA
+..
+
+
+
+
+=========================== ======================
+``ENCTYPE_DES3_CBC_SHA`` ``0x0005``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_SHA1.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_SHA1.txt
new file mode 100644
index 000000000000..9ad6330da134
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES3_CBC_SHA1.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES3-CBC-SHA1-data:
+
+ENCTYPE_DES3_CBC_SHA1
+=====================
+
+..
+.. data:: ENCTYPE_DES3_CBC_SHA1
+..
+
+
+
+
+============================ ======================
+``ENCTYPE_DES3_CBC_SHA1`` ``0x0010``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_CRC.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_CRC.txt
new file mode 100644
index 000000000000..63bb07eec06c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_CRC.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES-CBC-CRC-data:
+
+ENCTYPE_DES_CBC_CRC
+===================
+
+..
+.. data:: ENCTYPE_DES_CBC_CRC
+..
+
+DES cbc mode with CRC-32.
+
+
+
+========================== ======================
+``ENCTYPE_DES_CBC_CRC`` ``0x0001``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_MD4.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_MD4.txt
new file mode 100644
index 000000000000..1e477a93c1d4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_MD4.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES-CBC-MD4-data:
+
+ENCTYPE_DES_CBC_MD4
+===================
+
+..
+.. data:: ENCTYPE_DES_CBC_MD4
+..
+
+DES cbc mode with RSA-MD4.
+
+
+
+========================== ======================
+``ENCTYPE_DES_CBC_MD4`` ``0x0002``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_MD5.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_MD5.txt
new file mode 100644
index 000000000000..87c1c6043569
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_MD5.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES-CBC-MD5-data:
+
+ENCTYPE_DES_CBC_MD5
+===================
+
+..
+.. data:: ENCTYPE_DES_CBC_MD5
+..
+
+DES cbc mode with RSA-MD5.
+
+
+
+========================== ======================
+``ENCTYPE_DES_CBC_MD5`` ``0x0003``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_RAW.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_RAW.txt
new file mode 100644
index 000000000000..d03eac2f21d8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_CBC_RAW.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES-CBC-RAW-data:
+
+ENCTYPE_DES_CBC_RAW
+===================
+
+..
+.. data:: ENCTYPE_DES_CBC_RAW
+..
+
+
+
+
+========================== ======================
+``ENCTYPE_DES_CBC_RAW`` ``0x0004``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_HMAC_SHA1.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_HMAC_SHA1.txt
new file mode 100644
index 000000000000..d2f325f6cf42
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DES_HMAC_SHA1.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DES-HMAC-SHA1-data:
+
+ENCTYPE_DES_HMAC_SHA1
+=====================
+
+..
+.. data:: ENCTYPE_DES_HMAC_SHA1
+..
+
+
+
+
+============================ ======================
+``ENCTYPE_DES_HMAC_SHA1`` ``0x0008``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_DSA_SHA1_CMS.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DSA_SHA1_CMS.txt
new file mode 100644
index 000000000000..0f1ab60c248c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_DSA_SHA1_CMS.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-DSA-SHA1-CMS-data:
+
+ENCTYPE_DSA_SHA1_CMS
+====================
+
+..
+.. data:: ENCTYPE_DSA_SHA1_CMS
+..
+
+DSA with SHA1, CMS signature.
+
+
+
+=========================== ======================
+``ENCTYPE_DSA_SHA1_CMS`` ``0x0009``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_MD5_RSA_CMS.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_MD5_RSA_CMS.txt
new file mode 100644
index 000000000000..94c38809ca64
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_MD5_RSA_CMS.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-MD5-RSA-CMS-data:
+
+ENCTYPE_MD5_RSA_CMS
+===================
+
+..
+.. data:: ENCTYPE_MD5_RSA_CMS
+..
+
+MD5 with RSA, CMS signature.
+
+
+
+========================== ======================
+``ENCTYPE_MD5_RSA_CMS`` ``0x000a``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_NULL.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_NULL.txt
new file mode 100644
index 000000000000..241698f01907
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_NULL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-NULL-data:
+
+ENCTYPE_NULL
+============
+
+..
+.. data:: ENCTYPE_NULL
+..
+
+
+
+
+=================== ======================
+``ENCTYPE_NULL`` ``0x0000``
+=================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_RC2_CBC_ENV.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_RC2_CBC_ENV.txt
new file mode 100644
index 000000000000..7da526090fd4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_RC2_CBC_ENV.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-RC2-CBC-ENV-data:
+
+ENCTYPE_RC2_CBC_ENV
+===================
+
+..
+.. data:: ENCTYPE_RC2_CBC_ENV
+..
+
+RC2 cbc mode, CMS enveloped data.
+
+
+
+========================== ======================
+``ENCTYPE_RC2_CBC_ENV`` ``0x000c``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_RSA_ENV.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_RSA_ENV.txt
new file mode 100644
index 000000000000..7b58fca97258
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_RSA_ENV.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-RSA-ENV-data:
+
+ENCTYPE_RSA_ENV
+===============
+
+..
+.. data:: ENCTYPE_RSA_ENV
+..
+
+RSA encryption, CMS enveloped data.
+
+
+
+====================== ======================
+``ENCTYPE_RSA_ENV`` ``0x000d``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_RSA_ES_OAEP_ENV.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_RSA_ES_OAEP_ENV.txt
new file mode 100644
index 000000000000..d51908a73e25
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_RSA_ES_OAEP_ENV.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-RSA-ES-OAEP-ENV-data:
+
+ENCTYPE_RSA_ES_OAEP_ENV
+=======================
+
+..
+.. data:: ENCTYPE_RSA_ES_OAEP_ENV
+..
+
+RSA w/OEAP encryption, CMS enveloped data.
+
+
+
+============================== ======================
+``ENCTYPE_RSA_ES_OAEP_ENV`` ``0x000e``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_SHA1_RSA_CMS.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_SHA1_RSA_CMS.txt
new file mode 100644
index 000000000000..6b5971b9bdcc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_SHA1_RSA_CMS.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-SHA1-RSA-CMS-data:
+
+ENCTYPE_SHA1_RSA_CMS
+====================
+
+..
+.. data:: ENCTYPE_SHA1_RSA_CMS
+..
+
+SHA1 with RSA, CMS signature.
+
+
+
+=========================== ======================
+``ENCTYPE_SHA1_RSA_CMS`` ``0x000b``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/ENCTYPE_UNKNOWN.txt b/doc/html/_sources/appdev/refs/macros/ENCTYPE_UNKNOWN.txt
new file mode 100644
index 000000000000..f0c034c17d7d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/ENCTYPE_UNKNOWN.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _ENCTYPE-UNKNOWN-data:
+
+ENCTYPE_UNKNOWN
+===============
+
+..
+.. data:: ENCTYPE_UNKNOWN
+..
+
+
+
+
+====================== ======================
+``ENCTYPE_UNKNOWN`` ``0x01ff``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_ALLOW_POSTDATE.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_ALLOW_POSTDATE.txt
new file mode 100644
index 000000000000..ea6e8bffcee2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_ALLOW_POSTDATE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-ALLOW-POSTDATE-data:
+
+KDC_OPT_ALLOW_POSTDATE
+======================
+
+..
+.. data:: KDC_OPT_ALLOW_POSTDATE
+..
+
+
+
+
+============================= ======================
+``KDC_OPT_ALLOW_POSTDATE`` ``0x04000000``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_CANONICALIZE.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_CANONICALIZE.txt
new file mode 100644
index 000000000000..a23b4ef3f388
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_CANONICALIZE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-CANONICALIZE-data:
+
+KDC_OPT_CANONICALIZE
+====================
+
+..
+.. data:: KDC_OPT_CANONICALIZE
+..
+
+
+
+
+=========================== ======================
+``KDC_OPT_CANONICALIZE`` ``0x00010000``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_CNAME_IN_ADDL_TKT.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_CNAME_IN_ADDL_TKT.txt
new file mode 100644
index 000000000000..6e456a0d26b4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_CNAME_IN_ADDL_TKT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-CNAME-IN-ADDL-TKT-data:
+
+KDC_OPT_CNAME_IN_ADDL_TKT
+=========================
+
+..
+.. data:: KDC_OPT_CNAME_IN_ADDL_TKT
+..
+
+
+
+
+================================ ======================
+``KDC_OPT_CNAME_IN_ADDL_TKT`` ``0x00020000``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_DISABLE_TRANSITED_CHECK.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_DISABLE_TRANSITED_CHECK.txt
new file mode 100644
index 000000000000..55072aefeb49
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_DISABLE_TRANSITED_CHECK.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-DISABLE-TRANSITED-CHECK-data:
+
+KDC_OPT_DISABLE_TRANSITED_CHECK
+===============================
+
+..
+.. data:: KDC_OPT_DISABLE_TRANSITED_CHECK
+..
+
+
+
+
+====================================== ======================
+``KDC_OPT_DISABLE_TRANSITED_CHECK`` ``0x00000020``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_ENC_TKT_IN_SKEY.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_ENC_TKT_IN_SKEY.txt
new file mode 100644
index 000000000000..3baaab2b301c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_ENC_TKT_IN_SKEY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-ENC-TKT-IN-SKEY-data:
+
+KDC_OPT_ENC_TKT_IN_SKEY
+=======================
+
+..
+.. data:: KDC_OPT_ENC_TKT_IN_SKEY
+..
+
+
+
+
+============================== ======================
+``KDC_OPT_ENC_TKT_IN_SKEY`` ``0x00000008``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_FORWARDABLE.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_FORWARDABLE.txt
new file mode 100644
index 000000000000..abe8f2653f7a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_FORWARDABLE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-FORWARDABLE-data:
+
+KDC_OPT_FORWARDABLE
+===================
+
+..
+.. data:: KDC_OPT_FORWARDABLE
+..
+
+
+
+
+========================== ======================
+``KDC_OPT_FORWARDABLE`` ``0x40000000``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_FORWARDED.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_FORWARDED.txt
new file mode 100644
index 000000000000..ab4e0ef0728f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_FORWARDED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-FORWARDED-data:
+
+KDC_OPT_FORWARDED
+=================
+
+..
+.. data:: KDC_OPT_FORWARDED
+..
+
+
+
+
+======================== ======================
+``KDC_OPT_FORWARDED`` ``0x20000000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_POSTDATED.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_POSTDATED.txt
new file mode 100644
index 000000000000..f7858cfc85c0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_POSTDATED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-POSTDATED-data:
+
+KDC_OPT_POSTDATED
+=================
+
+..
+.. data:: KDC_OPT_POSTDATED
+..
+
+
+
+
+======================== ======================
+``KDC_OPT_POSTDATED`` ``0x02000000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_PROXIABLE.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_PROXIABLE.txt
new file mode 100644
index 000000000000..82925cd400a1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_PROXIABLE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-PROXIABLE-data:
+
+KDC_OPT_PROXIABLE
+=================
+
+..
+.. data:: KDC_OPT_PROXIABLE
+..
+
+
+
+
+======================== ======================
+``KDC_OPT_PROXIABLE`` ``0x10000000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_PROXY.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_PROXY.txt
new file mode 100644
index 000000000000..d1c99c86d267
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_PROXY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-PROXY-data:
+
+KDC_OPT_PROXY
+=============
+
+..
+.. data:: KDC_OPT_PROXY
+..
+
+
+
+
+==================== ======================
+``KDC_OPT_PROXY`` ``0x08000000``
+==================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEW.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEW.txt
new file mode 100644
index 000000000000..8c68ee690c7f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEW.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-RENEW-data:
+
+KDC_OPT_RENEW
+=============
+
+..
+.. data:: KDC_OPT_RENEW
+..
+
+
+
+
+==================== ======================
+``KDC_OPT_RENEW`` ``0x00000002``
+==================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEWABLE.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEWABLE.txt
new file mode 100644
index 000000000000..b757c8703cb9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEWABLE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-RENEWABLE-data:
+
+KDC_OPT_RENEWABLE
+=================
+
+..
+.. data:: KDC_OPT_RENEWABLE
+..
+
+
+
+
+======================== ======================
+``KDC_OPT_RENEWABLE`` ``0x00800000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEWABLE_OK.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEWABLE_OK.txt
new file mode 100644
index 000000000000..405bec01396a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_RENEWABLE_OK.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-RENEWABLE-OK-data:
+
+KDC_OPT_RENEWABLE_OK
+====================
+
+..
+.. data:: KDC_OPT_RENEWABLE_OK
+..
+
+
+
+
+=========================== ======================
+``KDC_OPT_RENEWABLE_OK`` ``0x00000010``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_REQUEST_ANONYMOUS.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_REQUEST_ANONYMOUS.txt
new file mode 100644
index 000000000000..29d22a42e72a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_REQUEST_ANONYMOUS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-REQUEST-ANONYMOUS-data:
+
+KDC_OPT_REQUEST_ANONYMOUS
+=========================
+
+..
+.. data:: KDC_OPT_REQUEST_ANONYMOUS
+..
+
+
+
+
+================================ ======================
+``KDC_OPT_REQUEST_ANONYMOUS`` ``0x00008000``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_OPT_VALIDATE.txt b/doc/html/_sources/appdev/refs/macros/KDC_OPT_VALIDATE.txt
new file mode 100644
index 000000000000..c15e83c4889c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_OPT_VALIDATE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-OPT-VALIDATE-data:
+
+KDC_OPT_VALIDATE
+================
+
+..
+.. data:: KDC_OPT_VALIDATE
+..
+
+
+
+
+======================= ======================
+``KDC_OPT_VALIDATE`` ``0x00000001``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KDC_TKT_COMMON_MASK.txt b/doc/html/_sources/appdev/refs/macros/KDC_TKT_COMMON_MASK.txt
new file mode 100644
index 000000000000..ccb5d309402c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KDC_TKT_COMMON_MASK.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KDC-TKT-COMMON-MASK-data:
+
+KDC_TKT_COMMON_MASK
+===================
+
+..
+.. data:: KDC_TKT_COMMON_MASK
+..
+
+
+
+
+========================== ======================
+``KDC_TKT_COMMON_MASK`` ``0x54800000``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_ALTAUTH_ATT_CHALLENGE_RESPONSE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_ALTAUTH_ATT_CHALLENGE_RESPONSE.txt
new file mode 100644
index 000000000000..894c4f8b2229
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_ALTAUTH_ATT_CHALLENGE_RESPONSE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-ALTAUTH-ATT-CHALLENGE-RESPONSE-data:
+
+KRB5_ALTAUTH_ATT_CHALLENGE_RESPONSE
+===================================
+
+..
+.. data:: KRB5_ALTAUTH_ATT_CHALLENGE_RESPONSE
+..
+
+alternate authentication types
+
+
+
+========================================== ======================
+``KRB5_ALTAUTH_ATT_CHALLENGE_RESPONSE`` ``64``
+========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_ANONYMOUS_PRINCSTR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_ANONYMOUS_PRINCSTR.txt
new file mode 100644
index 000000000000..85682d1a27e7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_ANONYMOUS_PRINCSTR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-ANONYMOUS-PRINCSTR-data:
+
+KRB5_ANONYMOUS_PRINCSTR
+=======================
+
+..
+.. data:: KRB5_ANONYMOUS_PRINCSTR
+..
+
+Anonymous principal name.
+
+
+
+============================== ======================
+``KRB5_ANONYMOUS_PRINCSTR`` ``"ANONYMOUS"``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_ANONYMOUS_REALMSTR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_ANONYMOUS_REALMSTR.txt
new file mode 100644
index 000000000000..9d8015dbc113
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_ANONYMOUS_REALMSTR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-ANONYMOUS-REALMSTR-data:
+
+KRB5_ANONYMOUS_REALMSTR
+=======================
+
+..
+.. data:: KRB5_ANONYMOUS_REALMSTR
+..
+
+Anonymous realm.
+
+
+
+============================== ======================
+``KRB5_ANONYMOUS_REALMSTR`` ``"WELLKNOWN:ANONYMOUS"``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AP_REP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AP_REP.txt
new file mode 100644
index 000000000000..3d1099f926ec
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AP_REP.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AP-REP-data:
+
+KRB5_AP_REP
+===========
+
+..
+.. data:: KRB5_AP_REP
+..
+
+Response to mutual AP request.
+
+
+
+================== ======================
+``KRB5_AP_REP`` ``((krb5_msgtype)15)``
+================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AP_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AP_REQ.txt
new file mode 100644
index 000000000000..487a607c971b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AP_REQ.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AP-REQ-data:
+
+KRB5_AP_REQ
+===========
+
+..
+.. data:: KRB5_AP_REQ
+..
+
+Auth req to application server.
+
+
+
+================== ======================
+``KRB5_AP_REQ`` ``((krb5_msgtype)14)``
+================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AS_REP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AS_REP.txt
new file mode 100644
index 000000000000..c9f7ea1eb054
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AS_REP.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AS-REP-data:
+
+KRB5_AS_REP
+===========
+
+..
+.. data:: KRB5_AS_REP
+..
+
+Response to AS request.
+
+
+
+================== ======================
+``KRB5_AS_REP`` ``((krb5_msgtype)11)``
+================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AS_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AS_REQ.txt
new file mode 100644
index 000000000000..9a5ca6f15dd8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AS_REQ.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AS-REQ-data:
+
+KRB5_AS_REQ
+===========
+
+..
+.. data:: KRB5_AS_REQ
+..
+
+Initial authentication request.
+
+
+
+================== ======================
+``KRB5_AS_REQ`` ``((krb5_msgtype)10)``
+================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_AND_OR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_AND_OR.txt
new file mode 100644
index 000000000000..805b8bd62095
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_AND_OR.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-AND-OR-data:
+
+KRB5_AUTHDATA_AND_OR
+====================
+
+..
+.. data:: KRB5_AUTHDATA_AND_OR
+..
+
+
+
+
+=========================== ======================
+``KRB5_AUTHDATA_AND_OR`` ``5``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_AUTH_INDICATOR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_AUTH_INDICATOR.txt
new file mode 100644
index 000000000000..304c2b2ec772
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_AUTH_INDICATOR.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-AUTH-INDICATOR-data:
+
+KRB5_AUTHDATA_AUTH_INDICATOR
+============================
+
+..
+.. data:: KRB5_AUTHDATA_AUTH_INDICATOR
+..
+
+
+
+
+=================================== ======================
+``KRB5_AUTHDATA_AUTH_INDICATOR`` ``97``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_CAMMAC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_CAMMAC.txt
new file mode 100644
index 000000000000..213947a160ce
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_CAMMAC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-CAMMAC-data:
+
+KRB5_AUTHDATA_CAMMAC
+====================
+
+..
+.. data:: KRB5_AUTHDATA_CAMMAC
+..
+
+
+
+
+=========================== ======================
+``KRB5_AUTHDATA_CAMMAC`` ``96``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_ETYPE_NEGOTIATION.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_ETYPE_NEGOTIATION.txt
new file mode 100644
index 000000000000..0f454844fde4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_ETYPE_NEGOTIATION.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-ETYPE-NEGOTIATION-data:
+
+KRB5_AUTHDATA_ETYPE_NEGOTIATION
+===============================
+
+..
+.. data:: KRB5_AUTHDATA_ETYPE_NEGOTIATION
+..
+
+RFC 4537.
+
+
+
+====================================== ======================
+``KRB5_AUTHDATA_ETYPE_NEGOTIATION`` ``129``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_FX_ARMOR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_FX_ARMOR.txt
new file mode 100644
index 000000000000..3661af5acd5e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_FX_ARMOR.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-FX-ARMOR-data:
+
+KRB5_AUTHDATA_FX_ARMOR
+======================
+
+..
+.. data:: KRB5_AUTHDATA_FX_ARMOR
+..
+
+
+
+
+============================= ======================
+``KRB5_AUTHDATA_FX_ARMOR`` ``71``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_IF_RELEVANT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_IF_RELEVANT.txt
new file mode 100644
index 000000000000..eb773f81bfa0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_IF_RELEVANT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-IF-RELEVANT-data:
+
+KRB5_AUTHDATA_IF_RELEVANT
+=========================
+
+..
+.. data:: KRB5_AUTHDATA_IF_RELEVANT
+..
+
+
+
+
+================================ ======================
+``KRB5_AUTHDATA_IF_RELEVANT`` ``1``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.txt
new file mode 100644
index 000000000000..8ddb686a1716
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-INITIAL-VERIFIED-CAS-data:
+
+KRB5_AUTHDATA_INITIAL_VERIFIED_CAS
+==================================
+
+..
+.. data:: KRB5_AUTHDATA_INITIAL_VERIFIED_CAS
+..
+
+
+
+
+========================================= ======================
+``KRB5_AUTHDATA_INITIAL_VERIFIED_CAS`` ``9``
+========================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_KDC_ISSUED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_KDC_ISSUED.txt
new file mode 100644
index 000000000000..b63e83d69b51
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_KDC_ISSUED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-KDC-ISSUED-data:
+
+KRB5_AUTHDATA_KDC_ISSUED
+========================
+
+..
+.. data:: KRB5_AUTHDATA_KDC_ISSUED
+..
+
+
+
+
+=============================== ======================
+``KRB5_AUTHDATA_KDC_ISSUED`` ``4``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_MANDATORY_FOR_KDC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_MANDATORY_FOR_KDC.txt
new file mode 100644
index 000000000000..8112bf0618b6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_MANDATORY_FOR_KDC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-MANDATORY-FOR-KDC-data:
+
+KRB5_AUTHDATA_MANDATORY_FOR_KDC
+===============================
+
+..
+.. data:: KRB5_AUTHDATA_MANDATORY_FOR_KDC
+..
+
+
+
+
+====================================== ======================
+``KRB5_AUTHDATA_MANDATORY_FOR_KDC`` ``8``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_OSF_DCE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_OSF_DCE.txt
new file mode 100644
index 000000000000..ffd04482456b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_OSF_DCE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-OSF-DCE-data:
+
+KRB5_AUTHDATA_OSF_DCE
+=====================
+
+..
+.. data:: KRB5_AUTHDATA_OSF_DCE
+..
+
+
+
+
+============================ ======================
+``KRB5_AUTHDATA_OSF_DCE`` ``64``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_SESAME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_SESAME.txt
new file mode 100644
index 000000000000..2857cfe70f04
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_SESAME.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-SESAME-data:
+
+KRB5_AUTHDATA_SESAME
+====================
+
+..
+.. data:: KRB5_AUTHDATA_SESAME
+..
+
+
+
+
+=========================== ======================
+``KRB5_AUTHDATA_SESAME`` ``65``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_SIGNTICKET.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_SIGNTICKET.txt
new file mode 100644
index 000000000000..c74afcb69acb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_SIGNTICKET.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-SIGNTICKET-data:
+
+KRB5_AUTHDATA_SIGNTICKET
+========================
+
+..
+.. data:: KRB5_AUTHDATA_SIGNTICKET
+..
+
+formerly 142 in krb5 1.8
+
+
+
+=============================== ======================
+``KRB5_AUTHDATA_SIGNTICKET`` ``512``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_WIN2K_PAC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_WIN2K_PAC.txt
new file mode 100644
index 000000000000..e6417b8bbdf1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTHDATA_WIN2K_PAC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTHDATA-WIN2K-PAC-data:
+
+KRB5_AUTHDATA_WIN2K_PAC
+=======================
+
+..
+.. data:: KRB5_AUTHDATA_WIN2K_PAC
+..
+
+
+
+
+============================== ======================
+``KRB5_AUTHDATA_WIN2K_PAC`` ``128``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_DO_SEQUENCE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_DO_SEQUENCE.txt
new file mode 100644
index 000000000000..700a704d6e79
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_DO_SEQUENCE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-DO-SEQUENCE-data:
+
+KRB5_AUTH_CONTEXT_DO_SEQUENCE
+=============================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_DO_SEQUENCE
+..
+
+Prevent replays with sequence numbers.
+
+
+
+==================================== ======================
+``KRB5_AUTH_CONTEXT_DO_SEQUENCE`` ``0x00000004``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_DO_TIME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_DO_TIME.txt
new file mode 100644
index 000000000000..14e6e6d1601d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_DO_TIME.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-DO-TIME-data:
+
+KRB5_AUTH_CONTEXT_DO_TIME
+=========================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_DO_TIME
+..
+
+Prevent replays with timestamps and replay cache.
+
+
+
+================================ ======================
+``KRB5_AUTH_CONTEXT_DO_TIME`` ``0x00000001``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR.txt
new file mode 100644
index 000000000000..e500f7d1ab3b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-GENERATE-LOCAL-ADDR-data:
+
+KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR
+=====================================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR
+..
+
+Generate the local network address.
+
+
+
+============================================ ======================
+``KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR`` ``0x00000001``
+============================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR.txt
new file mode 100644
index 000000000000..a7ae9ec5659f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-GENERATE-LOCAL-FULL-ADDR-data:
+
+KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR
+==========================================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR
+..
+
+Generate the local network address and the local port.
+
+
+
+================================================= ======================
+``KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR`` ``0x00000004``
+================================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR.txt
new file mode 100644
index 000000000000..7887a5d5778e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-GENERATE-REMOTE-ADDR-data:
+
+KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR
+======================================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR
+..
+
+Generate the remote network address.
+
+
+
+============================================= ======================
+``KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR`` ``0x00000002``
+============================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR.txt
new file mode 100644
index 000000000000..9b90467ef0bf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-GENERATE-REMOTE-FULL-ADDR-data:
+
+KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR
+===========================================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR
+..
+
+Generate the remote network address and the remote port.
+
+
+
+================================================== ======================
+``KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR`` ``0x00000008``
+================================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_PERMIT_ALL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_PERMIT_ALL.txt
new file mode 100644
index 000000000000..09e1b684a86d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_PERMIT_ALL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-PERMIT-ALL-data:
+
+KRB5_AUTH_CONTEXT_PERMIT_ALL
+============================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_PERMIT_ALL
+..
+
+
+
+
+=================================== ======================
+``KRB5_AUTH_CONTEXT_PERMIT_ALL`` ``0x00000010``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_RET_SEQUENCE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_RET_SEQUENCE.txt
new file mode 100644
index 000000000000..6e7e9c4fa50e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_RET_SEQUENCE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-RET-SEQUENCE-data:
+
+KRB5_AUTH_CONTEXT_RET_SEQUENCE
+==============================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_RET_SEQUENCE
+..
+
+Save sequence numbers for application.
+
+
+
+===================================== ======================
+``KRB5_AUTH_CONTEXT_RET_SEQUENCE`` ``0x00000008``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_RET_TIME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_RET_TIME.txt
new file mode 100644
index 000000000000..0d9428028c7c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_RET_TIME.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-RET-TIME-data:
+
+KRB5_AUTH_CONTEXT_RET_TIME
+==========================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_RET_TIME
+..
+
+Save timestamps for application.
+
+
+
+================================= ======================
+``KRB5_AUTH_CONTEXT_RET_TIME`` ``0x00000002``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_USE_SUBKEY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_USE_SUBKEY.txt
new file mode 100644
index 000000000000..63f6b0923606
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_AUTH_CONTEXT_USE_SUBKEY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-AUTH-CONTEXT-USE-SUBKEY-data:
+
+KRB5_AUTH_CONTEXT_USE_SUBKEY
+============================
+
+..
+.. data:: KRB5_AUTH_CONTEXT_USE_SUBKEY
+..
+
+
+
+
+=================================== ======================
+``KRB5_AUTH_CONTEXT_USE_SUBKEY`` ``0x00000020``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRED.txt
new file mode 100644
index 000000000000..948520a46dcb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRED.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRED-data:
+
+KRB5_CRED
+=========
+
+..
+.. data:: KRB5_CRED
+..
+
+Cred forwarding message.
+
+
+
+================ ======================
+``KRB5_CRED`` ``((krb5_msgtype)22)``
+================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_CHECKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_CHECKSUM.txt
new file mode 100644
index 000000000000..d6caedfc15bf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_CHECKSUM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRYPTO-TYPE-CHECKSUM-data:
+
+KRB5_CRYPTO_TYPE_CHECKSUM
+=========================
+
+..
+.. data:: KRB5_CRYPTO_TYPE_CHECKSUM
+..
+
+[out] checksum for MIC
+
+
+
+================================ ======================
+``KRB5_CRYPTO_TYPE_CHECKSUM`` ``6``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_DATA.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_DATA.txt
new file mode 100644
index 000000000000..7adb02492baa
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_DATA.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRYPTO-TYPE-DATA-data:
+
+KRB5_CRYPTO_TYPE_DATA
+=====================
+
+..
+.. data:: KRB5_CRYPTO_TYPE_DATA
+..
+
+[in, out] plaintext
+
+
+
+============================ ======================
+``KRB5_CRYPTO_TYPE_DATA`` ``2``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_EMPTY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_EMPTY.txt
new file mode 100644
index 000000000000..305153353ac7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_EMPTY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRYPTO-TYPE-EMPTY-data:
+
+KRB5_CRYPTO_TYPE_EMPTY
+======================
+
+..
+.. data:: KRB5_CRYPTO_TYPE_EMPTY
+..
+
+[in] ignored
+
+
+
+============================= ======================
+``KRB5_CRYPTO_TYPE_EMPTY`` ``0``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_HEADER.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_HEADER.txt
new file mode 100644
index 000000000000..4faac433df5a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_HEADER.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRYPTO-TYPE-HEADER-data:
+
+KRB5_CRYPTO_TYPE_HEADER
+=======================
+
+..
+.. data:: KRB5_CRYPTO_TYPE_HEADER
+..
+
+[out] header
+
+
+
+============================== ======================
+``KRB5_CRYPTO_TYPE_HEADER`` ``1``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_PADDING.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_PADDING.txt
new file mode 100644
index 000000000000..9fc17abcc9a0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_PADDING.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRYPTO-TYPE-PADDING-data:
+
+KRB5_CRYPTO_TYPE_PADDING
+========================
+
+..
+.. data:: KRB5_CRYPTO_TYPE_PADDING
+..
+
+[out] padding
+
+
+
+=============================== ======================
+``KRB5_CRYPTO_TYPE_PADDING`` ``4``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_SIGN_ONLY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_SIGN_ONLY.txt
new file mode 100644
index 000000000000..52f206aa0f6b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_SIGN_ONLY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRYPTO-TYPE-SIGN-ONLY-data:
+
+KRB5_CRYPTO_TYPE_SIGN_ONLY
+==========================
+
+..
+.. data:: KRB5_CRYPTO_TYPE_SIGN_ONLY
+..
+
+[in] associated data
+
+
+
+================================= ======================
+``KRB5_CRYPTO_TYPE_SIGN_ONLY`` ``3``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_STREAM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_STREAM.txt
new file mode 100644
index 000000000000..d2fdc66f6804
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_STREAM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRYPTO-TYPE-STREAM-data:
+
+KRB5_CRYPTO_TYPE_STREAM
+=======================
+
+..
+.. data:: KRB5_CRYPTO_TYPE_STREAM
+..
+
+[in] entire message without decomposing the structure into header, data and trailer buffers
+
+
+
+============================== ======================
+``KRB5_CRYPTO_TYPE_STREAM`` ``7``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_TRAILER.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_TRAILER.txt
new file mode 100644
index 000000000000..dfb858fe7654
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CRYPTO_TYPE_TRAILER.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CRYPTO-TYPE-TRAILER-data:
+
+KRB5_CRYPTO_TYPE_TRAILER
+========================
+
+..
+.. data:: KRB5_CRYPTO_TYPE_TRAILER
+..
+
+[out] checksum for encrypt
+
+
+
+=============================== ======================
+``KRB5_CRYPTO_TYPE_TRAILER`` ``5``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_CYBERSAFE_SECUREID.txt b/doc/html/_sources/appdev/refs/macros/KRB5_CYBERSAFE_SECUREID.txt
new file mode 100644
index 000000000000..312cf55a6423
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_CYBERSAFE_SECUREID.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-CYBERSAFE-SECUREID-data:
+
+KRB5_CYBERSAFE_SECUREID
+=======================
+
+..
+.. data:: KRB5_CYBERSAFE_SECUREID
+..
+
+Cybersafe.
+
+RFC 4120
+
+============================== ======================
+``KRB5_CYBERSAFE_SECUREID`` ``9``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_DOMAIN_X500_COMPRESS.txt b/doc/html/_sources/appdev/refs/macros/KRB5_DOMAIN_X500_COMPRESS.txt
new file mode 100644
index 000000000000..160a4ebf683e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_DOMAIN_X500_COMPRESS.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-DOMAIN-X500-COMPRESS-data:
+
+KRB5_DOMAIN_X500_COMPRESS
+=========================
+
+..
+.. data:: KRB5_DOMAIN_X500_COMPRESS
+..
+
+Transited encoding types.
+
+
+
+================================ ======================
+``KRB5_DOMAIN_X500_COMPRESS`` ``1``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_ENCPADATA_REQ_ENC_PA_REP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_ENCPADATA_REQ_ENC_PA_REP.txt
new file mode 100644
index 000000000000..78d599628444
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_ENCPADATA_REQ_ENC_PA_REP.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-ENCPADATA-REQ-ENC-PA-REP-data:
+
+KRB5_ENCPADATA_REQ_ENC_PA_REP
+=============================
+
+..
+.. data:: KRB5_ENCPADATA_REQ_ENC_PA_REP
+..
+
+RFC 6806.
+
+
+
+==================================== ======================
+``KRB5_ENCPADATA_REQ_ENC_PA_REP`` ``149``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_ERROR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_ERROR.txt
new file mode 100644
index 000000000000..d4fe6d3160bc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_ERROR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-ERROR-data:
+
+KRB5_ERROR
+==========
+
+..
+.. data:: KRB5_ERROR
+..
+
+Error response.
+
+
+
+================= ======================
+``KRB5_ERROR`` ``((krb5_msgtype)30)``
+================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_FAST_REQUIRED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_FAST_REQUIRED.txt
new file mode 100644
index 000000000000..6f5cd0935363
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_FAST_REQUIRED.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-FAST-REQUIRED-data:
+
+KRB5_FAST_REQUIRED
+==================
+
+..
+.. data:: KRB5_FAST_REQUIRED
+..
+
+Require KDC to support FAST.
+
+
+
+========================= ======================
+``KRB5_FAST_REQUIRED`` ``0x0001``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GC_CACHED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GC_CACHED.txt
new file mode 100644
index 000000000000..533a1af82833
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GC_CACHED.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-GC-CACHED-data:
+
+KRB5_GC_CACHED
+==============
+
+..
+.. data:: KRB5_GC_CACHED
+..
+
+Want cached ticket only.
+
+
+
+===================== ======================
+``KRB5_GC_CACHED`` ``2``
+===================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GC_CANONICALIZE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GC_CANONICALIZE.txt
new file mode 100644
index 000000000000..13aac0455469
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GC_CANONICALIZE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-GC-CANONICALIZE-data:
+
+KRB5_GC_CANONICALIZE
+====================
+
+..
+.. data:: KRB5_GC_CANONICALIZE
+..
+
+Set canonicalize KDC option.
+
+
+
+=========================== ======================
+``KRB5_GC_CANONICALIZE`` ``4``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GC_CONSTRAINED_DELEGATION.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GC_CONSTRAINED_DELEGATION.txt
new file mode 100644
index 000000000000..6105e9003971
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GC_CONSTRAINED_DELEGATION.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-GC-CONSTRAINED-DELEGATION-data:
+
+KRB5_GC_CONSTRAINED_DELEGATION
+==============================
+
+..
+.. data:: KRB5_GC_CONSTRAINED_DELEGATION
+..
+
+Constrained delegation.
+
+
+
+===================================== ======================
+``KRB5_GC_CONSTRAINED_DELEGATION`` ``64``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GC_FORWARDABLE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GC_FORWARDABLE.txt
new file mode 100644
index 000000000000..ebb67ef305c4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GC_FORWARDABLE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-GC-FORWARDABLE-data:
+
+KRB5_GC_FORWARDABLE
+===================
+
+..
+.. data:: KRB5_GC_FORWARDABLE
+..
+
+Acquire forwardable tickets.
+
+
+
+========================== ======================
+``KRB5_GC_FORWARDABLE`` ``16``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GC_NO_STORE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GC_NO_STORE.txt
new file mode 100644
index 000000000000..0f3f5f7cb626
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GC_NO_STORE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-GC-NO-STORE-data:
+
+KRB5_GC_NO_STORE
+================
+
+..
+.. data:: KRB5_GC_NO_STORE
+..
+
+Do not store in credential cache.
+
+
+
+======================= ======================
+``KRB5_GC_NO_STORE`` ``8``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GC_NO_TRANSIT_CHECK.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GC_NO_TRANSIT_CHECK.txt
new file mode 100644
index 000000000000..dadc90e3fcd5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GC_NO_TRANSIT_CHECK.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-GC-NO-TRANSIT-CHECK-data:
+
+KRB5_GC_NO_TRANSIT_CHECK
+========================
+
+..
+.. data:: KRB5_GC_NO_TRANSIT_CHECK
+..
+
+Disable transited check.
+
+
+
+=============================== ======================
+``KRB5_GC_NO_TRANSIT_CHECK`` ``32``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GC_USER_USER.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GC_USER_USER.txt
new file mode 100644
index 000000000000..04cb962ddd5b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GC_USER_USER.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-GC-USER-USER-data:
+
+KRB5_GC_USER_USER
+=================
+
+..
+.. data:: KRB5_GC_USER_USER
+..
+
+Want user-user ticket.
+
+
+
+======================== ======================
+``KRB5_GC_USER_USER`` ``1``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST.txt
new file mode 100644
index 000000000000..21968e27efde
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-ADDRESS-LIST-data:
+
+KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST
+====================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST
+..
+
+
+
+
+=========================================== ======================
+``KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST`` ``0x0020``
+=========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ANONYMOUS.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ANONYMOUS.txt
new file mode 100644
index 000000000000..f8890b061ce9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ANONYMOUS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-ANONYMOUS-data:
+
+KRB5_GET_INIT_CREDS_OPT_ANONYMOUS
+=================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_ANONYMOUS
+..
+
+
+
+
+======================================== ======================
+``KRB5_GET_INIT_CREDS_OPT_ANONYMOUS`` ``0x0400``
+======================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_CANONICALIZE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_CANONICALIZE.txt
new file mode 100644
index 000000000000..e00d52b4902e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_CANONICALIZE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-CANONICALIZE-data:
+
+KRB5_GET_INIT_CREDS_OPT_CANONICALIZE
+====================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_CANONICALIZE
+..
+
+
+
+
+=========================================== ======================
+``KRB5_GET_INIT_CREDS_OPT_CANONICALIZE`` ``0x0200``
+=========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT.txt
new file mode 100644
index 000000000000..8469245f4e49
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-CHG-PWD-PRMPT-data:
+
+KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT
+=====================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT
+..
+
+
+
+
+============================================ ======================
+``KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT`` ``0x0100``
+============================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST.txt
new file mode 100644
index 000000000000..f85ce2dc8559
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-ETYPE-LIST-data:
+
+KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST
+==================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST
+..
+
+
+
+
+========================================= ======================
+``KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST`` ``0x0010``
+========================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_FORWARDABLE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_FORWARDABLE.txt
new file mode 100644
index 000000000000..c66c6f1d5a61
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_FORWARDABLE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-FORWARDABLE-data:
+
+KRB5_GET_INIT_CREDS_OPT_FORWARDABLE
+===================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_FORWARDABLE
+..
+
+
+
+
+========================================== ======================
+``KRB5_GET_INIT_CREDS_OPT_FORWARDABLE`` ``0x0004``
+========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST.txt
new file mode 100644
index 000000000000..50d4b152bcd1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-PREAUTH-LIST-data:
+
+KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST
+====================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST
+..
+
+
+
+
+=========================================== ======================
+``KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST`` ``0x0040``
+=========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_PROXIABLE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_PROXIABLE.txt
new file mode 100644
index 000000000000..ee787a57d27f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_PROXIABLE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-PROXIABLE-data:
+
+KRB5_GET_INIT_CREDS_OPT_PROXIABLE
+=================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_PROXIABLE
+..
+
+
+
+
+======================================== ======================
+``KRB5_GET_INIT_CREDS_OPT_PROXIABLE`` ``0x0008``
+======================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE.txt
new file mode 100644
index 000000000000..3d240fd7b17d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-RENEW-LIFE-data:
+
+KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE
+==================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE
+..
+
+
+
+
+========================================= ======================
+``KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE`` ``0x0002``
+========================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_SALT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_SALT.txt
new file mode 100644
index 000000000000..00f83f63e081
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_SALT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-SALT-data:
+
+KRB5_GET_INIT_CREDS_OPT_SALT
+============================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_SALT
+..
+
+
+
+
+=================================== ======================
+``KRB5_GET_INIT_CREDS_OPT_SALT`` ``0x0080``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_TKT_LIFE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_TKT_LIFE.txt
new file mode 100644
index 000000000000..a8dc2cb76885
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_GET_INIT_CREDS_OPT_TKT_LIFE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-GET-INIT-CREDS-OPT-TKT-LIFE-data:
+
+KRB5_GET_INIT_CREDS_OPT_TKT_LIFE
+================================
+
+..
+.. data:: KRB5_GET_INIT_CREDS_OPT_TKT_LIFE
+..
+
+
+
+
+======================================= ======================
+``KRB5_GET_INIT_CREDS_OPT_TKT_LIFE`` ``0x0001``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CONTEXT_KDC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CONTEXT_KDC.txt
new file mode 100644
index 000000000000..b6790a315255
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CONTEXT_KDC.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-INIT-CONTEXT-KDC-data:
+
+KRB5_INIT_CONTEXT_KDC
+=====================
+
+..
+.. data:: KRB5_INIT_CONTEXT_KDC
+..
+
+Use KDC configuration if available.
+
+
+
+============================ ======================
+``KRB5_INIT_CONTEXT_KDC`` ``0x2``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CONTEXT_SECURE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CONTEXT_SECURE.txt
new file mode 100644
index 000000000000..328f19325a84
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CONTEXT_SECURE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-INIT-CONTEXT-SECURE-data:
+
+KRB5_INIT_CONTEXT_SECURE
+========================
+
+..
+.. data:: KRB5_INIT_CONTEXT_SECURE
+..
+
+Use secure context configuration.
+
+
+
+=============================== ======================
+``KRB5_INIT_CONTEXT_SECURE`` ``0x1``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CREDS_STEP_FLAG_CONTINUE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CREDS_STEP_FLAG_CONTINUE.txt
new file mode 100644
index 000000000000..848ad8696c70
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_INIT_CREDS_STEP_FLAG_CONTINUE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-INIT-CREDS-STEP-FLAG-CONTINUE-data:
+
+KRB5_INIT_CREDS_STEP_FLAG_CONTINUE
+==================================
+
+..
+.. data:: KRB5_INIT_CREDS_STEP_FLAG_CONTINUE
+..
+
+More responses needed.
+
+
+
+========================================= ======================
+``KRB5_INIT_CREDS_STEP_FLAG_CONTINUE`` ``0x1``
+========================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_INT16_MAX.txt b/doc/html/_sources/appdev/refs/macros/KRB5_INT16_MAX.txt
new file mode 100644
index 000000000000..7530fe567539
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_INT16_MAX.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-INT16-MAX-data:
+
+KRB5_INT16_MAX
+==============
+
+..
+.. data:: KRB5_INT16_MAX
+..
+
+
+
+
+===================== ======================
+``KRB5_INT16_MAX`` ``65535``
+===================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_INT16_MIN.txt b/doc/html/_sources/appdev/refs/macros/KRB5_INT16_MIN.txt
new file mode 100644
index 000000000000..7a3502e62a8f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_INT16_MIN.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-INT16-MIN-data:
+
+KRB5_INT16_MIN
+==============
+
+..
+.. data:: KRB5_INT16_MIN
+..
+
+
+
+
+===================== ======================
+``KRB5_INT16_MIN`` ``(-KRB5_INT16_MAX-1)``
+===================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_INT32_MAX.txt b/doc/html/_sources/appdev/refs/macros/KRB5_INT32_MAX.txt
new file mode 100644
index 000000000000..8f06e650e59e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_INT32_MAX.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-INT32-MAX-data:
+
+KRB5_INT32_MAX
+==============
+
+..
+.. data:: KRB5_INT32_MAX
+..
+
+
+
+
+===================== ======================
+``KRB5_INT32_MAX`` ``2147483647``
+===================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_INT32_MIN.txt b/doc/html/_sources/appdev/refs/macros/KRB5_INT32_MIN.txt
new file mode 100644
index 000000000000..c86de496a8ec
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_INT32_MIN.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-INT32-MIN-data:
+
+KRB5_INT32_MIN
+==============
+
+..
+.. data:: KRB5_INT32_MIN
+..
+
+
+
+
+===================== ======================
+``KRB5_INT32_MIN`` ``(-KRB5_INT32_MAX-1)``
+===================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_ITE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_ITE.txt
new file mode 100644
index 000000000000..9691367c6698
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_ITE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AD-ITE-data:
+
+KRB5_KEYUSAGE_AD_ITE
+====================
+
+..
+.. data:: KRB5_KEYUSAGE_AD_ITE
+..
+
+
+
+
+=========================== ======================
+``KRB5_KEYUSAGE_AD_ITE`` ``21``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_KDCISSUED_CKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_KDCISSUED_CKSUM.txt
new file mode 100644
index 000000000000..24a451a98e24
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_KDCISSUED_CKSUM.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AD-KDCISSUED-CKSUM-data:
+
+KRB5_KEYUSAGE_AD_KDCISSUED_CKSUM
+================================
+
+..
+.. data:: KRB5_KEYUSAGE_AD_KDCISSUED_CKSUM
+..
+
+
+
+
+======================================= ======================
+``KRB5_KEYUSAGE_AD_KDCISSUED_CKSUM`` ``19``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_MTE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_MTE.txt
new file mode 100644
index 000000000000..2ae9c9a6902a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_MTE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AD-MTE-data:
+
+KRB5_KEYUSAGE_AD_MTE
+====================
+
+..
+.. data:: KRB5_KEYUSAGE_AD_MTE
+..
+
+
+
+
+=========================== ======================
+``KRB5_KEYUSAGE_AD_MTE`` ``20``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_SIGNEDPATH.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_SIGNEDPATH.txt
new file mode 100644
index 000000000000..727007f8eead
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AD_SIGNEDPATH.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AD-SIGNEDPATH-data:
+
+KRB5_KEYUSAGE_AD_SIGNEDPATH
+===========================
+
+..
+.. data:: KRB5_KEYUSAGE_AD_SIGNEDPATH
+..
+
+
+
+
+================================== ======================
+``KRB5_KEYUSAGE_AD_SIGNEDPATH`` ``-21``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_APP_DATA_CKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_APP_DATA_CKSUM.txt
new file mode 100644
index 000000000000..7632e560d004
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_APP_DATA_CKSUM.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-APP-DATA-CKSUM-data:
+
+KRB5_KEYUSAGE_APP_DATA_CKSUM
+============================
+
+..
+.. data:: KRB5_KEYUSAGE_APP_DATA_CKSUM
+..
+
+
+
+
+=================================== ======================
+``KRB5_KEYUSAGE_APP_DATA_CKSUM`` ``17``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_APP_DATA_ENCRYPT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_APP_DATA_ENCRYPT.txt
new file mode 100644
index 000000000000..c85ca0351649
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_APP_DATA_ENCRYPT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-APP-DATA-ENCRYPT-data:
+
+KRB5_KEYUSAGE_APP_DATA_ENCRYPT
+==============================
+
+..
+.. data:: KRB5_KEYUSAGE_APP_DATA_ENCRYPT
+..
+
+
+
+
+===================================== ======================
+``KRB5_KEYUSAGE_APP_DATA_ENCRYPT`` ``16``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REP_ENCPART.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REP_ENCPART.txt
new file mode 100644
index 000000000000..ff605d68cf08
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REP_ENCPART.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AP-REP-ENCPART-data:
+
+KRB5_KEYUSAGE_AP_REP_ENCPART
+============================
+
+..
+.. data:: KRB5_KEYUSAGE_AP_REP_ENCPART
+..
+
+
+
+
+=================================== ======================
+``KRB5_KEYUSAGE_AP_REP_ENCPART`` ``12``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REQ_AUTH.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REQ_AUTH.txt
new file mode 100644
index 000000000000..9e5abc0416aa
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REQ_AUTH.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AP-REQ-AUTH-data:
+
+KRB5_KEYUSAGE_AP_REQ_AUTH
+=========================
+
+..
+.. data:: KRB5_KEYUSAGE_AP_REQ_AUTH
+..
+
+
+
+
+================================ ======================
+``KRB5_KEYUSAGE_AP_REQ_AUTH`` ``11``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REQ_AUTH_CKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REQ_AUTH_CKSUM.txt
new file mode 100644
index 000000000000..c7524db0d9c8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AP_REQ_AUTH_CKSUM.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AP-REQ-AUTH-CKSUM-data:
+
+KRB5_KEYUSAGE_AP_REQ_AUTH_CKSUM
+===============================
+
+..
+.. data:: KRB5_KEYUSAGE_AP_REQ_AUTH_CKSUM
+..
+
+
+
+
+====================================== ======================
+``KRB5_KEYUSAGE_AP_REQ_AUTH_CKSUM`` ``10``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REP_ENCPART.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REP_ENCPART.txt
new file mode 100644
index 000000000000..9dc39de2f27a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REP_ENCPART.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AS-REP-ENCPART-data:
+
+KRB5_KEYUSAGE_AS_REP_ENCPART
+============================
+
+..
+.. data:: KRB5_KEYUSAGE_AS_REP_ENCPART
+..
+
+
+
+
+=================================== ======================
+``KRB5_KEYUSAGE_AS_REP_ENCPART`` ``3``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REQ.txt
new file mode 100644
index 000000000000..937a6564785c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REQ.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AS-REQ-data:
+
+KRB5_KEYUSAGE_AS_REQ
+====================
+
+..
+.. data:: KRB5_KEYUSAGE_AS_REQ
+..
+
+
+
+
+=========================== ======================
+``KRB5_KEYUSAGE_AS_REQ`` ``56``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REQ_PA_ENC_TS.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REQ_PA_ENC_TS.txt
new file mode 100644
index 000000000000..f13a2c719c92
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_AS_REQ_PA_ENC_TS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-AS-REQ-PA-ENC-TS-data:
+
+KRB5_KEYUSAGE_AS_REQ_PA_ENC_TS
+==============================
+
+..
+.. data:: KRB5_KEYUSAGE_AS_REQ_PA_ENC_TS
+..
+
+
+
+
+===================================== ======================
+``KRB5_KEYUSAGE_AS_REQ_PA_ENC_TS`` ``1``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_CAMMAC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_CAMMAC.txt
new file mode 100644
index 000000000000..2f04a3d68e06
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_CAMMAC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-CAMMAC-data:
+
+KRB5_KEYUSAGE_CAMMAC
+====================
+
+..
+.. data:: KRB5_KEYUSAGE_CAMMAC
+..
+
+
+
+
+=========================== ======================
+``KRB5_KEYUSAGE_CAMMAC`` ``64``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_ENC_CHALLENGE_CLIENT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_ENC_CHALLENGE_CLIENT.txt
new file mode 100644
index 000000000000..4ee4720394cb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_ENC_CHALLENGE_CLIENT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-ENC-CHALLENGE-CLIENT-data:
+
+KRB5_KEYUSAGE_ENC_CHALLENGE_CLIENT
+==================================
+
+..
+.. data:: KRB5_KEYUSAGE_ENC_CHALLENGE_CLIENT
+..
+
+
+
+
+========================================= ======================
+``KRB5_KEYUSAGE_ENC_CHALLENGE_CLIENT`` ``54``
+========================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_ENC_CHALLENGE_KDC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_ENC_CHALLENGE_KDC.txt
new file mode 100644
index 000000000000..fdb81df795e0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_ENC_CHALLENGE_KDC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-ENC-CHALLENGE-KDC-data:
+
+KRB5_KEYUSAGE_ENC_CHALLENGE_KDC
+===============================
+
+..
+.. data:: KRB5_KEYUSAGE_ENC_CHALLENGE_KDC
+..
+
+
+
+
+====================================== ======================
+``KRB5_KEYUSAGE_ENC_CHALLENGE_KDC`` ``55``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_ENC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_ENC.txt
new file mode 100644
index 000000000000..a99f966ac8ea
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_ENC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-FAST-ENC-data:
+
+KRB5_KEYUSAGE_FAST_ENC
+======================
+
+..
+.. data:: KRB5_KEYUSAGE_FAST_ENC
+..
+
+
+
+
+============================= ======================
+``KRB5_KEYUSAGE_FAST_ENC`` ``51``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_FINISHED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_FINISHED.txt
new file mode 100644
index 000000000000..a407c94e6dd1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_FINISHED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-FAST-FINISHED-data:
+
+KRB5_KEYUSAGE_FAST_FINISHED
+===========================
+
+..
+.. data:: KRB5_KEYUSAGE_FAST_FINISHED
+..
+
+
+
+
+================================== ======================
+``KRB5_KEYUSAGE_FAST_FINISHED`` ``53``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_REP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_REP.txt
new file mode 100644
index 000000000000..4f79179ac8c5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_REP.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-FAST-REP-data:
+
+KRB5_KEYUSAGE_FAST_REP
+======================
+
+..
+.. data:: KRB5_KEYUSAGE_FAST_REP
+..
+
+
+
+
+============================= ======================
+``KRB5_KEYUSAGE_FAST_REP`` ``52``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_REQ_CHKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_REQ_CHKSUM.txt
new file mode 100644
index 000000000000..dca0e2d39555
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_FAST_REQ_CHKSUM.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-FAST-REQ-CHKSUM-data:
+
+KRB5_KEYUSAGE_FAST_REQ_CHKSUM
+=============================
+
+..
+.. data:: KRB5_KEYUSAGE_FAST_REQ_CHKSUM
+..
+
+
+
+
+==================================== ======================
+``KRB5_KEYUSAGE_FAST_REQ_CHKSUM`` ``50``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_MIC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_MIC.txt
new file mode 100644
index 000000000000..15d70a94e716
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_MIC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-GSS-TOK-MIC-data:
+
+KRB5_KEYUSAGE_GSS_TOK_MIC
+=========================
+
+..
+.. data:: KRB5_KEYUSAGE_GSS_TOK_MIC
+..
+
+
+
+
+================================ ======================
+``KRB5_KEYUSAGE_GSS_TOK_MIC`` ``22``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG.txt
new file mode 100644
index 000000000000..9ef4dd199f8f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-GSS-TOK-WRAP-INTEG-data:
+
+KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG
+================================
+
+..
+.. data:: KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG
+..
+
+
+
+
+======================================= ======================
+``KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG`` ``23``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV.txt
new file mode 100644
index 000000000000..690f05059b7f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-GSS-TOK-WRAP-PRIV-data:
+
+KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV
+===============================
+
+..
+.. data:: KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV
+..
+
+
+
+
+====================================== ======================
+``KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV`` ``24``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_IAKERB_FINISHED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_IAKERB_FINISHED.txt
new file mode 100644
index 000000000000..66285a2bed7f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_IAKERB_FINISHED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-IAKERB-FINISHED-data:
+
+KRB5_KEYUSAGE_IAKERB_FINISHED
+=============================
+
+..
+.. data:: KRB5_KEYUSAGE_IAKERB_FINISHED
+..
+
+
+
+
+==================================== ======================
+``KRB5_KEYUSAGE_IAKERB_FINISHED`` ``42``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KDC_REP_TICKET.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KDC_REP_TICKET.txt
new file mode 100644
index 000000000000..f07479b60f10
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KDC_REP_TICKET.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-KDC-REP-TICKET-data:
+
+KRB5_KEYUSAGE_KDC_REP_TICKET
+============================
+
+..
+.. data:: KRB5_KEYUSAGE_KDC_REP_TICKET
+..
+
+
+
+
+=================================== ======================
+``KRB5_KEYUSAGE_KDC_REP_TICKET`` ``2``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_CRED_ENCPART.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_CRED_ENCPART.txt
new file mode 100644
index 000000000000..1a4a82275b16
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_CRED_ENCPART.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-KRB-CRED-ENCPART-data:
+
+KRB5_KEYUSAGE_KRB_CRED_ENCPART
+==============================
+
+..
+.. data:: KRB5_KEYUSAGE_KRB_CRED_ENCPART
+..
+
+
+
+
+===================================== ======================
+``KRB5_KEYUSAGE_KRB_CRED_ENCPART`` ``14``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_ERROR_CKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_ERROR_CKSUM.txt
new file mode 100644
index 000000000000..8d573ce1ea15
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_ERROR_CKSUM.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-KRB-ERROR-CKSUM-data:
+
+KRB5_KEYUSAGE_KRB_ERROR_CKSUM
+=============================
+
+..
+.. data:: KRB5_KEYUSAGE_KRB_ERROR_CKSUM
+..
+
+
+
+
+==================================== ======================
+``KRB5_KEYUSAGE_KRB_ERROR_CKSUM`` ``18``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_PRIV_ENCPART.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_PRIV_ENCPART.txt
new file mode 100644
index 000000000000..1270ce80d8b5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_PRIV_ENCPART.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-KRB-PRIV-ENCPART-data:
+
+KRB5_KEYUSAGE_KRB_PRIV_ENCPART
+==============================
+
+..
+.. data:: KRB5_KEYUSAGE_KRB_PRIV_ENCPART
+..
+
+
+
+
+===================================== ======================
+``KRB5_KEYUSAGE_KRB_PRIV_ENCPART`` ``13``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_SAFE_CKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_SAFE_CKSUM.txt
new file mode 100644
index 000000000000..aaa1eca2420e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_KRB_SAFE_CKSUM.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-KRB-SAFE-CKSUM-data:
+
+KRB5_KEYUSAGE_KRB_SAFE_CKSUM
+============================
+
+..
+.. data:: KRB5_KEYUSAGE_KRB_SAFE_CKSUM
+..
+
+
+
+
+=================================== ======================
+``KRB5_KEYUSAGE_KRB_SAFE_CKSUM`` ``15``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_FX_COOKIE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_FX_COOKIE.txt
new file mode 100644
index 000000000000..93e4f9cef263
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_FX_COOKIE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-PA-FX-COOKIE-data:
+
+KRB5_KEYUSAGE_PA_FX_COOKIE
+==========================
+
+..
+.. data:: KRB5_KEYUSAGE_PA_FX_COOKIE
+..
+
+Used for encrypted FAST cookies.
+
+
+
+================================= ======================
+``KRB5_KEYUSAGE_PA_FX_COOKIE`` ``513``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_OTP_REQUEST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_OTP_REQUEST.txt
new file mode 100644
index 000000000000..2c967c2d15b0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_OTP_REQUEST.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-PA-OTP-REQUEST-data:
+
+KRB5_KEYUSAGE_PA_OTP_REQUEST
+============================
+
+..
+.. data:: KRB5_KEYUSAGE_PA_OTP_REQUEST
+..
+
+See RFC 6560 section 4.2.
+
+
+
+=================================== ======================
+``KRB5_KEYUSAGE_PA_OTP_REQUEST`` ``45``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_PKINIT_KX.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_PKINIT_KX.txt
new file mode 100644
index 000000000000..dc31f8f96d1f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_PKINIT_KX.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-PA-PKINIT-KX-data:
+
+KRB5_KEYUSAGE_PA_PKINIT_KX
+==========================
+
+..
+.. data:: KRB5_KEYUSAGE_PA_PKINIT_KX
+..
+
+
+
+
+================================= ======================
+``KRB5_KEYUSAGE_PA_PKINIT_KX`` ``44``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY.txt
new file mode 100644
index 000000000000..7debadac7b7e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-PA-S4U-X509-USER-REPLY-data:
+
+KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY
+====================================
+
+..
+.. data:: KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY
+..
+
+Note conflict with :c:data:`KRB5_KEYUSAGE_PA_SAM_RESPONSE` .
+
+
+
+=========================================== ======================
+``KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY`` ``27``
+=========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST.txt
new file mode 100644
index 000000000000..e8db461a11d1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-PA-S4U-X509-USER-REQUEST-data:
+
+KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST
+======================================
+
+..
+.. data:: KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST
+..
+
+Note conflict with :c:data:`KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID` .
+
+
+
+============================================= ======================
+``KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST`` ``26``
+============================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_CHALLENGE_CKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_CHALLENGE_CKSUM.txt
new file mode 100644
index 000000000000..b19f78a7122f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_CHALLENGE_CKSUM.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-PA-SAM-CHALLENGE-CKSUM-data:
+
+KRB5_KEYUSAGE_PA_SAM_CHALLENGE_CKSUM
+====================================
+
+..
+.. data:: KRB5_KEYUSAGE_PA_SAM_CHALLENGE_CKSUM
+..
+
+
+
+
+=========================================== ======================
+``KRB5_KEYUSAGE_PA_SAM_CHALLENGE_CKSUM`` ``25``
+=========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID.txt
new file mode 100644
index 000000000000..d4cccc09595d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-PA-SAM-CHALLENGE-TRACKID-data:
+
+KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID
+======================================
+
+..
+.. data:: KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID
+..
+
+Note conflict with :c:data:`KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST` .
+
+
+
+============================================= ======================
+``KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID`` ``26``
+============================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_RESPONSE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_RESPONSE.txt
new file mode 100644
index 000000000000..af816e875d58
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_PA_SAM_RESPONSE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-PA-SAM-RESPONSE-data:
+
+KRB5_KEYUSAGE_PA_SAM_RESPONSE
+=============================
+
+..
+.. data:: KRB5_KEYUSAGE_PA_SAM_RESPONSE
+..
+
+Note conflict with :c:data:`KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY` .
+
+
+
+==================================== ======================
+``KRB5_KEYUSAGE_PA_SAM_RESPONSE`` ``27``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REP_ENCPART_SESSKEY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REP_ENCPART_SESSKEY.txt
new file mode 100644
index 000000000000..17a981264e27
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REP_ENCPART_SESSKEY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-TGS-REP-ENCPART-SESSKEY-data:
+
+KRB5_KEYUSAGE_TGS_REP_ENCPART_SESSKEY
+=====================================
+
+..
+.. data:: KRB5_KEYUSAGE_TGS_REP_ENCPART_SESSKEY
+..
+
+
+
+
+============================================ ======================
+``KRB5_KEYUSAGE_TGS_REP_ENCPART_SESSKEY`` ``8``
+============================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REP_ENCPART_SUBKEY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REP_ENCPART_SUBKEY.txt
new file mode 100644
index 000000000000..43637589a78c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REP_ENCPART_SUBKEY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-TGS-REP-ENCPART-SUBKEY-data:
+
+KRB5_KEYUSAGE_TGS_REP_ENCPART_SUBKEY
+====================================
+
+..
+.. data:: KRB5_KEYUSAGE_TGS_REP_ENCPART_SUBKEY
+..
+
+
+
+
+=========================================== ======================
+``KRB5_KEYUSAGE_TGS_REP_ENCPART_SUBKEY`` ``9``
+=========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AD_SESSKEY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AD_SESSKEY.txt
new file mode 100644
index 000000000000..ed977eb2610c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AD_SESSKEY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-TGS-REQ-AD-SESSKEY-data:
+
+KRB5_KEYUSAGE_TGS_REQ_AD_SESSKEY
+================================
+
+..
+.. data:: KRB5_KEYUSAGE_TGS_REQ_AD_SESSKEY
+..
+
+
+
+
+======================================= ======================
+``KRB5_KEYUSAGE_TGS_REQ_AD_SESSKEY`` ``4``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY.txt
new file mode 100644
index 000000000000..323ca1a855d6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-TGS-REQ-AD-SUBKEY-data:
+
+KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY
+===============================
+
+..
+.. data:: KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY
+..
+
+
+
+
+====================================== ======================
+``KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY`` ``5``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AUTH.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AUTH.txt
new file mode 100644
index 000000000000..06f082b9f4c2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AUTH.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-TGS-REQ-AUTH-data:
+
+KRB5_KEYUSAGE_TGS_REQ_AUTH
+==========================
+
+..
+.. data:: KRB5_KEYUSAGE_TGS_REQ_AUTH
+..
+
+
+
+
+================================= ======================
+``KRB5_KEYUSAGE_TGS_REQ_AUTH`` ``7``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AUTH_CKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AUTH_CKSUM.txt
new file mode 100644
index 000000000000..b57d4c156663
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KEYUSAGE_TGS_REQ_AUTH_CKSUM.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-KEYUSAGE-TGS-REQ-AUTH-CKSUM-data:
+
+KRB5_KEYUSAGE_TGS_REQ_AUTH_CKSUM
+================================
+
+..
+.. data:: KRB5_KEYUSAGE_TGS_REQ_AUTH_CKSUM
+..
+
+
+
+
+======================================= ======================
+``KRB5_KEYUSAGE_TGS_REQ_AUTH_CKSUM`` ``6``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_ACCESSDENIED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_ACCESSDENIED.txt
new file mode 100644
index 000000000000..d6f6c57383f0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_ACCESSDENIED.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KPASSWD-ACCESSDENIED-data:
+
+KRB5_KPASSWD_ACCESSDENIED
+=========================
+
+..
+.. data:: KRB5_KPASSWD_ACCESSDENIED
+..
+
+Not authorized.
+
+
+
+================================ ======================
+``KRB5_KPASSWD_ACCESSDENIED`` ``5``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_AUTHERROR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_AUTHERROR.txt
new file mode 100644
index 000000000000..7950d0db6fc2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_AUTHERROR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KPASSWD-AUTHERROR-data:
+
+KRB5_KPASSWD_AUTHERROR
+======================
+
+..
+.. data:: KRB5_KPASSWD_AUTHERROR
+..
+
+Authentication error.
+
+
+
+============================= ======================
+``KRB5_KPASSWD_AUTHERROR`` ``3``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_BAD_VERSION.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_BAD_VERSION.txt
new file mode 100644
index 000000000000..9d934fae510f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_BAD_VERSION.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KPASSWD-BAD-VERSION-data:
+
+KRB5_KPASSWD_BAD_VERSION
+========================
+
+..
+.. data:: KRB5_KPASSWD_BAD_VERSION
+..
+
+Unknown RPC version.
+
+
+
+=============================== ======================
+``KRB5_KPASSWD_BAD_VERSION`` ``6``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_HARDERROR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_HARDERROR.txt
new file mode 100644
index 000000000000..7b923360c4a1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_HARDERROR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KPASSWD-HARDERROR-data:
+
+KRB5_KPASSWD_HARDERROR
+======================
+
+..
+.. data:: KRB5_KPASSWD_HARDERROR
+..
+
+Server error.
+
+
+
+============================= ======================
+``KRB5_KPASSWD_HARDERROR`` ``2``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_INITIAL_FLAG_NEEDED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_INITIAL_FLAG_NEEDED.txt
new file mode 100644
index 000000000000..c39cb7327e85
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_INITIAL_FLAG_NEEDED.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KPASSWD-INITIAL-FLAG-NEEDED-data:
+
+KRB5_KPASSWD_INITIAL_FLAG_NEEDED
+================================
+
+..
+.. data:: KRB5_KPASSWD_INITIAL_FLAG_NEEDED
+..
+
+The presented credentials were not obtained using a password directly.
+
+
+
+======================================= ======================
+``KRB5_KPASSWD_INITIAL_FLAG_NEEDED`` ``7``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_MALFORMED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_MALFORMED.txt
new file mode 100644
index 000000000000..c0ecafcdc5fa
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_MALFORMED.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KPASSWD-MALFORMED-data:
+
+KRB5_KPASSWD_MALFORMED
+======================
+
+..
+.. data:: KRB5_KPASSWD_MALFORMED
+..
+
+Malformed request.
+
+
+
+============================= ======================
+``KRB5_KPASSWD_MALFORMED`` ``1``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_SOFTERROR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_SOFTERROR.txt
new file mode 100644
index 000000000000..be8885a05b36
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_SOFTERROR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KPASSWD-SOFTERROR-data:
+
+KRB5_KPASSWD_SOFTERROR
+======================
+
+..
+.. data:: KRB5_KPASSWD_SOFTERROR
+..
+
+Password change rejected.
+
+
+
+============================= ======================
+``KRB5_KPASSWD_SOFTERROR`` ``4``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_SUCCESS.txt b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_SUCCESS.txt
new file mode 100644
index 000000000000..8e7022c4602c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_KPASSWD_SUCCESS.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-KPASSWD-SUCCESS-data:
+
+KRB5_KPASSWD_SUCCESS
+====================
+
+..
+.. data:: KRB5_KPASSWD_SUCCESS
+..
+
+Success.
+
+
+
+=========================== ======================
+``KRB5_KPASSWD_SUCCESS`` ``0``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_ACCT_EXPTIME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_ACCT_EXPTIME.txt
new file mode 100644
index 000000000000..7c131210c04c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_ACCT_EXPTIME.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ALL-ACCT-EXPTIME-data:
+
+KRB5_LRQ_ALL_ACCT_EXPTIME
+=========================
+
+..
+.. data:: KRB5_LRQ_ALL_ACCT_EXPTIME
+..
+
+
+
+
+================================ ======================
+``KRB5_LRQ_ALL_ACCT_EXPTIME`` ``7``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_INITIAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_INITIAL.txt
new file mode 100644
index 000000000000..ad376c922342
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_INITIAL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ALL-LAST-INITIAL-data:
+
+KRB5_LRQ_ALL_LAST_INITIAL
+=========================
+
+..
+.. data:: KRB5_LRQ_ALL_LAST_INITIAL
+..
+
+
+
+
+================================ ======================
+``KRB5_LRQ_ALL_LAST_INITIAL`` ``2``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_RENEWAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_RENEWAL.txt
new file mode 100644
index 000000000000..2a59db27fc2d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_RENEWAL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ALL-LAST-RENEWAL-data:
+
+KRB5_LRQ_ALL_LAST_RENEWAL
+=========================
+
+..
+.. data:: KRB5_LRQ_ALL_LAST_RENEWAL
+..
+
+
+
+
+================================ ======================
+``KRB5_LRQ_ALL_LAST_RENEWAL`` ``4``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_REQ.txt
new file mode 100644
index 000000000000..bc6778730fe6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_REQ.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ALL-LAST-REQ-data:
+
+KRB5_LRQ_ALL_LAST_REQ
+=====================
+
+..
+.. data:: KRB5_LRQ_ALL_LAST_REQ
+..
+
+
+
+
+============================ ======================
+``KRB5_LRQ_ALL_LAST_REQ`` ``5``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_TGT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_TGT.txt
new file mode 100644
index 000000000000..cd583bd1bc5c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_TGT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ALL-LAST-TGT-data:
+
+KRB5_LRQ_ALL_LAST_TGT
+=====================
+
+..
+.. data:: KRB5_LRQ_ALL_LAST_TGT
+..
+
+
+
+
+============================ ======================
+``KRB5_LRQ_ALL_LAST_TGT`` ``1``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_TGT_ISSUED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_TGT_ISSUED.txt
new file mode 100644
index 000000000000..477ef5beca69
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_LAST_TGT_ISSUED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ALL-LAST-TGT-ISSUED-data:
+
+KRB5_LRQ_ALL_LAST_TGT_ISSUED
+============================
+
+..
+.. data:: KRB5_LRQ_ALL_LAST_TGT_ISSUED
+..
+
+
+
+
+=================================== ======================
+``KRB5_LRQ_ALL_LAST_TGT_ISSUED`` ``3``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_PW_EXPTIME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_PW_EXPTIME.txt
new file mode 100644
index 000000000000..2d2e5edca851
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ALL_PW_EXPTIME.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ALL-PW-EXPTIME-data:
+
+KRB5_LRQ_ALL_PW_EXPTIME
+=======================
+
+..
+.. data:: KRB5_LRQ_ALL_PW_EXPTIME
+..
+
+
+
+
+============================== ======================
+``KRB5_LRQ_ALL_PW_EXPTIME`` ``6``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_NONE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_NONE.txt
new file mode 100644
index 000000000000..82a38fe6dc52
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_NONE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-NONE-data:
+
+KRB5_LRQ_NONE
+=============
+
+..
+.. data:: KRB5_LRQ_NONE
+..
+
+
+
+
+==================== ======================
+``KRB5_LRQ_NONE`` ``0``
+==================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_ACCT_EXPTIME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_ACCT_EXPTIME.txt
new file mode 100644
index 000000000000..54c45773378e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_ACCT_EXPTIME.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ONE-ACCT-EXPTIME-data:
+
+KRB5_LRQ_ONE_ACCT_EXPTIME
+=========================
+
+..
+.. data:: KRB5_LRQ_ONE_ACCT_EXPTIME
+..
+
+
+
+
+================================ ======================
+``KRB5_LRQ_ONE_ACCT_EXPTIME`` ``(-7)``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_INITIAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_INITIAL.txt
new file mode 100644
index 000000000000..30e6c5eec7ee
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_INITIAL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ONE-LAST-INITIAL-data:
+
+KRB5_LRQ_ONE_LAST_INITIAL
+=========================
+
+..
+.. data:: KRB5_LRQ_ONE_LAST_INITIAL
+..
+
+
+
+
+================================ ======================
+``KRB5_LRQ_ONE_LAST_INITIAL`` ``(-2)``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_RENEWAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_RENEWAL.txt
new file mode 100644
index 000000000000..2561dcafc4c7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_RENEWAL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ONE-LAST-RENEWAL-data:
+
+KRB5_LRQ_ONE_LAST_RENEWAL
+=========================
+
+..
+.. data:: KRB5_LRQ_ONE_LAST_RENEWAL
+..
+
+
+
+
+================================ ======================
+``KRB5_LRQ_ONE_LAST_RENEWAL`` ``(-4)``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_REQ.txt
new file mode 100644
index 000000000000..2e0261dfe901
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_REQ.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ONE-LAST-REQ-data:
+
+KRB5_LRQ_ONE_LAST_REQ
+=====================
+
+..
+.. data:: KRB5_LRQ_ONE_LAST_REQ
+..
+
+
+
+
+============================ ======================
+``KRB5_LRQ_ONE_LAST_REQ`` ``(-5)``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_TGT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_TGT.txt
new file mode 100644
index 000000000000..a977cd352a10
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_TGT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ONE-LAST-TGT-data:
+
+KRB5_LRQ_ONE_LAST_TGT
+=====================
+
+..
+.. data:: KRB5_LRQ_ONE_LAST_TGT
+..
+
+
+
+
+============================ ======================
+``KRB5_LRQ_ONE_LAST_TGT`` ``(-1)``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_TGT_ISSUED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_TGT_ISSUED.txt
new file mode 100644
index 000000000000..82e67afbb16a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_LAST_TGT_ISSUED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ONE-LAST-TGT-ISSUED-data:
+
+KRB5_LRQ_ONE_LAST_TGT_ISSUED
+============================
+
+..
+.. data:: KRB5_LRQ_ONE_LAST_TGT_ISSUED
+..
+
+
+
+
+=================================== ======================
+``KRB5_LRQ_ONE_LAST_TGT_ISSUED`` ``(-3)``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_PW_EXPTIME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_PW_EXPTIME.txt
new file mode 100644
index 000000000000..401735768248
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_LRQ_ONE_PW_EXPTIME.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-LRQ-ONE-PW-EXPTIME-data:
+
+KRB5_LRQ_ONE_PW_EXPTIME
+=======================
+
+..
+.. data:: KRB5_LRQ_ONE_PW_EXPTIME
+..
+
+
+
+
+============================== ======================
+``KRB5_LRQ_ONE_PW_EXPTIME`` ``(-6)``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_ENTERPRISE_PRINCIPAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_ENTERPRISE_PRINCIPAL.txt
new file mode 100644
index 000000000000..c6f5197cff36
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_ENTERPRISE_PRINCIPAL.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-ENTERPRISE-PRINCIPAL-data:
+
+KRB5_NT_ENTERPRISE_PRINCIPAL
+============================
+
+..
+.. data:: KRB5_NT_ENTERPRISE_PRINCIPAL
+..
+
+Windows 2000 UPN.
+
+
+
+=================================== ======================
+``KRB5_NT_ENTERPRISE_PRINCIPAL`` ``10``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_ENT_PRINCIPAL_AND_ID.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_ENT_PRINCIPAL_AND_ID.txt
new file mode 100644
index 000000000000..561bd0f27d6e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_ENT_PRINCIPAL_AND_ID.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-ENT-PRINCIPAL-AND-ID-data:
+
+KRB5_NT_ENT_PRINCIPAL_AND_ID
+============================
+
+..
+.. data:: KRB5_NT_ENT_PRINCIPAL_AND_ID
+..
+
+NT 4 style name and SID.
+
+
+
+=================================== ======================
+``KRB5_NT_ENT_PRINCIPAL_AND_ID`` ``-130``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_MS_PRINCIPAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_MS_PRINCIPAL.txt
new file mode 100644
index 000000000000..431dbfb4aa47
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_MS_PRINCIPAL.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-MS-PRINCIPAL-data:
+
+KRB5_NT_MS_PRINCIPAL
+====================
+
+..
+.. data:: KRB5_NT_MS_PRINCIPAL
+..
+
+Windows 2000 UPN and SID.
+
+
+
+=========================== ======================
+``KRB5_NT_MS_PRINCIPAL`` ``-128``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_MS_PRINCIPAL_AND_ID.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_MS_PRINCIPAL_AND_ID.txt
new file mode 100644
index 000000000000..0f795450ab86
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_MS_PRINCIPAL_AND_ID.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-MS-PRINCIPAL-AND-ID-data:
+
+KRB5_NT_MS_PRINCIPAL_AND_ID
+===========================
+
+..
+.. data:: KRB5_NT_MS_PRINCIPAL_AND_ID
+..
+
+NT 4 style name.
+
+
+
+================================== ======================
+``KRB5_NT_MS_PRINCIPAL_AND_ID`` ``-129``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_PRINCIPAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_PRINCIPAL.txt
new file mode 100644
index 000000000000..cc4a6d24c655
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_PRINCIPAL.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-PRINCIPAL-data:
+
+KRB5_NT_PRINCIPAL
+=================
+
+..
+.. data:: KRB5_NT_PRINCIPAL
+..
+
+Just the name of the principal as in DCE, or for users.
+
+
+
+======================== ======================
+``KRB5_NT_PRINCIPAL`` ``1``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_SMTP_NAME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_SMTP_NAME.txt
new file mode 100644
index 000000000000..000c7d0c209f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_SMTP_NAME.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-SMTP-NAME-data:
+
+KRB5_NT_SMTP_NAME
+=================
+
+..
+.. data:: KRB5_NT_SMTP_NAME
+..
+
+Name in form of SMTP email name.
+
+
+
+======================== ======================
+``KRB5_NT_SMTP_NAME`` ``7``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_HST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_HST.txt
new file mode 100644
index 000000000000..2304b24f6c27
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_HST.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-SRV-HST-data:
+
+KRB5_NT_SRV_HST
+===============
+
+..
+.. data:: KRB5_NT_SRV_HST
+..
+
+Service with host name as instance (telnet, rcommands)
+
+
+
+====================== ======================
+``KRB5_NT_SRV_HST`` ``3``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_INST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_INST.txt
new file mode 100644
index 000000000000..24fafca707bf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_INST.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-SRV-INST-data:
+
+KRB5_NT_SRV_INST
+================
+
+..
+.. data:: KRB5_NT_SRV_INST
+..
+
+Service and other unique instance (krbtgt)
+
+
+
+======================= ======================
+``KRB5_NT_SRV_INST`` ``2``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_XHST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_XHST.txt
new file mode 100644
index 000000000000..2a1a7486352e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_SRV_XHST.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-SRV-XHST-data:
+
+KRB5_NT_SRV_XHST
+================
+
+..
+.. data:: KRB5_NT_SRV_XHST
+..
+
+Service with host as remaining components.
+
+
+
+======================= ======================
+``KRB5_NT_SRV_XHST`` ``4``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_UID.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_UID.txt
new file mode 100644
index 000000000000..b7b0b3681107
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_UID.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-UID-data:
+
+KRB5_NT_UID
+===========
+
+..
+.. data:: KRB5_NT_UID
+..
+
+Unique ID.
+
+
+
+================== ======================
+``KRB5_NT_UID`` ``5``
+================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_UNKNOWN.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_UNKNOWN.txt
new file mode 100644
index 000000000000..8c1ed2c8e12b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_UNKNOWN.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-UNKNOWN-data:
+
+KRB5_NT_UNKNOWN
+===============
+
+..
+.. data:: KRB5_NT_UNKNOWN
+..
+
+Name type not known.
+
+
+
+====================== ======================
+``KRB5_NT_UNKNOWN`` ``0``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_WELLKNOWN.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_WELLKNOWN.txt
new file mode 100644
index 000000000000..785327882673
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_WELLKNOWN.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-WELLKNOWN-data:
+
+KRB5_NT_WELLKNOWN
+=================
+
+..
+.. data:: KRB5_NT_WELLKNOWN
+..
+
+Well-known (special) principal.
+
+
+
+======================== ======================
+``KRB5_NT_WELLKNOWN`` ``11``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_NT_X500_PRINCIPAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_NT_X500_PRINCIPAL.txt
new file mode 100644
index 000000000000..81ac0ea7558e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_NT_X500_PRINCIPAL.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-NT-X500-PRINCIPAL-data:
+
+KRB5_NT_X500_PRINCIPAL
+======================
+
+..
+.. data:: KRB5_NT_X500_PRINCIPAL
+..
+
+PKINIT.
+
+
+
+============================= ======================
+``KRB5_NT_X500_PRINCIPAL`` ``6``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PAC_CLIENT_INFO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_CLIENT_INFO.txt
new file mode 100644
index 000000000000..14dea5bdc6c4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_CLIENT_INFO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PAC-CLIENT-INFO-data:
+
+KRB5_PAC_CLIENT_INFO
+====================
+
+..
+.. data:: KRB5_PAC_CLIENT_INFO
+..
+
+Client name and ticket info.
+
+
+
+=========================== ======================
+``KRB5_PAC_CLIENT_INFO`` ``10``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PAC_CREDENTIALS_INFO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_CREDENTIALS_INFO.txt
new file mode 100644
index 000000000000..82435826e369
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_CREDENTIALS_INFO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PAC-CREDENTIALS-INFO-data:
+
+KRB5_PAC_CREDENTIALS_INFO
+=========================
+
+..
+.. data:: KRB5_PAC_CREDENTIALS_INFO
+..
+
+Credentials information.
+
+
+
+================================ ======================
+``KRB5_PAC_CREDENTIALS_INFO`` ``2``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PAC_DELEGATION_INFO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_DELEGATION_INFO.txt
new file mode 100644
index 000000000000..03f5eb082d75
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_DELEGATION_INFO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PAC-DELEGATION-INFO-data:
+
+KRB5_PAC_DELEGATION_INFO
+========================
+
+..
+.. data:: KRB5_PAC_DELEGATION_INFO
+..
+
+Constrained delegation info.
+
+
+
+=============================== ======================
+``KRB5_PAC_DELEGATION_INFO`` ``11``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PAC_LOGON_INFO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_LOGON_INFO.txt
new file mode 100644
index 000000000000..fda4381ebf33
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_LOGON_INFO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PAC-LOGON-INFO-data:
+
+KRB5_PAC_LOGON_INFO
+===================
+
+..
+.. data:: KRB5_PAC_LOGON_INFO
+..
+
+Logon information.
+
+
+
+========================== ======================
+``KRB5_PAC_LOGON_INFO`` ``1``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PAC_PRIVSVR_CHECKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_PRIVSVR_CHECKSUM.txt
new file mode 100644
index 000000000000..6113176fc359
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_PRIVSVR_CHECKSUM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PAC-PRIVSVR-CHECKSUM-data:
+
+KRB5_PAC_PRIVSVR_CHECKSUM
+=========================
+
+..
+.. data:: KRB5_PAC_PRIVSVR_CHECKSUM
+..
+
+KDC checksum.
+
+
+
+================================ ======================
+``KRB5_PAC_PRIVSVR_CHECKSUM`` ``7``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PAC_SERVER_CHECKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_SERVER_CHECKSUM.txt
new file mode 100644
index 000000000000..610d63fe7dee
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_SERVER_CHECKSUM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PAC-SERVER-CHECKSUM-data:
+
+KRB5_PAC_SERVER_CHECKSUM
+========================
+
+..
+.. data:: KRB5_PAC_SERVER_CHECKSUM
+..
+
+Server checksum.
+
+
+
+=============================== ======================
+``KRB5_PAC_SERVER_CHECKSUM`` ``6``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PAC_UPN_DNS_INFO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_UPN_DNS_INFO.txt
new file mode 100644
index 000000000000..4f160ed284fb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PAC_UPN_DNS_INFO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PAC-UPN-DNS-INFO-data:
+
+KRB5_PAC_UPN_DNS_INFO
+=====================
+
+..
+.. data:: KRB5_PAC_UPN_DNS_INFO
+..
+
+User principal name and DNS info.
+
+
+
+============================ ======================
+``KRB5_PAC_UPN_DNS_INFO`` ``12``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AFS3_SALT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AFS3_SALT.txt
new file mode 100644
index 000000000000..63c6056fbdbb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AFS3_SALT.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-AFS3-SALT-data:
+
+KRB5_PADATA_AFS3_SALT
+=====================
+
+..
+.. data:: KRB5_PADATA_AFS3_SALT
+..
+
+Cygnus.
+
+RFC 4120, 3961
+
+============================ ======================
+``KRB5_PADATA_AFS3_SALT`` ``10``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AP_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AP_REQ.txt
new file mode 100644
index 000000000000..f3546c57da51
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AP_REQ.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-AP-REQ-data:
+
+KRB5_PADATA_AP_REQ
+==================
+
+..
+.. data:: KRB5_PADATA_AP_REQ
+..
+
+
+
+
+========================= ======================
+``KRB5_PADATA_AP_REQ`` ``1``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AS_CHECKSUM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AS_CHECKSUM.txt
new file mode 100644
index 000000000000..d36ef365304a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_AS_CHECKSUM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-AS-CHECKSUM-data:
+
+KRB5_PADATA_AS_CHECKSUM
+=======================
+
+..
+.. data:: KRB5_PADATA_AS_CHECKSUM
+..
+
+AS checksum.
+
+
+
+============================== ======================
+``KRB5_PADATA_AS_CHECKSUM`` ``132``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENCRYPTED_CHALLENGE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENCRYPTED_CHALLENGE.txt
new file mode 100644
index 000000000000..1d74dcfdf972
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENCRYPTED_CHALLENGE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-ENCRYPTED-CHALLENGE-data:
+
+KRB5_PADATA_ENCRYPTED_CHALLENGE
+===============================
+
+..
+.. data:: KRB5_PADATA_ENCRYPTED_CHALLENGE
+..
+
+RFC 6113.
+
+
+
+====================================== ======================
+``KRB5_PADATA_ENCRYPTED_CHALLENGE`` ``138``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_SANDIA_SECURID.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_SANDIA_SECURID.txt
new file mode 100644
index 000000000000..30602bb0720b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_SANDIA_SECURID.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-ENC-SANDIA-SECURID-data:
+
+KRB5_PADATA_ENC_SANDIA_SECURID
+==============================
+
+..
+.. data:: KRB5_PADATA_ENC_SANDIA_SECURID
+..
+
+SecurId passcode.
+
+RFC 4120
+
+===================================== ======================
+``KRB5_PADATA_ENC_SANDIA_SECURID`` ``6``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_TIMESTAMP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_TIMESTAMP.txt
new file mode 100644
index 000000000000..495695d72af6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_TIMESTAMP.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-ENC-TIMESTAMP-data:
+
+KRB5_PADATA_ENC_TIMESTAMP
+=========================
+
+..
+.. data:: KRB5_PADATA_ENC_TIMESTAMP
+..
+
+RFC 4120.
+
+
+
+================================ ======================
+``KRB5_PADATA_ENC_TIMESTAMP`` ``2``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_UNIX_TIME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_UNIX_TIME.txt
new file mode 100644
index 000000000000..d7ae89386d69
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ENC_UNIX_TIME.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-ENC-UNIX-TIME-data:
+
+KRB5_PADATA_ENC_UNIX_TIME
+=========================
+
+..
+.. data:: KRB5_PADATA_ENC_UNIX_TIME
+..
+
+timestamp encrypted in key.
+
+RFC 4120
+
+================================ ======================
+``KRB5_PADATA_ENC_UNIX_TIME`` ``5``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ETYPE_INFO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ETYPE_INFO.txt
new file mode 100644
index 000000000000..09591ad598ec
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ETYPE_INFO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-ETYPE-INFO-data:
+
+KRB5_PADATA_ETYPE_INFO
+======================
+
+..
+.. data:: KRB5_PADATA_ETYPE_INFO
+..
+
+Etype info for preauth.
+
+RFC 4120
+
+============================= ======================
+``KRB5_PADATA_ETYPE_INFO`` ``11``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ETYPE_INFO2.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ETYPE_INFO2.txt
new file mode 100644
index 000000000000..533bb627aa19
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_ETYPE_INFO2.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-ETYPE-INFO2-data:
+
+KRB5_PADATA_ETYPE_INFO2
+=======================
+
+..
+.. data:: KRB5_PADATA_ETYPE_INFO2
+..
+
+RFC 4120.
+
+
+
+============================== ======================
+``KRB5_PADATA_ETYPE_INFO2`` ``19``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FOR_USER.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FOR_USER.txt
new file mode 100644
index 000000000000..cf65890b1e7c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FOR_USER.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-FOR-USER-data:
+
+KRB5_PADATA_FOR_USER
+====================
+
+..
+.. data:: KRB5_PADATA_FOR_USER
+..
+
+username protocol transition request
+
+
+
+=========================== ======================
+``KRB5_PADATA_FOR_USER`` ``129``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_COOKIE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_COOKIE.txt
new file mode 100644
index 000000000000..bf0c14b42d2c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_COOKIE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-FX-COOKIE-data:
+
+KRB5_PADATA_FX_COOKIE
+=====================
+
+..
+.. data:: KRB5_PADATA_FX_COOKIE
+..
+
+RFC 6113.
+
+
+
+============================ ======================
+``KRB5_PADATA_FX_COOKIE`` ``133``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_ERROR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_ERROR.txt
new file mode 100644
index 000000000000..e68b7eb4a727
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_ERROR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-FX-ERROR-data:
+
+KRB5_PADATA_FX_ERROR
+====================
+
+..
+.. data:: KRB5_PADATA_FX_ERROR
+..
+
+RFC 6113.
+
+
+
+=========================== ======================
+``KRB5_PADATA_FX_ERROR`` ``137``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_FAST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_FAST.txt
new file mode 100644
index 000000000000..c60d2eb34e48
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_FX_FAST.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-FX-FAST-data:
+
+KRB5_PADATA_FX_FAST
+===================
+
+..
+.. data:: KRB5_PADATA_FX_FAST
+..
+
+RFC 6113.
+
+
+
+========================== ======================
+``KRB5_PADATA_FX_FAST`` ``136``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_GET_FROM_TYPED_DATA.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_GET_FROM_TYPED_DATA.txt
new file mode 100644
index 000000000000..ac2effe74c22
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_GET_FROM_TYPED_DATA.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-GET-FROM-TYPED-DATA-data:
+
+KRB5_PADATA_GET_FROM_TYPED_DATA
+===============================
+
+..
+.. data:: KRB5_PADATA_GET_FROM_TYPED_DATA
+..
+
+Embedded in typed data.
+
+RFC 4120
+
+====================================== ======================
+``KRB5_PADATA_GET_FROM_TYPED_DATA`` ``22``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_NONE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_NONE.txt
new file mode 100644
index 000000000000..c3b5842e47ea
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_NONE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-NONE-data:
+
+KRB5_PADATA_NONE
+================
+
+..
+.. data:: KRB5_PADATA_NONE
+..
+
+
+
+
+======================= ======================
+``KRB5_PADATA_NONE`` ``0``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OSF_DCE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OSF_DCE.txt
new file mode 100644
index 000000000000..79c8362b546e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OSF_DCE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-OSF-DCE-data:
+
+KRB5_PADATA_OSF_DCE
+===================
+
+..
+.. data:: KRB5_PADATA_OSF_DCE
+..
+
+OSF DCE.
+
+RFC 4120
+
+========================== ======================
+``KRB5_PADATA_OSF_DCE`` ``8``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_CHALLENGE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_CHALLENGE.txt
new file mode 100644
index 000000000000..480ec9b030f1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_CHALLENGE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-OTP-CHALLENGE-data:
+
+KRB5_PADATA_OTP_CHALLENGE
+=========================
+
+..
+.. data:: KRB5_PADATA_OTP_CHALLENGE
+..
+
+RFC 6560 section 4.1.
+
+
+
+================================ ======================
+``KRB5_PADATA_OTP_CHALLENGE`` ``141``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_PIN_CHANGE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_PIN_CHANGE.txt
new file mode 100644
index 000000000000..677be0348211
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_PIN_CHANGE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-OTP-PIN-CHANGE-data:
+
+KRB5_PADATA_OTP_PIN_CHANGE
+==========================
+
+..
+.. data:: KRB5_PADATA_OTP_PIN_CHANGE
+..
+
+RFC 6560 section 4.3.
+
+
+
+================================= ======================
+``KRB5_PADATA_OTP_PIN_CHANGE`` ``144``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_REQUEST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_REQUEST.txt
new file mode 100644
index 000000000000..498606ee7859
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_OTP_REQUEST.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-OTP-REQUEST-data:
+
+KRB5_PADATA_OTP_REQUEST
+=======================
+
+..
+.. data:: KRB5_PADATA_OTP_REQUEST
+..
+
+RFC 6560 section 4.2.
+
+
+
+============================== ======================
+``KRB5_PADATA_OTP_REQUEST`` ``142``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PAC_REQUEST.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PAC_REQUEST.txt
new file mode 100644
index 000000000000..d8b737fcbc42
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PAC_REQUEST.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-PAC-REQUEST-data:
+
+KRB5_PADATA_PAC_REQUEST
+=======================
+
+..
+.. data:: KRB5_PADATA_PAC_REQUEST
+..
+
+include Windows PAC
+
+
+
+============================== ======================
+``KRB5_PADATA_PAC_REQUEST`` ``128``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PKINIT_KX.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PKINIT_KX.txt
new file mode 100644
index 000000000000..29e6724dc0e5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PKINIT_KX.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-PKINIT-KX-data:
+
+KRB5_PADATA_PKINIT_KX
+=====================
+
+..
+.. data:: KRB5_PADATA_PKINIT_KX
+..
+
+RFC 6112.
+
+
+
+============================ ======================
+``KRB5_PADATA_PKINIT_KX`` ``147``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REP.txt
new file mode 100644
index 000000000000..aff8309fd874
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REP.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-PK-AS-REP-data:
+
+KRB5_PADATA_PK_AS_REP
+=====================
+
+..
+.. data:: KRB5_PADATA_PK_AS_REP
+..
+
+PKINIT.
+
+RFC 4556
+
+============================ ======================
+``KRB5_PADATA_PK_AS_REP`` ``17``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REP_OLD.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REP_OLD.txt
new file mode 100644
index 000000000000..6ca18425b19d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REP_OLD.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-PK-AS-REP-OLD-data:
+
+KRB5_PADATA_PK_AS_REP_OLD
+=========================
+
+..
+.. data:: KRB5_PADATA_PK_AS_REP_OLD
+..
+
+PKINIT.
+
+
+
+================================ ======================
+``KRB5_PADATA_PK_AS_REP_OLD`` ``15``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REQ.txt
new file mode 100644
index 000000000000..805bc50eeec9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REQ.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-PK-AS-REQ-data:
+
+KRB5_PADATA_PK_AS_REQ
+=====================
+
+..
+.. data:: KRB5_PADATA_PK_AS_REQ
+..
+
+PKINIT.
+
+RFC 4556
+
+============================ ======================
+``KRB5_PADATA_PK_AS_REQ`` ``16``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REQ_OLD.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REQ_OLD.txt
new file mode 100644
index 000000000000..30e144d879f3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PK_AS_REQ_OLD.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-PK-AS-REQ-OLD-data:
+
+KRB5_PADATA_PK_AS_REQ_OLD
+=========================
+
+..
+.. data:: KRB5_PADATA_PK_AS_REQ_OLD
+..
+
+PKINIT.
+
+
+
+================================ ======================
+``KRB5_PADATA_PK_AS_REQ_OLD`` ``14``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PW_SALT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PW_SALT.txt
new file mode 100644
index 000000000000..2548753e4ecc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_PW_SALT.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-PW-SALT-data:
+
+KRB5_PADATA_PW_SALT
+===================
+
+..
+.. data:: KRB5_PADATA_PW_SALT
+..
+
+RFC 4120.
+
+
+
+========================== ======================
+``KRB5_PADATA_PW_SALT`` ``3``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_REFERRAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_REFERRAL.txt
new file mode 100644
index 000000000000..28c3a539095a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_REFERRAL.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-REFERRAL-data:
+
+KRB5_PADATA_REFERRAL
+====================
+
+..
+.. data:: KRB5_PADATA_REFERRAL
+..
+
+draft referral system
+
+
+
+=========================== ======================
+``KRB5_PADATA_REFERRAL`` ``25``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_S4U_X509_USER.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_S4U_X509_USER.txt
new file mode 100644
index 000000000000..e06330de1faf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_S4U_X509_USER.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-S4U-X509-USER-data:
+
+KRB5_PADATA_S4U_X509_USER
+=========================
+
+..
+.. data:: KRB5_PADATA_S4U_X509_USER
+..
+
+certificate protocol transition request
+
+
+
+================================ ======================
+``KRB5_PADATA_S4U_X509_USER`` ``130``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_CHALLENGE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_CHALLENGE.txt
new file mode 100644
index 000000000000..016d36b3dafa
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_CHALLENGE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-SAM-CHALLENGE-data:
+
+KRB5_PADATA_SAM_CHALLENGE
+=========================
+
+..
+.. data:: KRB5_PADATA_SAM_CHALLENGE
+..
+
+SAM/OTP.
+
+
+
+================================ ======================
+``KRB5_PADATA_SAM_CHALLENGE`` ``12``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_CHALLENGE_2.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_CHALLENGE_2.txt
new file mode 100644
index 000000000000..533ea06cd6ad
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_CHALLENGE_2.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-SAM-CHALLENGE-2-data:
+
+KRB5_PADATA_SAM_CHALLENGE_2
+===========================
+
+..
+.. data:: KRB5_PADATA_SAM_CHALLENGE_2
+..
+
+draft challenge system, updated
+
+
+
+================================== ======================
+``KRB5_PADATA_SAM_CHALLENGE_2`` ``30``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_REDIRECT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_REDIRECT.txt
new file mode 100644
index 000000000000..e69387d18de8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_REDIRECT.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-SAM-REDIRECT-data:
+
+KRB5_PADATA_SAM_REDIRECT
+========================
+
+..
+.. data:: KRB5_PADATA_SAM_REDIRECT
+..
+
+SAM/OTP.
+
+RFC 4120
+
+=============================== ======================
+``KRB5_PADATA_SAM_REDIRECT`` ``21``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_RESPONSE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_RESPONSE.txt
new file mode 100644
index 000000000000..e94d0479b24b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_RESPONSE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-SAM-RESPONSE-data:
+
+KRB5_PADATA_SAM_RESPONSE
+========================
+
+..
+.. data:: KRB5_PADATA_SAM_RESPONSE
+..
+
+SAM/OTP.
+
+
+
+=============================== ======================
+``KRB5_PADATA_SAM_RESPONSE`` ``13``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_RESPONSE_2.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_RESPONSE_2.txt
new file mode 100644
index 000000000000..6621613b2fbe
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SAM_RESPONSE_2.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-SAM-RESPONSE-2-data:
+
+KRB5_PADATA_SAM_RESPONSE_2
+==========================
+
+..
+.. data:: KRB5_PADATA_SAM_RESPONSE_2
+..
+
+draft challenge system, updated
+
+
+
+================================= ======================
+``KRB5_PADATA_SAM_RESPONSE_2`` ``31``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SESAME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SESAME.txt
new file mode 100644
index 000000000000..63019eee673b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SESAME.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-SESAME-data:
+
+KRB5_PADATA_SESAME
+==================
+
+..
+.. data:: KRB5_PADATA_SESAME
+..
+
+Sesame project.
+
+RFC 4120
+
+========================= ======================
+``KRB5_PADATA_SESAME`` ``7``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SVR_REFERRAL_INFO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SVR_REFERRAL_INFO.txt
new file mode 100644
index 000000000000..e58a172e9aac
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_SVR_REFERRAL_INFO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-SVR-REFERRAL-INFO-data:
+
+KRB5_PADATA_SVR_REFERRAL_INFO
+=============================
+
+..
+.. data:: KRB5_PADATA_SVR_REFERRAL_INFO
+..
+
+Windows 2000 referrals.
+
+RFC 6820
+
+==================================== ======================
+``KRB5_PADATA_SVR_REFERRAL_INFO`` ``20``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_TGS_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_TGS_REQ.txt
new file mode 100644
index 000000000000..e888f5babc5b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_TGS_REQ.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-TGS-REQ-data:
+
+KRB5_PADATA_TGS_REQ
+===================
+
+..
+.. data:: KRB5_PADATA_TGS_REQ
+..
+
+
+
+
+========================== ======================
+``KRB5_PADATA_TGS_REQ`` ``KRB5_PADATA_AP_REQ``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_USE_SPECIFIED_KVNO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_USE_SPECIFIED_KVNO.txt
new file mode 100644
index 000000000000..5ee21d234c38
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PADATA_USE_SPECIFIED_KVNO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PADATA-USE-SPECIFIED-KVNO-data:
+
+KRB5_PADATA_USE_SPECIFIED_KVNO
+==============================
+
+..
+.. data:: KRB5_PADATA_USE_SPECIFIED_KVNO
+..
+
+RFC 4120.
+
+
+
+===================================== ======================
+``KRB5_PADATA_USE_SPECIFIED_KVNO`` ``20``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_CASEFOLD.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_CASEFOLD.txt
new file mode 100644
index 000000000000..bd42eeb9404f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_CASEFOLD.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-COMPARE-CASEFOLD-data:
+
+KRB5_PRINCIPAL_COMPARE_CASEFOLD
+===============================
+
+..
+.. data:: KRB5_PRINCIPAL_COMPARE_CASEFOLD
+..
+
+case-insensitive
+
+
+
+====================================== ======================
+``KRB5_PRINCIPAL_COMPARE_CASEFOLD`` ``4``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_ENTERPRISE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_ENTERPRISE.txt
new file mode 100644
index 000000000000..3341d4303f38
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_ENTERPRISE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-COMPARE-ENTERPRISE-data:
+
+KRB5_PRINCIPAL_COMPARE_ENTERPRISE
+=================================
+
+..
+.. data:: KRB5_PRINCIPAL_COMPARE_ENTERPRISE
+..
+
+UPNs as real principals.
+
+
+
+======================================== ======================
+``KRB5_PRINCIPAL_COMPARE_ENTERPRISE`` ``2``
+======================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_IGNORE_REALM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_IGNORE_REALM.txt
new file mode 100644
index 000000000000..39b443ffa7ed
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_IGNORE_REALM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-COMPARE-IGNORE-REALM-data:
+
+KRB5_PRINCIPAL_COMPARE_IGNORE_REALM
+===================================
+
+..
+.. data:: KRB5_PRINCIPAL_COMPARE_IGNORE_REALM
+..
+
+ignore realm component
+
+
+
+========================================== ======================
+``KRB5_PRINCIPAL_COMPARE_IGNORE_REALM`` ``1``
+========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_UTF8.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_UTF8.txt
new file mode 100644
index 000000000000..78bc4b09541c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_COMPARE_UTF8.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-COMPARE-UTF8-data:
+
+KRB5_PRINCIPAL_COMPARE_UTF8
+===========================
+
+..
+.. data:: KRB5_PRINCIPAL_COMPARE_UTF8
+..
+
+treat principals as UTF-8
+
+
+
+================================== ======================
+``KRB5_PRINCIPAL_COMPARE_UTF8`` ``8``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_ENTERPRISE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_ENTERPRISE.txt
new file mode 100644
index 000000000000..df6de6c5482e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_ENTERPRISE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-PARSE-ENTERPRISE-data:
+
+KRB5_PRINCIPAL_PARSE_ENTERPRISE
+===============================
+
+..
+.. data:: KRB5_PRINCIPAL_PARSE_ENTERPRISE
+..
+
+Create single-component enterprise principle.
+
+
+
+====================================== ======================
+``KRB5_PRINCIPAL_PARSE_ENTERPRISE`` ``0x4``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_IGNORE_REALM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_IGNORE_REALM.txt
new file mode 100644
index 000000000000..d6a3995646cf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_IGNORE_REALM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-PARSE-IGNORE-REALM-data:
+
+KRB5_PRINCIPAL_PARSE_IGNORE_REALM
+=================================
+
+..
+.. data:: KRB5_PRINCIPAL_PARSE_IGNORE_REALM
+..
+
+Ignore realm if present.
+
+
+
+======================================== ======================
+``KRB5_PRINCIPAL_PARSE_IGNORE_REALM`` ``0x8``
+======================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_NO_REALM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_NO_REALM.txt
new file mode 100644
index 000000000000..ecd822628fbb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_NO_REALM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-PARSE-NO-REALM-data:
+
+KRB5_PRINCIPAL_PARSE_NO_REALM
+=============================
+
+..
+.. data:: KRB5_PRINCIPAL_PARSE_NO_REALM
+..
+
+Error if realm is present.
+
+
+
+==================================== ======================
+``KRB5_PRINCIPAL_PARSE_NO_REALM`` ``0x1``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM.txt
new file mode 100644
index 000000000000..022e16114dd9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-PARSE-REQUIRE-REALM-data:
+
+KRB5_PRINCIPAL_PARSE_REQUIRE_REALM
+==================================
+
+..
+.. data:: KRB5_PRINCIPAL_PARSE_REQUIRE_REALM
+..
+
+Error if realm is not present.
+
+
+
+========================================= ======================
+``KRB5_PRINCIPAL_PARSE_REQUIRE_REALM`` ``0x2``
+========================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_DISPLAY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_DISPLAY.txt
new file mode 100644
index 000000000000..d15af8bf0744
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_DISPLAY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-UNPARSE-DISPLAY-data:
+
+KRB5_PRINCIPAL_UNPARSE_DISPLAY
+==============================
+
+..
+.. data:: KRB5_PRINCIPAL_UNPARSE_DISPLAY
+..
+
+Don't escape special characters.
+
+
+
+===================================== ======================
+``KRB5_PRINCIPAL_UNPARSE_DISPLAY`` ``0x4``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_NO_REALM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_NO_REALM.txt
new file mode 100644
index 000000000000..1f8bb517df19
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_NO_REALM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-UNPARSE-NO-REALM-data:
+
+KRB5_PRINCIPAL_UNPARSE_NO_REALM
+===============================
+
+..
+.. data:: KRB5_PRINCIPAL_UNPARSE_NO_REALM
+..
+
+Omit realm always.
+
+
+
+====================================== ======================
+``KRB5_PRINCIPAL_UNPARSE_NO_REALM`` ``0x2``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_SHORT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_SHORT.txt
new file mode 100644
index 000000000000..c6404018e273
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRINCIPAL_UNPARSE_SHORT.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRINCIPAL-UNPARSE-SHORT-data:
+
+KRB5_PRINCIPAL_UNPARSE_SHORT
+============================
+
+..
+.. data:: KRB5_PRINCIPAL_UNPARSE_SHORT
+..
+
+Omit realm if it is the local realm.
+
+
+
+=================================== ======================
+``KRB5_PRINCIPAL_UNPARSE_SHORT`` ``0x1``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PRIV.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PRIV.txt
new file mode 100644
index 000000000000..aaa2dbc97b8e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PRIV.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PRIV-data:
+
+KRB5_PRIV
+=========
+
+..
+.. data:: KRB5_PRIV
+..
+
+Private application message.
+
+
+
+================ ======================
+``KRB5_PRIV`` ``((krb5_msgtype)21)``
+================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_NEW_PASSWORD.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_NEW_PASSWORD.txt
new file mode 100644
index 000000000000..115bae171dad
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_NEW_PASSWORD.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PROMPT-TYPE-NEW-PASSWORD-data:
+
+KRB5_PROMPT_TYPE_NEW_PASSWORD
+=============================
+
+..
+.. data:: KRB5_PROMPT_TYPE_NEW_PASSWORD
+..
+
+Prompt for new password (during password change)
+
+
+
+==================================== ======================
+``KRB5_PROMPT_TYPE_NEW_PASSWORD`` ``0x2``
+==================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN.txt
new file mode 100644
index 000000000000..170fa58e864e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PROMPT-TYPE-NEW-PASSWORD-AGAIN-data:
+
+KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN
+===================================
+
+..
+.. data:: KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN
+..
+
+Prompt for new password again.
+
+
+
+========================================== ======================
+``KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN`` ``0x3``
+========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_PASSWORD.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_PASSWORD.txt
new file mode 100644
index 000000000000..37e3243855e2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_PASSWORD.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PROMPT-TYPE-PASSWORD-data:
+
+KRB5_PROMPT_TYPE_PASSWORD
+=========================
+
+..
+.. data:: KRB5_PROMPT_TYPE_PASSWORD
+..
+
+Prompt for password.
+
+
+
+================================ ======================
+``KRB5_PROMPT_TYPE_PASSWORD`` ``0x1``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_PREAUTH.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_PREAUTH.txt
new file mode 100644
index 000000000000..5d577cc1e5fe
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PROMPT_TYPE_PREAUTH.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PROMPT-TYPE-PREAUTH-data:
+
+KRB5_PROMPT_TYPE_PREAUTH
+========================
+
+..
+.. data:: KRB5_PROMPT_TYPE_PREAUTH
+..
+
+Prompt for preauthentication data (such as an OTP value)
+
+
+
+=============================== ======================
+``KRB5_PROMPT_TYPE_PREAUTH`` ``0x4``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_PVNO.txt b/doc/html/_sources/appdev/refs/macros/KRB5_PVNO.txt
new file mode 100644
index 000000000000..fe2f903f648f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_PVNO.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-PVNO-data:
+
+KRB5_PVNO
+=========
+
+..
+.. data:: KRB5_PVNO
+..
+
+Protocol version number.
+
+
+
+================ ======================
+``KRB5_PVNO`` ``5``
+================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_REALM_BRANCH_CHAR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_REALM_BRANCH_CHAR.txt
new file mode 100644
index 000000000000..15478f05c477
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_REALM_BRANCH_CHAR.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-REALM-BRANCH-CHAR-data:
+
+KRB5_REALM_BRANCH_CHAR
+======================
+
+..
+.. data:: KRB5_REALM_BRANCH_CHAR
+..
+
+
+
+
+============================= ======================
+``KRB5_REALM_BRANCH_CHAR`` ``'.'``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RECVAUTH_BADAUTHVERS.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RECVAUTH_BADAUTHVERS.txt
new file mode 100644
index 000000000000..c3c2dfa1c7f4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RECVAUTH_BADAUTHVERS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-RECVAUTH-BADAUTHVERS-data:
+
+KRB5_RECVAUTH_BADAUTHVERS
+=========================
+
+..
+.. data:: KRB5_RECVAUTH_BADAUTHVERS
+..
+
+
+
+
+================================ ======================
+``KRB5_RECVAUTH_BADAUTHVERS`` ``0x0002``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RECVAUTH_SKIP_VERSION.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RECVAUTH_SKIP_VERSION.txt
new file mode 100644
index 000000000000..e833faa96861
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RECVAUTH_SKIP_VERSION.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-RECVAUTH-SKIP-VERSION-data:
+
+KRB5_RECVAUTH_SKIP_VERSION
+==========================
+
+..
+.. data:: KRB5_RECVAUTH_SKIP_VERSION
+..
+
+
+
+
+================================= ======================
+``KRB5_RECVAUTH_SKIP_VERSION`` ``0x0001``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_REFERRAL_REALM.txt b/doc/html/_sources/appdev/refs/macros/KRB5_REFERRAL_REALM.txt
new file mode 100644
index 000000000000..f8620181475e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_REFERRAL_REALM.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-REFERRAL-REALM-data:
+
+KRB5_REFERRAL_REALM
+===================
+
+..
+.. data:: KRB5_REFERRAL_REALM
+..
+
+Constant for realm referrals.
+
+
+
+========================== ======================
+``KRB5_REFERRAL_REALM`` ``""``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN.txt
new file mode 100644
index 000000000000..b9dc93702425
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-OTP-FLAGS-COLLECT-PIN-data:
+
+KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN
+====================================
+
+..
+.. data:: KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN
+..
+
+This flag indicates that the PIN value MUST be collected.
+
+
+
+=========================================== ======================
+``KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN`` ``0x0002``
+=========================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN.txt
new file mode 100644
index 000000000000..ced944330ae6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-OTP-FLAGS-COLLECT-TOKEN-data:
+
+KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN
+======================================
+
+..
+.. data:: KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN
+..
+
+This flag indicates that the token value MUST be collected.
+
+
+
+============================================= ======================
+``KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN`` ``0x0001``
+============================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_NEXTOTP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_NEXTOTP.txt
new file mode 100644
index 000000000000..b3e9204dbad5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_NEXTOTP.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-OTP-FLAGS-NEXTOTP-data:
+
+KRB5_RESPONDER_OTP_FLAGS_NEXTOTP
+================================
+
+..
+.. data:: KRB5_RESPONDER_OTP_FLAGS_NEXTOTP
+..
+
+This flag indicates that the token is now in re-synchronization mode with the server.
+
+The user is expected to reply with the next code displayed on the token.
+
+======================================= ======================
+``KRB5_RESPONDER_OTP_FLAGS_NEXTOTP`` ``0x0004``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN.txt
new file mode 100644
index 000000000000..f43d49d290f4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-OTP-FLAGS-SEPARATE-PIN-data:
+
+KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN
+=====================================
+
+..
+.. data:: KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN
+..
+
+This flag indicates that the PIN MUST be returned as a separate item.
+
+This flag only takes effect if KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN is set. If this flag is not set, the responder may either concatenate PIN + token value and store it as "value" in the answer or it may return them separately. If they are returned separately, they will be concatenated internally.
+
+============================================ ======================
+``KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN`` ``0x0008``
+============================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_ALPHANUMERIC.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_ALPHANUMERIC.txt
new file mode 100644
index 000000000000..58a97cf928e4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_ALPHANUMERIC.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-OTP-FORMAT-ALPHANUMERIC-data:
+
+KRB5_RESPONDER_OTP_FORMAT_ALPHANUMERIC
+======================================
+
+..
+.. data:: KRB5_RESPONDER_OTP_FORMAT_ALPHANUMERIC
+..
+
+
+
+
+============================================= ======================
+``KRB5_RESPONDER_OTP_FORMAT_ALPHANUMERIC`` ``2``
+============================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_DECIMAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_DECIMAL.txt
new file mode 100644
index 000000000000..bfafd2f41136
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_DECIMAL.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-OTP-FORMAT-DECIMAL-data:
+
+KRB5_RESPONDER_OTP_FORMAT_DECIMAL
+=================================
+
+..
+.. data:: KRB5_RESPONDER_OTP_FORMAT_DECIMAL
+..
+
+These format constants identify the format of the token value.
+
+
+
+======================================== ======================
+``KRB5_RESPONDER_OTP_FORMAT_DECIMAL`` ``0``
+======================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_HEXADECIMAL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_HEXADECIMAL.txt
new file mode 100644
index 000000000000..eaf925b73f5e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_OTP_FORMAT_HEXADECIMAL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-OTP-FORMAT-HEXADECIMAL-data:
+
+KRB5_RESPONDER_OTP_FORMAT_HEXADECIMAL
+=====================================
+
+..
+.. data:: KRB5_RESPONDER_OTP_FORMAT_HEXADECIMAL
+..
+
+
+
+
+============================================ ======================
+``KRB5_RESPONDER_OTP_FORMAT_HEXADECIMAL`` ``1``
+============================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_COUNT_LOW.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_COUNT_LOW.txt
new file mode 100644
index 000000000000..a034d3c4f0e0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_COUNT_LOW.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-PKINIT-FLAGS-TOKEN-USER-PIN-COUNT-LOW-data:
+
+KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_COUNT_LOW
+====================================================
+
+..
+.. data:: KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_COUNT_LOW
+..
+
+This flag indicates that an incorrect PIN was supplied at least once since the last time the correct PIN was supplied.
+
+
+
+=========================================================== ======================
+``KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_COUNT_LOW`` ``(1 << 0)``
+=========================================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_FINAL_TRY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_FINAL_TRY.txt
new file mode 100644
index 000000000000..59d01bda7289
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_FINAL_TRY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-PKINIT-FLAGS-TOKEN-USER-PIN-FINAL-TRY-data:
+
+KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_FINAL_TRY
+====================================================
+
+..
+.. data:: KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_FINAL_TRY
+..
+
+This flag indicates that supplying an incorrect PIN will cause the token to lock itself.
+
+
+
+=========================================================== ======================
+``KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_FINAL_TRY`` ``(1 << 1)``
+=========================================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_LOCKED.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_LOCKED.txt
new file mode 100644
index 000000000000..00e31260ee10
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_LOCKED.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-PKINIT-FLAGS-TOKEN-USER-PIN-LOCKED-data:
+
+KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_LOCKED
+=================================================
+
+..
+.. data:: KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_LOCKED
+..
+
+This flag indicates that the user PIN is locked, and you can't log in to the token with it.
+
+
+
+======================================================== ======================
+``KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_LOCKED`` ``(1 << 2)``
+======================================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt
new file mode 100644
index 000000000000..cb63b5e1fe87
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_OTP.txt
@@ -0,0 +1,63 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-QUESTION-OTP-data:
+
+KRB5_RESPONDER_QUESTION_OTP
+===========================
+
+..
+.. data:: KRB5_RESPONDER_QUESTION_OTP
+..
+
+OTP responder question.
+
+The OTP responder question is asked when the KDC indicates that an OTP value is required in order to complete the authentication. The JSON format of the challenge is:
+
+*{*
+
+*"service": <string (optional)>,*
+
+*"tokenInfo": [*
+
+*{*
+
+*"flags": <number>,*
+
+*"vendor": <string (optional)>,*
+
+*"challenge": <string (optional)>,*
+
+*"length": <number (optional)>,*
+
+*"format": <number (optional)>,*
+
+*"tokenID": <string (optional)>,*
+
+*"algID": <string (optional)>,*
+
+*},*
+
+*...*
+
+*]*
+
+*}*
+
+The answer to the question MUST be JSON formatted:
+
+*{*
+
+*"tokeninfo": <number>,*
+
+*"value": <string (optional)>,*
+
+*"pin": <string (optional)>,*
+
+*}*
+
+For more detail, please see RFC 6560.
+
+
+================================== ======================
+``KRB5_RESPONDER_QUESTION_OTP`` ``"otp"``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_PASSWORD.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_PASSWORD.txt
new file mode 100644
index 000000000000..8606604ee683
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_PASSWORD.txt
@@ -0,0 +1,19 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-QUESTION-PASSWORD-data:
+
+KRB5_RESPONDER_QUESTION_PASSWORD
+================================
+
+..
+.. data:: KRB5_RESPONDER_QUESTION_PASSWORD
+..
+
+Long-term password responder question.
+
+This question is asked when the long-term password is needed. It has no challenge and the response is simply the password string.
+
+
+======================================= ======================
+``KRB5_RESPONDER_QUESTION_PASSWORD`` ``"password"``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_PKINIT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_PKINIT.txt
new file mode 100644
index 000000000000..1602eb789f3e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_RESPONDER_QUESTION_PKINIT.txt
@@ -0,0 +1,38 @@
+.. highlightlang:: c
+
+.. _KRB5-RESPONDER-QUESTION-PKINIT-data:
+
+KRB5_RESPONDER_QUESTION_PKINIT
+==============================
+
+..
+.. data:: KRB5_RESPONDER_QUESTION_PKINIT
+..
+
+PKINIT responder question.
+
+The PKINIT responder question is asked when the client needs a password that's being used to protect key information, and is formatted as a JSON object. A specific identity's flags value, if not zero, is the bitwise-OR of one or more of the KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_* flags defined below, and possibly other flags to be added later. Any resemblance to similarly-named CKF_* values in the PKCS#11 API should not be depended on.
+
+*{*
+
+*identity <string> : flags <number>,*
+
+*...*
+
+*}*
+
+The answer to the question MUST be JSON formatted:
+
+*{*
+
+*identity <string> : password <string>,*
+
+*...*
+
+*}*
+
+
+
+===================================== ======================
+``KRB5_RESPONDER_QUESTION_PKINIT`` ``"pkinit"``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_SAFE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_SAFE.txt
new file mode 100644
index 000000000000..519fd4a1bf9a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_SAFE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-SAFE-data:
+
+KRB5_SAFE
+=========
+
+..
+.. data:: KRB5_SAFE
+..
+
+Safe application message.
+
+
+
+================ ======================
+``KRB5_SAFE`` ``((krb5_msgtype)20)``
+================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_SAM_MUST_PK_ENCRYPT_SAD.txt b/doc/html/_sources/appdev/refs/macros/KRB5_SAM_MUST_PK_ENCRYPT_SAD.txt
new file mode 100644
index 000000000000..a8b453c0ee98
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_SAM_MUST_PK_ENCRYPT_SAD.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-SAM-MUST-PK-ENCRYPT-SAD-data:
+
+KRB5_SAM_MUST_PK_ENCRYPT_SAD
+============================
+
+..
+.. data:: KRB5_SAM_MUST_PK_ENCRYPT_SAD
+..
+
+currently must be zero
+
+
+
+=================================== ======================
+``KRB5_SAM_MUST_PK_ENCRYPT_SAD`` ``0x20000000``
+=================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_SAM_SEND_ENCRYPTED_SAD.txt b/doc/html/_sources/appdev/refs/macros/KRB5_SAM_SEND_ENCRYPTED_SAD.txt
new file mode 100644
index 000000000000..64d43a4585ec
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_SAM_SEND_ENCRYPTED_SAD.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-SAM-SEND-ENCRYPTED-SAD-data:
+
+KRB5_SAM_SEND_ENCRYPTED_SAD
+===========================
+
+..
+.. data:: KRB5_SAM_SEND_ENCRYPTED_SAD
+..
+
+
+
+
+================================== ======================
+``KRB5_SAM_SEND_ENCRYPTED_SAD`` ``0x40000000``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_SAM_USE_SAD_AS_KEY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_SAM_USE_SAD_AS_KEY.txt
new file mode 100644
index 000000000000..21ac0666ebd3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_SAM_USE_SAD_AS_KEY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-SAM-USE-SAD-AS-KEY-data:
+
+KRB5_SAM_USE_SAD_AS_KEY
+=======================
+
+..
+.. data:: KRB5_SAM_USE_SAD_AS_KEY
+..
+
+
+
+
+============================== ======================
+``KRB5_SAM_USE_SAD_AS_KEY`` ``0x80000000``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_2ND_TKT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_2ND_TKT.txt
new file mode 100644
index 000000000000..eae8cf46bbea
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_2ND_TKT.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-2ND-TKT-data:
+
+KRB5_TC_MATCH_2ND_TKT
+=====================
+
+..
+.. data:: KRB5_TC_MATCH_2ND_TKT
+..
+
+The second ticket must match.
+
+
+
+============================ ======================
+``KRB5_TC_MATCH_2ND_TKT`` ``0x00000080``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_AUTHDATA.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_AUTHDATA.txt
new file mode 100644
index 000000000000..2229332b4575
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_AUTHDATA.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-AUTHDATA-data:
+
+KRB5_TC_MATCH_AUTHDATA
+======================
+
+..
+.. data:: KRB5_TC_MATCH_AUTHDATA
+..
+
+The authorization data must match.
+
+
+
+============================= ======================
+``KRB5_TC_MATCH_AUTHDATA`` ``0x00000020``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_FLAGS.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_FLAGS.txt
new file mode 100644
index 000000000000..ec95c5fcb193
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_FLAGS.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-FLAGS-data:
+
+KRB5_TC_MATCH_FLAGS
+===================
+
+..
+.. data:: KRB5_TC_MATCH_FLAGS
+..
+
+All the flags set in the match credentials must be set.
+
+
+
+========================== ======================
+``KRB5_TC_MATCH_FLAGS`` ``0x00000004``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_FLAGS_EXACT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_FLAGS_EXACT.txt
new file mode 100644
index 000000000000..8cef13ed6189
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_FLAGS_EXACT.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-FLAGS-EXACT-data:
+
+KRB5_TC_MATCH_FLAGS_EXACT
+=========================
+
+..
+.. data:: KRB5_TC_MATCH_FLAGS_EXACT
+..
+
+All the flags must match exactly.
+
+
+
+================================ ======================
+``KRB5_TC_MATCH_FLAGS_EXACT`` ``0x00000010``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_IS_SKEY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_IS_SKEY.txt
new file mode 100644
index 000000000000..668500239a8b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_IS_SKEY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-IS-SKEY-data:
+
+KRB5_TC_MATCH_IS_SKEY
+=====================
+
+..
+.. data:: KRB5_TC_MATCH_IS_SKEY
+..
+
+The is_skey field must match exactly.
+
+
+
+============================ ======================
+``KRB5_TC_MATCH_IS_SKEY`` ``0x00000002``
+============================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_KTYPE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_KTYPE.txt
new file mode 100644
index 000000000000..31325a89b23e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_KTYPE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-KTYPE-data:
+
+KRB5_TC_MATCH_KTYPE
+===================
+
+..
+.. data:: KRB5_TC_MATCH_KTYPE
+..
+
+The encryption key type must match.
+
+
+
+========================== ======================
+``KRB5_TC_MATCH_KTYPE`` ``0x00000100``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_SRV_NAMEONLY.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_SRV_NAMEONLY.txt
new file mode 100644
index 000000000000..4c7695fa7ef1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_SRV_NAMEONLY.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-SRV-NAMEONLY-data:
+
+KRB5_TC_MATCH_SRV_NAMEONLY
+==========================
+
+..
+.. data:: KRB5_TC_MATCH_SRV_NAMEONLY
+..
+
+Only the name portion of the principal name must match.
+
+
+
+================================= ======================
+``KRB5_TC_MATCH_SRV_NAMEONLY`` ``0x00000040``
+================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_TIMES.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_TIMES.txt
new file mode 100644
index 000000000000..7a16524429a3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_TIMES.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-TIMES-data:
+
+KRB5_TC_MATCH_TIMES
+===================
+
+..
+.. data:: KRB5_TC_MATCH_TIMES
+..
+
+The requested lifetime must be at least as great as the time specified.
+
+
+
+========================== ======================
+``KRB5_TC_MATCH_TIMES`` ``0x00000001``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_TIMES_EXACT.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_TIMES_EXACT.txt
new file mode 100644
index 000000000000..2453f93ddd35
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_MATCH_TIMES_EXACT.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-MATCH-TIMES-EXACT-data:
+
+KRB5_TC_MATCH_TIMES_EXACT
+=========================
+
+..
+.. data:: KRB5_TC_MATCH_TIMES_EXACT
+..
+
+All the time fields must match exactly.
+
+
+
+================================ ======================
+``KRB5_TC_MATCH_TIMES_EXACT`` ``0x00000008``
+================================ ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_NOTICKET.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_NOTICKET.txt
new file mode 100644
index 000000000000..a9008cf80ec7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_NOTICKET.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-NOTICKET-data:
+
+KRB5_TC_NOTICKET
+================
+
+..
+.. data:: KRB5_TC_NOTICKET
+..
+
+
+
+
+======================= ======================
+``KRB5_TC_NOTICKET`` ``0x00000002``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_OPENCLOSE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_OPENCLOSE.txt
new file mode 100644
index 000000000000..a7fb94327993
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_OPENCLOSE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-OPENCLOSE-data:
+
+KRB5_TC_OPENCLOSE
+=================
+
+..
+.. data:: KRB5_TC_OPENCLOSE
+..
+
+Open and close the file for each cache operation.
+
+
+
+======================== ======================
+``KRB5_TC_OPENCLOSE`` ``0x00000001``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TC_SUPPORTED_KTYPES.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TC_SUPPORTED_KTYPES.txt
new file mode 100644
index 000000000000..e1edae92416b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TC_SUPPORTED_KTYPES.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TC-SUPPORTED-KTYPES-data:
+
+KRB5_TC_SUPPORTED_KTYPES
+========================
+
+..
+.. data:: KRB5_TC_SUPPORTED_KTYPES
+..
+
+The supported key types must match.
+
+
+
+=============================== ======================
+``KRB5_TC_SUPPORTED_KTYPES`` ``0x00000200``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TGS_NAME.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TGS_NAME.txt
new file mode 100644
index 000000000000..602b5c344c78
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TGS_NAME.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-TGS-NAME-data:
+
+KRB5_TGS_NAME
+=============
+
+..
+.. data:: KRB5_TGS_NAME
+..
+
+
+
+
+==================== ======================
+``KRB5_TGS_NAME`` ``"krbtgt"``
+==================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TGS_NAME_SIZE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TGS_NAME_SIZE.txt
new file mode 100644
index 000000000000..931ebdbbfbf4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TGS_NAME_SIZE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-TGS-NAME-SIZE-data:
+
+KRB5_TGS_NAME_SIZE
+==================
+
+..
+.. data:: KRB5_TGS_NAME_SIZE
+..
+
+
+
+
+========================= ======================
+``KRB5_TGS_NAME_SIZE`` ``6``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TGS_REP.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TGS_REP.txt
new file mode 100644
index 000000000000..18cadb3e963d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TGS_REP.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TGS-REP-data:
+
+KRB5_TGS_REP
+============
+
+..
+.. data:: KRB5_TGS_REP
+..
+
+Response to TGS request.
+
+
+
+=================== ======================
+``KRB5_TGS_REP`` ``((krb5_msgtype)13)``
+=================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TGS_REQ.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TGS_REQ.txt
new file mode 100644
index 000000000000..132d9f5aab2a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TGS_REQ.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TGS-REQ-data:
+
+KRB5_TGS_REQ
+============
+
+..
+.. data:: KRB5_TGS_REQ
+..
+
+Ticket granting server request.
+
+
+
+=================== ======================
+``KRB5_TGS_REQ`` ``((krb5_msgtype)12)``
+=================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_TKT_CREDS_STEP_FLAG_CONTINUE.txt b/doc/html/_sources/appdev/refs/macros/KRB5_TKT_CREDS_STEP_FLAG_CONTINUE.txt
new file mode 100644
index 000000000000..28d376faa120
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_TKT_CREDS_STEP_FLAG_CONTINUE.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-TKT-CREDS-STEP-FLAG-CONTINUE-data:
+
+KRB5_TKT_CREDS_STEP_FLAG_CONTINUE
+=================================
+
+..
+.. data:: KRB5_TKT_CREDS_STEP_FLAG_CONTINUE
+..
+
+More responses needed.
+
+
+
+======================================== ======================
+``KRB5_TKT_CREDS_STEP_FLAG_CONTINUE`` ``0x1``
+======================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL.txt b/doc/html/_sources/appdev/refs/macros/KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL.txt
new file mode 100644
index 000000000000..a6a60c976ce8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _KRB5-VERIFY-INIT-CREDS-OPT-AP-REQ-NOFAIL-data:
+
+KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL
+========================================
+
+..
+.. data:: KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL
+..
+
+
+
+
+=============================================== ======================
+``KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL`` ``0x0001``
+=============================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/KRB5_WELLKNOWN_NAMESTR.txt b/doc/html/_sources/appdev/refs/macros/KRB5_WELLKNOWN_NAMESTR.txt
new file mode 100644
index 000000000000..430a3f09d782
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/KRB5_WELLKNOWN_NAMESTR.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _KRB5-WELLKNOWN-NAMESTR-data:
+
+KRB5_WELLKNOWN_NAMESTR
+======================
+
+..
+.. data:: KRB5_WELLKNOWN_NAMESTR
+..
+
+First component of NT_WELLKNOWN principals.
+
+
+
+============================= ======================
+``KRB5_WELLKNOWN_NAMESTR`` ``"WELLKNOWN"``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/LR_TYPE_INTERPRETATION_MASK.txt b/doc/html/_sources/appdev/refs/macros/LR_TYPE_INTERPRETATION_MASK.txt
new file mode 100644
index 000000000000..c44baf694f11
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/LR_TYPE_INTERPRETATION_MASK.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _LR-TYPE-INTERPRETATION-MASK-data:
+
+LR_TYPE_INTERPRETATION_MASK
+===========================
+
+..
+.. data:: LR_TYPE_INTERPRETATION_MASK
+..
+
+
+
+
+================================== ======================
+``LR_TYPE_INTERPRETATION_MASK`` ``0x7fff``
+================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/LR_TYPE_THIS_SERVER_ONLY.txt b/doc/html/_sources/appdev/refs/macros/LR_TYPE_THIS_SERVER_ONLY.txt
new file mode 100644
index 000000000000..15e6dbf5bafb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/LR_TYPE_THIS_SERVER_ONLY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _LR-TYPE-THIS-SERVER-ONLY-data:
+
+LR_TYPE_THIS_SERVER_ONLY
+========================
+
+..
+.. data:: LR_TYPE_THIS_SERVER_ONLY
+..
+
+
+
+
+=============================== ======================
+``LR_TYPE_THIS_SERVER_ONLY`` ``0x8000``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/MAX_KEYTAB_NAME_LEN.txt b/doc/html/_sources/appdev/refs/macros/MAX_KEYTAB_NAME_LEN.txt
new file mode 100644
index 000000000000..94bde20d14ec
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/MAX_KEYTAB_NAME_LEN.txt
@@ -0,0 +1,18 @@
+.. highlightlang:: c
+
+.. _MAX-KEYTAB-NAME-LEN-data:
+
+MAX_KEYTAB_NAME_LEN
+===================
+
+..
+.. data:: MAX_KEYTAB_NAME_LEN
+..
+
+Long enough for MAXPATHLEN + some extra.
+
+
+
+========================== ======================
+``MAX_KEYTAB_NAME_LEN`` ``1100``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/MSEC_DIRBIT.txt b/doc/html/_sources/appdev/refs/macros/MSEC_DIRBIT.txt
new file mode 100644
index 000000000000..9a4b07e6219a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/MSEC_DIRBIT.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _MSEC-DIRBIT-data:
+
+MSEC_DIRBIT
+===========
+
+..
+.. data:: MSEC_DIRBIT
+..
+
+
+
+
+================== ======================
+``MSEC_DIRBIT`` ``0x8000``
+================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/MSEC_VAL_MASK.txt b/doc/html/_sources/appdev/refs/macros/MSEC_VAL_MASK.txt
new file mode 100644
index 000000000000..7d60035f0457
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/MSEC_VAL_MASK.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _MSEC-VAL-MASK-data:
+
+MSEC_VAL_MASK
+=============
+
+..
+.. data:: MSEC_VAL_MASK
+..
+
+
+
+
+==================== ======================
+``MSEC_VAL_MASK`` ``0x7fff``
+==================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/SALT_TYPE_AFS_LENGTH.txt b/doc/html/_sources/appdev/refs/macros/SALT_TYPE_AFS_LENGTH.txt
new file mode 100644
index 000000000000..c9db0acaf206
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/SALT_TYPE_AFS_LENGTH.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _SALT-TYPE-AFS-LENGTH-data:
+
+SALT_TYPE_AFS_LENGTH
+====================
+
+..
+.. data:: SALT_TYPE_AFS_LENGTH
+..
+
+
+
+
+=========================== ======================
+``SALT_TYPE_AFS_LENGTH`` ``UINT_MAX``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/SALT_TYPE_NO_LENGTH.txt b/doc/html/_sources/appdev/refs/macros/SALT_TYPE_NO_LENGTH.txt
new file mode 100644
index 000000000000..40252699b365
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/SALT_TYPE_NO_LENGTH.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _SALT-TYPE-NO-LENGTH-data:
+
+SALT_TYPE_NO_LENGTH
+===================
+
+..
+.. data:: SALT_TYPE_NO_LENGTH
+..
+
+
+
+
+========================== ======================
+``SALT_TYPE_NO_LENGTH`` ``UINT_MAX``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/THREEPARAMOPEN.txt b/doc/html/_sources/appdev/refs/macros/THREEPARAMOPEN.txt
new file mode 100644
index 000000000000..284055232908
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/THREEPARAMOPEN.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _THREEPARAMOPEN-data:
+
+THREEPARAMOPEN
+==============
+
+..
+.. data:: THREEPARAMOPEN
+..
+
+
+
+
+============================== ======================
+``THREEPARAMOPEN (x, y, z)`` ``open(x,y,z)``
+============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_ANONYMOUS.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_ANONYMOUS.txt
new file mode 100644
index 000000000000..0bc451737eca
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_ANONYMOUS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-ANONYMOUS-data:
+
+TKT_FLG_ANONYMOUS
+=================
+
+..
+.. data:: TKT_FLG_ANONYMOUS
+..
+
+
+
+
+======================== ======================
+``TKT_FLG_ANONYMOUS`` ``0x00008000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_ENC_PA_REP.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_ENC_PA_REP.txt
new file mode 100644
index 000000000000..0acc6054a53e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_ENC_PA_REP.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-ENC-PA-REP-data:
+
+TKT_FLG_ENC_PA_REP
+==================
+
+..
+.. data:: TKT_FLG_ENC_PA_REP
+..
+
+
+
+
+========================= ======================
+``TKT_FLG_ENC_PA_REP`` ``0x00010000``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_FORWARDABLE.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_FORWARDABLE.txt
new file mode 100644
index 000000000000..1566a8a96259
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_FORWARDABLE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-FORWARDABLE-data:
+
+TKT_FLG_FORWARDABLE
+===================
+
+..
+.. data:: TKT_FLG_FORWARDABLE
+..
+
+
+
+
+========================== ======================
+``TKT_FLG_FORWARDABLE`` ``0x40000000``
+========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_FORWARDED.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_FORWARDED.txt
new file mode 100644
index 000000000000..35d6aa0839d0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_FORWARDED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-FORWARDED-data:
+
+TKT_FLG_FORWARDED
+=================
+
+..
+.. data:: TKT_FLG_FORWARDED
+..
+
+
+
+
+======================== ======================
+``TKT_FLG_FORWARDED`` ``0x20000000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_HW_AUTH.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_HW_AUTH.txt
new file mode 100644
index 000000000000..ed238e235c7a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_HW_AUTH.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-HW-AUTH-data:
+
+TKT_FLG_HW_AUTH
+===============
+
+..
+.. data:: TKT_FLG_HW_AUTH
+..
+
+
+
+
+====================== ======================
+``TKT_FLG_HW_AUTH`` ``0x00100000``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_INITIAL.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_INITIAL.txt
new file mode 100644
index 000000000000..b0041767bae2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_INITIAL.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-INITIAL-data:
+
+TKT_FLG_INITIAL
+===============
+
+..
+.. data:: TKT_FLG_INITIAL
+..
+
+
+
+
+====================== ======================
+``TKT_FLG_INITIAL`` ``0x00400000``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_INVALID.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_INVALID.txt
new file mode 100644
index 000000000000..efb9d5ac899f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_INVALID.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-INVALID-data:
+
+TKT_FLG_INVALID
+===============
+
+..
+.. data:: TKT_FLG_INVALID
+..
+
+
+
+
+====================== ======================
+``TKT_FLG_INVALID`` ``0x01000000``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_MAY_POSTDATE.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_MAY_POSTDATE.txt
new file mode 100644
index 000000000000..bff936dfe4e5
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_MAY_POSTDATE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-MAY-POSTDATE-data:
+
+TKT_FLG_MAY_POSTDATE
+====================
+
+..
+.. data:: TKT_FLG_MAY_POSTDATE
+..
+
+
+
+
+=========================== ======================
+``TKT_FLG_MAY_POSTDATE`` ``0x04000000``
+=========================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_OK_AS_DELEGATE.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_OK_AS_DELEGATE.txt
new file mode 100644
index 000000000000..690f55a59f66
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_OK_AS_DELEGATE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-OK-AS-DELEGATE-data:
+
+TKT_FLG_OK_AS_DELEGATE
+======================
+
+..
+.. data:: TKT_FLG_OK_AS_DELEGATE
+..
+
+
+
+
+============================= ======================
+``TKT_FLG_OK_AS_DELEGATE`` ``0x00040000``
+============================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_POSTDATED.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_POSTDATED.txt
new file mode 100644
index 000000000000..8c4635bb11e6
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_POSTDATED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-POSTDATED-data:
+
+TKT_FLG_POSTDATED
+=================
+
+..
+.. data:: TKT_FLG_POSTDATED
+..
+
+
+
+
+======================== ======================
+``TKT_FLG_POSTDATED`` ``0x02000000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_PRE_AUTH.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_PRE_AUTH.txt
new file mode 100644
index 000000000000..c64288a32784
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_PRE_AUTH.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-PRE-AUTH-data:
+
+TKT_FLG_PRE_AUTH
+================
+
+..
+.. data:: TKT_FLG_PRE_AUTH
+..
+
+
+
+
+======================= ======================
+``TKT_FLG_PRE_AUTH`` ``0x00200000``
+======================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_PROXIABLE.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_PROXIABLE.txt
new file mode 100644
index 000000000000..4df206b91d7e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_PROXIABLE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-PROXIABLE-data:
+
+TKT_FLG_PROXIABLE
+=================
+
+..
+.. data:: TKT_FLG_PROXIABLE
+..
+
+
+
+
+======================== ======================
+``TKT_FLG_PROXIABLE`` ``0x10000000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_PROXY.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_PROXY.txt
new file mode 100644
index 000000000000..fb75dd9bb76d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_PROXY.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-PROXY-data:
+
+TKT_FLG_PROXY
+=============
+
+..
+.. data:: TKT_FLG_PROXY
+..
+
+
+
+
+==================== ======================
+``TKT_FLG_PROXY`` ``0x08000000``
+==================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_RENEWABLE.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_RENEWABLE.txt
new file mode 100644
index 000000000000..8a1ad04b0bf7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_RENEWABLE.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-RENEWABLE-data:
+
+TKT_FLG_RENEWABLE
+=================
+
+..
+.. data:: TKT_FLG_RENEWABLE
+..
+
+
+
+
+======================== ======================
+``TKT_FLG_RENEWABLE`` ``0x00800000``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/TKT_FLG_TRANSIT_POLICY_CHECKED.txt b/doc/html/_sources/appdev/refs/macros/TKT_FLG_TRANSIT_POLICY_CHECKED.txt
new file mode 100644
index 000000000000..093975d82275
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/TKT_FLG_TRANSIT_POLICY_CHECKED.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _TKT-FLG-TRANSIT-POLICY-CHECKED-data:
+
+TKT_FLG_TRANSIT_POLICY_CHECKED
+==============================
+
+..
+.. data:: TKT_FLG_TRANSIT_POLICY_CHECKED
+..
+
+
+
+
+===================================== ======================
+``TKT_FLG_TRANSIT_POLICY_CHECKED`` ``0x00080000``
+===================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/VALID_INT_BITS.txt b/doc/html/_sources/appdev/refs/macros/VALID_INT_BITS.txt
new file mode 100644
index 000000000000..280b58d9c316
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/VALID_INT_BITS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _VALID-INT-BITS-data:
+
+VALID_INT_BITS
+==============
+
+..
+.. data:: VALID_INT_BITS
+..
+
+
+
+
+===================== ======================
+``VALID_INT_BITS`` ``INT_MAX``
+===================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/VALID_UINT_BITS.txt b/doc/html/_sources/appdev/refs/macros/VALID_UINT_BITS.txt
new file mode 100644
index 000000000000..889aae985e60
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/VALID_UINT_BITS.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _VALID-UINT-BITS-data:
+
+VALID_UINT_BITS
+===============
+
+..
+.. data:: VALID_UINT_BITS
+..
+
+
+
+
+====================== ======================
+``VALID_UINT_BITS`` ``UINT_MAX``
+====================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/index.txt b/doc/html/_sources/appdev/refs/macros/index.txt
new file mode 100644
index 000000000000..e76747102576
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/index.txt
@@ -0,0 +1,380 @@
+krb5 simple macros
+=========================
+
+Public
+-------
+
+.. toctree::
+ :maxdepth: 1
+
+ ADDRTYPE_ADDRPORT.rst
+ ADDRTYPE_CHAOS.rst
+ ADDRTYPE_DDP.rst
+ ADDRTYPE_INET.rst
+ ADDRTYPE_INET6.rst
+ ADDRTYPE_IPPORT.rst
+ ADDRTYPE_ISO.rst
+ ADDRTYPE_IS_LOCAL.rst
+ ADDRTYPE_NETBIOS.rst
+ ADDRTYPE_XNS.rst
+ AD_TYPE_EXTERNAL.rst
+ AD_TYPE_FIELD_TYPE_MASK.rst
+ AD_TYPE_REGISTERED.rst
+ AD_TYPE_RESERVED.rst
+ AP_OPTS_ETYPE_NEGOTIATION.rst
+ AP_OPTS_MUTUAL_REQUIRED.rst
+ AP_OPTS_RESERVED.rst
+ AP_OPTS_USE_SESSION_KEY.rst
+ AP_OPTS_USE_SUBKEY.rst
+ AP_OPTS_WIRE_MASK.rst
+ CKSUMTYPE_CMAC_CAMELLIA128.rst
+ CKSUMTYPE_CMAC_CAMELLIA256.rst
+ CKSUMTYPE_CRC32.rst
+ CKSUMTYPE_DESCBC.rst
+ CKSUMTYPE_HMAC_MD5_ARCFOUR.rst
+ CKSUMTYPE_HMAC_SHA1_96_AES128.rst
+ CKSUMTYPE_HMAC_SHA1_96_AES256.rst
+ CKSUMTYPE_HMAC_SHA256_128_AES128.rst
+ CKSUMTYPE_HMAC_SHA384_192_AES256.rst
+ CKSUMTYPE_HMAC_SHA1_DES3.rst
+ CKSUMTYPE_MD5_HMAC_ARCFOUR.rst
+ CKSUMTYPE_NIST_SHA.rst
+ CKSUMTYPE_RSA_MD4.rst
+ CKSUMTYPE_RSA_MD4_DES.rst
+ CKSUMTYPE_RSA_MD5.rst
+ CKSUMTYPE_RSA_MD5_DES.rst
+ ENCTYPE_AES128_CTS_HMAC_SHA1_96.rst
+ ENCTYPE_AES128_CTS_HMAC_SHA256_128.rst
+ ENCTYPE_AES256_CTS_HMAC_SHA1_96.rst
+ ENCTYPE_AES256_CTS_HMAC_SHA384_192.rst
+ ENCTYPE_ARCFOUR_HMAC.rst
+ ENCTYPE_ARCFOUR_HMAC_EXP.rst
+ ENCTYPE_CAMELLIA128_CTS_CMAC.rst
+ ENCTYPE_CAMELLIA256_CTS_CMAC.rst
+ ENCTYPE_DES3_CBC_ENV.rst
+ ENCTYPE_DES3_CBC_RAW.rst
+ ENCTYPE_DES3_CBC_SHA.rst
+ ENCTYPE_DES3_CBC_SHA1.rst
+ ENCTYPE_DES_CBC_CRC.rst
+ ENCTYPE_DES_CBC_MD4.rst
+ ENCTYPE_DES_CBC_MD5.rst
+ ENCTYPE_DES_CBC_RAW.rst
+ ENCTYPE_DES_HMAC_SHA1.rst
+ ENCTYPE_DSA_SHA1_CMS.rst
+ ENCTYPE_MD5_RSA_CMS.rst
+ ENCTYPE_NULL.rst
+ ENCTYPE_RC2_CBC_ENV.rst
+ ENCTYPE_RSA_ENV.rst
+ ENCTYPE_RSA_ES_OAEP_ENV.rst
+ ENCTYPE_SHA1_RSA_CMS.rst
+ ENCTYPE_UNKNOWN.rst
+ KDC_OPT_ALLOW_POSTDATE.rst
+ KDC_OPT_CANONICALIZE.rst
+ KDC_OPT_CNAME_IN_ADDL_TKT.rst
+ KDC_OPT_DISABLE_TRANSITED_CHECK.rst
+ KDC_OPT_ENC_TKT_IN_SKEY.rst
+ KDC_OPT_FORWARDABLE.rst
+ KDC_OPT_FORWARDED.rst
+ KDC_OPT_POSTDATED.rst
+ KDC_OPT_PROXIABLE.rst
+ KDC_OPT_PROXY.rst
+ KDC_OPT_RENEW.rst
+ KDC_OPT_RENEWABLE.rst
+ KDC_OPT_RENEWABLE_OK.rst
+ KDC_OPT_REQUEST_ANONYMOUS.rst
+ KDC_OPT_VALIDATE.rst
+ KDC_TKT_COMMON_MASK.rst
+ KRB5_ALTAUTH_ATT_CHALLENGE_RESPONSE.rst
+ KRB5_ANONYMOUS_PRINCSTR.rst
+ KRB5_ANONYMOUS_REALMSTR.rst
+ KRB5_AP_REP.rst
+ KRB5_AP_REQ.rst
+ KRB5_AS_REP.rst
+ KRB5_AS_REQ.rst
+ KRB5_AUTHDATA_AND_OR.rst
+ KRB5_AUTHDATA_AUTH_INDICATOR.rst
+ KRB5_AUTHDATA_CAMMAC.rst
+ KRB5_AUTHDATA_ETYPE_NEGOTIATION.rst
+ KRB5_AUTHDATA_FX_ARMOR.rst
+ KRB5_AUTHDATA_IF_RELEVANT.rst
+ KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.rst
+ KRB5_AUTHDATA_KDC_ISSUED.rst
+ KRB5_AUTHDATA_MANDATORY_FOR_KDC.rst
+ KRB5_AUTHDATA_OSF_DCE.rst
+ KRB5_AUTHDATA_SESAME.rst
+ KRB5_AUTHDATA_SIGNTICKET.rst
+ KRB5_AUTHDATA_WIN2K_PAC.rst
+ KRB5_AUTH_CONTEXT_DO_SEQUENCE.rst
+ KRB5_AUTH_CONTEXT_DO_TIME.rst
+ KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR.rst
+ KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR.rst
+ KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR.rst
+ KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR.rst
+ KRB5_AUTH_CONTEXT_PERMIT_ALL.rst
+ KRB5_AUTH_CONTEXT_RET_SEQUENCE.rst
+ KRB5_AUTH_CONTEXT_RET_TIME.rst
+ KRB5_AUTH_CONTEXT_USE_SUBKEY.rst
+ KRB5_CRED.rst
+ KRB5_CRYPTO_TYPE_CHECKSUM.rst
+ KRB5_CRYPTO_TYPE_DATA.rst
+ KRB5_CRYPTO_TYPE_EMPTY.rst
+ KRB5_CRYPTO_TYPE_HEADER.rst
+ KRB5_CRYPTO_TYPE_PADDING.rst
+ KRB5_CRYPTO_TYPE_SIGN_ONLY.rst
+ KRB5_CRYPTO_TYPE_STREAM.rst
+ KRB5_CRYPTO_TYPE_TRAILER.rst
+ KRB5_CYBERSAFE_SECUREID.rst
+ KRB5_DOMAIN_X500_COMPRESS.rst
+ KRB5_ENCPADATA_REQ_ENC_PA_REP.rst
+ KRB5_ERROR.rst
+ KRB5_FAST_REQUIRED.rst
+ KRB5_GC_CACHED.rst
+ KRB5_GC_CANONICALIZE.rst
+ KRB5_GC_CONSTRAINED_DELEGATION.rst
+ KRB5_GC_FORWARDABLE.rst
+ KRB5_GC_NO_STORE.rst
+ KRB5_GC_NO_TRANSIT_CHECK.rst
+ KRB5_GC_USER_USER.rst
+ KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST.rst
+ KRB5_GET_INIT_CREDS_OPT_ANONYMOUS.rst
+ KRB5_GET_INIT_CREDS_OPT_CANONICALIZE.rst
+ KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT.rst
+ KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST.rst
+ KRB5_GET_INIT_CREDS_OPT_FORWARDABLE.rst
+ KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST.rst
+ KRB5_GET_INIT_CREDS_OPT_PROXIABLE.rst
+ KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE.rst
+ KRB5_GET_INIT_CREDS_OPT_SALT.rst
+ KRB5_GET_INIT_CREDS_OPT_TKT_LIFE.rst
+ KRB5_INIT_CONTEXT_SECURE.rst
+ KRB5_INIT_CONTEXT_KDC.rst
+ KRB5_INIT_CREDS_STEP_FLAG_CONTINUE.rst
+ KRB5_INT16_MAX.rst
+ KRB5_INT16_MIN.rst
+ KRB5_INT32_MAX.rst
+ KRB5_INT32_MIN.rst
+ KRB5_KEYUSAGE_AD_ITE.rst
+ KRB5_KEYUSAGE_AD_KDCISSUED_CKSUM.rst
+ KRB5_KEYUSAGE_AD_MTE.rst
+ KRB5_KEYUSAGE_AD_SIGNEDPATH.rst
+ KRB5_KEYUSAGE_APP_DATA_CKSUM.rst
+ KRB5_KEYUSAGE_APP_DATA_ENCRYPT.rst
+ KRB5_KEYUSAGE_AP_REP_ENCPART.rst
+ KRB5_KEYUSAGE_AP_REQ_AUTH.rst
+ KRB5_KEYUSAGE_AP_REQ_AUTH_CKSUM.rst
+ KRB5_KEYUSAGE_AS_REP_ENCPART.rst
+ KRB5_KEYUSAGE_AS_REQ.rst
+ KRB5_KEYUSAGE_AS_REQ_PA_ENC_TS.rst
+ KRB5_KEYUSAGE_CAMMAC.rst
+ KRB5_KEYUSAGE_ENC_CHALLENGE_CLIENT.rst
+ KRB5_KEYUSAGE_ENC_CHALLENGE_KDC.rst
+ KRB5_KEYUSAGE_FAST_ENC.rst
+ KRB5_KEYUSAGE_FAST_FINISHED.rst
+ KRB5_KEYUSAGE_FAST_REP.rst
+ KRB5_KEYUSAGE_FAST_REQ_CHKSUM.rst
+ KRB5_KEYUSAGE_GSS_TOK_MIC.rst
+ KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG.rst
+ KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV.rst
+ KRB5_KEYUSAGE_IAKERB_FINISHED.rst
+ KRB5_KEYUSAGE_KDC_REP_TICKET.rst
+ KRB5_KEYUSAGE_KRB_CRED_ENCPART.rst
+ KRB5_KEYUSAGE_KRB_ERROR_CKSUM.rst
+ KRB5_KEYUSAGE_KRB_PRIV_ENCPART.rst
+ KRB5_KEYUSAGE_KRB_SAFE_CKSUM.rst
+ KRB5_KEYUSAGE_PA_FX_COOKIE.rst
+ KRB5_KEYUSAGE_PA_OTP_REQUEST.rst
+ KRB5_KEYUSAGE_PA_PKINIT_KX.rst
+ KRB5_KEYUSAGE_PA_S4U_X509_USER_REPLY.rst
+ KRB5_KEYUSAGE_PA_S4U_X509_USER_REQUEST.rst
+ KRB5_KEYUSAGE_PA_SAM_CHALLENGE_CKSUM.rst
+ KRB5_KEYUSAGE_PA_SAM_CHALLENGE_TRACKID.rst
+ KRB5_KEYUSAGE_PA_SAM_RESPONSE.rst
+ KRB5_KEYUSAGE_TGS_REP_ENCPART_SESSKEY.rst
+ KRB5_KEYUSAGE_TGS_REP_ENCPART_SUBKEY.rst
+ KRB5_KEYUSAGE_TGS_REQ_AD_SESSKEY.rst
+ KRB5_KEYUSAGE_TGS_REQ_AD_SUBKEY.rst
+ KRB5_KEYUSAGE_TGS_REQ_AUTH.rst
+ KRB5_KEYUSAGE_TGS_REQ_AUTH_CKSUM.rst
+ KRB5_KPASSWD_ACCESSDENIED.rst
+ KRB5_KPASSWD_AUTHERROR.rst
+ KRB5_KPASSWD_BAD_VERSION.rst
+ KRB5_KPASSWD_HARDERROR.rst
+ KRB5_KPASSWD_INITIAL_FLAG_NEEDED.rst
+ KRB5_KPASSWD_MALFORMED.rst
+ KRB5_KPASSWD_SOFTERROR.rst
+ KRB5_KPASSWD_SUCCESS.rst
+ KRB5_LRQ_ALL_ACCT_EXPTIME.rst
+ KRB5_LRQ_ALL_LAST_INITIAL.rst
+ KRB5_LRQ_ALL_LAST_RENEWAL.rst
+ KRB5_LRQ_ALL_LAST_REQ.rst
+ KRB5_LRQ_ALL_LAST_TGT.rst
+ KRB5_LRQ_ALL_LAST_TGT_ISSUED.rst
+ KRB5_LRQ_ALL_PW_EXPTIME.rst
+ KRB5_LRQ_NONE.rst
+ KRB5_LRQ_ONE_ACCT_EXPTIME.rst
+ KRB5_LRQ_ONE_LAST_INITIAL.rst
+ KRB5_LRQ_ONE_LAST_RENEWAL.rst
+ KRB5_LRQ_ONE_LAST_REQ.rst
+ KRB5_LRQ_ONE_LAST_TGT.rst
+ KRB5_LRQ_ONE_LAST_TGT_ISSUED.rst
+ KRB5_LRQ_ONE_PW_EXPTIME.rst
+ KRB5_NT_ENTERPRISE_PRINCIPAL.rst
+ KRB5_NT_ENT_PRINCIPAL_AND_ID.rst
+ KRB5_NT_MS_PRINCIPAL.rst
+ KRB5_NT_MS_PRINCIPAL_AND_ID.rst
+ KRB5_NT_PRINCIPAL.rst
+ KRB5_NT_SMTP_NAME.rst
+ KRB5_NT_SRV_HST.rst
+ KRB5_NT_SRV_INST.rst
+ KRB5_NT_SRV_XHST.rst
+ KRB5_NT_UID.rst
+ KRB5_NT_UNKNOWN.rst
+ KRB5_NT_WELLKNOWN.rst
+ KRB5_NT_X500_PRINCIPAL.rst
+ KRB5_PAC_CLIENT_INFO.rst
+ KRB5_PAC_CREDENTIALS_INFO.rst
+ KRB5_PAC_DELEGATION_INFO.rst
+ KRB5_PAC_LOGON_INFO.rst
+ KRB5_PAC_PRIVSVR_CHECKSUM.rst
+ KRB5_PAC_SERVER_CHECKSUM.rst
+ KRB5_PAC_UPN_DNS_INFO.rst
+ KRB5_PADATA_AFS3_SALT.rst
+ KRB5_PADATA_AP_REQ.rst
+ KRB5_PADATA_AS_CHECKSUM.rst
+ KRB5_PADATA_ENCRYPTED_CHALLENGE.rst
+ KRB5_PADATA_ENC_SANDIA_SECURID.rst
+ KRB5_PADATA_ENC_TIMESTAMP.rst
+ KRB5_PADATA_ENC_UNIX_TIME.rst
+ KRB5_PADATA_ETYPE_INFO.rst
+ KRB5_PADATA_ETYPE_INFO2.rst
+ KRB5_PADATA_FOR_USER.rst
+ KRB5_PADATA_FX_COOKIE.rst
+ KRB5_PADATA_FX_ERROR.rst
+ KRB5_PADATA_FX_FAST.rst
+ KRB5_PADATA_GET_FROM_TYPED_DATA.rst
+ KRB5_PADATA_NONE.rst
+ KRB5_PADATA_OSF_DCE.rst
+ KRB5_PADATA_OTP_CHALLENGE.rst
+ KRB5_PADATA_OTP_PIN_CHANGE.rst
+ KRB5_PADATA_OTP_REQUEST.rst
+ KRB5_PADATA_PAC_REQUEST.rst
+ KRB5_PADATA_PKINIT_KX.rst
+ KRB5_PADATA_PK_AS_REP.rst
+ KRB5_PADATA_PK_AS_REP_OLD.rst
+ KRB5_PADATA_PK_AS_REQ.rst
+ KRB5_PADATA_PK_AS_REQ_OLD.rst
+ KRB5_PADATA_PW_SALT.rst
+ KRB5_PADATA_REFERRAL.rst
+ KRB5_PADATA_S4U_X509_USER.rst
+ KRB5_PADATA_SAM_CHALLENGE.rst
+ KRB5_PADATA_SAM_CHALLENGE_2.rst
+ KRB5_PADATA_SAM_REDIRECT.rst
+ KRB5_PADATA_SAM_RESPONSE.rst
+ KRB5_PADATA_SAM_RESPONSE_2.rst
+ KRB5_PADATA_SESAME.rst
+ KRB5_PADATA_SVR_REFERRAL_INFO.rst
+ KRB5_PADATA_TGS_REQ.rst
+ KRB5_PADATA_USE_SPECIFIED_KVNO.rst
+ KRB5_PRINCIPAL_COMPARE_CASEFOLD.rst
+ KRB5_PRINCIPAL_COMPARE_ENTERPRISE.rst
+ KRB5_PRINCIPAL_COMPARE_IGNORE_REALM.rst
+ KRB5_PRINCIPAL_COMPARE_UTF8.rst
+ KRB5_PRINCIPAL_PARSE_ENTERPRISE.rst
+ KRB5_PRINCIPAL_PARSE_IGNORE_REALM.rst
+ KRB5_PRINCIPAL_PARSE_NO_REALM.rst
+ KRB5_PRINCIPAL_PARSE_REQUIRE_REALM.rst
+ KRB5_PRINCIPAL_UNPARSE_DISPLAY.rst
+ KRB5_PRINCIPAL_UNPARSE_NO_REALM.rst
+ KRB5_PRINCIPAL_UNPARSE_SHORT.rst
+ KRB5_PRIV.rst
+ KRB5_PROMPT_TYPE_NEW_PASSWORD.rst
+ KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN.rst
+ KRB5_PROMPT_TYPE_PASSWORD.rst
+ KRB5_PROMPT_TYPE_PREAUTH.rst
+ KRB5_PVNO.rst
+ KRB5_REALM_BRANCH_CHAR.rst
+ KRB5_RECVAUTH_BADAUTHVERS.rst
+ KRB5_RECVAUTH_SKIP_VERSION.rst
+ KRB5_REFERRAL_REALM.rst
+ KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_COUNT_LOW.rst
+ KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_FINAL_TRY.rst
+ KRB5_RESPONDER_PKINIT_FLAGS_TOKEN_USER_PIN_LOCKED.rst
+ KRB5_RESPONDER_QUESTION_PKINIT.rst
+ KRB5_RESPONDER_OTP_FLAGS_COLLECT_PIN.rst
+ KRB5_RESPONDER_OTP_FLAGS_COLLECT_TOKEN.rst
+ KRB5_RESPONDER_OTP_FLAGS_NEXTOTP.rst
+ KRB5_RESPONDER_OTP_FLAGS_SEPARATE_PIN.rst
+ KRB5_RESPONDER_OTP_FORMAT_ALPHANUMERIC.rst
+ KRB5_RESPONDER_OTP_FORMAT_DECIMAL.rst
+ KRB5_RESPONDER_OTP_FORMAT_HEXADECIMAL.rst
+ KRB5_RESPONDER_QUESTION_OTP.rst
+ KRB5_RESPONDER_QUESTION_PASSWORD.rst
+ KRB5_SAFE.rst
+ KRB5_SAM_MUST_PK_ENCRYPT_SAD.rst
+ KRB5_SAM_SEND_ENCRYPTED_SAD.rst
+ KRB5_SAM_USE_SAD_AS_KEY.rst
+ KRB5_TC_MATCH_2ND_TKT.rst
+ KRB5_TC_MATCH_AUTHDATA.rst
+ KRB5_TC_MATCH_FLAGS.rst
+ KRB5_TC_MATCH_FLAGS_EXACT.rst
+ KRB5_TC_MATCH_IS_SKEY.rst
+ KRB5_TC_MATCH_KTYPE.rst
+ KRB5_TC_MATCH_SRV_NAMEONLY.rst
+ KRB5_TC_MATCH_TIMES.rst
+ KRB5_TC_MATCH_TIMES_EXACT.rst
+ KRB5_TC_NOTICKET.rst
+ KRB5_TC_OPENCLOSE.rst
+ KRB5_TC_SUPPORTED_KTYPES.rst
+ KRB5_TGS_NAME.rst
+ KRB5_TGS_NAME_SIZE.rst
+ KRB5_TGS_REP.rst
+ KRB5_TGS_REQ.rst
+ KRB5_TKT_CREDS_STEP_FLAG_CONTINUE.rst
+ KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL.rst
+ KRB5_WELLKNOWN_NAMESTR.rst
+ LR_TYPE_INTERPRETATION_MASK.rst
+ LR_TYPE_THIS_SERVER_ONLY.rst
+ MAX_KEYTAB_NAME_LEN.rst
+ MSEC_DIRBIT.rst
+ MSEC_VAL_MASK.rst
+ SALT_TYPE_AFS_LENGTH.rst
+ SALT_TYPE_NO_LENGTH.rst
+ THREEPARAMOPEN.rst
+ TKT_FLG_ANONYMOUS.rst
+ TKT_FLG_ENC_PA_REP.rst
+ TKT_FLG_FORWARDABLE.rst
+ TKT_FLG_FORWARDED.rst
+ TKT_FLG_HW_AUTH.rst
+ TKT_FLG_INITIAL.rst
+ TKT_FLG_INVALID.rst
+ TKT_FLG_MAY_POSTDATE.rst
+ TKT_FLG_OK_AS_DELEGATE.rst
+ TKT_FLG_POSTDATED.rst
+ TKT_FLG_PRE_AUTH.rst
+ TKT_FLG_PROXIABLE.rst
+ TKT_FLG_PROXY.rst
+ TKT_FLG_RENEWABLE.rst
+ TKT_FLG_TRANSIT_POLICY_CHECKED.rst
+ VALID_INT_BITS.rst
+ VALID_UINT_BITS.rst
+ krb5_const.rst
+ krb5_princ_component.rst
+ krb5_princ_name.rst
+ krb5_princ_realm.rst
+ krb5_princ_set_realm.rst
+ krb5_princ_set_realm_data.rst
+ krb5_princ_set_realm_length.rst
+ krb5_princ_size.rst
+ krb5_princ_type.rst
+ krb5_roundup.rst
+ krb5_x.rst
+ krb5_xc.rst
+
+Deprecated macros
+------------------------------
+
+.. toctree::
+ :maxdepth: 1
+
+ krb524_convert_creds_kdc.rst
+ krb524_init_ets.rst
diff --git a/doc/html/_sources/appdev/refs/macros/krb524_convert_creds_kdc.txt b/doc/html/_sources/appdev/refs/macros/krb524_convert_creds_kdc.txt
new file mode 100644
index 000000000000..6fe88946eecd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb524_convert_creds_kdc.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb524-convert-creds-kdc-data:
+
+krb524_convert_creds_kdc
+========================
+
+..
+.. data:: krb524_convert_creds_kdc
+..
+
+
+
+
+=============================== ======================
+``krb524_convert_creds_kdc`` ``krb5_524_convert_creds``
+=============================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb524_init_ets.txt b/doc/html/_sources/appdev/refs/macros/krb524_init_ets.txt
new file mode 100644
index 000000000000..fdde042f22fd
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb524_init_ets.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb524-init-ets-data:
+
+krb524_init_ets
+===============
+
+..
+.. data:: krb524_init_ets
+..
+
+
+
+
+========================= ======================
+``krb524_init_ets (x)`` ``(0)``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_const.txt b/doc/html/_sources/appdev/refs/macros/krb5_const.txt
new file mode 100644
index 000000000000..6e9a508d2d67
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_const.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-const-data:
+
+krb5_const
+==========
+
+..
+.. data:: krb5_const
+..
+
+
+
+
+================= ======================
+``krb5_const`` ``const``
+================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_princ_component.txt b/doc/html/_sources/appdev/refs/macros/krb5_princ_component.txt
new file mode 100644
index 000000000000..25178cd73ebe
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_princ_component.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-princ-component-data:
+
+krb5_princ_component
+====================
+
+..
+.. data:: krb5_princ_component
+..
+
+
+
+
+============================================== ======================
+``krb5_princ_component (context, princ, i)`` ``(((i) < krb5_princ_size(context, princ)) ? (princ)->data + (i) : NULL)``
+============================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_princ_name.txt b/doc/html/_sources/appdev/refs/macros/krb5_princ_name.txt
new file mode 100644
index 000000000000..13a9fac3a223
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_princ_name.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-princ-name-data:
+
+krb5_princ_name
+===============
+
+..
+.. data:: krb5_princ_name
+..
+
+
+
+
+====================================== ======================
+``krb5_princ_name (context, princ)`` ``(princ)->data``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_princ_realm.txt b/doc/html/_sources/appdev/refs/macros/krb5_princ_realm.txt
new file mode 100644
index 000000000000..f9bef3a1f298
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_princ_realm.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-princ-realm-data:
+
+krb5_princ_realm
+================
+
+..
+.. data:: krb5_princ_realm
+..
+
+
+
+
+======================================= ======================
+``krb5_princ_realm (context, princ)`` ``(&(princ)->realm)``
+======================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm.txt b/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm.txt
new file mode 100644
index 000000000000..37040c9a142a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-princ-set-realm-data:
+
+krb5_princ_set_realm
+====================
+
+..
+.. data:: krb5_princ_set_realm
+..
+
+
+
+
+================================================== ======================
+``krb5_princ_set_realm (context, princ, value)`` ``((princ)->realm = *(value))``
+================================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm_data.txt b/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm_data.txt
new file mode 100644
index 000000000000..576e955e6b31
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm_data.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-princ-set-realm-data-data:
+
+krb5_princ_set_realm_data
+=========================
+
+..
+.. data:: krb5_princ_set_realm_data
+..
+
+
+
+
+======================================================= ======================
+``krb5_princ_set_realm_data (context, princ, value)`` ``(princ)->realm.data = (value)``
+======================================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm_length.txt b/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm_length.txt
new file mode 100644
index 000000000000..c4cba13c1dda
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_princ_set_realm_length.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-princ-set-realm-length-data:
+
+krb5_princ_set_realm_length
+===========================
+
+..
+.. data:: krb5_princ_set_realm_length
+..
+
+
+
+
+========================================================= ======================
+``krb5_princ_set_realm_length (context, princ, value)`` ``(princ)->realm.length = (value)``
+========================================================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_princ_size.txt b/doc/html/_sources/appdev/refs/macros/krb5_princ_size.txt
new file mode 100644
index 000000000000..1108a91e68db
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_princ_size.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-princ-size-data:
+
+krb5_princ_size
+===============
+
+..
+.. data:: krb5_princ_size
+..
+
+
+
+
+====================================== ======================
+``krb5_princ_size (context, princ)`` ``(princ)->length``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_princ_type.txt b/doc/html/_sources/appdev/refs/macros/krb5_princ_type.txt
new file mode 100644
index 000000000000..394afd0fe8b4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_princ_type.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-princ-type-data:
+
+krb5_princ_type
+===============
+
+..
+.. data:: krb5_princ_type
+..
+
+
+
+
+====================================== ======================
+``krb5_princ_type (context, princ)`` ``(princ)->type``
+====================================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_roundup.txt b/doc/html/_sources/appdev/refs/macros/krb5_roundup.txt
new file mode 100644
index 000000000000..660d7b9014e0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_roundup.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-roundup-data:
+
+krb5_roundup
+============
+
+..
+.. data:: krb5_roundup
+..
+
+
+
+
+========================= ======================
+``krb5_roundup (x, y)`` ``((((x) + (y) - 1)/(y))*(y))``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_x.txt b/doc/html/_sources/appdev/refs/macros/krb5_x.txt
new file mode 100644
index 000000000000..083d406b1349
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_x.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-x-data:
+
+krb5_x
+======
+
+..
+.. data:: krb5_x
+..
+
+
+
+
+======================== ======================
+``krb5_x (ptr, args)`` ``((ptr)?((*(ptr)) args):(abort(),1))``
+======================== ======================
diff --git a/doc/html/_sources/appdev/refs/macros/krb5_xc.txt b/doc/html/_sources/appdev/refs/macros/krb5_xc.txt
new file mode 100644
index 000000000000..5bfbfc90595f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/macros/krb5_xc.txt
@@ -0,0 +1,17 @@
+.. highlightlang:: c
+
+.. _krb5-xc-data:
+
+krb5_xc
+=======
+
+..
+.. data:: krb5_xc
+..
+
+
+
+
+========================= ======================
+``krb5_xc (ptr, args)`` ``((ptr)?((*(ptr)) args):(abort(),(char*)0))``
+========================= ======================
diff --git a/doc/html/_sources/appdev/refs/types/index.txt b/doc/html/_sources/appdev/refs/types/index.txt
new file mode 100644
index 000000000000..dc414cfdebe1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/index.txt
@@ -0,0 +1,109 @@
+krb5 types and structures
+=========================
+
+Public
+-------
+
+.. toctree::
+ :maxdepth: 1
+
+ krb5_address.rst
+ krb5_addrtype.rst
+ krb5_ap_req.rst
+ krb5_ap_rep.rst
+ krb5_ap_rep_enc_part.rst
+ krb5_authdata.rst
+ krb5_authdatatype.rst
+ krb5_authenticator.rst
+ krb5_boolean.rst
+ krb5_checksum.rst
+ krb5_const_pointer.rst
+ krb5_const_principal.rst
+ krb5_cred.rst
+ krb5_cred_enc_part.rst
+ krb5_cred_info.rst
+ krb5_creds.rst
+ krb5_crypto_iov.rst
+ krb5_cryptotype.rst
+ krb5_data.rst
+ krb5_deltat.rst
+ krb5_enc_data.rst
+ krb5_enc_kdc_rep_part.rst
+ krb5_enc_tkt_part.rst
+ krb5_encrypt_block.rst
+ krb5_enctype.rst
+ krb5_error.rst
+ krb5_error_code.rst
+ krb5_expire_callback_func.rst
+ krb5_flags.rst
+ krb5_get_init_creds_opt.rst
+ krb5_gic_opt_pa_data.rst
+ krb5_int16.rst
+ krb5_int32.rst
+ krb5_kdc_rep.rst
+ krb5_kdc_req.rst
+ krb5_keyblock.rst
+ krb5_keytab_entry.rst
+ krb5_keyusage.rst
+ krb5_kt_cursor.rst
+ krb5_kvno.rst
+ krb5_last_req_entry.rst
+ krb5_magic.rst
+ krb5_mk_req_checksum_func.rst
+ krb5_msgtype.rst
+ krb5_octet.rst
+ krb5_pa_pac_req.rst
+ krb5_pa_server_referral_data.rst
+ krb5_pa_svr_referral_data.rst
+ krb5_pa_data.rst
+ krb5_pointer.rst
+ krb5_post_recv_fn.rst
+ krb5_pre_send_fn.rst
+ krb5_preauthtype.rst
+ krb5_principal.rst
+ krb5_principal_data.rst
+ krb5_const_principal.rst
+ krb5_prompt.rst
+ krb5_prompt_type.rst
+ krb5_prompter_fct.rst
+ krb5_pwd_data.rst
+ krb5_responder_context.rst
+ krb5_responder_fn.rst
+ krb5_responder_otp_challenge.rst
+ krb5_responder_otp_tokeninfo.rst
+ krb5_responder_pkinit_challenge.rst
+ krb5_responder_pkinit_identity.rst
+ krb5_response.rst
+ krb5_replay_data.rst
+ krb5_ticket.rst
+ krb5_ticket_times.rst
+ krb5_timestamp.rst
+ krb5_tkt_authent.rst
+ krb5_trace_callback.rst
+ krb5_trace_info.rst
+ krb5_transited.rst
+ krb5_typed_data.rst
+ krb5_ui_2.rst
+ krb5_ui_4.rst
+ krb5_verify_init_creds_opt.rst
+ passwd_phrase_element.rst
+
+
+Internal
+---------
+
+.. toctree::
+ :maxdepth: 1
+
+ krb5_auth_context.rst
+ krb5_cksumtype
+ krb5_context.rst
+ krb5_cc_cursor.rst
+ krb5_ccache.rst
+ krb5_cccol_cursor.rst
+ krb5_init_creds_context.rst
+ krb5_key.rst
+ krb5_keytab.rst
+ krb5_pac.rst
+ krb5_rcache.rst
+ krb5_tkt_creds_context.rst
diff --git a/doc/html/_sources/appdev/refs/types/krb5_address.txt b/doc/html/_sources/appdev/refs/types/krb5_address.txt
new file mode 100644
index 000000000000..1d65d712ab48
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_address.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-address-struct:
+
+krb5_address
+============
+
+..
+.. c:type:: krb5_address
+..
+
+Structure for address.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_address krb5_address
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_address.magic
+
+
+
+
+.. c:member:: krb5_addrtype krb5_address.addrtype
+
+
+
+
+.. c:member:: unsigned int krb5_address.length
+
+
+
+
+.. c:member:: krb5_octet * krb5_address.contents
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_addrtype.txt b/doc/html/_sources/appdev/refs/types/krb5_addrtype.txt
new file mode 100644
index 000000000000..d2dcbc85fb98
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_addrtype.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-addrtype-struct:
+
+krb5_addrtype
+=============
+
+..
+.. c:type:: krb5_addrtype
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_addrtype
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_ap_rep.txt b/doc/html/_sources/appdev/refs/types/krb5_ap_rep.txt
new file mode 100644
index 000000000000..f05a1139fa0b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_ap_rep.txt
@@ -0,0 +1,35 @@
+.. highlightlang:: c
+
+.. _krb5-ap-rep-struct:
+
+krb5_ap_rep
+===========
+
+..
+.. c:type:: krb5_ap_rep
+..
+
+C representaton of AP-REP message.
+
+The server's response to a client's request for mutual authentication.
+
+Declaration
+------------
+
+typedef struct _krb5_ap_rep krb5_ap_rep
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_ap_rep.magic
+
+
+
+
+.. c:member:: krb5_enc_data krb5_ap_rep.enc_part
+
+ Ciphertext of ApRepEncPart.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_ap_rep_enc_part.txt b/doc/html/_sources/appdev/refs/types/krb5_ap_rep_enc_part.txt
new file mode 100644
index 000000000000..73b7b1559fef
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_ap_rep_enc_part.txt
@@ -0,0 +1,50 @@
+.. highlightlang:: c
+
+.. _krb5-ap-rep-enc-part-struct:
+
+krb5_ap_rep_enc_part
+====================
+
+..
+.. c:type:: krb5_ap_rep_enc_part
+..
+
+Cleartext that is encrypted and put into :c:type:`_krb5_ap_rep` .
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_ap_rep_enc_part krb5_ap_rep_enc_part
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_ap_rep_enc_part.magic
+
+
+
+
+.. c:member:: krb5_timestamp krb5_ap_rep_enc_part.ctime
+
+ Client time, seconds portion.
+
+
+.. c:member:: krb5_int32 krb5_ap_rep_enc_part.cusec
+
+ Client time, microseconds portion.
+
+
+.. c:member:: krb5_keyblock * krb5_ap_rep_enc_part.subkey
+
+ Subkey (optional)
+
+
+.. c:member:: krb5_ui_4 krb5_ap_rep_enc_part.seq_number
+
+ Sequence number.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_ap_req.txt b/doc/html/_sources/appdev/refs/types/krb5_ap_req.txt
new file mode 100644
index 000000000000..9806c1729fdf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_ap_req.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-ap-req-struct:
+
+krb5_ap_req
+===========
+
+..
+.. c:type:: krb5_ap_req
+..
+
+Authentication header.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_ap_req krb5_ap_req
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_ap_req.magic
+
+
+
+
+.. c:member:: krb5_flags krb5_ap_req.ap_options
+
+ Requested options.
+
+
+.. c:member:: krb5_ticket * krb5_ap_req.ticket
+
+ Ticket.
+
+
+.. c:member:: krb5_enc_data krb5_ap_req.authenticator
+
+ Encrypted authenticator.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_auth_context.txt b/doc/html/_sources/appdev/refs/types/krb5_auth_context.txt
new file mode 100644
index 000000000000..8266b6c6566f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_auth_context.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-auth-context-struct:
+
+krb5_auth_context
+=================
+
+..
+.. c:type:: krb5_auth_context
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_auth_context\* krb5_auth_context
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_authdata.txt b/doc/html/_sources/appdev/refs/types/krb5_authdata.txt
new file mode 100644
index 000000000000..ef4d4c13d754
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_authdata.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-authdata-struct:
+
+krb5_authdata
+=============
+
+..
+.. c:type:: krb5_authdata
+..
+
+Structure for auth data.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_authdata krb5_authdata
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_authdata.magic
+
+
+
+
+.. c:member:: krb5_authdatatype krb5_authdata.ad_type
+
+ ADTYPE.
+
+
+.. c:member:: unsigned int krb5_authdata.length
+
+ Length of data.
+
+
+.. c:member:: krb5_octet * krb5_authdata.contents
+
+ Data.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_authdatatype.txt b/doc/html/_sources/appdev/refs/types/krb5_authdatatype.txt
new file mode 100644
index 000000000000..933b168ebc42
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_authdatatype.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-authdatatype-struct:
+
+krb5_authdatatype
+=================
+
+..
+.. c:type:: krb5_authdatatype
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_authdatatype
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_authenticator.txt b/doc/html/_sources/appdev/refs/types/krb5_authenticator.txt
new file mode 100644
index 000000000000..a0601400c79f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_authenticator.txt
@@ -0,0 +1,65 @@
+.. highlightlang:: c
+
+.. _krb5-authenticator-struct:
+
+krb5_authenticator
+==================
+
+..
+.. c:type:: krb5_authenticator
+..
+
+Ticket authenticator.
+
+The C representation of an unencrypted authenticator.
+
+Declaration
+------------
+
+typedef struct _krb5_authenticator krb5_authenticator
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_authenticator.magic
+
+
+
+
+.. c:member:: krb5_principal krb5_authenticator.client
+
+ client name/realm
+
+
+.. c:member:: krb5_checksum * krb5_authenticator.checksum
+
+ checksum, includes type, optional
+
+
+.. c:member:: krb5_int32 krb5_authenticator.cusec
+
+ client usec portion
+
+
+.. c:member:: krb5_timestamp krb5_authenticator.ctime
+
+ client sec portion
+
+
+.. c:member:: krb5_keyblock * krb5_authenticator.subkey
+
+ true session key, optional
+
+
+.. c:member:: krb5_ui_4 krb5_authenticator.seq_number
+
+ sequence #, optional
+
+
+.. c:member:: krb5_authdata ** krb5_authenticator.authorization_data
+
+ authoriazation data
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_boolean.txt b/doc/html/_sources/appdev/refs/types/krb5_boolean.txt
new file mode 100644
index 000000000000..6ee72b3ad2b9
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_boolean.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-boolean-struct:
+
+krb5_boolean
+============
+
+..
+.. c:type:: krb5_boolean
+..
+
+
+
+
+Declaration
+------------
+
+typedef unsigned int krb5_boolean
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_cc_cursor.txt b/doc/html/_sources/appdev/refs/types/krb5_cc_cursor.txt
new file mode 100644
index 000000000000..a570794059dc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_cc_cursor.txt
@@ -0,0 +1,21 @@
+.. highlightlang:: c
+
+.. _krb5-cc-cursor-struct:
+
+krb5_cc_cursor
+==============
+
+..
+.. c:type:: krb5_cc_cursor
+..
+
+Cursor for sequential lookup.
+
+
+
+Declaration
+------------
+
+typedef krb5_pointer krb5_cc_cursor
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_ccache.txt b/doc/html/_sources/appdev/refs/types/krb5_ccache.txt
new file mode 100644
index 000000000000..4c96cc8e66a0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_ccache.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-ccache-struct:
+
+krb5_ccache
+===========
+
+..
+.. c:type:: krb5_ccache
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_ccache\* krb5_ccache
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_cccol_cursor.txt b/doc/html/_sources/appdev/refs/types/krb5_cccol_cursor.txt
new file mode 100644
index 000000000000..20ee4e0f691c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_cccol_cursor.txt
@@ -0,0 +1,21 @@
+.. highlightlang:: c
+
+.. _krb5-cccol-cursor-struct:
+
+krb5_cccol_cursor
+=================
+
+..
+.. c:type:: krb5_cccol_cursor
+..
+
+Cursor for iterating over all ccaches.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_cccol_cursor\* krb5_cccol_cursor
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_checksum.txt b/doc/html/_sources/appdev/refs/types/krb5_checksum.txt
new file mode 100644
index 000000000000..0e970fd6be68
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_checksum.txt
@@ -0,0 +1,44 @@
+.. highlightlang:: c
+
+.. _krb5-checksum-struct:
+
+krb5_checksum
+=============
+
+..
+.. c:type:: krb5_checksum
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_checksum krb5_checksum
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_checksum.magic
+
+
+
+
+.. c:member:: krb5_cksumtype krb5_checksum.checksum_type
+
+
+
+
+.. c:member:: unsigned int krb5_checksum.length
+
+
+
+
+.. c:member:: krb5_octet * krb5_checksum.contents
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_cksumtype.txt b/doc/html/_sources/appdev/refs/types/krb5_cksumtype.txt
new file mode 100644
index 000000000000..c901dfc406b8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_cksumtype.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-cksumtype-struct:
+
+krb5_cksumtype
+==============
+
+..
+.. c:type:: krb5_cksumtype
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_cksumtype
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_const_pointer.txt b/doc/html/_sources/appdev/refs/types/krb5_const_pointer.txt
new file mode 100644
index 000000000000..05da0826be59
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_const_pointer.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-const-pointer-struct:
+
+krb5_const_pointer
+==================
+
+..
+.. c:type:: krb5_const_pointer
+..
+
+
+
+
+Declaration
+------------
+
+typedef void const\* krb5_const_pointer
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_const_principal.txt b/doc/html/_sources/appdev/refs/types/krb5_const_principal.txt
new file mode 100644
index 000000000000..b30d3f70c135
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_const_principal.txt
@@ -0,0 +1,50 @@
+.. highlightlang:: c
+
+.. _krb5-const-principal-struct:
+
+krb5_const_principal
+====================
+
+..
+.. c:type:: krb5_const_principal
+..
+
+Constant version of :c:type:`krb5_principal_data` .
+
+
+
+Declaration
+------------
+
+typedef const krb5_principal_data\* krb5_const_principal
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_const_principal.magic
+
+
+
+
+.. c:member:: krb5_data krb5_const_principal.realm
+
+
+
+
+.. c:member:: krb5_data * krb5_const_principal.data
+
+ An array of strings.
+
+
+.. c:member:: krb5_int32 krb5_const_principal.length
+
+
+
+
+.. c:member:: krb5_int32 krb5_const_principal.type
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_context.txt b/doc/html/_sources/appdev/refs/types/krb5_context.txt
new file mode 100644
index 000000000000..51bce12a9d09
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_context.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-context-struct:
+
+krb5_context
+============
+
+..
+.. c:type:: krb5_context
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_context\* krb5_context
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_cred.txt b/doc/html/_sources/appdev/refs/types/krb5_cred.txt
new file mode 100644
index 000000000000..61f1691d4f46
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_cred.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-cred-struct:
+
+krb5_cred
+=========
+
+..
+.. c:type:: krb5_cred
+..
+
+Credentials data structure.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_cred krb5_cred
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_cred.magic
+
+
+
+
+.. c:member:: krb5_ticket ** krb5_cred.tickets
+
+ Tickets.
+
+
+.. c:member:: krb5_enc_data krb5_cred.enc_part
+
+ Encrypted part.
+
+
+.. c:member:: krb5_cred_enc_part * krb5_cred.enc_part2
+
+ Unencrypted version, if available.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_cred_enc_part.txt b/doc/html/_sources/appdev/refs/types/krb5_cred_enc_part.txt
new file mode 100644
index 000000000000..eee6a8a3f3d2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_cred_enc_part.txt
@@ -0,0 +1,60 @@
+.. highlightlang:: c
+
+.. _krb5-cred-enc-part-struct:
+
+krb5_cred_enc_part
+==================
+
+..
+.. c:type:: krb5_cred_enc_part
+..
+
+Cleartext credentials information.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_cred_enc_part krb5_cred_enc_part
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_cred_enc_part.magic
+
+
+
+
+.. c:member:: krb5_int32 krb5_cred_enc_part.nonce
+
+ Nonce (optional)
+
+
+.. c:member:: krb5_timestamp krb5_cred_enc_part.timestamp
+
+ Generation time, seconds portion.
+
+
+.. c:member:: krb5_int32 krb5_cred_enc_part.usec
+
+ Generation time, microseconds portion.
+
+
+.. c:member:: krb5_address * krb5_cred_enc_part.s_address
+
+ Sender address (optional)
+
+
+.. c:member:: krb5_address * krb5_cred_enc_part.r_address
+
+ Recipient address (optional)
+
+
+.. c:member:: krb5_cred_info ** krb5_cred_enc_part.ticket_info
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_cred_info.txt b/doc/html/_sources/appdev/refs/types/krb5_cred_info.txt
new file mode 100644
index 000000000000..20cb7998fb42
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_cred_info.txt
@@ -0,0 +1,60 @@
+.. highlightlang:: c
+
+.. _krb5-cred-info-struct:
+
+krb5_cred_info
+==============
+
+..
+.. c:type:: krb5_cred_info
+..
+
+Credentials information inserted into *EncKrbCredPart* .
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_cred_info krb5_cred_info
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_cred_info.magic
+
+
+
+
+.. c:member:: krb5_keyblock * krb5_cred_info.session
+
+ Session key used to encrypt ticket.
+
+
+.. c:member:: krb5_principal krb5_cred_info.client
+
+ Client principal and realm.
+
+
+.. c:member:: krb5_principal krb5_cred_info.server
+
+ Server principal and realm.
+
+
+.. c:member:: krb5_flags krb5_cred_info.flags
+
+ Ticket flags.
+
+
+.. c:member:: krb5_ticket_times krb5_cred_info.times
+
+ Auth, start, end, renew_till.
+
+
+.. c:member:: krb5_address ** krb5_cred_info.caddrs
+
+ Array of pointers to addrs (optional)
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_creds.txt b/doc/html/_sources/appdev/refs/types/krb5_creds.txt
new file mode 100644
index 000000000000..caa91fd180c7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_creds.txt
@@ -0,0 +1,80 @@
+.. highlightlang:: c
+
+.. _krb5-creds-struct:
+
+krb5_creds
+==========
+
+..
+.. c:type:: krb5_creds
+..
+
+Credentials structure including ticket, session key, and lifetime info.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_creds krb5_creds
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_creds.magic
+
+
+
+
+.. c:member:: krb5_principal krb5_creds.client
+
+ client's principal identifier
+
+
+.. c:member:: krb5_principal krb5_creds.server
+
+ server's principal identifier
+
+
+.. c:member:: krb5_keyblock krb5_creds.keyblock
+
+ session encryption key info
+
+
+.. c:member:: krb5_ticket_times krb5_creds.times
+
+ lifetime info
+
+
+.. c:member:: krb5_boolean krb5_creds.is_skey
+
+ true if ticket is encrypted in another ticket's skey
+
+
+.. c:member:: krb5_flags krb5_creds.ticket_flags
+
+ flags in ticket
+
+
+.. c:member:: krb5_address ** krb5_creds.addresses
+
+ addrs in ticket
+
+
+.. c:member:: krb5_data krb5_creds.ticket
+
+ ticket string itself
+
+
+.. c:member:: krb5_data krb5_creds.second_ticket
+
+ second ticket, if related to ticket (via DUPLICATE-SKEY or ENC-TKT-IN-SKEY)
+
+
+.. c:member:: krb5_authdata ** krb5_creds.authdata
+
+ authorization data
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_crypto_iov.txt b/doc/html/_sources/appdev/refs/types/krb5_crypto_iov.txt
new file mode 100644
index 000000000000..7ede1928b608
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_crypto_iov.txt
@@ -0,0 +1,35 @@
+.. highlightlang:: c
+
+.. _krb5-crypto-iov-struct:
+
+krb5_crypto_iov
+===============
+
+..
+.. c:type:: krb5_crypto_iov
+..
+
+Structure to describe a region of text to be encrypted or decrypted.
+
+The *flags* member describes the type of the iov. The *data* member points to the memory that will be manipulated. All iov APIs take a pointer to the first element of an array of krb5_crypto_iov's along with the size of that array. Buffer contents are manipulated in-place; data is overwritten. Callers must allocate the right number of krb5_crypto_iov structures before calling into an iov API.
+
+Declaration
+------------
+
+typedef struct _krb5_crypto_iov krb5_crypto_iov
+
+
+Members
+---------
+
+
+.. c:member:: krb5_cryptotype krb5_crypto_iov.flags
+
+ :c:data:`KRB5_CRYPTO_TYPE` type of the iov
+
+
+.. c:member:: krb5_data krb5_crypto_iov.data
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_cryptotype.txt b/doc/html/_sources/appdev/refs/types/krb5_cryptotype.txt
new file mode 100644
index 000000000000..8cc46bfa6d73
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_cryptotype.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-cryptotype-struct:
+
+krb5_cryptotype
+===============
+
+..
+.. c:type:: krb5_cryptotype
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_cryptotype
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_data.txt b/doc/html/_sources/appdev/refs/types/krb5_data.txt
new file mode 100644
index 000000000000..7bc2c0ec2e43
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_data.txt
@@ -0,0 +1,39 @@
+.. highlightlang:: c
+
+.. _krb5-data-struct:
+
+krb5_data
+=========
+
+..
+.. c:type:: krb5_data
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_data krb5_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_data.magic
+
+
+
+
+.. c:member:: unsigned int krb5_data.length
+
+
+
+
+.. c:member:: char * krb5_data.data
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_deltat.txt b/doc/html/_sources/appdev/refs/types/krb5_deltat.txt
new file mode 100644
index 000000000000..acc6193a04ff
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_deltat.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-deltat-struct:
+
+krb5_deltat
+===========
+
+..
+.. c:type:: krb5_deltat
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_deltat
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_enc_data.txt b/doc/html/_sources/appdev/refs/types/krb5_enc_data.txt
new file mode 100644
index 000000000000..b5109f75c946
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_enc_data.txt
@@ -0,0 +1,44 @@
+.. highlightlang:: c
+
+.. _krb5-enc-data-struct:
+
+krb5_enc_data
+=============
+
+..
+.. c:type:: krb5_enc_data
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_enc_data krb5_enc_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_enc_data.magic
+
+
+
+
+.. c:member:: krb5_enctype krb5_enc_data.enctype
+
+
+
+
+.. c:member:: krb5_kvno krb5_enc_data.kvno
+
+
+
+
+.. c:member:: krb5_data krb5_enc_data.ciphertext
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_enc_kdc_rep_part.txt b/doc/html/_sources/appdev/refs/types/krb5_enc_kdc_rep_part.txt
new file mode 100644
index 000000000000..1c5f129a690e
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_enc_kdc_rep_part.txt
@@ -0,0 +1,80 @@
+.. highlightlang:: c
+
+.. _krb5-enc-kdc-rep-part-struct:
+
+krb5_enc_kdc_rep_part
+=====================
+
+..
+.. c:type:: krb5_enc_kdc_rep_part
+..
+
+C representation of *EncKDCRepPart* protocol message.
+
+This is the cleartext message that is encrypted and inserted in *KDC-REP* .
+
+Declaration
+------------
+
+typedef struct _krb5_enc_kdc_rep_part krb5_enc_kdc_rep_part
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_enc_kdc_rep_part.magic
+
+
+
+
+.. c:member:: krb5_msgtype krb5_enc_kdc_rep_part.msg_type
+
+ krb5 message type
+
+
+.. c:member:: krb5_keyblock * krb5_enc_kdc_rep_part.session
+
+ Session key.
+
+
+.. c:member:: krb5_last_req_entry ** krb5_enc_kdc_rep_part.last_req
+
+ Array of pointers to entries.
+
+
+.. c:member:: krb5_int32 krb5_enc_kdc_rep_part.nonce
+
+ Nonce from request.
+
+
+.. c:member:: krb5_timestamp krb5_enc_kdc_rep_part.key_exp
+
+ Expiration date.
+
+
+.. c:member:: krb5_flags krb5_enc_kdc_rep_part.flags
+
+ Ticket flags.
+
+
+.. c:member:: krb5_ticket_times krb5_enc_kdc_rep_part.times
+
+ Lifetime info.
+
+
+.. c:member:: krb5_principal krb5_enc_kdc_rep_part.server
+
+ Server's principal identifier.
+
+
+.. c:member:: krb5_address ** krb5_enc_kdc_rep_part.caddrs
+
+ Array of ptrs to addrs, optional.
+
+
+.. c:member:: krb5_pa_data ** krb5_enc_kdc_rep_part.enc_padata
+
+ Encrypted preauthentication data.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_enc_tkt_part.txt b/doc/html/_sources/appdev/refs/types/krb5_enc_tkt_part.txt
new file mode 100644
index 000000000000..8079fb4ff456
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_enc_tkt_part.txt
@@ -0,0 +1,65 @@
+.. highlightlang:: c
+
+.. _krb5-enc-tkt-part-struct:
+
+krb5_enc_tkt_part
+=================
+
+..
+.. c:type:: krb5_enc_tkt_part
+..
+
+Encrypted part of ticket.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_enc_tkt_part krb5_enc_tkt_part
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_enc_tkt_part.magic
+
+
+
+
+.. c:member:: krb5_flags krb5_enc_tkt_part.flags
+
+ flags
+
+
+.. c:member:: krb5_keyblock * krb5_enc_tkt_part.session
+
+ session key: includes enctype
+
+
+.. c:member:: krb5_principal krb5_enc_tkt_part.client
+
+ client name/realm
+
+
+.. c:member:: krb5_transited krb5_enc_tkt_part.transited
+
+ list of transited realms
+
+
+.. c:member:: krb5_ticket_times krb5_enc_tkt_part.times
+
+ auth, start, end, renew_till
+
+
+.. c:member:: krb5_address ** krb5_enc_tkt_part.caddrs
+
+ array of ptrs to addresses
+
+
+.. c:member:: krb5_authdata ** krb5_enc_tkt_part.authorization_data
+
+ auth data
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_encrypt_block.txt b/doc/html/_sources/appdev/refs/types/krb5_encrypt_block.txt
new file mode 100644
index 000000000000..5b83893cd0a8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_encrypt_block.txt
@@ -0,0 +1,39 @@
+.. highlightlang:: c
+
+.. _krb5-encrypt-block-struct:
+
+krb5_encrypt_block
+==================
+
+..
+.. c:type:: krb5_encrypt_block
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_encrypt_block krb5_encrypt_block
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_encrypt_block.magic
+
+
+
+
+.. c:member:: krb5_enctype krb5_encrypt_block.crypto_entry
+
+
+
+
+.. c:member:: krb5_keyblock * krb5_encrypt_block.key
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_enctype.txt b/doc/html/_sources/appdev/refs/types/krb5_enctype.txt
new file mode 100644
index 000000000000..bd1544548f50
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_enctype.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-enctype-struct:
+
+krb5_enctype
+============
+
+..
+.. c:type:: krb5_enctype
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_enctype
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_error.txt b/doc/html/_sources/appdev/refs/types/krb5_error.txt
new file mode 100644
index 000000000000..a160da5423d2
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_error.txt
@@ -0,0 +1,75 @@
+.. highlightlang:: c
+
+.. _krb5-error-struct:
+
+krb5_error
+==========
+
+..
+.. c:type:: krb5_error
+..
+
+Error message structure.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_error krb5_error
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_error.magic
+
+
+
+
+.. c:member:: krb5_timestamp krb5_error.ctime
+
+ Client sec portion; optional.
+
+
+.. c:member:: krb5_int32 krb5_error.cusec
+
+ Client usec portion; optional.
+
+
+.. c:member:: krb5_int32 krb5_error.susec
+
+ Server usec portion.
+
+
+.. c:member:: krb5_timestamp krb5_error.stime
+
+ Server sec portion.
+
+
+.. c:member:: krb5_ui_4 krb5_error.error
+
+ Error code (protocol error #'s)
+
+
+.. c:member:: krb5_principal krb5_error.client
+
+ Client principal and realm.
+
+
+.. c:member:: krb5_principal krb5_error.server
+
+ Server principal and realm.
+
+
+.. c:member:: krb5_data krb5_error.text
+
+ Descriptive text.
+
+
+.. c:member:: krb5_data krb5_error.e_data
+
+ Additional error-describing data.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_error_code.txt b/doc/html/_sources/appdev/refs/types/krb5_error_code.txt
new file mode 100644
index 000000000000..60a3b728e0f3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_error_code.txt
@@ -0,0 +1,21 @@
+.. highlightlang:: c
+
+.. _krb5-error-code-struct:
+
+krb5_error_code
+===============
+
+..
+.. c:type:: krb5_error_code
+..
+
+Used to convey an operation status.
+
+The value 0 indicates success; any other values are com_err codes. Use :c:func:`krb5_get_error_message()` to obtain a string describing the error.
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_error_code
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_expire_callback_func.txt b/doc/html/_sources/appdev/refs/types/krb5_expire_callback_func.txt
new file mode 100644
index 000000000000..81acfe2f5a75
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_expire_callback_func.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-expire-callback-func-struct:
+
+krb5_expire_callback_func
+=========================
+
+..
+.. c:type:: krb5_expire_callback_func
+..
+
+
+
+
+Declaration
+------------
+
+typedef void( \* krb5_expire_callback_func)(krb5_context context, void \*data, krb5_timestamp password_expiration, krb5_timestamp account_expiration, krb5_boolean is_last_req)
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_flags.txt b/doc/html/_sources/appdev/refs/types/krb5_flags.txt
new file mode 100644
index 000000000000..0efb2046ca40
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_flags.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-flags-struct:
+
+krb5_flags
+==========
+
+..
+.. c:type:: krb5_flags
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_flags
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_get_init_creds_opt.txt b/doc/html/_sources/appdev/refs/types/krb5_get_init_creds_opt.txt
new file mode 100644
index 000000000000..52e8e36a170b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_get_init_creds_opt.txt
@@ -0,0 +1,80 @@
+.. highlightlang:: c
+
+.. _krb5-get-init-creds-opt-struct:
+
+krb5_get_init_creds_opt
+=======================
+
+..
+.. c:type:: krb5_get_init_creds_opt
+..
+
+Store options for *_krb5_get_init_creds* .
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_get_init_creds_opt krb5_get_init_creds_opt
+
+
+Members
+---------
+
+
+.. c:member:: krb5_flags krb5_get_init_creds_opt.flags
+
+
+
+
+.. c:member:: krb5_deltat krb5_get_init_creds_opt.tkt_life
+
+
+
+
+.. c:member:: krb5_deltat krb5_get_init_creds_opt.renew_life
+
+
+
+
+.. c:member:: int krb5_get_init_creds_opt.forwardable
+
+
+
+
+.. c:member:: int krb5_get_init_creds_opt.proxiable
+
+
+
+
+.. c:member:: krb5_enctype * krb5_get_init_creds_opt.etype_list
+
+
+
+
+.. c:member:: int krb5_get_init_creds_opt.etype_list_length
+
+
+
+
+.. c:member:: krb5_address ** krb5_get_init_creds_opt.address_list
+
+
+
+
+.. c:member:: krb5_preauthtype * krb5_get_init_creds_opt.preauth_list
+
+
+
+
+.. c:member:: int krb5_get_init_creds_opt.preauth_list_length
+
+
+
+
+.. c:member:: krb5_data * krb5_get_init_creds_opt.salt
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_gic_opt_pa_data.txt b/doc/html/_sources/appdev/refs/types/krb5_gic_opt_pa_data.txt
new file mode 100644
index 000000000000..665e3cd05b55
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_gic_opt_pa_data.txt
@@ -0,0 +1,35 @@
+.. highlightlang:: c
+
+.. _krb5-gic-opt-pa-data-struct:
+
+krb5_gic_opt_pa_data
+====================
+
+..
+.. c:type:: krb5_gic_opt_pa_data
+..
+
+Generic preauth option attribute/value pairs.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_gic_opt_pa_data krb5_gic_opt_pa_data
+
+
+Members
+---------
+
+
+.. c:member:: char * krb5_gic_opt_pa_data.attr
+
+
+
+
+.. c:member:: char * krb5_gic_opt_pa_data.value
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_init_creds_context.txt b/doc/html/_sources/appdev/refs/types/krb5_init_creds_context.txt
new file mode 100644
index 000000000000..73be70af14c0
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_init_creds_context.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-init-creds-context-struct:
+
+krb5_init_creds_context
+=======================
+
+..
+.. c:type:: krb5_init_creds_context
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_init_creds_context\* krb5_init_creds_context
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_int16.txt b/doc/html/_sources/appdev/refs/types/krb5_int16.txt
new file mode 100644
index 000000000000..06ca8e603e66
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_int16.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-int16-struct:
+
+krb5_int16
+==========
+
+..
+.. c:type:: krb5_int16
+..
+
+
+
+
+Declaration
+------------
+
+typedef int16_t krb5_int16
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_int32.txt b/doc/html/_sources/appdev/refs/types/krb5_int32.txt
new file mode 100644
index 000000000000..b97596f42c7d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_int32.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-int32-struct:
+
+krb5_int32
+==========
+
+..
+.. c:type:: krb5_int32
+..
+
+
+
+
+Declaration
+------------
+
+typedef int32_t krb5_int32
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_kdc_rep.txt b/doc/html/_sources/appdev/refs/types/krb5_kdc_rep.txt
new file mode 100644
index 000000000000..5071a8fa3e80
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_kdc_rep.txt
@@ -0,0 +1,60 @@
+.. highlightlang:: c
+
+.. _krb5-kdc-rep-struct:
+
+krb5_kdc_rep
+============
+
+..
+.. c:type:: krb5_kdc_rep
+..
+
+Representation of the *KDC-REP* protocol message.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_kdc_rep krb5_kdc_rep
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_kdc_rep.magic
+
+
+
+
+.. c:member:: krb5_msgtype krb5_kdc_rep.msg_type
+
+ KRB5_AS_REP or KRB5_KDC_REP.
+
+
+.. c:member:: krb5_pa_data ** krb5_kdc_rep.padata
+
+ Preauthentication data from KDC.
+
+
+.. c:member:: krb5_principal krb5_kdc_rep.client
+
+ Client principal and realm.
+
+
+.. c:member:: krb5_ticket * krb5_kdc_rep.ticket
+
+ Ticket.
+
+
+.. c:member:: krb5_enc_data krb5_kdc_rep.enc_part
+
+ Encrypted part of reply.
+
+
+.. c:member:: krb5_enc_kdc_rep_part * krb5_kdc_rep.enc_part2
+
+ Unencrypted version, if available.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_kdc_req.txt b/doc/html/_sources/appdev/refs/types/krb5_kdc_req.txt
new file mode 100644
index 000000000000..be8af1340dcb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_kdc_req.txt
@@ -0,0 +1,105 @@
+.. highlightlang:: c
+
+.. _krb5-kdc-req-struct:
+
+krb5_kdc_req
+============
+
+..
+.. c:type:: krb5_kdc_req
+..
+
+C representation of KDC-REQ protocol message, including KDC-REQ-BODY.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_kdc_req krb5_kdc_req
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_kdc_req.magic
+
+
+
+
+.. c:member:: krb5_msgtype krb5_kdc_req.msg_type
+
+ KRB5_AS_REQ or KRB5_TGS_REQ.
+
+
+.. c:member:: krb5_pa_data ** krb5_kdc_req.padata
+
+ Preauthentication data.
+
+
+.. c:member:: krb5_flags krb5_kdc_req.kdc_options
+
+ Requested options.
+
+
+.. c:member:: krb5_principal krb5_kdc_req.client
+
+ Client principal and realm.
+
+
+.. c:member:: krb5_principal krb5_kdc_req.server
+
+ Server principal and realm.
+
+
+.. c:member:: krb5_timestamp krb5_kdc_req.from
+
+ Requested start time.
+
+
+.. c:member:: krb5_timestamp krb5_kdc_req.till
+
+ Requested end time.
+
+
+.. c:member:: krb5_timestamp krb5_kdc_req.rtime
+
+ Requested renewable end time.
+
+
+.. c:member:: krb5_int32 krb5_kdc_req.nonce
+
+ Nonce to match request and response.
+
+
+.. c:member:: int krb5_kdc_req.nktypes
+
+ Number of enctypes.
+
+
+.. c:member:: krb5_enctype * krb5_kdc_req.ktype
+
+ Requested enctypes.
+
+
+.. c:member:: krb5_address ** krb5_kdc_req.addresses
+
+ Requested addresses (optional)
+
+
+.. c:member:: krb5_enc_data krb5_kdc_req.authorization_data
+
+ Encrypted authz data (optional)
+
+
+.. c:member:: krb5_authdata ** krb5_kdc_req.unenc_authdata
+
+ Unencrypted authz data.
+
+
+.. c:member:: krb5_ticket ** krb5_kdc_req.second_ticket
+
+ Second ticket array (optional)
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_key.txt b/doc/html/_sources/appdev/refs/types/krb5_key.txt
new file mode 100644
index 000000000000..d662446ace7f
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_key.txt
@@ -0,0 +1,21 @@
+.. highlightlang:: c
+
+.. _krb5-key-struct:
+
+krb5_key
+========
+
+..
+.. c:type:: krb5_key
+..
+
+Opaque identifier for a key.
+
+Use with the krb5_k APIs for better performance for repeated operations with the same key and usage. Key identifiers must not be used simultaneously within multiple threads, as they may contain mutable internal state and are not mutex-protected.
+
+Declaration
+------------
+
+typedef struct krb5_key_st\* krb5_key
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_keyblock.txt b/doc/html/_sources/appdev/refs/types/krb5_keyblock.txt
new file mode 100644
index 000000000000..ee3ec76006cc
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_keyblock.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-keyblock-struct:
+
+krb5_keyblock
+=============
+
+..
+.. c:type:: krb5_keyblock
+..
+
+Exposed contents of a key.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_keyblock krb5_keyblock
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_keyblock.magic
+
+
+
+
+.. c:member:: krb5_enctype krb5_keyblock.enctype
+
+
+
+
+.. c:member:: unsigned int krb5_keyblock.length
+
+
+
+
+.. c:member:: krb5_octet * krb5_keyblock.contents
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_keytab.txt b/doc/html/_sources/appdev/refs/types/krb5_keytab.txt
new file mode 100644
index 000000000000..c8b3e2601bc7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_keytab.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-keytab-struct:
+
+krb5_keytab
+===========
+
+..
+.. c:type:: krb5_keytab
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_kt\* krb5_keytab
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_keytab_entry.txt b/doc/html/_sources/appdev/refs/types/krb5_keytab_entry.txt
new file mode 100644
index 000000000000..81c2be7f5a13
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_keytab_entry.txt
@@ -0,0 +1,50 @@
+.. highlightlang:: c
+
+.. _krb5-keytab-entry-struct:
+
+krb5_keytab_entry
+=================
+
+..
+.. c:type:: krb5_keytab_entry
+..
+
+A key table entry.
+
+
+
+Declaration
+------------
+
+typedef struct krb5_keytab_entry_st krb5_keytab_entry
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_keytab_entry.magic
+
+
+
+
+.. c:member:: krb5_principal krb5_keytab_entry.principal
+
+ Principal of this key.
+
+
+.. c:member:: krb5_timestamp krb5_keytab_entry.timestamp
+
+ Time entry written to keytable.
+
+
+.. c:member:: krb5_kvno krb5_keytab_entry.vno
+
+ Key version number.
+
+
+.. c:member:: krb5_keyblock krb5_keytab_entry.key
+
+ The secret key.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_keyusage.txt b/doc/html/_sources/appdev/refs/types/krb5_keyusage.txt
new file mode 100644
index 000000000000..56885f787b07
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_keyusage.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-keyusage-struct:
+
+krb5_keyusage
+=============
+
+..
+.. c:type:: krb5_keyusage
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_keyusage
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_kt_cursor.txt b/doc/html/_sources/appdev/refs/types/krb5_kt_cursor.txt
new file mode 100644
index 000000000000..d08ea0039bbe
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_kt_cursor.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-kt-cursor-struct:
+
+krb5_kt_cursor
+==============
+
+..
+.. c:type:: krb5_kt_cursor
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_pointer krb5_kt_cursor
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_kvno.txt b/doc/html/_sources/appdev/refs/types/krb5_kvno.txt
new file mode 100644
index 000000000000..324ce12ca636
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_kvno.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-kvno-struct:
+
+krb5_kvno
+=========
+
+..
+.. c:type:: krb5_kvno
+..
+
+
+
+
+Declaration
+------------
+
+typedef unsigned int krb5_kvno
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_last_req_entry.txt b/doc/html/_sources/appdev/refs/types/krb5_last_req_entry.txt
new file mode 100644
index 000000000000..d7e6378726a1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_last_req_entry.txt
@@ -0,0 +1,40 @@
+.. highlightlang:: c
+
+.. _krb5-last-req-entry-struct:
+
+krb5_last_req_entry
+===================
+
+..
+.. c:type:: krb5_last_req_entry
+..
+
+Last request entry.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_last_req_entry krb5_last_req_entry
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_last_req_entry.magic
+
+
+
+
+.. c:member:: krb5_int32 krb5_last_req_entry.lr_type
+
+ LR type.
+
+
+.. c:member:: krb5_timestamp krb5_last_req_entry.value
+
+ Timestamp.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_magic.txt b/doc/html/_sources/appdev/refs/types/krb5_magic.txt
new file mode 100644
index 000000000000..3be2051db242
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_magic.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-magic-struct:
+
+krb5_magic
+==========
+
+..
+.. c:type:: krb5_magic
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_error_code krb5_magic
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_mk_req_checksum_func.txt b/doc/html/_sources/appdev/refs/types/krb5_mk_req_checksum_func.txt
new file mode 100644
index 000000000000..a8f34c8b2dd1
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_mk_req_checksum_func.txt
@@ -0,0 +1,21 @@
+.. highlightlang:: c
+
+.. _krb5-mk-req-checksum-func-struct:
+
+krb5_mk_req_checksum_func
+=========================
+
+..
+.. c:type:: krb5_mk_req_checksum_func
+..
+
+Type of function used as a callback to generate checksum data for mk_req.
+
+
+
+Declaration
+------------
+
+typedef krb5_error_code( \* krb5_mk_req_checksum_func)(krb5_context, krb5_auth_context, void \*, krb5_data \*\*)
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_msgtype.txt b/doc/html/_sources/appdev/refs/types/krb5_msgtype.txt
new file mode 100644
index 000000000000..5e93f24b77af
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_msgtype.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-msgtype-struct:
+
+krb5_msgtype
+============
+
+..
+.. c:type:: krb5_msgtype
+..
+
+
+
+
+Declaration
+------------
+
+typedef unsigned int krb5_msgtype
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_octet.txt b/doc/html/_sources/appdev/refs/types/krb5_octet.txt
new file mode 100644
index 000000000000..3ec5e33ddc72
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_octet.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-octet-struct:
+
+krb5_octet
+==========
+
+..
+.. c:type:: krb5_octet
+..
+
+
+
+
+Declaration
+------------
+
+typedef uint8_t krb5_octet
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_pa_data.txt b/doc/html/_sources/appdev/refs/types/krb5_pa_data.txt
new file mode 100644
index 000000000000..a594900e8718
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_pa_data.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-pa-data-struct:
+
+krb5_pa_data
+============
+
+..
+.. c:type:: krb5_pa_data
+..
+
+Pre-authentication data.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_pa_data krb5_pa_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_pa_data.magic
+
+
+
+
+.. c:member:: krb5_preauthtype krb5_pa_data.pa_type
+
+ Preauthentication data type.
+
+
+.. c:member:: unsigned int krb5_pa_data.length
+
+ Length of data.
+
+
+.. c:member:: krb5_octet * krb5_pa_data.contents
+
+ Data.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_pa_pac_req.txt b/doc/html/_sources/appdev/refs/types/krb5_pa_pac_req.txt
new file mode 100644
index 000000000000..e62edad75f6c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_pa_pac_req.txt
@@ -0,0 +1,29 @@
+.. highlightlang:: c
+
+.. _krb5-pa-pac-req-struct:
+
+krb5_pa_pac_req
+===============
+
+..
+.. c:type:: krb5_pa_pac_req
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_pa_pac_req krb5_pa_pac_req
+
+
+Members
+---------
+
+
+.. c:member:: krb5_boolean krb5_pa_pac_req.include_pac
+
+ TRUE if a PAC should be included in TGS-REP.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_pa_server_referral_data.txt b/doc/html/_sources/appdev/refs/types/krb5_pa_server_referral_data.txt
new file mode 100644
index 000000000000..59460d76c4e4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_pa_server_referral_data.txt
@@ -0,0 +1,49 @@
+.. highlightlang:: c
+
+.. _krb5-pa-server-referral-data-struct:
+
+krb5_pa_server_referral_data
+============================
+
+..
+.. c:type:: krb5_pa_server_referral_data
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_pa_server_referral_data krb5_pa_server_referral_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_data * krb5_pa_server_referral_data.referred_realm
+
+
+
+
+.. c:member:: krb5_principal krb5_pa_server_referral_data.true_principal_name
+
+
+
+
+.. c:member:: krb5_principal krb5_pa_server_referral_data.requested_principal_name
+
+
+
+
+.. c:member:: krb5_timestamp krb5_pa_server_referral_data.referral_valid_until
+
+
+
+
+.. c:member:: krb5_checksum krb5_pa_server_referral_data.rep_cksum
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_pa_svr_referral_data.txt b/doc/html/_sources/appdev/refs/types/krb5_pa_svr_referral_data.txt
new file mode 100644
index 000000000000..ea31606e7403
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_pa_svr_referral_data.txt
@@ -0,0 +1,29 @@
+.. highlightlang:: c
+
+.. _krb5-pa-svr-referral-data-struct:
+
+krb5_pa_svr_referral_data
+=========================
+
+..
+.. c:type:: krb5_pa_svr_referral_data
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_pa_svr_referral_data krb5_pa_svr_referral_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_principal krb5_pa_svr_referral_data.principal
+
+ Referred name, only realm is required.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_pac.txt b/doc/html/_sources/appdev/refs/types/krb5_pac.txt
new file mode 100644
index 000000000000..9903e8e301e8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_pac.txt
@@ -0,0 +1,21 @@
+.. highlightlang:: c
+
+.. _krb5-pac-struct:
+
+krb5_pac
+========
+
+..
+.. c:type:: krb5_pac
+..
+
+PAC data structure to convey authorization information.
+
+
+
+Declaration
+------------
+
+typedef struct krb5_pac_data\* krb5_pac
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_pointer.txt b/doc/html/_sources/appdev/refs/types/krb5_pointer.txt
new file mode 100644
index 000000000000..ff1588a551b3
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_pointer.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-pointer-struct:
+
+krb5_pointer
+============
+
+..
+.. c:type:: krb5_pointer
+..
+
+
+
+
+Declaration
+------------
+
+typedef void\* krb5_pointer
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_post_recv_fn.txt b/doc/html/_sources/appdev/refs/types/krb5_post_recv_fn.txt
new file mode 100644
index 000000000000..ed37b017798d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_post_recv_fn.txt
@@ -0,0 +1,22 @@
+.. highlightlang:: c
+
+.. _krb5-post-recv-fn-struct:
+
+krb5_post_recv_fn
+=================
+
+..
+.. c:type:: krb5_post_recv_fn
+..
+
+Hook function for inspecting or overriding KDC replies.
+
+If *code* is non-zero, KDC communication failed and *reply* should be ignored. The hook function may return *code* or a different error code, or may synthesize a reply by setting *new_reply_out* and return successfully.
+The hook function should use :c:func:`krb5_copy_data()` to construct the value for *new_reply_out* , to ensure that it can be freed correctly by the library.
+
+Declaration
+------------
+
+typedef krb5_error_code( \* krb5_post_recv_fn)(krb5_context context, void \*data, krb5_error_code code, const krb5_data \*realm, const krb5_data \*message, const krb5_data \*reply, krb5_data \*\*new_reply_out)
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_pre_send_fn.txt b/doc/html/_sources/appdev/refs/types/krb5_pre_send_fn.txt
new file mode 100644
index 000000000000..a0fa04fdcaaf
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_pre_send_fn.txt
@@ -0,0 +1,24 @@
+.. highlightlang:: c
+
+.. _krb5-pre-send-fn-struct:
+
+krb5_pre_send_fn
+================
+
+..
+.. c:type:: krb5_pre_send_fn
+..
+
+Hook function for inspecting or modifying messages sent to KDCs.
+
+If the hook function sets *reply_out* , *message* will not be sent to the KDC, and the given reply will used instead.
+If the hook function sets *new_message_out* , the given message will be sent to the KDC in place of *message* .
+If the hook function returns successfully without setting either output, *message* will be sent to the KDC normally.
+The hook function should use :c:func:`krb5_copy_data()` to construct the value for *new_message_out* or *reply_out* , to ensure that it can be freed correctly by the library.
+
+Declaration
+------------
+
+typedef krb5_error_code( \* krb5_pre_send_fn)(krb5_context context, void \*data, const krb5_data \*realm, const krb5_data \*message, krb5_data \*\*new_message_out, krb5_data \*\*new_reply_out)
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_preauthtype.txt b/doc/html/_sources/appdev/refs/types/krb5_preauthtype.txt
new file mode 100644
index 000000000000..601c6dee329a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_preauthtype.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-preauthtype-struct:
+
+krb5_preauthtype
+================
+
+..
+.. c:type:: krb5_preauthtype
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_preauthtype
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_principal.txt b/doc/html/_sources/appdev/refs/types/krb5_principal.txt
new file mode 100644
index 000000000000..38c2e9a65206
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_principal.txt
@@ -0,0 +1,49 @@
+.. highlightlang:: c
+
+.. _krb5-principal-struct:
+
+krb5_principal
+==============
+
+..
+.. c:type:: krb5_principal
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_principal_data\* krb5_principal
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_principal.magic
+
+
+
+
+.. c:member:: krb5_data krb5_principal.realm
+
+
+
+
+.. c:member:: krb5_data * krb5_principal.data
+
+ An array of strings.
+
+
+.. c:member:: krb5_int32 krb5_principal.length
+
+
+
+
+.. c:member:: krb5_int32 krb5_principal.type
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_principal_data.txt b/doc/html/_sources/appdev/refs/types/krb5_principal_data.txt
new file mode 100644
index 000000000000..f094f9cc4e56
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_principal_data.txt
@@ -0,0 +1,49 @@
+.. highlightlang:: c
+
+.. _krb5-principal-data-struct:
+
+krb5_principal_data
+===================
+
+..
+.. c:type:: krb5_principal_data
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct krb5_principal_data krb5_principal_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_principal_data.magic
+
+
+
+
+.. c:member:: krb5_data krb5_principal_data.realm
+
+
+
+
+.. c:member:: krb5_data * krb5_principal_data.data
+
+ An array of strings.
+
+
+.. c:member:: krb5_int32 krb5_principal_data.length
+
+
+
+
+.. c:member:: krb5_int32 krb5_principal_data.type
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_prompt.txt b/doc/html/_sources/appdev/refs/types/krb5_prompt.txt
new file mode 100644
index 000000000000..cfc16981d898
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_prompt.txt
@@ -0,0 +1,40 @@
+.. highlightlang:: c
+
+.. _krb5-prompt-struct:
+
+krb5_prompt
+===========
+
+..
+.. c:type:: krb5_prompt
+..
+
+Text for prompt used in prompter callback function.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_prompt krb5_prompt
+
+
+Members
+---------
+
+
+.. c:member:: char * krb5_prompt.prompt
+
+ The prompt to show to the user.
+
+
+.. c:member:: int krb5_prompt.hidden
+
+ Boolean; informative prompt or hidden (e.g.
+ PIN)
+
+.. c:member:: krb5_data * krb5_prompt.reply
+
+ Must be allocated before call to prompt routine.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_prompt_type.txt b/doc/html/_sources/appdev/refs/types/krb5_prompt_type.txt
new file mode 100644
index 000000000000..6495c65f5ceb
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_prompt_type.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-prompt-type-struct:
+
+krb5_prompt_type
+================
+
+..
+.. c:type:: krb5_prompt_type
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_prompt_type
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_prompter_fct.txt b/doc/html/_sources/appdev/refs/types/krb5_prompter_fct.txt
new file mode 100644
index 000000000000..66b8f6d23bf4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_prompter_fct.txt
@@ -0,0 +1,21 @@
+.. highlightlang:: c
+
+.. _krb5-prompter-fct-struct:
+
+krb5_prompter_fct
+=================
+
+..
+.. c:type:: krb5_prompter_fct
+..
+
+Pointer to a prompter callback function.
+
+
+
+Declaration
+------------
+
+typedef krb5_error_code( \* krb5_prompter_fct)(krb5_context context, void \*data, const char \*name, const char \*banner, int num_prompts, krb5_prompt prompts[])
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_pwd_data.txt b/doc/html/_sources/appdev/refs/types/krb5_pwd_data.txt
new file mode 100644
index 000000000000..67c03f76230d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_pwd_data.txt
@@ -0,0 +1,39 @@
+.. highlightlang:: c
+
+.. _krb5-pwd-data-struct:
+
+krb5_pwd_data
+=============
+
+..
+.. c:type:: krb5_pwd_data
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_pwd_data krb5_pwd_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_pwd_data.magic
+
+
+
+
+.. c:member:: int krb5_pwd_data.sequence_count
+
+
+
+
+.. c:member:: passwd_phrase_element ** krb5_pwd_data.element
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_rcache.txt b/doc/html/_sources/appdev/refs/types/krb5_rcache.txt
new file mode 100644
index 000000000000..43f17fe12529
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_rcache.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-rcache-struct:
+
+krb5_rcache
+===========
+
+..
+.. c:type:: krb5_rcache
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct krb5_rc_st\* krb5_rcache
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_replay_data.txt b/doc/html/_sources/appdev/refs/types/krb5_replay_data.txt
new file mode 100644
index 000000000000..0008fa68f196
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_replay_data.txt
@@ -0,0 +1,40 @@
+.. highlightlang:: c
+
+.. _krb5-replay-data-struct:
+
+krb5_replay_data
+================
+
+..
+.. c:type:: krb5_replay_data
+..
+
+Replay data.
+
+Sequence number and timestamp information output by :c:func:`krb5_rd_priv()` and :c:func:`krb5_rd_safe()` .
+
+Declaration
+------------
+
+typedef struct krb5_replay_data krb5_replay_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_timestamp krb5_replay_data.timestamp
+
+ Timestamp, seconds portion.
+
+
+.. c:member:: krb5_int32 krb5_replay_data.usec
+
+ Timestamp, microseconds portion.
+
+
+.. c:member:: krb5_ui_4 krb5_replay_data.seq
+
+ Sequence number.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_responder_context.txt b/doc/html/_sources/appdev/refs/types/krb5_responder_context.txt
new file mode 100644
index 000000000000..3a7eb217964b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_responder_context.txt
@@ -0,0 +1,22 @@
+.. highlightlang:: c
+
+.. _krb5-responder-context-struct:
+
+krb5_responder_context
+======================
+
+..
+.. c:type:: krb5_responder_context
+..
+
+A container for a set of preauthentication questions and answers.
+
+A responder context is supplied by the krb5 authentication system to a :c:type:`krb5_responder_fn` callback. It contains a list of questions and can receive answers. Questions contained in a responder context can be listed using :c:func:`krb5_responder_list_questions()` , retrieved using :c:func:`krb5_responder_get_challenge()` , or answered using :c:func:`krb5_responder_set_answer()` . The form of a question's challenge and answer depend on the question name.
+
+
+Declaration
+------------
+
+typedef struct krb5_responder_context_st\* krb5_responder_context
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_responder_fn.txt b/doc/html/_sources/appdev/refs/types/krb5_responder_fn.txt
new file mode 100644
index 000000000000..8fcd2e241c27
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_responder_fn.txt
@@ -0,0 +1,21 @@
+.. highlightlang:: c
+
+.. _krb5-responder-fn-struct:
+
+krb5_responder_fn
+=================
+
+..
+.. c:type:: krb5_responder_fn
+..
+
+Responder function for an initial credential exchange.
+
+If a required question is unanswered, the prompter may be called.
+
+Declaration
+------------
+
+typedef krb5_error_code( \* krb5_responder_fn)(krb5_context ctx, void \*data, krb5_responder_context rctx)
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_responder_otp_challenge.txt b/doc/html/_sources/appdev/refs/types/krb5_responder_otp_challenge.txt
new file mode 100644
index 000000000000..e46c7edf8924
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_responder_otp_challenge.txt
@@ -0,0 +1,34 @@
+.. highlightlang:: c
+
+.. _krb5-responder-otp-challenge-struct:
+
+krb5_responder_otp_challenge
+============================
+
+..
+.. c:type:: krb5_responder_otp_challenge
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_responder_otp_challenge krb5_responder_otp_challenge
+
+
+Members
+---------
+
+
+.. c:member:: char * krb5_responder_otp_challenge.service
+
+
+
+
+.. c:member:: krb5_responder_otp_tokeninfo ** krb5_responder_otp_challenge.tokeninfo
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_responder_otp_tokeninfo.txt b/doc/html/_sources/appdev/refs/types/krb5_responder_otp_tokeninfo.txt
new file mode 100644
index 000000000000..8c5c4b8d28ae
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_responder_otp_tokeninfo.txt
@@ -0,0 +1,59 @@
+.. highlightlang:: c
+
+.. _krb5-responder-otp-tokeninfo-struct:
+
+krb5_responder_otp_tokeninfo
+============================
+
+..
+.. c:type:: krb5_responder_otp_tokeninfo
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_responder_otp_tokeninfo krb5_responder_otp_tokeninfo
+
+
+Members
+---------
+
+
+.. c:member:: krb5_flags krb5_responder_otp_tokeninfo.flags
+
+
+
+
+.. c:member:: krb5_int32 krb5_responder_otp_tokeninfo.format
+
+
+
+
+.. c:member:: krb5_int32 krb5_responder_otp_tokeninfo.length
+
+
+
+
+.. c:member:: char * krb5_responder_otp_tokeninfo.vendor
+
+
+
+
+.. c:member:: char * krb5_responder_otp_tokeninfo.challenge
+
+
+
+
+.. c:member:: char * krb5_responder_otp_tokeninfo.token_id
+
+
+
+
+.. c:member:: char * krb5_responder_otp_tokeninfo.alg_id
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_responder_pkinit_challenge.txt b/doc/html/_sources/appdev/refs/types/krb5_responder_pkinit_challenge.txt
new file mode 100644
index 000000000000..f309cfc6726d
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_responder_pkinit_challenge.txt
@@ -0,0 +1,29 @@
+.. highlightlang:: c
+
+.. _krb5-responder-pkinit-challenge-struct:
+
+krb5_responder_pkinit_challenge
+===============================
+
+..
+.. c:type:: krb5_responder_pkinit_challenge
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_responder_pkinit_challenge krb5_responder_pkinit_challenge
+
+
+Members
+---------
+
+
+.. c:member:: krb5_responder_pkinit_identity ** krb5_responder_pkinit_challenge.identities
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_responder_pkinit_identity.txt b/doc/html/_sources/appdev/refs/types/krb5_responder_pkinit_identity.txt
new file mode 100644
index 000000000000..56f37226865c
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_responder_pkinit_identity.txt
@@ -0,0 +1,34 @@
+.. highlightlang:: c
+
+.. _krb5-responder-pkinit-identity-struct:
+
+krb5_responder_pkinit_identity
+==============================
+
+..
+.. c:type:: krb5_responder_pkinit_identity
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_responder_pkinit_identity krb5_responder_pkinit_identity
+
+
+Members
+---------
+
+
+.. c:member:: char * krb5_responder_pkinit_identity.identity
+
+
+
+
+.. c:member:: krb5_int32 krb5_responder_pkinit_identity.token_flags
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_response.txt b/doc/html/_sources/appdev/refs/types/krb5_response.txt
new file mode 100644
index 000000000000..4876233a4d58
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_response.txt
@@ -0,0 +1,49 @@
+.. highlightlang:: c
+
+.. _krb5-response-struct:
+
+krb5_response
+=============
+
+..
+.. c:type:: krb5_response
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_response krb5_response
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_response.magic
+
+
+
+
+.. c:member:: krb5_octet krb5_response.message_type
+
+
+
+
+.. c:member:: krb5_data krb5_response.response
+
+
+
+
+.. c:member:: krb5_int32 krb5_response.expected_nonce
+
+
+
+
+.. c:member:: krb5_timestamp krb5_response.request_time
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_ticket.txt b/doc/html/_sources/appdev/refs/types/krb5_ticket.txt
new file mode 100644
index 000000000000..2a809d4e66d4
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_ticket.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-ticket-struct:
+
+krb5_ticket
+===========
+
+..
+.. c:type:: krb5_ticket
+..
+
+Ticket structure.
+
+The C representation of the ticket message, with a pointer to the C representation of the encrypted part.
+
+Declaration
+------------
+
+typedef struct _krb5_ticket krb5_ticket
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_ticket.magic
+
+
+
+
+.. c:member:: krb5_principal krb5_ticket.server
+
+ server name/realm
+
+
+.. c:member:: krb5_enc_data krb5_ticket.enc_part
+
+ encryption type, kvno, encrypted encoding
+
+
+.. c:member:: krb5_enc_tkt_part * krb5_ticket.enc_part2
+
+ ptr to decrypted version, if available
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_ticket_times.txt b/doc/html/_sources/appdev/refs/types/krb5_ticket_times.txt
new file mode 100644
index 000000000000..57dab5d1b60b
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_ticket_times.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-ticket-times-struct:
+
+krb5_ticket_times
+=================
+
+..
+.. c:type:: krb5_ticket_times
+..
+
+Ticket start time, end time, and renewal duration.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_ticket_times krb5_ticket_times
+
+
+Members
+---------
+
+
+.. c:member:: krb5_timestamp krb5_ticket_times.authtime
+
+ Time at which KDC issued the initial ticket that corresponds to this ticket.
+
+
+.. c:member:: krb5_timestamp krb5_ticket_times.starttime
+
+ optional in ticket, if not present, use *authtime*
+
+
+.. c:member:: krb5_timestamp krb5_ticket_times.endtime
+
+ Ticket expiration time.
+
+
+.. c:member:: krb5_timestamp krb5_ticket_times.renew_till
+
+ Latest time at which renewal of ticket can be valid.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_timestamp.txt b/doc/html/_sources/appdev/refs/types/krb5_timestamp.txt
new file mode 100644
index 000000000000..e9263e49d1b7
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_timestamp.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-timestamp-struct:
+
+krb5_timestamp
+==============
+
+..
+.. c:type:: krb5_timestamp
+..
+
+
+
+
+Declaration
+------------
+
+typedef krb5_int32 krb5_timestamp
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_tkt_authent.txt b/doc/html/_sources/appdev/refs/types/krb5_tkt_authent.txt
new file mode 100644
index 000000000000..307c63f1623a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_tkt_authent.txt
@@ -0,0 +1,45 @@
+.. highlightlang:: c
+
+.. _krb5-tkt-authent-struct:
+
+krb5_tkt_authent
+================
+
+..
+.. c:type:: krb5_tkt_authent
+..
+
+Ticket authentication data.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_tkt_authent krb5_tkt_authent
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_tkt_authent.magic
+
+
+
+
+.. c:member:: krb5_ticket * krb5_tkt_authent.ticket
+
+
+
+
+.. c:member:: krb5_authenticator * krb5_tkt_authent.authenticator
+
+
+
+
+.. c:member:: krb5_flags krb5_tkt_authent.ap_options
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_tkt_creds_context.txt b/doc/html/_sources/appdev/refs/types/krb5_tkt_creds_context.txt
new file mode 100644
index 000000000000..398d42f3bc94
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_tkt_creds_context.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-tkt-creds-context-struct:
+
+krb5_tkt_creds_context
+======================
+
+..
+.. c:type:: krb5_tkt_creds_context
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_tkt_creds_context\* krb5_tkt_creds_context
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_trace_callback.txt b/doc/html/_sources/appdev/refs/types/krb5_trace_callback.txt
new file mode 100644
index 000000000000..b3bff56b696a
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_trace_callback.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-trace-callback-struct:
+
+krb5_trace_callback
+===================
+
+..
+.. c:type:: krb5_trace_callback
+..
+
+
+
+
+Declaration
+------------
+
+typedef void( \* krb5_trace_callback)(krb5_context context, const krb5_trace_info \*info, void \*cb_data)
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_trace_info.txt b/doc/html/_sources/appdev/refs/types/krb5_trace_info.txt
new file mode 100644
index 000000000000..7f303b671d21
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_trace_info.txt
@@ -0,0 +1,30 @@
+.. highlightlang:: c
+
+.. _krb5-trace-info-struct:
+
+krb5_trace_info
+===============
+
+..
+.. c:type:: krb5_trace_info
+..
+
+A wrapper for passing information to a *krb5_trace_callback* .
+
+Currently, it only contains the formatted message as determined the the format string and arguments of the tracing macro, but it may be extended to contain more fields in the future.
+
+Declaration
+------------
+
+typedef struct _krb5_trace_info krb5_trace_info
+
+
+Members
+---------
+
+
+.. c:member:: const char * krb5_trace_info.message
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_transited.txt b/doc/html/_sources/appdev/refs/types/krb5_transited.txt
new file mode 100644
index 000000000000..596647984747
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_transited.txt
@@ -0,0 +1,40 @@
+.. highlightlang:: c
+
+.. _krb5-transited-struct:
+
+krb5_transited
+==============
+
+..
+.. c:type:: krb5_transited
+..
+
+Structure for transited encoding.
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_transited krb5_transited
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_transited.magic
+
+
+
+
+.. c:member:: krb5_octet krb5_transited.tr_type
+
+ Transited encoding type.
+
+
+.. c:member:: krb5_data krb5_transited.tr_contents
+
+ Contents.
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_typed_data.txt b/doc/html/_sources/appdev/refs/types/krb5_typed_data.txt
new file mode 100644
index 000000000000..e3555eba6984
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_typed_data.txt
@@ -0,0 +1,44 @@
+.. highlightlang:: c
+
+.. _krb5-typed-data-struct:
+
+krb5_typed_data
+===============
+
+..
+.. c:type:: krb5_typed_data
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_typed_data krb5_typed_data
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic krb5_typed_data.magic
+
+
+
+
+.. c:member:: krb5_int32 krb5_typed_data.type
+
+
+
+
+.. c:member:: unsigned int krb5_typed_data.length
+
+
+
+
+.. c:member:: krb5_octet * krb5_typed_data.data
+
+
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_ui_2.txt b/doc/html/_sources/appdev/refs/types/krb5_ui_2.txt
new file mode 100644
index 000000000000..ce9c205bdca8
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_ui_2.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-ui-2-struct:
+
+krb5_ui_2
+=========
+
+..
+.. c:type:: krb5_ui_2
+..
+
+
+
+
+Declaration
+------------
+
+typedef uint16_t krb5_ui_2
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_ui_4.txt b/doc/html/_sources/appdev/refs/types/krb5_ui_4.txt
new file mode 100644
index 000000000000..b41ecb4b04ab
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_ui_4.txt
@@ -0,0 +1,20 @@
+.. highlightlang:: c
+
+.. _krb5-ui-4-struct:
+
+krb5_ui_4
+=========
+
+..
+.. c:type:: krb5_ui_4
+..
+
+
+
+
+Declaration
+------------
+
+typedef uint32_t krb5_ui_4
+
+
diff --git a/doc/html/_sources/appdev/refs/types/krb5_verify_init_creds_opt.txt b/doc/html/_sources/appdev/refs/types/krb5_verify_init_creds_opt.txt
new file mode 100644
index 000000000000..eaefb198df36
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/krb5_verify_init_creds_opt.txt
@@ -0,0 +1,34 @@
+.. highlightlang:: c
+
+.. _krb5-verify-init-creds-opt-struct:
+
+krb5_verify_init_creds_opt
+==========================
+
+..
+.. c:type:: krb5_verify_init_creds_opt
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _krb5_verify_init_creds_opt krb5_verify_init_creds_opt
+
+
+Members
+---------
+
+
+.. c:member:: krb5_flags krb5_verify_init_creds_opt.flags
+
+
+
+
+.. c:member:: int krb5_verify_init_creds_opt.ap_req_nofail
+
+ boolean
+
+
diff --git a/doc/html/_sources/appdev/refs/types/passwd_phrase_element.txt b/doc/html/_sources/appdev/refs/types/passwd_phrase_element.txt
new file mode 100644
index 000000000000..c4738c5e9662
--- /dev/null
+++ b/doc/html/_sources/appdev/refs/types/passwd_phrase_element.txt
@@ -0,0 +1,39 @@
+.. highlightlang:: c
+
+.. _passwd-phrase-element-struct:
+
+passwd_phrase_element
+=====================
+
+..
+.. c:type:: passwd_phrase_element
+..
+
+
+
+
+Declaration
+------------
+
+typedef struct _passwd_phrase_element passwd_phrase_element
+
+
+Members
+---------
+
+
+.. c:member:: krb5_magic passwd_phrase_element.magic
+
+
+
+
+.. c:member:: krb5_data * passwd_phrase_element.passwd
+
+
+
+
+.. c:member:: krb5_data * passwd_phrase_element.phrase
+
+
+
+
diff --git a/doc/html/_sources/basic/ccache_def.txt b/doc/html/_sources/basic/ccache_def.txt
new file mode 100644
index 000000000000..ff857f4f9422
--- /dev/null
+++ b/doc/html/_sources/basic/ccache_def.txt
@@ -0,0 +1,153 @@
+.. _ccache_definition:
+
+Credential cache
+================
+
+A credential cache (or "ccache") holds Kerberos credentials while they
+remain valid and, generally, while the user's session lasts, so that
+authenticating to a service multiple times (e.g., connecting to a web
+or mail server more than once) doesn't require contacting the KDC
+every time.
+
+A credential cache usually contains one initial ticket which is
+obtained using a password or another form of identity verification.
+If this ticket is a ticket-granting ticket, it can be used to obtain
+additional credentials without the password. Because the credential
+cache does not store the password, less long-term damage can be done
+to the user's account if the machine is compromised.
+
+A credentials cache stores a default client principal name, set when
+the cache is created. This is the name shown at the top of the
+:ref:`klist(1)` *-A* output.
+
+Each normal cache entry includes a service principal name, a client
+principal name (which, in some ccache types, need not be the same as
+the default), lifetime information, and flags, along with the
+credential itself. There are also other entries, indicated by special
+names, that store additional information.
+
+
+ccache types
+------------
+
+The credential cache interface, like the :ref:`keytab_definition` and
+:ref:`rcache_definition` interfaces, uses `TYPE:value` strings to
+indicate the type of credential cache and any associated cache naming
+data to use.
+
+There are several kinds of credentials cache supported in the MIT
+Kerberos library. Not all are supported on every platform. In most
+cases, it should be correct to use the default type built into the
+library.
+
+#. **API** is only implemented on Windows. It communicates with a
+ server process that holds the credentials in memory for the user,
+ rather than writing them to disk.
+
+#. **DIR** points to the storage location of the collection of the
+ credential caches in *FILE:* format. It is most useful when dealing
+ with multiple Kerberos realms and KDCs. For release 1.10 the
+ directory must already exist. In post-1.10 releases the
+ requirement is for parent directory to exist and the current
+ process must have permissions to create the directory if it does
+ not exist. See :ref:`col_ccache` for details. New in release 1.10.
+
+#. **FILE** caches are the simplest and most portable. A simple flat
+ file format is used to store one credential after another. This is
+ the default ccache type if no type is specified in a ccache name.
+
+#. **KCM** caches work by contacting a daemon process called ``kcm``
+ to perform cache operations. If the cache name is just ``KCM:``,
+ the default cache as determined by the KCM daemon will be used.
+ Newly created caches must generally be named ``KCM:uid:name``,
+ where *uid* is the effective user ID of the running process.
+
+ KCM client support is new in release 1.13. A KCM daemon has not
+ yet been implemented in MIT krb5, but the client will interoperate
+ with the KCM daemon implemented by Heimdal. OS X 10.7 and higher
+ provides a KCM daemon as part of the operating system, and the
+ **KCM** cache type is used as the default cache on that platform in
+ a default build.
+
+#. **KEYRING** is Linux-specific, and uses the kernel keyring support
+ to store credential data in unswappable kernel memory where only
+ the current user should be able to access it. The following
+ residual forms are supported:
+
+ * KEYRING:name
+ * KEYRING:process:name - process keyring
+ * KEYRING:thread:name - thread keyring
+
+ Starting with release 1.12 the *KEYRING* type supports collections.
+ The following new residual forms were added:
+
+ * KEYRING:session:name - session keyring
+ * KEYRING:user:name - user keyring
+ * KEYRING:persistent:uidnumber - persistent per-UID collection.
+ Unlike the user keyring, this collection survives after the user
+ logs out, until the cache credentials expire. This type of
+ ccache requires support from the kernel; otherwise, it will fall
+ back to the user keyring.
+
+ See :ref:`col_ccache` for details.
+
+#. **MEMORY** caches are for storage of credentials that don't need to
+ be made available outside of the current process. For example, a
+ memory ccache is used by :ref:`kadmin(1)` to store the
+ administrative ticket used to contact the admin server. Memory
+ ccaches are faster than file ccaches and are automatically
+ destroyed when the process exits.
+
+#. **MSLSA** is a Windows-specific cache type that accesses the
+ Windows credential store.
+
+
+.. _col_ccache:
+
+Collections of caches
+---------------------
+
+Some credential cache types can support collections of multiple
+caches. One of the caches in the collection is designated as the
+*primary* and will be used when the collection is resolved as a cache.
+When a collection-enabled cache type is the default cache for a
+process, applications can search the specified collection for a
+specific client principal, and GSSAPI applications will automatically
+select between the caches in the collection based on criteria such as
+the target service realm.
+
+Credential cache collections are new in release 1.10, with support
+from the **DIR** and **API** ccache types. Starting in release 1.12,
+collections are also supported by the **KEYRING** ccache type.
+Collections are supported by the **KCM** ccache type in release 1.13.
+
+
+Tool alterations to use cache collection
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+* :ref:`kdestroy(1)` *-A* will destroy all caches in the collection.
+* If the default cache type supports switching, :ref:`kinit(1)`
+ *princname* will search the collection for a matching cache and
+ store credentials there, or will store credentials in a new unique
+ cache of the default type if no existing cache for the principal
+ exists. Either way, kinit will switch to the selected cache.
+* :ref:`klist(1)` *-l* will list the caches in the collection.
+* :ref:`klist(1)` *-A* will show the content of all caches in the
+ collection.
+* :ref:`kswitch(1)` *-p princname* will search the collection for a
+ matching cache and switch to it.
+* :ref:`kswitch(1)` *-c cachename* will switch to a specified cache.
+
+
+Default ccache name
+-------------------
+
+The default credential cache name is determined by the following, in
+descending order of priority:
+
+#. The **KRB5CCNAME** environment variable. For example,
+ ``KRB5CCNAME=DIR:/mydir/``.
+
+#. The **default_ccache_name** profile variable in :ref:`libdefaults`.
+
+#. The hardcoded default, |ccache|.
diff --git a/doc/html/_sources/basic/date_format.txt b/doc/html/_sources/basic/date_format.txt
new file mode 100644
index 000000000000..6ee82ce6fb3c
--- /dev/null
+++ b/doc/html/_sources/basic/date_format.txt
@@ -0,0 +1,140 @@
+.. _datetime:
+
+Supported date and time formats
+===============================
+
+.. _duration:
+
+Time duration
+-------------
+
+This format is used to express a time duration in the Kerberos
+configuration files and user commands. The allowed formats are:
+
+ ====================== ============== ============
+ Format Example Value
+ ---------------------- -------------- ------------
+ h:m[:s] 36:00 36 hours
+ NdNhNmNs 8h30s 8 hours 30 seconds
+ N (number of seconds) 3600 1 hour
+ ====================== ============== ============
+
+Here *N* denotes a number, *d* - days, *h* - hours, *m* - minutes,
+*s* - seconds.
+
+.. note::
+
+ The time interval should not exceed 2147483647 seconds.
+
+Examples::
+
+ Request a ticket valid for one hour, five hours, 30 minutes
+ and 10 days respectively:
+
+ kinit -l 3600
+ kinit -l 5:00
+ kinit -l 30m
+ kinit -l "10d 0h 0m 0s"
+
+
+.. _getdate:
+
+getdate time
+------------
+
+Some of the kadmin and kdb5_util commands take a date-time in a
+human-readable format. Some of the acceptable date-time
+strings are:
+
+ +-----------+------------------+-----------------+
+ | | Format | Example |
+ +===========+==================+=================+
+ | Date | mm/dd/yy | 07/27/12 |
+ | +------------------+-----------------+
+ | | month dd, yyyy | Jul 27, 2012 |
+ | +------------------+-----------------+
+ | | yyyy-mm-dd | 2012-07-27 |
+ +-----------+------------------+-----------------+
+ | Absolute | HH:mm[:ss]pp | 08:30 PM |
+ | time +------------------+-----------------+
+ | | hh:mm[:ss] | 20:30 |
+ +-----------+------------------+-----------------+
+ | Relative | N tt | 30 sec |
+ | time | | |
+ +-----------+------------------+-----------------+
+ | Time zone | Z | EST |
+ | +------------------+-----------------+
+ | | z | -0400 |
+ +-----------+------------------+-----------------+
+
+(See :ref:`abbreviation`.)
+
+Examples::
+
+ Create a principal that expires on the date indicated:
+ addprinc test1 -expire "3/27/12 10:00:07 EST"
+ addprinc test2 -expire "January 23, 2015 10:05pm"
+ addprinc test3 -expire "22:00 GMT"
+ Add a principal that will expire in 30 minutes:
+ addprinc test4 -expire "30 minutes"
+
+
+.. _abstime:
+
+Absolute time
+-------------
+
+This rarely used date-time format can be noted in one of the
+following ways:
+
+
+ +------------------------+----------------------+--------------+
+ | Format | Example | Value |
+ +========================+======================+==============+
+ | yyyymmddhhmmss | 20141231235900 | One minute |
+ +------------------------+----------------------+ before 2015 |
+ | yyyy.mm.dd.hh.mm.ss | 2014.12.31.23.59.00 | |
+ +------------------------+----------------------+ |
+ | yymmddhhmmss | 141231235900 | |
+ +------------------------+----------------------+ |
+ | yy.mm.dd.hh.mm.ss | 14.12.31.23.59.00 | |
+ +------------------------+----------------------+ |
+ | dd-month-yyyy:hh:mm:ss | 31-Dec-2014:23:59:00 | |
+ +------------------------+----------------------+--------------+
+ | hh:mm:ss | 20:00:00 | 8 o'clock in |
+ +------------------------+----------------------+ the evening |
+ | hhmmss | 200000 | |
+ +------------------------+----------------------+--------------+
+
+(See :ref:`abbreviation`.)
+
+Example::
+
+ Set the default expiration date to July 27, 2012 at 20:30
+ default_principal_expiration = 20120727203000
+
+
+.. _abbreviation:
+
+Abbreviations used in this document
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+| *month* : locale’s month name or its abbreviation;
+| *dd* : day of month (01-31);
+| *HH* : hours (00-12);
+| *hh* : hours (00-23);
+| *mm* : in time - minutes (00-59); in date - month (01-12);
+| *N* : number;
+| *pp* : AM or PM;
+| *ss* : seconds (00-60);
+| *tt* : time units (hours, minutes, min, seconds, sec);
+| *yyyy* : year;
+| *yy* : last two digits of the year;
+| *Z* : alphabetic time zone abbreviation;
+| *z* : numeric time zone;
+
+.. note::
+
+ - If the date specification contains spaces, you may need to
+ enclose it in double quotes;
+ - All keywords are case-insensitive.
diff --git a/doc/html/_sources/basic/index.txt b/doc/html/_sources/basic/index.txt
new file mode 100644
index 000000000000..87a9b5472fa3
--- /dev/null
+++ b/doc/html/_sources/basic/index.txt
@@ -0,0 +1,14 @@
+.. _basic_concepts:
+
+Kerberos V5 concepts
+====================
+
+
+.. toctree::
+ :maxdepth: 1
+
+ ccache_def
+ keytab_def
+ rcache_def
+ stash_file_def
+ date_format
diff --git a/doc/html/_sources/basic/keytab_def.txt b/doc/html/_sources/basic/keytab_def.txt
new file mode 100644
index 000000000000..33ae67c6c75b
--- /dev/null
+++ b/doc/html/_sources/basic/keytab_def.txt
@@ -0,0 +1,61 @@
+.. _keytab_definition:
+
+keytab
+======
+
+A keytab (short for "key table") stores long-term keys for one or more
+principals. Keytabs are normally represented by files in a standard
+format, although in rare cases they can be represented in other ways.
+Keytabs are used most often to allow server applications to accept
+authentications from clients, but can also be used to obtain initial
+credentials for client applications.
+
+Keytabs are named using the format *type*\ ``:``\ *value*. Usually
+*type* is ``FILE`` and *value* is the absolute pathname of the file.
+Other possible values for *type* are ``SRVTAB``, which indicates a
+file in the deprecated Kerberos 4 srvtab format, and ``MEMORY``, which
+indicates a temporary keytab stored in the memory of the current
+process.
+
+A keytab contains one or more entries, where each entry consists of a
+timestamp (indicating when the entry was written to the keytab), a
+principal name, a key version number, an encryption type, and the
+encryption key itself.
+
+A keytab can be displayed using the :ref:`klist(1)` command with the
+``-k`` option. Keytabs can be created or appended to by extracting
+keys from the KDC database using the :ref:`kadmin(1)` :ref:`ktadd`
+command. Keytabs can be manipulated using the :ref:`ktutil(1)` and
+:ref:`k5srvutil(1)` commands.
+
+
+Default keytab
+--------------
+
+The default keytab is used by server applications if the application
+does not request a specific keytab. The name of the default keytab is
+determined by the following, in decreasing order of preference:
+
+#. The **KRB5_KTNAME** environment variable.
+
+#. The **default_keytab_name** profile variable in :ref:`libdefaults`.
+
+#. The hardcoded default, |keytab|.
+
+
+Default client keytab
+---------------------
+
+The default client keytab is used, if it is present and readable, to
+automatically obtain initial credentials for GSSAPI client
+applications. The principal name of the first entry in the client
+keytab is used by default when obtaining initial credentials. The
+name of the default client keytab is determined by the following, in
+decreasing order of preference:
+
+#. The **KRB5_CLIENT_KTNAME** environment variable.
+
+#. The **default_client_keytab_name** profile variable in
+ :ref:`libdefaults`.
+
+#. The hardcoded default, |ckeytab|.
diff --git a/doc/html/_sources/basic/rcache_def.txt b/doc/html/_sources/basic/rcache_def.txt
new file mode 100644
index 000000000000..2de953354ebe
--- /dev/null
+++ b/doc/html/_sources/basic/rcache_def.txt
@@ -0,0 +1,97 @@
+.. _rcache_definition:
+
+replay cache
+============
+
+A replay cache (or "rcache") keeps track of all authenticators
+recently presented to a service. If a duplicate authentication
+request is detected in the replay cache, an error message is sent to
+the application program.
+
+The replay cache interface, like the credential cache and
+:ref:`keytab_definition` interfaces, uses `type:value` strings to
+indicate the type of replay cache and any associated cache naming
+data to use.
+
+Background information
+----------------------
+
+Some Kerberos or GSSAPI services use a simple authentication mechanism
+where a message is sent containing an authenticator, which establishes
+the encryption key that the client will use for talking to the
+service. But nothing about that prevents an eavesdropper from
+recording the messages sent by the client, establishing a new
+connection, and re-sending or "replaying" the same messages; the
+replayed authenticator will establish the same encryption key for the
+new session, and the following messages will be decrypted and
+processed. The attacker may not know what the messages say, and can't
+generate new messages under the same encryption key, but in some
+instances it may be harmful to the user (or helpful to the attacker)
+to cause the server to see the same messages again a second time. For
+example, if the legitimate client sends "delete first message in
+mailbox", a replay from an attacker may delete another, different
+"first" message. (Protocol design to guard against such problems has
+been discussed in :rfc:`4120#section-10`.)
+
+Even if one protocol uses further protection to verify that the client
+side of the connection actually knows the encryption keys (and thus is
+presumably a legitimate user), if another service uses the same
+service principal name, it may be possible to record an authenticator
+used with the first protocol and "replay" it against the second.
+
+The replay cache mitigates these attacks somewhat, by keeping track of
+authenticators that have been seen until their five-minute window
+expires. Different authenticators generated by multiple connections
+from the same legitimate client will generally have different
+timestamps, and thus will not be considered the same.
+
+This mechanism isn't perfect. If a message is sent to one application
+server but a man-in-the-middle attacker can prevent it from actually
+arriving at that server, the attacker could then use the authenticator
+(once!) against a different service on the same host. This could be a
+problem if the message from the client included something more than
+authentication in the first message that could be useful to the
+attacker (which is uncommon; in most protocols the server has to
+indicate a successful authentication before the client sends
+additional messages), or if the simple act of presenting the
+authenticator triggers some interesting action in the service being
+attacked.
+
+Default rcache type
+-------------------
+
+There is currently only one implemented kind of replay cache, called
+**dfl**. It stores replay data in one file, occasionally rewriting it
+to purge old, expired entries.
+
+The default type can be overridden by the **KRB5RCACHETYPE**
+environment variable.
+
+The placement of the replay cache file is determined by the following:
+
+#. The **KRB5RCACHEDIR** environment variable;
+
+#. If KRB5RCACHEDIR is unspecified, on UNIX, the library
+ will fall back to the environment variable **TMPDIR**, and then to
+ a temporary directory determined at configuration time such as
+ */tmp* or */var/tmp*; on Windows, it will check the environment
+ variables *TEMP* and *TMP*, and fall back to the directory C:\\.
+
+Performance issues
+------------------
+
+Several known minor performance issues that may occur when replay
+cache is enabled on the Kerberos system include: delays due to writing
+the authenticator data to disk slowing down response time for very
+heavily loaded servers, and delays during the rewrite that may be
+unacceptable to high-performance services.
+
+For use cases where replays are adequately defended against for all
+protocols using a given service principal name, or where performance
+or other considerations outweigh the risk of replays, the special
+replay cache type "none" can be specified::
+
+ KRB5RCACHETYPE=none
+
+It doesn't record any information about authenticators, and reports
+that any authenticator seen is not a replay.
diff --git a/doc/html/_sources/basic/stash_file_def.txt b/doc/html/_sources/basic/stash_file_def.txt
new file mode 100644
index 000000000000..256e2c272d8d
--- /dev/null
+++ b/doc/html/_sources/basic/stash_file_def.txt
@@ -0,0 +1,25 @@
+.. _stash_definition:
+
+
+stash file
+============
+
+The stash file is a local copy of the master key that resides in
+encrypted form on the KDC's local disk. The stash file is used to
+authenticate the KDC to itself automatically before starting the
+:ref:`kadmind(8)` and :ref:`krb5kdc(8)` daemons (e.g., as part of the
+machine's boot sequence). The stash file, like the keytab file (see
+:ref:`keytab_file`) is a potential point-of-entry for a break-in, and
+if compromised, would allow unrestricted access to the Kerberos
+database. If you choose to install a stash file, it should be
+readable only by root, and should exist only on the KDC's local disk.
+The file should not be part of any backup of the machine, unless
+access to the backup data is secured as tightly as access to the
+master password itself.
+
+.. note::
+
+ If you choose not to install a stash file, the KDC will prompt you for the master key each time it starts up.
+ This means that the KDC will not be able to start automatically, such as after a system reboot.
+
+
diff --git a/doc/html/_sources/build/directory_org.txt b/doc/html/_sources/build/directory_org.txt
new file mode 100644
index 000000000000..f3aeeb509845
--- /dev/null
+++ b/doc/html/_sources/build/directory_org.txt
@@ -0,0 +1,75 @@
+Organization of the source directory
+====================================
+
+Below is a brief overview of the organization of the complete source
+directory. More detailed descriptions follow.
+
+=============== ==============================================
+appl Kerberos application client and server programs
+ccapi Credential cache services
+clients Kerberos V5 user programs (See :ref:`user_commands`)
+config Configure scripts
+config-files Sample Kerberos configuration files
+include include files needed to build the Kerberos system
+kadmin Administrative interface to the Kerberos master database: :ref:`kadmin(1)`, :ref:`kdb5_util(8)`, :ref:`ktutil(1)`.
+kdc Kerberos V5 Authentication Service and Key Distribution Center
+lib_ Libraries for use with/by Kerberos V5
+plugins Kerberos plugins directory
+po Localization infrastructure
+prototype Templates files containing the MIT copyright message and a placeholder for the title and description of the file.
+slave Utilities for propagating the database to slave KDCs :ref:`kprop(8)` and :ref:`kpropd(8)`
+tests Test suite
+util_ Various utilities for building/configuring the code, sending bug reports, etc.
+windows Source code for building Kerberos V5 on Windows (see windows/README)
+=============== ==============================================
+
+
+.. _lib:
+
+lib
+---
+
+The lib directory contain several subdirectories as well as some
+definition and glue files.
+
+ - The apputils directory contains the code for the generic network
+ servicing.
+ - The crypto subdirectory contains the Kerberos V5 encryption
+ library.
+ - The gssapi library contains the Generic Security Services API,
+ which is a library of commands to be used in secure client-server
+ communication.
+ - The kadm5 directory contains the libraries for the KADM5
+ administration utilities.
+ - The Kerberos 5 database libraries are contained in kdb.
+ - The krb5 directory contains Kerberos 5 API.
+ - The rpc directory contains the API for the Kerberos Remote
+ Procedure Call protocol.
+
+
+.. _util:
+
+util
+----
+
+The util directory contains several utility programs and libraries.
+ - the programs used to configure and build the code, such as
+ autoconf, lndir, kbuild, reconf, and makedepend, are in this
+ directory.
+ - the profile directory contains most of the functions which parse
+ the Kerberos configuration files (krb5.conf and kdc.conf).
+ - the Kerberos error table library and utilities (et);
+ - the Sub-system library and utilities (ss);
+ - database utilities (db2);
+ - pseudo-terminal utilities (pty);
+ - bug-reporting program send-pr;
+ - a generic support library support used by several of our other
+ libraries;
+ - the build infrastructure for building lightweight Kerberos client
+ (collected-client-lib)
+ - the tool for validating Kerberos configuration files
+ (confvalidator);
+ - the toolkit for kernel integrators for building krb5 code subsets
+ (gss-kernel-lib);
+ - source code for building Kerberos V5 on MacOS (mac)
+ - Windows getopt operations (windows)
diff --git a/doc/html/_sources/build/doing_build.txt b/doc/html/_sources/build/doing_build.txt
new file mode 100644
index 000000000000..25daa5255a96
--- /dev/null
+++ b/doc/html/_sources/build/doing_build.txt
@@ -0,0 +1,158 @@
+Doing the build
+===============
+
+.. _do_build:
+
+Building within a single tree
+-----------------------------
+
+If you only need to build Kerberos for one platform, using a single
+directory tree which contains both the source files and the object
+files is the simplest. However, if you need to maintain Kerberos for
+a large number of platforms, you will probably want to use separate
+build trees for each platform. We recommend that you look at OS
+Incompatibilities, for notes that we have on particular operating
+systems.
+
+If you don't want separate build trees for each architecture, then use
+the following abbreviated procedure::
+
+ cd /u1/krb5-VERSION/src
+ ./configure
+ make
+
+That's it!
+
+Building with separate build directories
+----------------------------------------
+
+If you wish to keep separate build directories for each platform, you
+can do so using the following procedure. (Note, this requires that
+your make program support VPATH. GNU's make will provide this
+functionality, for example.) If your make program does not support
+this, see the next section.
+
+For example, if you wish to store the binaries in ``tmpbuild`` build
+directory you might use the following procedure::
+
+ mkdir /u1/tmpbuild
+ cd /u1/tmpbuild
+ /u1/krb5-VERSION/src/configure
+ make
+
+
+Building using lndir
+--------------------
+
+If you wish to keep separate build directories for each platform, and
+you do not have access to a make program which supports VPATH, all is
+not lost. You can use the lndir program to create symbolic link trees
+in your build directory.
+
+For example, if you wish to create a build directory for solaris
+binaries you might use the following procedure::
+
+ mkdir /u1/krb5-VERSION/solaris
+ cd /u1/krb5-VERSION/solaris
+ /u1/krb5-VERSION/src/util/lndir `pwd`/../src
+ ./configure
+ make
+
+You must give an absolute pathname to lndir because it has a bug that
+makes it fail for relative pathnames. Note that this version differs
+from the latest version as distributed and installed by the
+XConsortium with X11R6. Either version should be acceptable.
+
+
+Installing the binaries
+-----------------------
+
+Once you have built Kerberos, you should install the binaries. You can
+do this by running::
+
+ make install
+
+If you want to install the binaries into a destination directory that
+is not their final destination, which may be convenient if you want to
+build a binary distribution to be deployed on multiple hosts, you may
+use::
+
+ make install DESTDIR=/path/to/destdir
+
+This will install the binaries under *DESTDIR/PREFIX*, e.g., the user
+programs will install into *DESTDIR/PREFIX/bin*, the libraries into
+*DESTDIR/PREFIX/lib*, etc.
+
+Some implementations of make allow multiple commands to be run in
+parallel, for faster builds. We test our Makefiles in parallel builds
+with GNU make only; they may not be compatible with other parallel
+build implementations.
+
+
+Testing the build
+-----------------
+
+The Kerberos V5 distribution comes with built-in regression tests. To
+run them, simply type the following command while in the top-level
+build directory (i.e., the directory where you sent typed make to
+start building Kerberos; see :ref:`do_build`)::
+
+ make check
+
+However, there are several prerequisites that must be satisfied first:
+
+* Configure and build Kerberos with Tcl support. Tcl is used to drive
+ the test suite. This often means passing **-**\ **-with-tcl** to
+ configure to tell it the location of the Tcl configuration
+ script. (See :ref:`options2configure`.)
+* In addition to Tcl, DejaGnu must be available on the system for some
+ of the tests to run. The test suite will still run the other tests
+ if DejaGnu is not present, but the test coverage will be reduced
+ accordingly.
+* On some operating systems, you have to run ``make install`` before
+ running ``make check``, or the test suite will pick up installed
+ versions of Kerberos libraries rather than the newly built ones.
+ You can install into a prefix that isn't in the system library
+ search path, though. Alternatively, you can configure with
+ **-**\ **-disable-rpath**, which renders the build tree less suitable for
+ installation, but allows testing without interference from
+ previously installed libraries.
+
+There are additional regression tests available, which are not run
+by ``make check``. These tests require manual setup and teardown of
+support infrastructure which is not easily automated, or require
+excessive resources for ordinary use. The procedure for running
+the manual tests is documented at
+http://k5wiki.kerberos.org/wiki/Manual_Testing.
+
+
+Cleaning up the build
+---------------------
+
+* Use ``make clean`` to remove all files generated by running make
+ command.
+* Use ``make distclean`` to remove all files generated by running
+ ./configure script. After running ``make distclean`` your source
+ tree (ideally) should look like the raw (just un-tarred) source
+ tree.
+
+Using autoconf
+--------------
+
+(If you are not a developer, you can ignore this section.)
+
+In the Kerberos V5 source directory, there is a configure script which
+automatically determines the compilation environment and creates the
+proper Makefiles for a particular platform. This configure script is
+generated using autoconf, which you should already have installed if
+you will be making changes to ``src/configure.in``.
+
+Normal users will not need to worry about running autoconf; the
+distribution comes with the configure script already prebuilt.
+
+The autoconf package comes with a script called ``autoreconf`` that
+will automatically run ``autoconf`` and ``autoheader`` as needed. You
+should run ``autoreconf`` from the top source directory, e.g.::
+
+ cd /u1/krb5-VERSION/src
+ autoreconf --verbose
diff --git a/doc/html/_sources/build/index.txt b/doc/html/_sources/build/index.txt
new file mode 100644
index 000000000000..3416817e7485
--- /dev/null
+++ b/doc/html/_sources/build/index.txt
@@ -0,0 +1,63 @@
+.. _build_V5:
+
+Building Kerberos V5
+====================
+
+This section details how to build and install MIT Kerberos software
+from the source.
+
+Prerequisites
+-------------
+
+In order to build Kerberos V5, you will need approximately 60-70
+megabytes of disk space. The exact amount will vary depending on the
+platform and whether the distribution is compiled with debugging
+symbol tables or not.
+
+Your C compiler must conform to ANSI C (ISO/IEC 9899:1990, "c89").
+Some operating systems do not have an ANSI C compiler, or their
+default compiler requires extra command-line options to enable ANSI C
+conformance.
+
+If you wish to keep a separate build tree, which contains the compiled
+\*.o file and executables, separate from your source tree, you will
+need a make program which supports **VPATH**, or you will need to use
+a tool such as lndir to produce a symbolic link tree for your build
+tree.
+
+Obtaining the software
+----------------------
+
+The source code can be obtained from MIT Kerberos Distribution page,
+at http://web.mit.edu/kerberos/dist/index.html.
+The MIT Kerberos distribution comes in an archive file, generally
+named krb5-VERSION-signed.tar, where *VERSION* is a placeholder for
+the major and minor versions of MIT Kerberos. (For example, MIT
+Kerberos 1.9 has major version "1" and minor version "9".)
+
+The krb5-VERSION-signed.tar contains a compressed tar file consisting
+of the sources for all of Kerberos (generally named
+krb5-VERSION.tar.gz) and a PGP signature file for this source tree
+(generally named krb5-VERSION.tar.gz.asc). MIT highly recommends that
+you verify the integrity of the source code using this signature,
+e.g., by running::
+
+ tar xf krb5-VERSION-signed.tar
+ gpg --verify krb5-VERSION.tar.gz.asc
+
+Unpack krb5-VERSION.tar.gz in some directory. In this section we will assume
+that you have chosen the top directory of the distribution the directory
+``/u1/krb5-VERSION``.
+
+Review the README file for the license, copyright and other sprecific to the
+distribution information.
+
+Contents
+--------
+.. toctree::
+ :maxdepth: 1
+
+ directory_org.rst
+ doing_build.rst
+ options2configure.rst
+ osconf.rst
diff --git a/doc/html/_sources/build/options2configure.txt b/doc/html/_sources/build/options2configure.txt
new file mode 100644
index 000000000000..0fd03072cd2d
--- /dev/null
+++ b/doc/html/_sources/build/options2configure.txt
@@ -0,0 +1,409 @@
+.. _options2configure:
+
+Options to *configure*
+======================
+
+There are a number of options to configure which you can use to
+control how the Kerberos distribution is built.
+
+Most commonly used options
+--------------------------
+
+**-**\ **-help**
+ Provides help to configure. This will list the set of commonly
+ used options for building Kerberos.
+
+**-**\ **-prefix=**\ *PREFIX*
+ By default, Kerberos will install the package's files rooted at
+ ``/usr/local``. If you desire to place the binaries into the
+ directory *PREFIX*, use this option.
+
+**-**\ **-exec-prefix=**\ *EXECPREFIX*
+ This option allows one to separate the architecture independent
+ programs from the host-dependent files (configuration files,
+ manual pages). Use this option to install architecture-dependent
+ programs in *EXECPREFIX*. The default location is the value of
+ specified by **-**\ **-prefix** option.
+
+**-**\ **-localstatedir=**\ *LOCALSTATEDIR*
+ This option sets the directory for locally modifiable
+ single-machine data. In Kerberos, this mostly is useful for
+ setting a location for the KDC data files, as they will be
+ installed in ``LOCALSTATEDIR/krb5kdc``, which is by default
+ ``PREFIX/var/krb5kdc``.
+
+**-**\ **-with-netlib**\ [=\ *libs*]
+ Allows for suppression of or replacement of network libraries. By
+ default, Kerberos V5 configuration will look for ``-lnsl`` and
+ ``-lsocket``. If your operating system has a broken resolver
+ library or fails to pass the tests in ``src/tests/resolv``, you
+ will need to use this option.
+
+**-**\ **-with-tcl=**\ *TCLPATH*
+ Some of the unit-tests in the build tree rely upon using a program
+ in Tcl. The directory specified by *TCLPATH* specifies where the
+ Tcl header file (TCLPATH/include/tcl.h) as well as where the Tcl
+ library (TCLPATH/lib) should be found.
+
+**-**\ **-enable-dns-for-realm**
+ Enable the use of DNS to look up a host's Kerberos realm,
+ if the information is not provided in
+ :ref:`krb5.conf(5)`. See :ref:`mapping_hostnames`
+ for information about using DNS to determine the default realm.
+ DNS lookups for realm names are disabled by default.
+
+**-**\ **-with-system-et**
+ Use an installed version of the error-table (et) support software,
+ the compile_et program, the com_err.h header file and the com_err
+ library. If these are not in the default locations, you may wish
+ to specify ``CPPFLAGS=-I/some/dir`` and
+ ``LDFLAGS=-L/some/other/dir`` options at configuration time as
+ well.
+
+ If this option is not given, a version supplied with the Kerberos
+ sources will be built and installed along with the rest of the
+ Kerberos tree, for Kerberos applications to link against.
+
+**-**\ **-with-system-ss**
+ Use an installed version of the subsystem command-line interface
+ software, the mk_cmds program, the ``ss/ss.h`` header file and the
+ ss library. If these are not in the default locations, you may
+ wish to specify ``CPPFLAGS=-I/some/dir`` and
+ ``LDFLAGS=-L/some/other/dir`` options at configuration time as
+ well. See also the **SS_LIB** option.
+
+ If this option is not given, the ss library supplied with the
+ Kerberos sources will be compiled and linked into those programs
+ that need it; it will not be installed separately.
+
+**-**\ **-with-system-db**
+ Use an installed version of the Berkeley DB package, which must
+ provide an API compatible with version 1.85. This option is
+ unsupported and untested. In particular, we do not know if the
+ database-rename code used in the dumpfile load operation will
+ behave properly.
+
+ If this option is not given, a version supplied with the Kerberos
+ sources will be built and installed. (We are not updating this
+ version at this time because of licensing issues with newer
+ versions that we haven't investigated sufficiently yet.)
+
+
+Environment variables
+---------------------
+
+**CC=**\ *COMPILER*
+ Use *COMPILER* as the C compiler.
+
+**CFLAGS=**\ *FLAGS*
+ Use *FLAGS* as the default set of C compiler flags.
+
+**CPP=**\ *CPP*
+ C preprocessor to use. (e.g., ``CPP='gcc -E'``)
+
+**CPPFLAGS=**\ *CPPOPTS*
+ Use *CPPOPTS* as the default set of C preprocessor flags. The
+ most common use of this option is to select certain #define's for
+ use with the operating system's include files.
+
+
+**DB_HEADER=**\ *headername*
+ If db.h is not the correct header file to include to compile
+ against the Berkeley DB 1.85 API, specify the correct header file
+ name with this option. For example, ``DB_HEADER=db3/db_185.h``.
+
+**DB_LIB=**\ *libs*...
+ If ``-ldb`` is not the correct library specification for the
+ Berkeley DB library version to be used, override it with this
+ option. For example, ``DB_LIB=-ldb-3.3``.
+
+**DEFCCNAME=**\ *ccachename*
+ Override the built-in default credential cache name.
+ For example, ``DEFCCNAME=DIR:/var/run/user/%{USERID}/ccache``
+ See :ref:`parameter_expansion` for information about supported
+ parameter expansions.
+
+**DEFCKTNAME=**\ *keytabname*
+ Override the built-in default client keytab name.
+ The format is the same as for *DEFCCNAME*.
+
+**DEFKTNAME=**\ *keytabname*
+ Override the built-in default keytab name.
+ The format is the same as for *DEFCCNAME*.
+
+**LD=**\ *LINKER*
+ Use *LINKER* as the default loader if it should be different from
+ C compiler as specified above.
+
+**LDFLAGS=**\ *LDOPTS*
+ This option informs the linker where to get additional libraries
+ (e.g., ``-L<lib dir>``).
+
+**LIBS=**\ *LDNAME*
+ This option allows one to specify libraries to be passed to the
+ linker (e.g., ``-l<library>``)
+
+**SS_LIB=**\ *libs*...
+ If ``-lss`` is not the correct way to link in your installed ss
+ library, for example if additional support libraries are needed,
+ specify the correct link options here. Some variants of this
+ library are around which allow for Emacs-like line editing, but
+ different versions require different support libraries to be
+ explicitly specified.
+
+ This option is ignored if **-**\ **-with-system-ss** is not specified.
+
+**YACC**
+ The 'Yet Another C Compiler' implementation to use. Defaults to
+ the first program found out of: '`bison -y`', '`byacc`',
+ '`yacc`'.
+
+**YFLAGS**
+ The list of arguments that will be passed by default to $YACC.
+ This script will default YFLAGS to the empty string to avoid a
+ default value of ``-d`` given by some make applications.
+
+
+Fine tuning of the installation directories
+-------------------------------------------
+
+**-**\ **-bindir=**\ *DIR*
+ User executables. Defaults to ``EXECPREFIX/bin``, where
+ *EXECPREFIX* is the path specified by **-**\ **-exec-prefix**
+ configuration option.
+
+**-**\ **-sbindir=**\ *DIR*
+ System admin executables. Defaults to ``EXECPREFIX/sbin``, where
+ *EXECPREFIX* is the path specified by **-**\ **-exec-prefix**
+ configuration option.
+
+**-**\ **-sysconfdir=**\ *DIR*
+ Read-only single-machine data such as krb5.conf.
+ Defaults to ``PREFIX/etc``, where
+ *PREFIX* is the path specified by **-**\ **-prefix** configuration
+ option.
+
+**-**\ **-libdir=**\ *DIR*
+ Object code libraries. Defaults to ``EXECPREFIX/lib``, where
+ *EXECPREFIX* is the path specified by **-**\ **-exec-prefix**
+ configuration option.
+
+**-**\ **-includedir=**\ *DIR*
+ C header files. Defaults to ``PREFIX/include``, where *PREFIX* is
+ the path specified by **-**\ **-prefix** configuration option.
+
+**-**\ **-datarootdir=**\ *DATAROOTDIR*
+ Read-only architecture-independent data root. Defaults to
+ ``PREFIX/share``, where *PREFIX* is the path specified by
+ **-**\ **-prefix** configuration option.
+
+**-**\ **-datadir=**\ *DIR*
+ Read-only architecture-independent data. Defaults to path
+ specified by **-**\ **-datarootdir** configuration option.
+
+**-**\ **-localedir=**\ *DIR*
+ Locale-dependent data. Defaults to ``DATAROOTDIR/locale``, where
+ *DATAROOTDIR* is the path specified by **-**\ **-datarootdir**
+ configuration option.
+
+**-**\ **-mandir=**\ *DIR*
+ Man documentation. Defaults to ``DATAROOTDIR/man``, where
+ *DATAROOTDIR* is the path specified by **-**\ **-datarootdir**
+ configuration option.
+
+
+Program names
+-------------
+
+**-**\ **-program-prefix=**\ *PREFIX*
+ Prepend *PREFIX* to the names of the programs when installing
+ them. For example, specifying ``--program-prefix=mit-`` at the
+ configure time will cause the program named ``abc`` to be
+ installed as ``mit-abc``.
+
+**-**\ **-program-suffix=**\ *SUFFIX*
+ Append *SUFFIX* to the names of the programs when installing them.
+ For example, specifying ``--program-suffix=-mit`` at the configure
+ time will cause the program named ``abc`` to be installed as
+ ``abc-mit``.
+
+**-**\ **-program-transform-name=**\ *PROGRAM*
+ Run ``sed -e PROGRAM`` on installed program names. (*PROGRAM* is a
+ sed script).
+
+
+System types
+------------
+
+**-**\ **-build=**\ *BUILD*
+ Configure for building on *BUILD*
+ (e.g., ``--build=x86_64-linux-gnu``).
+
+**-**\ **-host=**\ *HOST*
+ Cross-compile to build programs to run on *HOST*
+ (e.g., ``--host=x86_64-linux-gnu``). By default, Kerberos V5
+ configuration will look for "build" option.
+
+
+Optional features
+-----------------
+
+**-**\ **-disable-option-checking**
+ Ignore unrecognized --enable/--with options.
+
+**-**\ **-disable-**\ *FEATURE*
+ Do not include *FEATURE* (same as --enable-FEATURE=no).
+
+**-**\ **-enable-**\ *FEATURE*\ [=\ *ARG*]
+ Include *FEATURE* [ARG=yes].
+
+**-**\ **-enable-maintainer-mode**
+ Enable rebuilding of source files, Makefiles, etc.
+
+**-**\ **-disable-delayed-initialization**
+ Initialize library code when loaded. Defaults to delay until
+ first use.
+
+**-**\ **-disable-thread-support**
+ Don't enable thread support. Defaults to enabled.
+
+**-**\ **-disable-rpath**
+ Suppress run path flags in link lines.
+
+**-**\ **-enable-athena**
+ Build with MIT Project Athena configuration.
+
+**-**\ **-disable-kdc-lookaside-cache**
+ Disable the cache which detects client retransmits.
+
+**-**\ **-disable-pkinit**
+ Disable PKINIT plugin support.
+
+**-**\ **-disable-aesni**
+ Disable support for using AES instructions on x86 platforms.
+
+**-**\ **-enable-asan**\ [=\ *ARG*]
+ Enable building with asan memory error checking. If *ARG* is
+ given, it controls the -fsanitize compilation flag value (the
+ default is "address").
+
+
+Optional packages
+-----------------
+
+**-**\ **-with-**\ *PACKAGE*\ [=ARG\]
+ Use *PACKAGE* (e.g., ``--with-imap``). The default value of *ARG*
+ is ``yes``.
+
+**-**\ **-without-**\ *PACKAGE*
+ Do not use *PACKAGE* (same as ``--with-PACKAGE=no``)
+ (e.g., ``--without-libedit``).
+
+**-**\ **-with-size-optimizations**
+ Enable a few optimizations to reduce code size possibly at some
+ run-time cost.
+
+**-**\ **-with-system-et**
+ Use the com_err library and compile_et utility that are already
+ installed on the system, instead of building and installing
+ local versions.
+
+**-**\ **-with-system-ss**
+ Use the ss library and mk_cmds utility that are already installed
+ on the system, instead of building and using private versions.
+
+**-**\ **-with-system-db**
+ Use the berkeley db utility already installed on the system,
+ instead of using a private version. This option is not
+ recommended; enabling it may result in incompatibility with key
+ databases originating on other systems.
+
+**-**\ **-with-netlib=**\ *LIBS*
+ Use the resolver library specified in *LIBS*. Use this variable
+ if the C library resolver is insufficient or broken.
+
+**-**\ **-with-hesiod=**\ *path*
+ Compile with Hesiod support. The *path* points to the Hesiod
+ directory. By default Hesiod is unsupported.
+
+**-**\ **-with-ldap**
+ Compile OpenLDAP database backend module.
+
+**-**\ **-with-tcl=**\ *path*
+ Specifies that *path* is the location of a Tcl installation.
+ Tcl is needed for some of the tests run by 'make check'; such tests
+ will be skipped if this option is not set.
+
+**-**\ **-with-vague-errors**
+ Do not send helpful errors to client. For example, if the KDC
+ should return only vague error codes to clients.
+
+**-**\ **-with-crypto-impl=**\ *IMPL*
+ Use specified crypto implementation (e.g., **-**\
+ **-with-crypto-impl=**\ *openssl*). The default is the native MIT
+ Kerberos implementation ``builtin``. The other currently
+ implemented crypto backend is ``openssl``. (See
+ :ref:`mitK5features`)
+
+**-**\ **-with-prng-alg=**\ *ALG*
+ Use specified PRNG algorithm. For example, to use the OS native
+ prng specify ``--with-prng-alg=os``. The default is ``fortuna``.
+ (See :ref:`mitK5features`)
+
+**-**\ **-with-pkinit-crypto-impl=**\ *IMPL*
+ Use the specified pkinit crypto implementation *IMPL*.
+ Defaults to using OpenSSL.
+
+**-**\ **-without-libedit**
+ Do not compile and link against libedit. Some utilities will no
+ longer offer command history or completion in interactive mode if
+ libedit is disabled.
+
+**-**\ **-with-readline**
+ Compile and link against GNU readline, as an alternative to libedit.
+ Building with readline breaks the dejagnu test suite, which is a
+ subset of the tests run by 'make check'.
+
+**-**\ **-with-system-verto**
+ Use an installed version of libverto. If the libverto header and
+ library are not in default locations, you may wish to specify
+ ``CPPFLAGS=-I/some/dir`` and ``LDFLAGS=-L/some/other/dir`` options
+ at configuration time as well.
+
+ If this option is not given, the build system will try to detect
+ an installed version of libverto and use it if it is found.
+ Otherwise, a version supplied with the Kerberos sources will be
+ built and installed. The built-in version does not contain the
+ full set of back-end modules and is not a suitable general
+ replacement for the upstream version, but will work for the
+ purposes of Kerberos.
+
+ Specifying **-**\ **-without-system-verto** will cause the built-in
+ version of libverto to be used unconditionally.
+
+**-**\ **-with-krb5-config=**\ *PATH*
+ Use the krb5-config program at *PATH* to obtain the build-time
+ default credential cache, keytab, and client keytab names. The
+ default is to use ``krb5-config`` from the program path. Specify
+ ``--without-krb5-config`` to disable the use of krb5-config and
+ use the usual built-in defaults.
+
+
+Examples
+--------
+
+For example, in order to configure Kerberos on a Solaris machine using
+the suncc compiler with the optimizer turned on, run the configure
+script with the following options::
+
+ % ./configure CC=suncc CFLAGS=-O
+
+For a slightly more complicated example, consider a system where
+several packages to be used by Kerberos are installed in
+``/usr/foobar``, including Berkeley DB 3.3, and an ss library that
+needs to link against the curses library. The configuration of
+Kerberos might be done thus::
+
+ ./configure CPPFLAGS=-I/usr/foobar/include LDFLAGS=-L/usr/foobar/lib \
+ --with-system-et --with-system-ss --with-system-db \
+ SS_LIB='-lss -lcurses' DB_HEADER=db3/db_185.h DB_LIB=-ldb-3.3
diff --git a/doc/html/_sources/build/osconf.txt b/doc/html/_sources/build/osconf.txt
new file mode 100644
index 000000000000..22ee6804e25a
--- /dev/null
+++ b/doc/html/_sources/build/osconf.txt
@@ -0,0 +1,26 @@
+osconf.hin
+==========
+
+There is one configuration file which you may wish to edit to control
+various compile-time parameters in the Kerberos distribution::
+
+ include/osconf.hin
+
+The list that follows is by no means complete, just some of the more
+interesting variables.
+
+**DEFAULT_PROFILE_PATH**
+ The pathname to the file which contains the profiles for the known
+ realms, their KDCs, etc. The default value is |krb5conf|.
+**DEFAULT_KEYTAB_NAME**
+ The type and pathname to the default server keytab file. The
+ default is |keytab|.
+**DEFAULT_KDC_ENCTYPE**
+ The default encryption type for the KDC database master key. The
+ default value is |defmkey|.
+**RCTMPDIR**
+ The directory which stores replay caches. The default is
+ ``/var/tmp``.
+**DEFAULT_KDB_FILE**
+ The location of the default database. The default value is
+ |kdcdir|\ ``/principal``.
diff --git a/doc/html/_sources/build_this.txt b/doc/html/_sources/build_this.txt
new file mode 100644
index 000000000000..e515df90d4be
--- /dev/null
+++ b/doc/html/_sources/build_this.txt
@@ -0,0 +1,82 @@
+How to build this documentation from the source
+===============================================
+
+Pre-requisites for a simple build, or to update man pages:
+
+* Sphinx 1.0.4 or higher (See http://sphinx.pocoo.org) with the autodoc
+ extension installed.
+
+Additional prerequisites to include the API reference based on Doxygen
+markup:
+
+* Python 2.5 with the Cheetah, lxml, and xml modules
+* Doxygen
+
+
+Simple build without API reference
+----------------------------------
+
+To test simple changes to the RST sources, you can build the
+documentation without the Doxygen reference by running, from the doc
+directory::
+
+ sphinx-build . test_html
+
+You will see a number of warnings about missing files. This is
+expected. If there is not already a ``doc/version.py`` file, you will
+need to create one by first running ``make version.py`` in the
+``src/doc`` directory of a configured build tree.
+
+
+Updating man pages
+------------------
+
+Man pages are generated from the RST sources and checked into the
+``src/man`` directory of the repository. This allows man pages to be
+installed without requiring Sphinx when using a source checkout. To
+regenerate these files, run ``make man`` from the man subdirectory
+of a configured build tree. You can also do this from an unconfigured
+source tree with::
+
+ cd src/man
+ make -f Makefile.in top_srcdir=.. srcdir=. man
+ make clean
+
+As with the simple build, it is normal to see warnings about missing
+files when rebuilding the man pages.
+
+
+Building for a release tarball or web site
+------------------------------------------
+
+To generate documentation in HTML format, run ``make html`` in the
+``doc`` subdirectory of a configured build tree (the build directory
+corresponding to ``src/doc``, not the top-level ``doc`` directory).
+The output will be placed in the top-level ``doc/html`` directory.
+This build will include the API reference generated from Doxygen
+markup in the source tree.
+
+Documentation generated this way will use symbolic names for paths
+(like ``BINDIR`` for the directory containing user programs), with the
+symbolic names being links to a table showing typical values for those
+paths.
+
+You can also do this from an unconfigured source tree with::
+
+ cd src/doc
+ make -f Makefile.in SPHINX_ARGS= htmlsrc
+
+
+Building for an OS package or site documentation
+------------------------------------------------
+
+To generate documentation specific to a build of MIT krb5 as you have
+configured it, run ``make substhtml`` in the ``doc`` subdirectory of a
+configured build tree (the build directory corresponding to
+``src/doc``, not the top-level ``doc`` directory). The output will be
+placed in the ``html_subst`` subdirectory of that build directory.
+This build will include the API reference.
+
+Documentation generated this way will use concrete paths (like
+``/usr/local/bin`` for the directory containing user programs, for a
+default custom build).
diff --git a/doc/html/_sources/copyright.txt b/doc/html/_sources/copyright.txt
new file mode 100644
index 000000000000..40e5d233e9a6
--- /dev/null
+++ b/doc/html/_sources/copyright.txt
@@ -0,0 +1,8 @@
+Copyright
+=========
+
+Copyright |copy| 1985-2017 by the Massachusetts Institute of
+Technology and its contributors. All rights reserved.
+
+See :ref:`mitK5license` for additional copyright and license
+information.
diff --git a/doc/html/_sources/formats/ccache_file_format.txt b/doc/html/_sources/formats/ccache_file_format.txt
new file mode 100644
index 000000000000..6349e0d29434
--- /dev/null
+++ b/doc/html/_sources/formats/ccache_file_format.txt
@@ -0,0 +1,176 @@
+.. _ccache_file_format:
+
+Credential cache file format
+============================
+
+There are four versions of the file format used by the FILE credential
+cache type. The first byte of the file always has the value 5, and
+the value of the second byte contains the version number (1 through
+4). Versions 1 and 2 of the file format use native byte order for integer
+representations. Versions 3 and 4 always use big-endian byte order.
+
+After the two-byte version indicator, the file has three parts: the
+header (in version 4 only), the default principal name, and a sequence
+of credentials.
+
+
+Header format
+-------------
+
+The header appears only in format version 4. It begins with a 16-bit
+integer giving the length of the entire header, followed by a sequence
+of fields. Each field consists of a 16-bit tag, a 16-bit length, and
+a value of the given length. A file format implementation should
+ignore fields with unknown tags.
+
+At this time there is only one defined header field. Its tag value is
+1, its length is always 8, and its contents are two 32-bit integers
+giving the seconds and microseconds of the time offset of the KDC
+relative to the client. Adding this offset to the current time on the
+client should give the current time on the KDC, if that offset has not
+changed since the initial authentication.
+
+
+.. _cache_principal_format:
+
+Principal format
+----------------
+
+The default principal is marshalled using the following informal
+grammar::
+
+ principal ::=
+ name type (32 bits) [omitted in version 1]
+ count of components (32 bits) [includes realm in version 1]
+ realm (data)
+ component1 (data)
+ component2 (data)
+ ...
+
+ data ::=
+ length (32 bits)
+ value (length bytes)
+
+There is no external framing on the default principal, so it must be
+parsed according to the above grammar in order to find the sequence of
+credentials which follows.
+
+
+.. _ccache_credential_format:
+
+Credential format
+-----------------
+
+The credential format uses the following informal grammar (referencing
+the ``principal`` and ``data`` types from the previous section)::
+
+ credential ::=
+ client (principal)
+ server (principal)
+ keyblock (keyblock)
+ authtime (32 bits)
+ starttime (32 bits)
+ endtime (32 bits)
+ renew_till (32 bits)
+ is_skey (1 byte, 0 or 1)
+ ticket_flags (32 bits)
+ addresses (addresses)
+ authdata (authdata)
+ ticket (data)
+ second_ticket (data)
+
+ keyblock ::=
+ enctype (16 bits) [repeated twice in version 3]
+ data
+
+ addresses ::=
+ count (32 bits)
+ address1
+ address2
+ ...
+
+ address ::=
+ addrtype (16 bits)
+ data
+
+ authdata ::=
+ count (32 bits)
+ authdata1
+ authdata2
+ ...
+
+ authdata ::=
+ ad_type (16 bits)
+ data
+
+There is no external framing on a marshalled credential, so it must be
+parsed according to the above grammar in order to find the next
+credential. There is also no count of credentials or marker at the
+end of the sequence of credentials; the sequence ends when the file
+ends.
+
+
+Credential cache configuration entries
+--------------------------------------
+
+Configuration entries are encoded as credential entries. The client
+principal of the entry is the default principal of the cache. The
+server principal has the realm ``X-CACHECONF:`` and two or three
+components, the first of which is ``krb5_ccache_conf_data``. The
+server principal's second component is the configuration key. The
+third component, if it exists, is a principal to which the
+configuration key is associated. The configuration value is stored in
+the ticket field of the entry. All other entry fields are zeroed.
+
+Programs using credential caches must be aware of configuration
+entries for several reasons:
+
+* A program which displays the contents of a cache should not
+ generally display configuration entries.
+
+* The ticket field of a configuration entry is not (usually) a valid
+ encoding of a Kerberos ticket. An implementation must not treat the
+ cache file as malformed if it cannot decode the ticket field.
+
+* Configuration entries have an endtime field of 0 and might therefore
+ always be considered expired, but they should not be treated as
+ unimportant as a result. For instance, a program which copies
+ credentials from one cache to another should not omit configuration
+ entries because of the endtime.
+
+The following configuration keys are currently used in MIT krb5:
+
+fast_avail
+ The presence of this key with a non-empty value indicates that the
+ KDC asserted support for FAST (see :rfc:`6113`) during the initial
+ authentication, using the negotiation method described in
+ :rfc:`6806` section 11. This key is not associated with any
+ principal.
+
+pa_config_data
+ The value of this key contains a JSON object representation of
+ parameters remembered by the preauthentication mechanism used
+ during the initial authentication. These parameters may be used
+ when refreshing credentials. This key is associated with the
+ server principal of the initial authentication (usually the local
+ krbtgt principal of the client realm).
+
+pa_type
+ The value of this key is the ASCII decimal representation of the
+ preauth type number used during the initial authentication. This
+ key is associated with the server principal of the initial
+ authentication.
+
+proxy_impersonator
+ The presence of this key indicates that the cache is a synthetic
+ delegated credential for use with S4U2Proxy. The value is the
+ name of the intermediate service whose TGT can be used to make
+ S4U2Proxy requests for target services. This key is not
+ associated with any principal.
+
+refresh_time
+ The presence of this key indicates that the cache was acquired by
+ the GSS mechanism using a client keytab. The value is the ASCII
+ decimal representation of a timestamp at which the GSS mechanism
+ should attempt to refresh the credential cache from the client
+ keytab.
diff --git a/doc/html/_sources/formats/cookie.txt b/doc/html/_sources/formats/cookie.txt
new file mode 100644
index 000000000000..640955c90b43
--- /dev/null
+++ b/doc/html/_sources/formats/cookie.txt
@@ -0,0 +1,60 @@
+KDC cookie format
+=================
+
+:rfc:`6113` section 5.2 specifies a pa-data type PA-FX-COOKIE, which
+clients are required to reflect back to the KDC during
+pre-authentication. The MIT krb5 KDC uses the following formats for
+cookies.
+
+
+Trivial cookie (version 0)
+--------------------------
+
+If there is no pre-authentication mechanism state information to save,
+a trivial cookie containing the value "MIT" is used. A trivial cookie
+is needed to indicate that the conversation can continue.
+
+
+Secure cookie (version 1)
+-------------------------
+
+In release 1.14 and later, a secure cookie can be sent if there is any
+mechanism state to save for the next request. A secure cookie
+contains the concatenation of the following:
+
+* the four bytes "MIT1"
+* a four-byte big-endian kvno value
+* an :rfc:`3961` ciphertext
+
+The ciphertext is encrypted in the cookie key with key usage
+number 513. The cookie key is derived from a key in the local krbtgt
+principal entry for the realm (e.g. ``krbtgt/KRBTEST.COM@KRBTEST.COM``
+if the request is to the ``KRBTEST.COM`` realm). The first krbtgt key
+for the indicated kvno value is combined with the client principal as
+follows::
+
+ cookie-key <- random-to-key(PRF+(tgt-key, "COOKIE" | client-princ))
+
+where **random-to-key** is the :rfc:`3961` random-to-key operation for
+the krbtgt key's encryption type, **PRF+** is defined in :rfc:`6113`,
+and ``|`` denotes concatenation. *client-princ* is the request client
+principal name with realm, marshalled according to :rfc:`1964` section
+2.1.1.
+
+The plain text of the encrypted part of a cookie is the DER encoding
+of the following ASN.1 type::
+
+ SecureCookie ::= SEQUENCE {
+ time INTEGER,
+ data SEQUENCE OF PA-DATA,
+ ...
+ }
+
+The time field represents the cookie creation time; for brevity, it is
+encoded as an integer giving the POSIX timestamp rather than as an
+ASN.1 GeneralizedTime value. The data field contains one element for
+each pre-authentication type which requires saved state. For
+mechanisms which have separate request and reply types, the request
+type is used; this allows the KDC to determine whether a cookie is
+relevant to a request by comparing the request pa-data types to the
+cookie data types.
diff --git a/doc/html/_sources/formats/index.txt b/doc/html/_sources/formats/index.txt
new file mode 100644
index 000000000000..8b30626d4b45
--- /dev/null
+++ b/doc/html/_sources/formats/index.txt
@@ -0,0 +1,9 @@
+Protocols and file formats
+==========================
+
+.. toctree::
+ :maxdepth: 1
+
+ ccache_file_format
+ keytab_file_format
+ cookie
diff --git a/doc/html/_sources/formats/keytab_file_format.txt b/doc/html/_sources/formats/keytab_file_format.txt
new file mode 100644
index 000000000000..8424d058ff46
--- /dev/null
+++ b/doc/html/_sources/formats/keytab_file_format.txt
@@ -0,0 +1,51 @@
+.. _keytab_file_format:
+
+Keytab file format
+==================
+
+There are two versions of the file format used by the FILE keytab
+type. The first byte of the file always has the value 5, and the
+value of the second byte contains the version number (1 or 2).
+Version 1 of the file format uses native byte order for integer
+representations. Version 2 always uses big-endian byte order.
+
+After the two-byte version indicator, the file contains a sequence of
+signed 32-bit record lengths followed by key records or holes. A
+positive record length indicates a valid key entry whose size is equal
+to or less than the record length. A negative length indicates a
+zero-filled hole whose size is the inverse of the length. A length of
+0 indicates the end of the file.
+
+
+Key entry format
+----------------
+
+A key entry may be smaller in size than the record length which
+precedes it, because it may have replaced a hole which is larger than
+the key entry. Key entries use the following informal grammar::
+
+ entry ::=
+ principal
+ timestamp (32 bits)
+ key version (8 bits)
+ enctype (16 bits)
+ key length (16 bits)
+ key contents
+ key version (32 bits) [in release 1.14 and later]
+
+ principal ::=
+ count of components (16 bits) [includes realm in version 1]
+ realm (data)
+ component1 (data)
+ component2 (data)
+ ...
+ name type (32 bits) [omitted in version 1]
+
+ data ::=
+ length (16 bits)
+ value (length bytes)
+
+The 32-bit key version overrides the 8-bit key version. To determine
+if it is present, the implementation must check that at least 4 bytes
+remain in the record after the other fields are read, and that the
+value of the 32-bit integer contained in those bytes is non-zero.
diff --git a/doc/html/_sources/index.txt b/doc/html/_sources/index.txt
new file mode 100644
index 000000000000..543a9d1b56c1
--- /dev/null
+++ b/doc/html/_sources/index.txt
@@ -0,0 +1,18 @@
+MIT Kerberos Documentation (|release|)
+======================================
+
+
+.. toctree::
+ :maxdepth: 1
+
+ user/index.rst
+ admin/index.rst
+ appdev/index.rst
+ plugindev/index.rst
+ build/index.rst
+ basic/index.rst
+ formats/index.rst
+ mitK5features.rst
+ build_this.rst
+ about.rst
+ resources
diff --git a/doc/html/_sources/mitK5defaults.txt b/doc/html/_sources/mitK5defaults.txt
new file mode 100644
index 000000000000..443bcc5f3e76
--- /dev/null
+++ b/doc/html/_sources/mitK5defaults.txt
@@ -0,0 +1,77 @@
+.. _mitK5defaults:
+
+MIT Kerberos defaults
+=====================
+
+General defaults
+----------------
+
+========================================== ============================= ====================
+Description Default Environment
+========================================== ============================= ====================
+:ref:`keytab_definition` file |keytab| **KRB5_KTNAME**
+Client :ref:`keytab_definition` file |ckeytab| **KRB5_CLIENT_KTNAME**
+Kerberos config file :ref:`krb5.conf(5)` |krb5conf|\ ``:``\ **KRB5_CONFIG**
+ |sysconfdir|\ ``/krb5.conf``
+KDC config file :ref:`kdc.conf(5)` |kdcdir|\ ``/kdc.conf`` **KRB5_KDC_PROFILE**
+KDC database path (DB2) |kdcdir|\ ``/principal``
+Master key :ref:`stash_definition` |kdcdir|\ ``/.k5.``\ *realm*
+Admin server ACL file :ref:`kadm5.acl(5)` |kdcdir|\ ``/kadm5.acl``
+OTP socket directory |kdcrundir|
+Plugin base directory |libdir|\ ``/krb5/plugins``
+:ref:`rcache_definition` directory ``/var/tmp`` **KRB5RCACHEDIR**
+Master key default enctype |defmkey|
+Default :ref:`keysalt list<Keysalt_lists>` |defkeysalts|
+Permitted enctypes |defetypes|
+KDC default port 88
+Admin server port 749
+Password change port 464
+========================================== ============================= ====================
+
+
+Slave KDC propagation defaults
+------------------------------
+
+This table shows defaults used by the :ref:`kprop(8)` and
+:ref:`kpropd(8)` programs.
+
+========================== ============================== ===========
+Description Default Environment
+========================== ============================== ===========
+kprop database dump file |kdcdir|\ ``/slave_datatrans``
+kpropd temporary dump file |kdcdir|\ ``/from_master``
+kdb5_util location |sbindir|\ ``/kdb5_util``
+kprop location |sbindir|\ ``/kprop``
+kpropd ACL file |kdcdir|\ ``/kpropd.acl``
+kprop port 754 KPROP_PORT
+========================== ============================== ===========
+
+
+.. _paths:
+
+Default paths for Unix-like systems
+-----------------------------------
+
+On Unix-like systems, some paths used by MIT krb5 depend on parameters
+chosen at build time. For a custom build, these paths default to
+subdirectories of ``/usr/local``. When MIT krb5 is integrated into an
+operating system, the paths are generally chosen to match the
+operating system's filesystem layout.
+
+========================== ============= =========================== ===========================
+Description Symbolic name Custom build path Typical OS path
+========================== ============= =========================== ===========================
+User programs BINDIR ``/usr/local/bin`` ``/usr/bin``
+Libraries and plugins LIBDIR ``/usr/local/lib`` ``/usr/lib``
+Parent of KDC state dir LOCALSTATEDIR ``/usr/local/var`` ``/var``
+Parent of KDC runtime dir RUNSTATEDIR ``/usr/local/var/run`` ``/run``
+Administrative programs SBINDIR ``/usr/local/sbin`` ``/usr/sbin``
+Alternate krb5.conf dir SYSCONFDIR ``/usr/local/etc`` ``/etc``
+Default ccache name DEFCCNAME ``FILE:/tmp/krb5cc_%{uid}`` ``FILE:/tmp/krb5cc_%{uid}``
+Default keytab name DEFKTNAME ``FILE:/etc/krb5.keytab`` ``FILE:/etc/krb5.keytab``
+========================== ============= =========================== ===========================
+
+The default client keytab name (DEFCKTNAME) typically defaults to
+``FILE:/usr/local/var/krb5/user/%{euid}/client.keytab`` for a custom
+build. A native build will typically use a path which will vary
+according to the operating system's layout of ``/var``.
diff --git a/doc/html/_sources/mitK5features.txt b/doc/html/_sources/mitK5features.txt
new file mode 100644
index 000000000000..b4e4b8b9b780
--- /dev/null
+++ b/doc/html/_sources/mitK5features.txt
@@ -0,0 +1,329 @@
+.. highlight:: rst
+
+.. toctree::
+ :hidden:
+
+ mitK5license.rst
+
+.. _mitK5features:
+
+MIT Kerberos features
+=====================
+
+http://web.mit.edu/kerberos
+
+
+Quick facts
+-----------
+
+License - :ref:`mitK5license`
+
+Releases:
+ - Latest stable: http://web.mit.edu/kerberos/krb5-1.15/
+ - Supported: http://web.mit.edu/kerberos/krb5-1.14/
+ - Release cycle: 9 -- 12 months
+
+Supported platforms \/ OS distributions:
+ - Windows (KfW 4.0): Windows 7, Vista, XP
+ - Solaris: SPARC, x86_64/x86
+ - GNU/Linux: Debian x86_64/x86, Ubuntu x86_64/x86, RedHat x86_64/x86
+ - BSD: NetBSD x86_64/x86
+
+Crypto backends:
+ - builtin - MIT Kerberos native crypto library
+ - OpenSSL (1.0\+) - http://www.openssl.org
+
+Database backends: LDAP, DB2
+
+krb4 support: Kerberos 5 release < 1.8
+
+DES support: configurable (See :ref:`retiring-des`)
+
+Interoperability
+----------------
+
+`Microsoft`
+
+Starting from release 1.7:
+
+* Follow client principal referrals in the client library when
+ obtaining initial tickets.
+
+* KDC can issue realm referrals for service principals based on domain names.
+
+* Extensions supporting DCE RPC, including three-leg GSS context setup
+ and unencapsulated GSS tokens inside SPNEGO.
+
+* Microsoft GSS_WrapEX, implemented using the gss_iov API, which is
+ similar to the equivalent SSPI functionality. This is needed to
+ support some instances of DCE RPC.
+
+* NTLM recognition support in GSS-API, to facilitate dropping in an
+ NTLM implementation for improved compatibility with older releases
+ of Microsoft Windows.
+
+* KDC support for principal aliases, if the back end supports them.
+ Currently, only the LDAP back end supports aliases.
+
+* Support Microsoft set/change password (:rfc:`3244`) protocol in
+ kadmind.
+
+* Implement client and KDC support for GSS_C_DELEG_POLICY_FLAG, which
+ allows a GSS application to request credential delegation only if
+ permitted by KDC policy.
+
+
+Starting from release 1.8:
+
+* Microsoft Services for User (S4U) compatibility
+
+
+`Heimdal`
+
+* Support for KCM credential cache starting from release 1.13
+
+Feature list
+------------
+
+For more information on the specific project see http://k5wiki.kerberos.org/wiki/Projects
+
+Release 1.7
+ - Credentials delegation :rfc:`5896`
+ - Cross-realm authentication and referrals :rfc:`6806`
+ - Master key migration
+ - PKINIT :rfc:`4556` :ref:`pkinit`
+
+Release 1.8
+ - Anonymous PKINIT :rfc:`6112` :ref:`anonymous_pkinit`
+ - Constrained delegation
+ - IAKERB http://tools.ietf.org/html/draft-ietf-krb-wg-iakerb-02
+ - Heimdal bridge plugin for KDC backend
+ - GSS-API S4U extensions http://msdn.microsoft.com/en-us/library/cc246071
+ - GSS-API naming extensions :rfc:`6680`
+ - GSS-API extensions for storing delegated credentials :rfc:`5588`
+
+Release 1.9
+ - Advance warning on password expiry
+ - Camellia encryption (CTS-CMAC mode) :rfc:`6803`
+ - KDC support for SecurID preauthentication
+ - kadmin over IPv6
+ - Trace logging :ref:`trace_logging`
+ - GSSAPI/KRB5 multi-realm support
+ - Plugin to test password quality :ref:`pwqual_plugin`
+ - Plugin to synchronize password changes :ref:`kadm5_hook_plugin`
+ - Parallel KDC
+ - GSS-API extentions for SASL GS2 bridge :rfc:`5801` :rfc:`5587`
+ - Purging old keys
+ - Naming extensions for delegation chain
+ - Password expiration API
+ - Windows client support (build-only)
+ - IPv6 support in iprop
+
+Release 1.10
+ - Plugin interface for configuration :ref:`profile_plugin`
+ - Credentials for multiple identities :ref:`ccselect_plugin`
+
+Release 1.11
+ - Client support for FAST OTP :rfc:`6560`
+ - GSS-API extensions for credential locations
+ - Responder mechanism
+
+Release 1.12
+ - Plugin to control krb5_aname_to_localname and krb5_kuserok behavior :ref:`localauth_plugin`
+ - Plugin to control hostname-to-realm mappings and the default realm :ref:`hostrealm_plugin`
+ - GSSAPI extensions for constructing MIC tokens using IOV lists :ref:`gssapi_mic_token`
+ - Principal may refer to nonexistent policies `Policy Refcount project <http://k5wiki.kerberos.org/wiki/Projects/Policy_refcount_elimination>`_
+ - Support for having no long-term keys for a principal `Principals Without Keys project <http://k5wiki.kerberos.org/wiki/Projects/Principals_without_keys>`_
+ - Collection support to the KEYRING credential cache type on Linux :ref:`ccache_definition`
+ - FAST OTP preauthentication module for the KDC which uses RADIUS to validate OTP token values :ref:`otp_preauth`
+ - Experimental Audit plugin for KDC processing `Audit project <http://k5wiki.kerberos.org/wiki/Projects/Audit>`_
+
+Release 1.13
+
+ - Add support for accessing KDCs via an HTTPS proxy server using
+ the `MS-KKDCP
+ <http://msdn.microsoft.com/en-us/library/hh553774.aspx>`_
+ protocol.
+ - Add support for `hierarchical incremental propagation
+ <http://k5wiki.kerberos.org/wiki/Projects/Hierarchical_iprop>`_,
+ where slaves can act as intermediates between an upstream master
+ and other downstream slaves.
+ - Add support for configuring GSS mechanisms using
+ ``/etc/gss/mech.d/*.conf`` files in addition to
+ ``/etc/gss/mech``.
+ - Add support to the LDAP KDB module for `binding to the LDAP
+ server using SASL
+ <http://k5wiki.kerberos.org/wiki/Projects/LDAP_SASL_support>`_.
+ - The KDC listens for TCP connections by default.
+ - Fix a minor key disclosure vulnerability where using the
+ "keepold" option to the kadmin randkey operation could return the
+ old keys. `[CVE-2014-5351]
+ <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5351>`_
+ - Add client support for the Kerberos Cache Manager protocol. If
+ the host is running a Heimdal kcm daemon, caches served by the
+ daemon can be accessed with the KCM: cache type.
+ - When built on OS X 10.7 and higher, use "KCM:" as the default
+ cachetype, unless overridden by command-line options or
+ krb5-config values.
+ - Add support for doing unlocked database dumps for the DB2 KDC
+ back end, which would allow the KDC and kadmind to continue
+ accessing the database during lengthy database dumps.
+
+Release 1.14
+
+ * Administrator experience
+
+ - Add a new kdb5_util tabdump command to provide reporting-friendly
+ tabular dump formats (tab-separated or CSV) for the KDC database.
+ Unlike the normal dump format, each output table has a fixed number
+ of fields. Some tables include human-readable forms of data that
+ are opaque in ordinary dump files. This format is also suitable for
+ importing into relational databases for complex queries.
+ - Add support to kadmin and kadmin.local for specifying a single
+ command line following any global options, where the command
+ arguments are split by the shell--for example, "kadmin getprinc
+ principalname". Commands issued this way do not prompt for
+ confirmation or display warning messages, and exit with non-zero
+ status if the operation fails.
+ - Accept the same principal flag names in kadmin as we do for the
+ default_principal_flags kdc.conf variable, and vice versa. Also
+ accept flag specifiers in the form that kadmin prints, as well as
+ hexadecimal numbers.
+ - Remove the triple-DES and RC4 encryption types from the default
+ value of supported_enctypes, which determines the default key and
+ salt types for new password-derived keys. By default, keys will
+ only created only for AES128 and AES256. This mitigates some types
+ of password guessing attacks.
+ - Add support for directory names in the KRB5_CONFIG and
+ KRB5_KDC_PROFILE environment variables.
+ - Add support for authentication indicators, which are ticket
+ annotations to indicate the strength of the initial authentication.
+ Add support for the "require_auth" string attribute, which can be
+ set on server principal entries to require an indicator when
+ authenticating to the server.
+ - Add support for key version numbers larger than 255 in keytab files,
+ and for version numbers up to 65535 in KDC databases.
+ - Transmit only one ETYPE-INFO and/or ETYPE-INFO2 entry from the KDC
+ during pre-authentication, corresponding to the client's most
+ preferred encryption type.
+ - Add support for server name identification (SNI) when proxying KDC
+ requests over HTTPS.
+ - Add support for the err_fmt profile parameter, which can be used to
+ generate custom-formatted error messages.
+
+ * Developer experience:
+
+ - Change gss_acquire_cred_with_password() to acquire credentials into
+ a private memory credential cache. Applications can use
+ gss_store_cred() to make the resulting credentials visible to other
+ processes.
+ - Change gss_acquire_cred() and SPNEGO not to acquire credentials for
+ IAKERB or for non-standard variants of the krb5 mechanism OID unless
+ explicitly requested. (SPNEGO will still accept the Microsoft
+ variant of the krb5 mechanism OID during negotiation.)
+ - Change gss_accept_sec_context() not to accept tokens for IAKERB or
+ for non-standard variants of the krb5 mechanism OID unless an
+ acceptor credential is acquired for those mechanisms.
+ - Change gss_acquire_cred() to immediately resolve credentials if the
+ time_rec parameter is not NULL, so that a correct expiration time
+ can be returned. Normally credential resolution is delayed until
+ the target name is known.
+ - Add krb5_prepend_error_message() and krb5_wrap_error_message() APIs,
+ which can be used by plugin modules or applications to add prefixes
+ to existing detailed error messages.
+ - Add krb5_c_prfplus() and krb5_c_derive_prfplus() APIs, which
+ implement the RFC 6113 PRF+ operation and key derivation using PRF+.
+ - Add support for pre-authentication mechanisms which use multiple
+ round trips, using the the KDC_ERR_MORE_PREAUTH_DATA_REQUIRED error
+ code. Add get_cookie() and set_cookie() callbacks to the kdcpreauth
+ interface; these callbacks can be used to save marshalled state
+ information in an encrypted cookie for the next request.
+ - Add a client_key() callback to the kdcpreauth interface to retrieve
+ the chosen client key, corresponding to the ETYPE-INFO2 entry sent
+ by the KDC.
+ - Add an add_auth_indicator() callback to the kdcpreauth interface,
+ allowing pre-authentication modules to assert authentication
+ indicators.
+ - Add support for the GSS_KRB5_CRED_NO_CI_FLAGS_X cred option to
+ suppress sending the confidentiality and integrity flags in GSS
+ initiator tokens unless they are requested by the caller. These
+ flags control the negotiated SASL security layer for the Microsoft
+ GSS-SPNEGO SASL mechanism.
+ - Make the FILE credential cache implementation less prone to
+ corruption issues in multi-threaded programs, especially on
+ platforms with support for open file description locks.
+
+ * Performance:
+
+ - On slave KDCs, poll the master KDC immediately after processing a
+ full resync, and do not require two full resyncs after the master
+ KDC's log file is reset.
+
+Release 1.15
+
+* Administrator experience:
+
+ - Add support to kadmin for remote extraction of current keys
+ without changing them (requires a special kadmin permission that
+ is excluded from the wildcard permission), with the exception of
+ highly protected keys.
+
+ - Add a lockdown_keys principal attribute to prevent retrieval of
+ the principal's keys (old or new) via the kadmin protocol. In
+ newly created databases, this attribute is set on the krbtgt and
+ kadmin principals.
+
+ - Restore recursive dump capability for DB2 back end, so sites can
+ more easily recover from database corruption resulting from power
+ failure events.
+
+ - Add DNS auto-discovery of KDC and kpasswd servers from URI
+ records, in addition to SRV records. URI records can convey TCP
+ and UDP servers and master KDC status in a single DNS lookup, and
+ can also point to HTTPS proxy servers.
+
+ - Add support for password history to the LDAP back end.
+
+ - Add support for principal renaming to the LDAP back end.
+
+ - Use the getrandom system call on supported Linux kernels to avoid
+ blocking problems when getting entropy from the operating system.
+
+* Code quality:
+
+ - Clean up numerous compilation warnings.
+
+ - Remove various infrequently built modules, including some preauth
+ modules that were not built by default.
+
+* Developer experience:
+
+ - Add support for building with OpenSSL 1.1.
+
+ - Use SHA-256 instead of MD5 for (non-cryptographic) hashing of
+ authenticators in the replay cache. This helps sites that must
+ build with FIPS 140 conformant libraries that lack MD5.
+
+* Protocol evolution:
+
+ - Add support for the AES-SHA2 enctypes, which allows sites to
+ conform to Suite B crypto requirements.
+
+`Pre-authentication mechanisms`
+
+- PW-SALT :rfc:`4120#section-5.2.7.3`
+- ENC-TIMESTAMP :rfc:`4120#section-5.2.7.2`
+- SAM-2
+- FAST negotiation framework (release 1.8) :rfc:`6113`
+- PKINIT with FAST on client (release 1.10) :rfc:`6113`
+- PKINIT :rfc:`4556`
+- FX-COOKIE :rfc:`6113#section-5.2`
+- S4U-X509-USER (release 1.8) http://msdn.microsoft.com/en-us/library/cc246091
+- OTP (release 1.12) :ref:`otp_preauth`
+
+`PRNG`
+
+- modularity (release 1.9)
+- Yarrow PRNG (release < 1.10)
+- Fortuna PRNG (release 1.9) http://www.schneier.com/book-practical.html
+- OS PRNG (release 1.10) OS's native PRNG
diff --git a/doc/html/_sources/mitK5license.txt b/doc/html/_sources/mitK5license.txt
new file mode 100644
index 000000000000..e23edbfb29f3
--- /dev/null
+++ b/doc/html/_sources/mitK5license.txt
@@ -0,0 +1,11 @@
+.. _mitK5license:
+
+MIT Kerberos License information
+================================
+
+.. toctree::
+ :hidden:
+
+ copyright.rst
+
+.. include:: notice.rst
diff --git a/doc/html/_sources/plugindev/ccselect.txt b/doc/html/_sources/plugindev/ccselect.txt
new file mode 100644
index 000000000000..1253fe6bcb65
--- /dev/null
+++ b/doc/html/_sources/plugindev/ccselect.txt
@@ -0,0 +1,28 @@
+.. _ccselect_plugin:
+
+Credential cache selection interface (ccselect)
+===============================================
+
+The ccselect interface allows modules to control how credential caches
+are chosen when a GSSAPI client contacts a service. For a detailed
+description of the ccselect interface, see the header file
+``<krb5/ccselect_plugin.h>``.
+
+The primary ccselect method is **choose**, which accepts a server
+principal as input and returns a ccache and/or principal name as
+output. A module can use the krb5_cccol APIs to iterate over the
+cache collection in order to find an appropriate ccache to use.
+
+.. TODO: add reference to the admin guide for ccaches and cache
+ collections when we have appropriate sections.
+
+A module can create and destroy per-library-context state objects by
+implementing the **init** and **fini** methods. State objects have
+the type krb5_ccselect_moddata, which is an abstract pointer type. A
+module should typically cast this to an internal type for the state
+object.
+
+A module can have one of two priorities, "authoritative" or
+"heuristic". Results from authoritative modules, if any are
+available, will take priority over results from heuristic modules. A
+module communicates its priority as a result of the **init** method.
diff --git a/doc/html/_sources/plugindev/clpreauth.txt b/doc/html/_sources/plugindev/clpreauth.txt
new file mode 100644
index 000000000000..38aa52e8bfa4
--- /dev/null
+++ b/doc/html/_sources/plugindev/clpreauth.txt
@@ -0,0 +1,54 @@
+Client preauthentication interface (clpreauth)
+==============================================
+
+During an initial ticket request, a KDC may ask a client to prove its
+knowledge of the password before issuing an encrypted ticket, or to
+use credentials other than a password. This process is called
+preauthentication, and is described in :rfc:`4120` and :rfc:`6113`.
+The clpreauth interface allows the addition of client support for
+preauthentication mechanisms beyond those included in the core MIT
+krb5 code base. For a detailed description of the clpreauth
+interface, see the header file ``<krb5/clpreauth_plugin.h>`` (or
+``<krb5/preauth_plugin.h>`` before release 1.12).
+
+A clpreauth module is generally responsible for:
+
+* Supplying a list of preauth type numbers used by the module in the
+ **pa_type_list** field of the vtable structure.
+
+* Indicating what kind of preauthentication mechanism it implements,
+ with the **flags** method. In the most common case, this method
+ just returns ``PA_REAL``, indicating that it implements a normal
+ preauthentication type.
+
+* Examining the padata information included in a PREAUTH_REQUIRED or
+ MORE_PREAUTH_DATA_REQUIRED error and producing padata values for the
+ next AS request. This is done with the **process** method.
+
+* Examining the padata information included in a successful ticket
+ reply, possibly verifying the KDC identity and computing a reply
+ key. This is also done with the **process** method.
+
+* For preauthentication types which support it, recovering from errors
+ by examining the error data from the KDC and producing a padata
+ value for another AS request. This is done with the **tryagain**
+ method.
+
+* Receiving option information (supplied by ``kinit -X`` or by an
+ application), with the **gic_opts** method.
+
+A clpreauth module can create and destroy per-library-context and
+per-request state objects by implementing the **init**, **fini**,
+**request_init**, and **request_fini** methods. Per-context state
+objects have the type krb5_clpreauth_moddata, and per-request state
+objects have the type krb5_clpreauth_modreq. These are abstract
+pointer types; a module should typically cast these to internal
+types for the state objects.
+
+The **process** and **tryagain** methods have access to a callback
+function and handle (called a "rock") which can be used to get
+additional information about the current request, including the
+expected enctype of the AS reply, the FAST armor key, and the client
+long-term key (prompting for the user password if necessary). A
+callback can also be used to replace the AS reply key if the
+preauthentication mechanism computes one.
diff --git a/doc/html/_sources/plugindev/general.txt b/doc/html/_sources/plugindev/general.txt
new file mode 100644
index 000000000000..dff68076233a
--- /dev/null
+++ b/doc/html/_sources/plugindev/general.txt
@@ -0,0 +1,98 @@
+General plugin concepts
+=======================
+
+A krb5 dynamic plugin module is a Unix shared object or Windows DLL.
+Typically, the source code for a dynamic plugin module should live in
+its own project with a build system using automake_ and libtool_, or
+tools with similar functionality.
+
+A plugin module must define a specific symbol name, which depends on
+the pluggable interface and module name. For most pluggable
+interfaces, the exported symbol is a function named
+``INTERFACE_MODULE_initvt``, where *INTERFACE* is the name of the
+pluggable interface and *MODULE* is the name of the module. For these
+interfaces, it is possible for one shared object or DLL to implement
+multiple plugin modules, either for the same pluggable interface or
+for different ones. For example, a shared object could implement both
+KDC and client preauthentication mechanisms, by exporting functions
+named ``kdcpreauth_mymech_initvt`` and ``clpreauth_mymech_initvt``.
+
+.. note: The profile, locate, and GSSAPI mechglue pluggable interfaces
+ follow different conventions. See the documentation for
+ those interfaces for details. The remainder of this section
+ applies to pluggable interfaces which use the standard
+ conventions.
+
+A plugin module implementation should include the header file
+``<krb5/INTERFACE_plugin.h>``, where *INTERFACE* is the name of the
+pluggable interface. For instance, a ccselect plugin module
+implementation should use ``#include <krb5/ccselect_plugin.h>``.
+
+.. note: clpreauth and kdcpreauth module implementations should
+ include <krb5/preauth_plugin.h>.
+
+initvt functions have the following prototype::
+
+ krb5_error_code interface_modname_initvt(krb5_context context,
+ int maj_ver, int min_ver,
+ krb5_plugin_vtable vtable);
+
+and should do the following:
+
+1. Check that the supplied maj_ver argument is supported by the
+ module. If it is not supported, the function should return
+ KRB5_PLUGIN_VER_NOTSUPP.
+
+2. Cast the supplied vtable pointer to the structure type
+ corresponding to the major version, as documented in the pluggable
+ interface header file.
+
+3. Fill in the structure fields with pointers to method functions and
+ static data, stopping at the field indicated by the supplied minor
+ version. Fields for unimplemented optional methods can be left
+ alone; it is not necessary to initialize them to NULL.
+
+In most cases, the context argument will not be used. The initvt
+function should not allocate memory; think of it as a glorified
+structure initializer. Each pluggable interface defines methods for
+allocating and freeing module state if doing so is necessary for the
+interface.
+
+Pluggable interfaces typically include a **name** field in the vtable
+structure, which should be filled in with a pointer to a string
+literal containing the module name.
+
+Here is an example of what an initvt function might look like for a
+fictional pluggable interface named fences, for a module named
+"wicker"::
+
+ krb5_error_code
+ fences_wicker_initvt(krb5_context context, int maj_ver,
+ int min_ver, krb5_plugin_vtable vtable)
+ {
+ krb5_ccselect_vtable vt;
+
+ if (maj_ver == 1) {
+ krb5_fences_vtable vt = (krb5_fences_vtable)vtable;
+ vt->name = "wicker";
+ vt->slats = wicker_slats;
+ vt->braces = wicker_braces;
+ } else if (maj_ver == 2) {
+ krb5_fences_vtable_v2 vt = (krb5_fences_vtable_v2)vtable;
+ vt->name = "wicker";
+ vt->material = wicker_material;
+ vt->construction = wicker_construction;
+ if (min_ver < 2)
+ return 0;
+ vt->footing = wicker_footing;
+ if (min_ver < 3)
+ return 0;
+ vt->appearance = wicker_appearance;
+ } else {
+ return KRB5_PLUGIN_VER_NOTSUPP;
+ }
+ return 0;
+ }
+
+.. _automake: http://www.gnu.org/software/automake/
+.. _libtool: http://www.gnu.org/software/libtool/
diff --git a/doc/html/_sources/plugindev/gssapi.txt b/doc/html/_sources/plugindev/gssapi.txt
new file mode 100644
index 000000000000..34fc9e484570
--- /dev/null
+++ b/doc/html/_sources/plugindev/gssapi.txt
@@ -0,0 +1,101 @@
+GSSAPI mechanism interface
+==========================
+
+The GSSAPI library in MIT krb5 can load mechanism modules to augment
+the set of built-in mechanisms.
+
+.. note: The GSSAPI loadable mechanism interface does not follow the
+ normal conventions for MIT krb5 pluggable interfaces.
+
+A mechanism module is a Unix shared object or Windows DLL, built
+separately from the krb5 tree. Modules are loaded according to the
+``/etc/gss/mech`` or ``/etc/gss/mech.d/*.conf`` config files, as
+described in :ref:`gssapi_plugin_config`.
+
+For the most part, a GSSAPI mechanism module exports the same
+functions as would a GSSAPI implementation itself, with the same
+function signatures. The mechanism selection layer within the GSSAPI
+library (called the "mechglue") will dispatch calls from the
+application to the module if the module's mechanism is requested. If
+a module does not wish to implement a GSSAPI extension, it can simply
+refrain from exporting it, and the mechglue will fail gracefully if
+the application calls that function.
+
+The mechglue does not invoke a module's **gss_add_cred**,
+**gss_add_cred_from**, **gss_add_cred_impersonate_name**, or
+**gss_add_cred_with_password** function. A mechanism only needs to
+implement the "acquire" variants of those functions.
+
+A module does not need to coordinate its minor status codes with those
+of other mechanisms. If the mechglue detects conflicts, it will map
+the mechanism's status codes onto unique values, and then map them
+back again when **gss_display_status** is called.
+
+
+Interposer modules
+------------------
+
+The mechglue also supports a kind of loadable module, called an
+interposer module, which intercepts calls to existing mechanisms
+rather than implementing a new mechanism.
+
+An interposer module must export the symbol **gss_mech_interposer**
+with the following signature::
+
+ gss_OID_set gss_mech_interposer(gss_OID mech_type);
+
+This function is invoked with the OID of the interposer mechanism as
+specified in ``/etc/gss/mech`` or in a ``/etc/gss/mech.d/*.conf``
+file, and returns a set of mechanism OIDs to be interposed. The
+returned OID set must have been created using the mechglue's
+gss_create_empty_oid_set and gss_add_oid_set_member functions.
+
+An interposer module must use the prefix ``gssi_`` for the GSSAPI
+functions it exports, instead of the prefix ``gss_``.
+
+An interposer module can link against the GSSAPI library in order to
+make calls to the original mechanism. To do so, it must specify a
+special mechanism OID which is the concatention of the interposer's
+own OID byte string and the original mechanism's OID byte string.
+
+Since **gss_accept_sec_context** does not accept a mechanism argument,
+an interposer mechanism must, in order to invoke the original
+mechanism's function, acquire a credential for the concatenated OID
+and pass that as the *verifier_cred_handle* parameter.
+
+Since **gss_import_name**, **gss_import_cred**, and
+**gss_import_sec_context** do not accept mechanism parameters, the SPI
+has been extended to include variants which do. This allows the
+interposer module to know which mechanism should be used to interpret
+the token. These functions have the following signatures::
+
+ OM_uint32 gssi_import_sec_context_by_mech(OM_uint32 *minor_status,
+ gss_OID desired_mech, gss_buffer_t interprocess_token,
+ gss_ctx_id_t *context_handle);
+
+ OM_uint32 gssi_import_name_by_mech(OM_uint32 *minor_status,
+ gss_OID mech_type, gss_buffer_t input_name_buffer,
+ gss_OID input_name_type, gss_name_t output_name);
+
+ OM_uint32 gssi_import_cred_by_mech(OM_uint32 *minor_status,
+ gss_OID mech_type, gss_buffer_t token,
+ gss_cred_id_t *cred_handle);
+
+To re-enter the original mechanism when importing tokens for the above
+functions, the interposer module must wrap the mechanism token in the
+mechglue's format, using the concatenated OID. The mechglue token
+formats are:
+
+* For **gss_import_sec_context**, a four-byte OID length in big-endian
+ order, followed by the mechanism OID, followed by the mechanism
+ token.
+
+* For **gss_import_name**, the bytes 04 01, followed by a two-byte OID
+ length in big-endian order, followed by the mechanism OID, followed
+ by the bytes 06, followed by the OID length as a single byte,
+ followed by the mechanism OID, followed by the mechanism token.
+
+* For **gss_import_cred**, a four-byte OID length in big-endian order,
+ followed by the mechanism OID, followed by a four-byte token length
+ in big-endian order, followed by the mechanism token. This sequence
+ may be repeated multiple times.
diff --git a/doc/html/_sources/plugindev/hostrealm.txt b/doc/html/_sources/plugindev/hostrealm.txt
new file mode 100644
index 000000000000..4d488ef7bddc
--- /dev/null
+++ b/doc/html/_sources/plugindev/hostrealm.txt
@@ -0,0 +1,39 @@
+.. _hostrealm_plugin:
+
+Host-to-realm interface (hostrealm)
+===================================
+
+The host-to-realm interface was first introduced in release 1.12. It
+allows modules to control the local mapping of hostnames to realm
+names as well as the default realm. For a detailed description of the
+hostrealm interface, see the header file
+``<krb5/hostrealm_plugin.h>``.
+
+Although the mapping methods in the hostrealm interface return a list
+of one or more realms, only the first realm in the list is currently
+used by callers. Callers may begin using later responses in the
+future.
+
+Any mapping method may return KRB5_PLUGIN_NO_HANDLE to defer
+processing to a later module.
+
+A module can create and destroy per-library-context state objects
+using the **init** and **fini** methods. If the module does not need
+any state, it does not need to implement these methods.
+
+The optional **host_realm** method allows a module to determine
+authoritative realm mappings for a hostname. The first authoritative
+mapping is used in preference to KDC referrals when getting service
+credentials.
+
+The optional **fallback_realm** method allows a module to determine
+fallback mappings for a hostname. The first fallback mapping is tried
+if there is no authoritative mapping for a realm, and KDC referrals
+failed to produce a successful result.
+
+The optional **default_realm** method allows a module to determine the
+local default realm.
+
+If a module implements any of the above methods, it must also
+implement **free_list** to ensure that memory is allocated and
+deallocated consistently.
diff --git a/doc/html/_sources/plugindev/index.txt b/doc/html/_sources/plugindev/index.txt
new file mode 100644
index 000000000000..3fb921778cb5
--- /dev/null
+++ b/doc/html/_sources/plugindev/index.txt
@@ -0,0 +1,35 @@
+For plugin module developers
+============================
+
+Kerberos plugin modules allow increased control over MIT krb5 library
+and server behavior. This guide describes how to create dynamic
+plugin modules and the currently available pluggable interfaces.
+
+See :ref:`plugin_config` for information on how to register dynamic
+plugin modules and how to enable and disable modules via
+:ref:`krb5.conf(5)`.
+
+.. TODO: update the above reference when we have a free-form section
+ in the admin guide about plugin configuration
+
+
+Contents
+--------
+
+.. toctree::
+ :maxdepth: 2
+
+ general.rst
+ clpreauth.rst
+ kdcpreauth.rst
+ ccselect.rst
+ pwqual.rst
+ kadm5_hook.rst
+ hostrealm.rst
+ localauth.rst
+ locate.rst
+ profile.rst
+ gssapi.rst
+ internal.rst
+
+.. TODO: GSSAPI mechanism plugins
diff --git a/doc/html/_sources/plugindev/internal.txt b/doc/html/_sources/plugindev/internal.txt
new file mode 100644
index 000000000000..99e30bb79dcc
--- /dev/null
+++ b/doc/html/_sources/plugindev/internal.txt
@@ -0,0 +1,32 @@
+Internal pluggable interfaces
+=============================
+
+Following are brief discussions of pluggable interfaces which have not
+yet been made public. These interfaces are functional, but the
+interfaces are likely to change in incompatible ways from release to
+release. In some cases, it may be necessary to copy header files from
+the krb5 source tree to use an internal interface. Use these with
+care, and expect to need to update your modules for each new release
+of MIT krb5.
+
+
+Kerberos database interface (KDB)
+---------------------------------
+
+A KDB module implements a database back end for KDC principal and
+policy information, and can also control many aspects of KDC behavior.
+For a full description of the interface, see the header file
+``<kdb.h>``.
+
+The KDB pluggable interface is often referred to as the DAL (Database
+Access Layer).
+
+
+Authorization data interface (authdata)
+---------------------------------------
+
+The authdata interface allows a module to provide (from the KDC) or
+consume (in application servers) authorization data of types beyond
+those handled by the core MIT krb5 code base. The interface is
+defined in the header file ``<krb5/authdata_plugin.h>``, which is not
+installed by the build.
diff --git a/doc/html/_sources/plugindev/kadm5_hook.txt b/doc/html/_sources/plugindev/kadm5_hook.txt
new file mode 100644
index 000000000000..ece3eacfc7b4
--- /dev/null
+++ b/doc/html/_sources/plugindev/kadm5_hook.txt
@@ -0,0 +1,27 @@
+.. _kadm5_hook_plugin:
+
+KADM5 hook interface (kadm5_hook)
+=================================
+
+The kadm5_hook interface allows modules to perform actions when
+changes are made to the Kerberos database through :ref:`kadmin(1)`.
+For a detailed description of the kadm5_hook interface, see the header
+file ``<krb5/kadm5_hook_plugin.h>``.
+
+The kadm5_hook interface has five primary methods: **chpass**,
+**create**, **modify**, **remove**, and **rename**. (The **rename**
+method was introduced in release 1.14.) Each of these methods is
+called twice when the corresponding administrative action takes place,
+once before the action is committed and once afterwards. A module can
+prevent the action from taking place by returning an error code during
+the pre-commit stage.
+
+A module can create and destroy per-process state objects by
+implementing the **init** and **fini** methods. State objects have
+the type kadm5_hook_modinfo, which is an abstract pointer type. A
+module should typically cast this to an internal type for the state
+object.
+
+Because the kadm5_hook interface is tied closely to the kadmin
+interface (which is explicitly unstable), it may not remain as stable
+across versions as other public pluggable interfaces.
diff --git a/doc/html/_sources/plugindev/kdcpreauth.txt b/doc/html/_sources/plugindev/kdcpreauth.txt
new file mode 100644
index 000000000000..ab7f3a9022b1
--- /dev/null
+++ b/doc/html/_sources/plugindev/kdcpreauth.txt
@@ -0,0 +1,79 @@
+KDC preauthentication interface (kdcpreauth)
+============================================
+
+The kdcpreauth interface allows the addition of KDC support for
+preauthentication mechanisms beyond those included in the core MIT
+krb5 code base. For a detailed description of the kdcpreauth
+interface, see the header file ``<krb5/kdcpreauth_plugin.h>`` (or
+``<krb5/preauth_plugin.h>`` before release 1.12).
+
+A kdcpreauth module is generally responsible for:
+
+* Supplying a list of preauth type numbers used by the module in the
+ **pa_type_list** field of the vtable structure.
+
+* Indicating what kind of preauthentication mechanism it implements,
+ with the **flags** method. If the mechanism computes a new reply
+ key, it must specify the ``PA_REPLACES_KEY`` flag. If the mechanism
+ is generally only used with hardware tokens, the ``PA_HARDWARE``
+ flag allows the mechanism to work with principals which have the
+ **requires_hwauth** flag set.
+
+* Producing a padata value to be sent with a preauth_required error,
+ with the **edata** method.
+
+* Examining a padata value sent by a client and verifying that it
+ proves knowledge of the appropriate client credential information.
+ This is done with the **verify** method.
+
+* Producing a padata response value for the client, and possibly
+ computing a reply key. This is done with the **return_padata**
+ method.
+
+A module can create and destroy per-KDC state objects by implementing
+the **init** and **fini** methods. Per-KDC state objects have the
+type krb5_kdcpreauth_moddata, which is an abstract pointer types. A
+module should typically cast this to an internal type for the state
+object.
+
+A module can create a per-request state object by returning one in the
+**verify** method, receiving it in the **return_padata** method, and
+destroying it in the **free_modreq** method. Note that these state
+objects only apply to the processing of a single AS request packet,
+not to an entire authentication exchange (since an authentication
+exchange may remain unfinished by the client or may involve multiple
+different KDC hosts). Per-request state objects have the type
+krb5_kdcpreauth_modreq, which is an abstract pointer type.
+
+The **edata**, **verify**, and **return_padata** methods have access
+to a callback function and handle (called a "rock") which can be used
+to get additional information about the current request, including the
+maximum allowable clock skew, the client's long-term keys, the
+DER-encoded request body, the FAST armor key, string attributes on the
+client's database entry, and the client's database entry itself. The
+**verify** method can assert one or more authentication indicators to
+be included in the issued ticket using the ``add_auth_indicator``
+callback (new in release 1.14).
+
+A module can generate state information to be included with the next
+client request using the ``set_cookie`` callback (new in release
+1.14). On the next request, the module can read this state
+information using the ``get_cookie`` callback. Cookie information is
+encrypted, timestamped, and transmitted to the client in a
+``PA-FX-COOKIE`` pa-data item. Older clients may not support cookies
+and therefore may not transmit the cookie in the next request; in this
+case, ``get_cookie`` will not yield the saved information.
+
+If a module implements a mechanism which requires multiple round
+trips, its **verify** method can respond with the code
+``KRB5KDC_ERR_MORE_PREAUTH_DATA_REQUIRED`` and a list of pa-data in
+the *e_data* parameter to be processed by the client.
+
+The **edata** and **verify** methods can be implemented
+asynchronously. Because of this, they do not return values directly
+to the caller, but must instead invoke responder functions with their
+results. A synchronous implementation can invoke the responder
+function immediately. An asynchronous implementation can use the
+callback to get an event context for use with the libverto_ API.
+
+.. _libverto: https://fedorahosted.org/libverto/
diff --git a/doc/html/_sources/plugindev/localauth.txt b/doc/html/_sources/plugindev/localauth.txt
new file mode 100644
index 000000000000..6f396a9c124e
--- /dev/null
+++ b/doc/html/_sources/plugindev/localauth.txt
@@ -0,0 +1,43 @@
+.. _localauth_plugin:
+
+Local authorization interface (localauth)
+=========================================
+
+The localauth interface was first introduced in release 1.12. It
+allows modules to control the relationship between Kerberos principals
+and local system accounts. When an application calls
+:c:func:`krb5_kuserok` or :c:func:`krb5_aname_to_localname`, localauth
+modules are consulted to determine the result. For a detailed
+description of the localauth interface, see the header file
+``<krb5/localauth_plugin.h>``.
+
+A module can create and destroy per-library-context state objects
+using the **init** and **fini** methods. If the module does not need
+any state, it does not need to implement these methods.
+
+The optional **userok** method allows a module to control the behavior
+of :c:func:`krb5_kuserok`. The module receives the authenticated name
+and the local account name as inputs, and can return either 0 to
+authorize access, KRB5_PLUGIN_NO_HANDLE to defer the decision to other
+modules, or another error (canonically EPERM) to authoritatively deny
+access. Access is granted if at least one module grants access and no
+module authoritatively denies access.
+
+The optional **an2ln** method can work in two different ways. If the
+module sets an array of uppercase type names in **an2ln_types**, then
+the module's **an2ln** method will only be invoked by
+:c:func:`krb5_aname_to_localname` if an **auth_to_local** value in
+:ref:`krb5.conf(5)` refers to one of the module's types. In this
+case, the *type* and *residual* arguments will give the type name and
+residual string of the **auth_to_local** value.
+
+If the module does not set **an2ln_types** but does implement
+**an2ln**, the module's **an2ln** method will be invoked for all
+:c:func:`krb5_aname_to_localname` operations unless an earlier module
+determines a mapping, with *type* and *residual* set to NULL. The
+module can return KRB5_LNAME_NO_TRANS to defer mapping to later
+modules.
+
+If a module implements **an2ln**, it must also implement
+**free_string** to ensure that memory is allocated and deallocated
+consistently.
diff --git a/doc/html/_sources/plugindev/locate.txt b/doc/html/_sources/plugindev/locate.txt
new file mode 100644
index 000000000000..fca6a4da73f8
--- /dev/null
+++ b/doc/html/_sources/plugindev/locate.txt
@@ -0,0 +1,32 @@
+Server location interface (locate)
+==================================
+
+The locate interface allows modules to control how KDCs and similar
+services are located by clients. For a detailed description of the
+ccselect interface, see the header file ``<krb5/locate_plugin.h>``.
+
+.. note: The locate interface does not follow the normal conventions
+ for MIT krb5 pluggable interfaces, because it was made public
+ before those conventions were established.
+
+A locate module exports a structure object of type
+krb5plugin_service_locate_ftable, with the name ``service_locator``.
+The structure contains a minor version and pointers to the module's
+methods.
+
+The primary locate method is **lookup**, which accepts a service type,
+realm name, desired socket type, and desired address family (which
+will be AF_UNSPEC if no specific address family is desired). The
+method should invoke the callback function once for each server
+address it wants to return, passing a socket type (SOCK_STREAM for TCP
+or SOCK_DGRAM for UDP) and socket address. The **lookup** method
+should return 0 if it has authoritatively determined the server
+addresses for the realm, KRB5_PLUGIN_NO_HANDLE if it wants to let
+other location mechanisms determine the server addresses, or another
+code if it experienced a failure which should abort the location
+process.
+
+A module can create and destroy per-library-context state objects by
+implementing the **init** and **fini** methods. State objects have
+the type void \*, and should be cast to an internal type for the state
+object.
diff --git a/doc/html/_sources/plugindev/profile.txt b/doc/html/_sources/plugindev/profile.txt
new file mode 100644
index 000000000000..209c0644ad1a
--- /dev/null
+++ b/doc/html/_sources/plugindev/profile.txt
@@ -0,0 +1,96 @@
+.. _profile_plugin:
+
+Configuration interface (profile)
+=================================
+
+The profile interface allows a module to control how krb5
+configuration information is obtained by the Kerberos library and
+applications. For a detailed description of the profile interface,
+see the header file ``<profile.h>``.
+
+.. note::
+
+ The profile interface does not follow the normal conventions
+ for MIT krb5 pluggable interfaces, because it is part of a
+ lower-level component of the krb5 library.
+
+As with other types of plugin modules, a profile module is a Unix
+shared object or Windows DLL, built separately from the krb5 tree.
+The krb5 library will dynamically load and use a profile plugin module
+if it reads a ``module`` directive at the beginning of krb5.conf, as
+described in :ref:`profile_plugin_config`.
+
+A profile module exports a function named ``profile_module_init``
+matching the signature of the profile_module_init_fn type. This
+function accepts a residual string, which may be used to help locate
+the configuration source. The function fills in a vtable and may also
+create a per-profile state object. If the module uses state objects,
+it should implement the **copy** and **cleanup** methods to manage
+them.
+
+A basic read-only profile module need only implement the
+**get_values** and **free_values** methods. The **get_values** method
+accepts a null-terminated list of C string names (e.g., an array
+containing "libdefaults", "clockskew", and NULL for the **clockskew**
+variable in the :ref:`libdefaults` section) and returns a
+null-terminated list of values, which will be cleaned up with the
+**free_values** method when the caller is done with them.
+
+Iterable profile modules must also define the **iterator_create**,
+**iterator**, **iterator_free**, and **free_string** methods. The
+core krb5 code does not require profiles to be iterable, but some
+applications may iterate over the krb5 profile object in order to
+present configuration interfaces.
+
+Writable profile modules must also define the **writable**,
+**modified**, **update_relation**, **rename_section**,
+**add_relation**, and **flush** methods. The core krb5 code does not
+require profiles to be writable, but some applications may write to
+the krb5 profile in order to present configuration interfaces.
+
+The following is an example of a very basic read-only profile module
+which returns a hardcoded value for the **default_realm** variable in
+:ref:`libdefaults`, and provides no other configuration information.
+(For conciseness, the example omits code for checking the return
+values of malloc and strdup.) ::
+
+ #include <stdlib.h>
+ #include <string.h>
+ #include <profile.h>
+
+ static long
+ get_values(void *cbdata, const char *const *names, char ***values)
+ {
+ if (names[0] != NULL && strcmp(names[0], "libdefaults") == 0 &&
+ names[1] != NULL && strcmp(names[1], "default_realm") == 0) {
+ *values = malloc(2 * sizeof(char *));
+ (*values)[0] = strdup("ATHENA.MIT.EDU");
+ (*values)[1] = NULL;
+ return 0;
+ }
+ return PROF_NO_RELATION;
+ }
+
+ static void
+ free_values(void *cbdata, char **values)
+ {
+ char **v;
+
+ for (v = values; *v; v++)
+ free(*v);
+ free(values);
+ }
+
+ long
+ profile_module_init(const char *residual, struct profile_vtable *vtable,
+ void **cb_ret);
+
+ long
+ profile_module_init(const char *residual, struct profile_vtable *vtable,
+ void **cb_ret)
+ {
+ *cb_ret = NULL;
+ vtable->get_values = get_values;
+ vtable->free_values = free_values;
+ return 0;
+ }
diff --git a/doc/html/_sources/plugindev/pwqual.txt b/doc/html/_sources/plugindev/pwqual.txt
new file mode 100644
index 000000000000..523b95c5aee3
--- /dev/null
+++ b/doc/html/_sources/plugindev/pwqual.txt
@@ -0,0 +1,25 @@
+.. _pwqual_plugin:
+
+Password quality interface (pwqual)
+===================================
+
+The pwqual interface allows modules to control what passwords are
+allowed when a user changes passwords. For a detailed description of
+the pwqual interface, see the header file ``<krb5/pwqual_plugin.h>``.
+
+The primary pwqual method is **check**, which receives a password as
+input and returns success (0) or a ``KADM5_PASS_Q_`` failure code
+depending on whether the password is allowed. The **check** method
+also receives the principal name and the name of the principal's
+password policy as input; although there is no stable interface for
+the module to obtain the fields of the password policy, it can define
+its own configuration or data store based on the policy name.
+
+A module can create and destroy per-process state objects by
+implementing the **open** and **close** methods. State objects have
+the type krb5_pwqual_moddata, which is an abstract pointer type. A
+module should typically cast this to an internal type for the state
+object. The **open** method also receives the name of the realm's
+dictionary file (as configured by the **dict_file** variable in the
+:ref:`kdc_realms` section of :ref:`kdc.conf(5)`) if it wishes to use
+it.
diff --git a/doc/html/_sources/resources.txt b/doc/html/_sources/resources.txt
new file mode 100644
index 000000000000..5bead12ca411
--- /dev/null
+++ b/doc/html/_sources/resources.txt
@@ -0,0 +1,60 @@
+Resources
+=========
+
+Mailing lists
+-------------
+
+* kerberos@mit.edu is a community resource for discussion and
+ questions about MIT krb5 and other Kerberos implementations. To
+ subscribe to the list, please follow the instructions at
+ http://mailman.mit.edu/mailman/listinfo/kerberos.
+* krbdev@mit.edu is the primary list for developers of MIT Kerberos.
+ To subscribe to the list, please follow the instructions at
+ http://mailman.mit.edu/mailman/listinfo/krbdev.
+* krb5-bugs@mit.edu is notified when a ticket is created or updated.
+ This list helps track bugs and feature requests.
+ In addition, this list is used to track documentation criticism
+ and recommendations for improvements.
+* krbcore@mit.edu is a private list for the MIT krb5 core team. Send
+ mail to this list if you need to contact the core team.
+* krbcore-security@mit.edu is the point of contact for security problems
+ with MIT Kerberos. Please use PGP-encrypted mail to report possible
+ vulnerabilities to this list.
+
+
+IRC channels
+------------
+
+The IRC channel `#kerberos` on irc.freenode.net is a community
+resource for general Kerberos discussion and support.
+
+The main IRC channel for MIT Kerberos development is `#krbdev` on
+freenode.
+
+For more information about freenode, see http://freenode.net/.
+
+
+Archives
+--------
+
+* The archive http://mailman.mit.edu/pipermail/kerberos/ contains past
+ postings from the `kerberos@mit.edu` list.
+
+* The http://mailman.mit.edu/pipermail/krbdev/ contains past
+ postings from the `krbdev@mit.edu` list.
+
+
+Wiki
+----
+
+The wiki at http://k5wiki.kerberos.org/ contains useful information
+for developers working on the MIT Kerberos source code. Some of the
+information on the wiki may be useful for advanced users or system
+administrators.
+
+Web pages
+---------
+
+* http://web.mit.edu/kerberos/ is the MIT Kerberos software web page.
+
+* http://kerberos.org/ is the MIT Kerberos Consortium web page.
diff --git a/doc/html/_sources/user/index.txt b/doc/html/_sources/user/index.txt
new file mode 100644
index 000000000000..233c3ef55555
--- /dev/null
+++ b/doc/html/_sources/user/index.txt
@@ -0,0 +1,10 @@
+For users
+=========
+
+.. toctree::
+ :maxdepth: 2
+
+ pwd_mgmt.rst
+ tkt_mgmt.rst
+ user_config/index.rst
+ user_commands/index.rst
diff --git a/doc/html/_sources/user/pwd_mgmt.txt b/doc/html/_sources/user/pwd_mgmt.txt
new file mode 100644
index 000000000000..ed7d459f0fd0
--- /dev/null
+++ b/doc/html/_sources/user/pwd_mgmt.txt
@@ -0,0 +1,106 @@
+Password management
+===================
+
+Your password is the only way Kerberos has of verifying your identity.
+If someone finds out your password, that person can masquerade as
+you---send email that comes from you, read, edit, or delete your files,
+or log into other hosts as you---and no one will be able to tell the
+difference. For this reason, it is important that you choose a good
+password, and keep it secret. If you need to give access to your
+account to someone else, you can do so through Kerberos (see
+:ref:`grant_access`). You should never tell your password to anyone,
+including your system administrator, for any reason. You should
+change your password frequently, particularly any time you think
+someone may have found out what it is.
+
+
+Changing your password
+----------------------
+
+To change your Kerberos password, use the :ref:`kpasswd(1)` command.
+It will ask you for your old password (to prevent someone else from
+walking up to your computer when you're not there and changing your
+password), and then prompt you for the new one twice. (The reason you
+have to type it twice is to make sure you have typed it correctly.)
+For example, user ``david`` would do the following::
+
+ shell% kpasswd
+ Password for david: <- Type your old password.
+ Enter new password: <- Type your new password.
+ Enter it again: <- Type the new password again.
+ Password changed.
+ shell%
+
+If ``david`` typed the incorrect old password, he would get the
+following message::
+
+ shell% kpasswd
+ Password for david: <- Type the incorrect old password.
+ kpasswd: Password incorrect while getting initial ticket
+ shell%
+
+If you make a mistake and don't type the new password the same way
+twice, kpasswd will ask you to try again::
+
+ shell% kpasswd
+ Password for david: <- Type the old password.
+ Enter new password: <- Type the new password.
+ Enter it again: <- Type a different new password.
+ kpasswd: Password mismatch while reading password
+ shell%
+
+Once you change your password, it takes some time for the change to
+propagate through the system. Depending on how your system is set up,
+this might be anywhere from a few minutes to an hour or more. If you
+need to get new Kerberos tickets shortly after changing your password,
+try the new password. If the new password doesn't work, try again
+using the old one.
+
+
+.. _grant_access:
+
+Granting access to your account
+-------------------------------
+
+If you need to give someone access to log into your account, you can
+do so through Kerberos, without telling the person your password.
+Simply create a file called :ref:`.k5login(5)` in your home directory.
+This file should contain the Kerberos principal of each person to whom
+you wish to give access. Each principal must be on a separate line.
+Here is a sample .k5login file::
+
+ jennifer@ATHENA.MIT.EDU
+ david@EXAMPLE.COM
+
+This file would allow the users ``jennifer`` and ``david`` to use your
+user ID, provided that they had Kerberos tickets in their respective
+realms. If you will be logging into other hosts across a network, you
+will want to include your own Kerberos principal in your .k5login file
+on each of these hosts.
+
+Using a .k5login file is much safer than giving out your password,
+because:
+
+* You can take access away any time simply by removing the principal
+ from your .k5login file.
+
+* Although the user has full access to your account on one particular
+ host (or set of hosts if your .k5login file is shared, e.g., over
+ NFS), that user does not inherit your network privileges.
+
+* Kerberos keeps a log of who obtains tickets, so a system
+ administrator could find out, if necessary, who was capable of using
+ your user ID at a particular time.
+
+One common application is to have a .k5login file in root's home
+directory, giving root access to that machine to the Kerberos
+principals listed. This allows system administrators to allow users
+to become root locally, or to log in remotely as root, without their
+having to give out the root password, and without anyone having to
+type the root password over the network.
+
+
+Password quality verification
+-----------------------------
+
+TODO
diff --git a/doc/html/_sources/user/tkt_mgmt.txt b/doc/html/_sources/user/tkt_mgmt.txt
new file mode 100644
index 000000000000..9ec7f1e7ca3e
--- /dev/null
+++ b/doc/html/_sources/user/tkt_mgmt.txt
@@ -0,0 +1,314 @@
+Ticket management
+=================
+
+On many systems, Kerberos is built into the login program, and you get
+tickets automatically when you log in. Other programs, such as ssh,
+can forward copies of your tickets to a remote host. Most of these
+programs also automatically destroy your tickets when they exit.
+However, MIT recommends that you explicitly destroy your Kerberos
+tickets when you are through with them, just to be sure. One way to
+help ensure that this happens is to add the :ref:`kdestroy(1)` command
+to your .logout file. Additionally, if you are going to be away from
+your machine and are concerned about an intruder using your
+permissions, it is safest to either destroy all copies of your
+tickets, or use a screensaver that locks the screen.
+
+
+Kerberos ticket properties
+--------------------------
+
+There are various properties that Kerberos tickets can have:
+
+If a ticket is **forwardable**, then the KDC can issue a new ticket
+(with a different network address, if necessary) based on the
+forwardable ticket. This allows for authentication forwarding without
+requiring a password to be typed in again. For example, if a user
+with a forwardable TGT logs into a remote system, the KDC could issue
+a new TGT for that user with the network address of the remote system,
+allowing authentication on that host to work as though the user were
+logged in locally.
+
+When the KDC creates a new ticket based on a forwardable ticket, it
+sets the **forwarded** flag on that new ticket. Any tickets that are
+created based on a ticket with the forwarded flag set will also have
+their forwarded flags set.
+
+A **proxiable** ticket is similar to a forwardable ticket in that it
+allows a service to take on the identity of the client. Unlike a
+forwardable ticket, however, a proxiable ticket is only issued for
+specific services. In other words, a ticket-granting ticket cannot be
+issued based on a ticket that is proxiable but not forwardable.
+
+A **proxy** ticket is one that was issued based on a proxiable ticket.
+
+A **postdated** ticket is issued with the invalid flag set. After the
+starting time listed on the ticket, it can be presented to the KDC to
+obtain valid tickets.
+
+Ticket-granting tickets with the **postdateable** flag set can be used
+to obtain postdated service tickets.
+
+**Renewable** tickets can be used to obtain new session keys without
+the user entering their password again. A renewable ticket has two
+expiration times. The first is the time at which this particular
+ticket expires. The second is the latest possible expiration time for
+any ticket issued based on this renewable ticket.
+
+A ticket with the **initial flag** set was issued based on the
+authentication protocol, and not on a ticket-granting ticket.
+Application servers that wish to ensure that the user's key has been
+recently presented for verification could specify that this flag must
+be set to accept the ticket.
+
+An **invalid** ticket must be rejected by application servers.
+Postdated tickets are usually issued with this flag set, and must be
+validated by the KDC before they can be used.
+
+A **preauthenticated** ticket is one that was only issued after the
+client requesting the ticket had authenticated itself to the KDC.
+
+The **hardware authentication** flag is set on a ticket which required
+the use of hardware for authentication. The hardware is expected to
+be possessed only by the client which requested the tickets.
+
+If a ticket has the **transit policy** checked flag set, then the KDC
+that issued this ticket implements the transited-realm check policy
+and checked the transited-realms list on the ticket. The
+transited-realms list contains a list of all intermediate realms
+between the realm of the KDC that issued the first ticket and that of
+the one that issued the current ticket. If this flag is not set, then
+the application server must check the transited realms itself or else
+reject the ticket.
+
+The **okay as delegate** flag indicates that the server specified in
+the ticket is suitable as a delegate as determined by the policy of
+that realm. Some client applications may use this flag to decide
+whether to forward tickets to a remote host, although many
+applications do not honor it.
+
+An **anonymous** ticket is one in which the named principal is a
+generic principal for that realm; it does not actually specify the
+individual that will be using the ticket. This ticket is meant only
+to securely distribute a session key.
+
+
+.. _obtain_tkt:
+
+Obtaining tickets with kinit
+----------------------------
+
+If your site has integrated Kerberos V5 with the login system, you
+will get Kerberos tickets automatically when you log in. Otherwise,
+you may need to explicitly obtain your Kerberos tickets, using the
+:ref:`kinit(1)` program. Similarly, if your Kerberos tickets expire,
+use the kinit program to obtain new ones.
+
+To use the kinit program, simply type ``kinit`` and then type your
+password at the prompt. For example, Jennifer (whose username is
+``jennifer``) works for Bleep, Inc. (a fictitious company with the
+domain name mit.edu and the Kerberos realm ATHENA.MIT.EDU). She would
+type::
+
+ shell% kinit
+ Password for jennifer@ATHENA.MIT.EDU: <-- [Type jennifer's password here.]
+ shell%
+
+If you type your password incorrectly, kinit will give you the
+following error message::
+
+ shell% kinit
+ Password for jennifer@ATHENA.MIT.EDU: <-- [Type the wrong password here.]
+ kinit: Password incorrect
+ shell%
+
+and you won't get Kerberos tickets.
+
+By default, kinit assumes you want tickets for your own username in
+your default realm. Suppose Jennifer's friend David is visiting, and
+he wants to borrow a window to check his mail. David needs to get
+tickets for himself in his own realm, EXAMPLE.COM. He would type::
+
+ shell% kinit david@EXAMPLE.COM
+ Password for david@EXAMPLE.COM: <-- [Type david's password here.]
+ shell%
+
+David would then have tickets which he could use to log onto his own
+machine. Note that he typed his password locally on Jennifer's
+machine, but it never went over the network. Kerberos on the local
+host performed the authentication to the KDC in the other realm.
+
+If you want to be able to forward your tickets to another host, you
+need to request forwardable tickets. You do this by specifying the
+**-f** option::
+
+ shell% kinit -f
+ Password for jennifer@ATHENA.MIT.EDU: <-- [Type your password here.]
+ shell%
+
+Note that kinit does not tell you that it obtained forwardable
+tickets; you can verify this using the :ref:`klist(1)` command (see
+:ref:`view_tkt`).
+
+Normally, your tickets are good for your system's default ticket
+lifetime, which is ten hours on many systems. You can specify a
+different ticket lifetime with the **-l** option. Add the letter
+**s** to the value for seconds, **m** for minutes, **h** for hours, or
+**d** for days. For example, to obtain forwardable tickets for
+``david@EXAMPLE.COM`` that would be good for three hours, you would
+type::
+
+ shell% kinit -f -l 3h david@EXAMPLE.COM
+ Password for david@EXAMPLE.COM: <-- [Type david's password here.]
+ shell%
+
+.. note::
+
+ You cannot mix units; specifying a lifetime of 3h30m would
+ result in an error. Note also that most systems specify a
+ maximum ticket lifetime. If you request a longer ticket
+ lifetime, it will be automatically truncated to the maximum
+ lifetime.
+
+
+.. _view_tkt:
+
+Viewing tickets with klist
+--------------------------
+
+The :ref:`klist(1)` command shows your tickets. When you first obtain
+tickets, you will have only the ticket-granting ticket. The listing
+would look like this::
+
+ shell% klist
+ Ticket cache: /tmp/krb5cc_ttypa
+ Default principal: jennifer@ATHENA.MIT.EDU
+
+ Valid starting Expires Service principal
+ 06/07/04 19:49:21 06/08/04 05:49:19 krbtgt/ATHENA.MIT.EDU@ATHENA.MIT.EDU
+ shell%
+
+The ticket cache is the location of your ticket file. In the above
+example, this file is named ``/tmp/krb5cc_ttypa``. The default
+principal is your Kerberos principal.
+
+The "valid starting" and "expires" fields describe the period of time
+during which the ticket is valid. The "service principal" describes
+each ticket. The ticket-granting ticket has a first component
+``krbtgt``, and a second component which is the realm name.
+
+Now, if ``jennifer`` connected to the machine ``daffodil.mit.edu``,
+and then typed "klist" again, she would have gotten the following
+result::
+
+ shell% klist
+ Ticket cache: /tmp/krb5cc_ttypa
+ Default principal: jennifer@ATHENA.MIT.EDU
+
+ Valid starting Expires Service principal
+ 06/07/04 19:49:21 06/08/04 05:49:19 krbtgt/ATHENA.MIT.EDU@ATHENA.MIT.EDU
+ 06/07/04 20:22:30 06/08/04 05:49:19 host/daffodil.mit.edu@ATHENA.MIT.EDU
+ shell%
+
+Here's what happened: when ``jennifer`` used ssh to connect to the
+host ``daffodil.mit.edu``, the ssh program presented her
+ticket-granting ticket to the KDC and requested a host ticket for the
+host ``daffodil.mit.edu``. The KDC sent the host ticket, which ssh
+then presented to the host ``daffodil.mit.edu``, and she was allowed
+to log in without typing her password.
+
+Suppose your Kerberos tickets allow you to log into a host in another
+domain, such as ``trillium.example.com``, which is also in another
+Kerberos realm, ``EXAMPLE.COM``. If you ssh to this host, you will
+receive a ticket-granting ticket for the realm ``EXAMPLE.COM``, plus
+the new host ticket for ``trillium.example.com``. klist will now
+show::
+
+ shell% klist
+ Ticket cache: /tmp/krb5cc_ttypa
+ Default principal: jennifer@ATHENA.MIT.EDU
+
+ Valid starting Expires Service principal
+ 06/07/04 19:49:21 06/08/04 05:49:19 krbtgt/ATHENA.MIT.EDU@ATHENA.MIT.EDU
+ 06/07/04 20:22:30 06/08/04 05:49:19 host/daffodil.mit.edu@ATHENA.MIT.EDU
+ 06/07/04 20:24:18 06/08/04 05:49:19 krbtgt/EXAMPLE.COM@ATHENA.MIT.EDU
+ 06/07/04 20:24:18 06/08/04 05:49:19 host/trillium.example.com@EXAMPLE.COM
+ shell%
+
+Depending on your host's and realm's configuration, you may also see a
+ticket with the service principal ``host/trillium.example.com@``. If
+so, this means that your host did not know what realm
+trillium.example.com is in, so it asked the ``ATHENA.MIT.EDU`` KDC for
+a referral. The next time you connect to ``trillium.example.com``,
+the odd-looking entry will be used to avoid needing to ask for a
+referral again.
+
+You can use the **-f** option to view the flags that apply to your
+tickets. The flags are:
+
+===== =========================
+ F Forwardable
+ f forwarded
+ P Proxiable
+ p proxy
+ D postDateable
+ d postdated
+ R Renewable
+ I Initial
+ i invalid
+ H Hardware authenticated
+ A preAuthenticated
+ T Transit policy checked
+ O Okay as delegate
+ a anonymous
+===== =========================
+
+Here is a sample listing. In this example, the user *jennifer*
+obtained her initial tickets (**I**), which are forwardable (**F**)
+and postdated (**d**) but not yet validated (**i**)::
+
+ shell% klist -f
+ Ticket cache: /tmp/krb5cc_320
+ Default principal: jennifer@ATHENA.MIT.EDU
+
+ Valid starting Expires Service principal
+ 31/07/05 19:06:25 31/07/05 19:16:25 krbtgt/ATHENA.MIT.EDU@ATHENA.MIT.EDU
+ Flags: FdiI
+ shell%
+
+In the following example, the user *david*'s tickets were forwarded
+(**f**) to this host from another host. The tickets are reforwardable
+(**F**)::
+
+ shell% klist -f
+ Ticket cache: /tmp/krb5cc_p11795
+ Default principal: david@EXAMPLE.COM
+
+ Valid starting Expires Service principal
+ 07/31/05 11:52:29 07/31/05 21:11:23 krbtgt/EXAMPLE.COM@EXAMPLE.COM
+ Flags: Ff
+ 07/31/05 12:03:48 07/31/05 21:11:23 host/trillium.example.com@EXAMPLE.COM
+ Flags: Ff
+ shell%
+
+
+Destroying tickets with kdestroy
+--------------------------------
+
+Your Kerberos tickets are proof that you are indeed yourself, and
+tickets could be stolen if someone gains access to a computer where
+they are stored. If this happens, the person who has them can
+masquerade as you until they expire. For this reason, you should
+destroy your Kerberos tickets when you are away from your computer.
+
+Destroying your tickets is easy. Simply type kdestroy::
+
+ shell% kdestroy
+ shell%
+
+If :ref:`kdestroy(1)` fails to destroy your tickets, it will beep and
+give an error message. For example, if kdestroy can't find any
+tickets to destroy, it will give the following message::
+
+ shell% kdestroy
+ kdestroy: No credentials cache file found while destroying cache
+ shell%
diff --git a/doc/html/_sources/user/user_commands/index.txt b/doc/html/_sources/user/user_commands/index.txt
new file mode 100644
index 000000000000..7ce86a14c428
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/index.txt
@@ -0,0 +1,17 @@
+.. _user_commands:
+
+User commands
+=============
+
+.. toctree::
+ :maxdepth: 1
+
+ kdestroy.rst
+ kinit.rst
+ klist.rst
+ kpasswd.rst
+ krb5-config.rst
+ ksu.rst
+ kswitch.rst
+ kvno.rst
+ sclient.rst
diff --git a/doc/html/_sources/user/user_commands/kdestroy.txt b/doc/html/_sources/user/user_commands/kdestroy.txt
new file mode 100644
index 000000000000..b8c67aba4cc6
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/kdestroy.txt
@@ -0,0 +1,77 @@
+.. _kdestroy(1):
+
+kdestroy
+========
+
+SYNOPSIS
+--------
+
+**kdestroy**
+[**-A**]
+[**-q**]
+[**-c** *cache_name*]
+
+
+DESCRIPTION
+-----------
+
+The kdestroy utility destroys the user's active Kerberos authorization
+tickets by overwriting and deleting the credentials cache that
+contains them. If the credentials cache is not specified, the default
+credentials cache is destroyed.
+
+
+OPTIONS
+-------
+
+**-A**
+ Destroys all caches in the collection, if a cache collection is
+ available.
+
+**-q**
+ Run quietly. Normally kdestroy beeps if it fails to destroy the
+ user's tickets. The **-q** flag suppresses this behavior.
+
+**-c** *cache_name*
+ Use *cache_name* as the credentials (ticket) cache name and
+ location; if this option is not used, the default cache name and
+ location are used.
+
+ The default credentials cache may vary between systems. If the
+ **KRB5CCNAME** environment variable is set, its value is used to
+ name the default ticket cache.
+
+
+NOTE
+----
+
+Most installations recommend that you place the kdestroy command in
+your .logout file, so that your tickets are destroyed automatically
+when you log out.
+
+
+ENVIRONMENT
+-----------
+
+kdestroy uses the following environment variable:
+
+**KRB5CCNAME**
+ Location of the default Kerberos 5 credentials (ticket) cache, in
+ the form *type*:*residual*. If no *type* prefix is present, the
+ **FILE** type is assumed. The type of the default cache may
+ determine the availability of a cache collection; for instance, a
+ default cache of type **DIR** causes caches within the directory
+ to be present in the collection.
+
+
+FILES
+-----
+
+|ccache|
+ Default location of Kerberos 5 credentials cache
+
+
+SEE ALSO
+--------
+
+:ref:`kinit(1)`, :ref:`klist(1)`
diff --git a/doc/html/_sources/user/user_commands/kinit.txt b/doc/html/_sources/user/user_commands/kinit.txt
new file mode 100644
index 000000000000..3f9d5340f1f0
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/kinit.txt
@@ -0,0 +1,228 @@
+.. _kinit(1):
+
+kinit
+=====
+
+SYNOPSIS
+--------
+
+**kinit**
+[**-V**]
+[**-l** *lifetime*]
+[**-s** *start_time*]
+[**-r** *renewable_life*]
+[**-p** | -**P**]
+[**-f** | -**F**]
+[**-a**]
+[**-A**]
+[**-C**]
+[**-E**]
+[**-v**]
+[**-R**]
+[**-k** [-**t** *keytab_file*]]
+[**-c** *cache_name*]
+[**-n**]
+[**-S** *service_name*]
+[**-I** *input_ccache*]
+[**-T** *armor_ccache*]
+[**-X** *attribute*\ [=\ *value*]]
+[*principal*]
+
+
+DESCRIPTION
+-----------
+
+kinit obtains and caches an initial ticket-granting ticket for
+*principal*. If *principal* is absent, kinit chooses an appropriate
+principal name based on existing credential cache contents or the
+local username of the user invoking kinit. Some options modify the
+choice of principal name.
+
+
+OPTIONS
+-------
+
+**-V**
+ display verbose output.
+
+**-l** *lifetime*
+ (:ref:`duration` string.) Requests a ticket with the lifetime
+ *lifetime*.
+
+ For example, ``kinit -l 5:30`` or ``kinit -l 5h30m``.
+
+ If the **-l** option is not specified, the default ticket lifetime
+ (configured by each site) is used. Specifying a ticket lifetime
+ longer than the maximum ticket lifetime (configured by each site)
+ will not override the configured maximum ticket lifetime.
+
+**-s** *start_time*
+ (:ref:`duration` string.) Requests a postdated ticket. Postdated
+ tickets are issued with the **invalid** flag set, and need to be
+ resubmitted to the KDC for validation before use.
+
+ *start_time* specifies the duration of the delay before the ticket
+ can become valid.
+
+**-r** *renewable_life*
+ (:ref:`duration` string.) Requests renewable tickets, with a total
+ lifetime of *renewable_life*.
+
+**-f**
+ requests forwardable tickets.
+
+**-F**
+ requests non-forwardable tickets.
+
+**-p**
+ requests proxiable tickets.
+
+**-P**
+ requests non-proxiable tickets.
+
+**-a**
+ requests tickets restricted to the host's local address[es].
+
+**-A**
+ requests tickets not restricted by address.
+
+**-C**
+ requests canonicalization of the principal name, and allows the
+ KDC to reply with a different client principal from the one
+ requested.
+
+**-E**
+ treats the principal name as an enterprise name (implies the
+ **-C** option).
+
+**-v**
+ requests that the ticket-granting ticket in the cache (with the
+ **invalid** flag set) be passed to the KDC for validation. If the
+ ticket is within its requested time range, the cache is replaced
+ with the validated ticket.
+
+**-R**
+ requests renewal of the ticket-granting ticket. Note that an
+ expired ticket cannot be renewed, even if the ticket is still
+ within its renewable life.
+
+ Note that renewable tickets that have expired as reported by
+ :ref:`klist(1)` may sometimes be renewed using this option,
+ because the KDC applies a grace period to account for client-KDC
+ clock skew. See :ref:`krb5.conf(5)` **clockskew** setting.
+
+**-k** [**-i** | **-t** *keytab_file*]
+ requests a ticket, obtained from a key in the local host's keytab.
+ The location of the keytab may be specified with the **-t**
+ *keytab_file* option, or with the **-i** option to specify the use
+ of the default client keytab; otherwise the default keytab will be
+ used. By default, a host ticket for the local host is requested,
+ but any principal may be specified. On a KDC, the special keytab
+ location ``KDB:`` can be used to indicate that kinit should open
+ the KDC database and look up the key directly. This permits an
+ administrator to obtain tickets as any principal that supports
+ authentication based on the key.
+
+**-n**
+ Requests anonymous processing. Two types of anonymous principals
+ are supported.
+
+ For fully anonymous Kerberos, configure pkinit on the KDC and
+ configure **pkinit_anchors** in the client's :ref:`krb5.conf(5)`.
+ Then use the **-n** option with a principal of the form ``@REALM``
+ (an empty principal name followed by the at-sign and a realm
+ name). If permitted by the KDC, an anonymous ticket will be
+ returned.
+
+ A second form of anonymous tickets is supported; these
+ realm-exposed tickets hide the identity of the client but not the
+ client's realm. For this mode, use ``kinit -n`` with a normal
+ principal name. If supported by the KDC, the principal (but not
+ realm) will be replaced by the anonymous principal.
+
+ As of release 1.8, the MIT Kerberos KDC only supports fully
+ anonymous operation.
+
+**-I** *input_ccache*
+
+ Specifies the name of a credentials cache that already contains a
+ ticket. When obtaining that ticket, if information about how that
+ ticket was obtained was also stored to the cache, that information
+ will be used to affect how new credentials are obtained, including
+ preselecting the same methods of authenticating to the KDC.
+
+**-T** *armor_ccache*
+ Specifies the name of a credentials cache that already contains a
+ ticket. If supported by the KDC, this cache will be used to armor
+ the request, preventing offline dictionary attacks and allowing
+ the use of additional preauthentication mechanisms. Armoring also
+ makes sure that the response from the KDC is not modified in
+ transit.
+
+**-c** *cache_name*
+ use *cache_name* as the Kerberos 5 credentials (ticket) cache
+ location. If this option is not used, the default cache location
+ is used.
+
+ The default cache location may vary between systems. If the
+ **KRB5CCNAME** environment variable is set, its value is used to
+ locate the default cache. If a principal name is specified and
+ the type of the default cache supports a collection (such as the
+ DIR type), an existing cache containing credentials for the
+ principal is selected or a new one is created and becomes the new
+ primary cache. Otherwise, any existing contents of the default
+ cache are destroyed by kinit.
+
+**-S** *service_name*
+ specify an alternate service name to use when getting initial
+ tickets.
+
+**-X** *attribute*\ [=\ *value*]
+ specify a pre-authentication *attribute* and *value* to be
+ interpreted by pre-authentication modules. The acceptable
+ attribute and value values vary from module to module. This
+ option may be specified multiple times to specify multiple
+ attributes. If no value is specified, it is assumed to be "yes".
+
+ The following attributes are recognized by the PKINIT
+ pre-authentication mechanism:
+
+ **X509_user_identity**\ =\ *value*
+ specify where to find user's X509 identity information
+
+ **X509_anchors**\ =\ *value*
+ specify where to find trusted X509 anchor information
+
+ **flag_RSA_PROTOCOL**\ [**=yes**]
+ specify use of RSA, rather than the default Diffie-Hellman
+ protocol
+
+
+ENVIRONMENT
+-----------
+
+kinit uses the following environment variables:
+
+**KRB5CCNAME**
+ Location of the default Kerberos 5 credentials cache, in the form
+ *type*:*residual*. If no *type* prefix is present, the **FILE**
+ type is assumed. The type of the default cache may determine the
+ availability of a cache collection; for instance, a default cache
+ of type **DIR** causes caches within the directory to be present
+ in the collection.
+
+
+FILES
+-----
+
+|ccache|
+ default location of Kerberos 5 credentials cache
+
+|keytab|
+ default location for the local host's keytab.
+
+
+SEE ALSO
+--------
+
+:ref:`klist(1)`, :ref:`kdestroy(1)`, kerberos(1)
diff --git a/doc/html/_sources/user/user_commands/klist.txt b/doc/html/_sources/user/user_commands/klist.txt
new file mode 100644
index 000000000000..c24c7413248c
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/klist.txt
@@ -0,0 +1,132 @@
+.. _klist(1):
+
+klist
+=====
+
+SYNOPSIS
+--------
+
+**klist**
+[**-e**]
+[[**-c**] [**-l**] [**-A**] [**-f**] [**-s**] [**-a** [**-n**]]]
+[**-C**]
+[**-k** [**-t**] [**-K**]]
+[**-V**]
+[*cache_name*\|\ *keytab_name*]
+
+
+DESCRIPTION
+-----------
+
+klist lists the Kerberos principal and Kerberos tickets held in a
+credentials cache, or the keys held in a keytab file.
+
+
+OPTIONS
+-------
+
+**-e**
+ Displays the encryption types of the session key and the ticket
+ for each credential in the credential cache, or each key in the
+ keytab file.
+
+**-l**
+ If a cache collection is available, displays a table summarizing
+ the caches present in the collection.
+
+**-A**
+ If a cache collection is available, displays the contents of all
+ of the caches in the collection.
+
+**-c**
+ List tickets held in a credentials cache. This is the default if
+ neither **-c** nor **-k** is specified.
+
+**-f**
+ Shows the flags present in the credentials, using the following
+ abbreviations::
+
+ F Forwardable
+ f forwarded
+ P Proxiable
+ p proxy
+ D postDateable
+ d postdated
+ R Renewable
+ I Initial
+ i invalid
+ H Hardware authenticated
+ A preAuthenticated
+ T Transit policy checked
+ O Okay as delegate
+ a anonymous
+
+**-s**
+ Causes klist to run silently (produce no output). klist will exit
+ with status 1 if the credentials cache cannot be read or is
+ expired, and with status 0 otherwise.
+
+**-a**
+ Display list of addresses in credentials.
+
+**-n**
+ Show numeric addresses instead of reverse-resolving addresses.
+
+**-C**
+ List configuration data that has been stored in the credentials
+ cache when klist encounters it. By default, configuration data
+ is not listed.
+
+**-k**
+ List keys held in a keytab file.
+
+**-i**
+ In combination with **-k**, defaults to using the default client
+ keytab instead of the default acceptor keytab, if no name is
+ given.
+
+**-t**
+ Display the time entry timestamps for each keytab entry in the
+ keytab file.
+
+**-K**
+ Display the value of the encryption key in each keytab entry in
+ the keytab file.
+
+**-V**
+ Display the Kerberos version number and exit.
+
+If *cache_name* or *keytab_name* is not specified, klist will display
+the credentials in the default credentials cache or keytab file as
+appropriate. If the **KRB5CCNAME** environment variable is set, its
+value is used to locate the default ticket cache.
+
+
+ENVIRONMENT
+-----------
+
+klist uses the following environment variable:
+
+**KRB5CCNAME**
+ Location of the default Kerberos 5 credentials (ticket) cache, in
+ the form *type*:*residual*. If no *type* prefix is present, the
+ **FILE** type is assumed. The type of the default cache may
+ determine the availability of a cache collection; for instance, a
+ default cache of type **DIR** causes caches within the directory
+ to be present in the collection.
+
+
+FILES
+-----
+
+|ccache|
+ Default location of Kerberos 5 credentials cache
+
+|keytab|
+ Default location for the local host's keytab file.
+
+
+SEE ALSO
+--------
+
+:ref:`kinit(1)`, :ref:`kdestroy(1)`
diff --git a/doc/html/_sources/user/user_commands/kpasswd.txt b/doc/html/_sources/user/user_commands/kpasswd.txt
new file mode 100644
index 000000000000..1b646326592b
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/kpasswd.txt
@@ -0,0 +1,39 @@
+.. _kpasswd(1):
+
+kpasswd
+=======
+
+SYNOPSIS
+--------
+
+**kpasswd** [*principal*]
+
+
+DESCRIPTION
+-----------
+
+The kpasswd command is used to change a Kerberos principal's password.
+kpasswd first prompts for the current Kerberos password, then prompts
+the user twice for the new password, and the password is changed.
+
+If the principal is governed by a policy that specifies the length
+and/or number of character classes required in the new password, the
+new password must conform to the policy. (The five character classes
+are lower case, upper case, numbers, punctuation, and all other
+characters.)
+
+
+OPTIONS
+-------
+
+*principal*
+ Change the password for the Kerberos principal principal.
+ Otherwise, kpasswd uses the principal name from an existing ccache
+ if there is one; if not, the principal is derived from the
+ identity of the user invoking the kpasswd command.
+
+
+SEE ALSO
+--------
+
+:ref:`kadmin(1)`, :ref:`kadmind(8)`
diff --git a/doc/html/_sources/user/user_commands/krb5-config.txt b/doc/html/_sources/user/user_commands/krb5-config.txt
new file mode 100644
index 000000000000..ee0fceaa3309
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/krb5-config.txt
@@ -0,0 +1,83 @@
+.. _krb5-config(1):
+
+krb5-config
+===========
+
+SYNOPSIS
+--------
+
+**krb5-config**
+[**-**\ **-help** | **-**\ **-all** | **-**\ **-version** | **-**\ **-vendor** | **-**\ **-prefix** | **-**\ **-exec-prefix** | **-**\ **-defccname** | **-**\ **-defktname** | **-**\ **-defcktname** | **-**\ **-cflags** | **-**\ **-libs** [*libraries*]]
+
+
+DESCRIPTION
+-----------
+
+krb5-config tells the application programmer what flags to use to compile
+and link programs against the installed Kerberos libraries.
+
+
+OPTIONS
+-------
+
+**-**\ **-help**
+ prints a usage message. This is the default behavior when no options
+ are specified.
+
+**-**\ **-all**
+ prints the version, vendor, prefix, and exec-prefix.
+
+**-**\ **-version**
+ prints the version number of the Kerberos installation.
+
+**-**\ **-vendor**
+ prints the name of the vendor of the Kerberos installation.
+
+**-**\ **-prefix**
+ prints the prefix for which the Kerberos installation was built.
+
+**-**\ **-exec-prefix**
+ prints the prefix for executables for which the Kerberos installation
+ was built.
+
+**-**\ **-defccname**
+ prints the built-in default credentials cache location.
+
+**-**\ **-defktname**
+ prints the built-in default keytab location.
+
+**-**\ **-defcktname**
+ prints the built-in default client (initiator) keytab location.
+
+**-**\ **-cflags**
+ prints the compilation flags used to build the Kerberos installation.
+
+**-**\ **-libs** [*library*]
+ prints the compiler options needed to link against *library*.
+ Allowed values for *library* are:
+
+ ============ ===============================================
+ krb5 Kerberos 5 applications (default)
+ gssapi GSSAPI applications with Kerberos 5 bindings
+ kadm-client Kadmin client
+ kadm-server Kadmin server
+ kdb Applications that access the Kerberos database
+ ============ ===============================================
+
+EXAMPLES
+--------
+
+krb5-config is particularly useful for compiling against a Kerberos
+installation that was installed in a non-standard location. For example,
+a Kerberos installation that is installed in ``/opt/krb5/`` but uses
+libraries in ``/usr/local/lib/`` for text localization would produce
+the following output::
+
+ shell% krb5-config --libs krb5
+ -L/opt/krb5/lib -Wl,-rpath -Wl,/opt/krb5/lib -L/usr/local/lib -lkrb5 -lk5crypto -lcom_err
+
+
+SEE ALSO
+--------
+
+kerberos(1), cc(1)
diff --git a/doc/html/_sources/user/user_commands/ksu.txt b/doc/html/_sources/user/user_commands/ksu.txt
new file mode 100644
index 000000000000..b2f9121f0f76
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/ksu.txt
@@ -0,0 +1,387 @@
+.. _ksu(1):
+
+ksu
+===
+
+SYNOPSIS
+--------
+
+**ksu**
+[ *target_user* ]
+[ **-n** *target_principal_name* ]
+[ **-c** *source_cache_name* ]
+[ **-k** ]
+[ **-r** time ]
+[ **-pf** ]
+[ **-l** *lifetime* ]
+[ **-z | Z** ]
+[ **-q** ]
+[ **-e** *command* [ args ... ] ] [ **-a** [ args ... ] ]
+
+
+REQUIREMENTS
+------------
+
+Must have Kerberos version 5 installed to compile ksu. Must have a
+Kerberos version 5 server running to use ksu.
+
+
+DESCRIPTION
+-----------
+
+ksu is a Kerberized version of the su program that has two missions:
+one is to securely change the real and effective user ID to that of
+the target user, and the other is to create a new security context.
+
+.. note::
+
+ For the sake of clarity, all references to and attributes of
+ the user invoking the program will start with "source"
+ (e.g., "source user", "source cache", etc.).
+
+ Likewise, all references to and attributes of the target
+ account will start with "target".
+
+AUTHENTICATION
+--------------
+
+To fulfill the first mission, ksu operates in two phases:
+authentication and authorization. Resolving the target principal name
+is the first step in authentication. The user can either specify his
+principal name with the **-n** option (e.g., ``-n jqpublic@USC.EDU``)
+or a default principal name will be assigned using a heuristic
+described in the OPTIONS section (see **-n** option). The target user
+name must be the first argument to ksu; if not specified root is the
+default. If ``.`` is specified then the target user will be the
+source user (e.g., ``ksu .``). If the source user is root or the
+target user is the source user, no authentication or authorization
+takes place. Otherwise, ksu looks for an appropriate Kerberos ticket
+in the source cache.
+
+The ticket can either be for the end-server or a ticket granting
+ticket (TGT) for the target principal's realm. If the ticket for the
+end-server is already in the cache, it's decrypted and verified. If
+it's not in the cache but the TGT is, the TGT is used to obtain the
+ticket for the end-server. The end-server ticket is then verified.
+If neither ticket is in the cache, but ksu is compiled with the
+**GET_TGT_VIA_PASSWD** define, the user will be prompted for a
+Kerberos password which will then be used to get a TGT. If the user
+is logged in remotely and does not have a secure channel, the password
+may be exposed. If neither ticket is in the cache and
+**GET_TGT_VIA_PASSWD** is not defined, authentication fails.
+
+
+AUTHORIZATION
+-------------
+
+This section describes authorization of the source user when ksu is
+invoked without the **-e** option. For a description of the **-e**
+option, see the OPTIONS section.
+
+Upon successful authentication, ksu checks whether the target
+principal is authorized to access the target account. In the target
+user's home directory, ksu attempts to access two authorization files:
+:ref:`.k5login(5)` and .k5users. In the .k5login file each line
+contains the name of a principal that is authorized to access the
+account.
+
+For example::
+
+ jqpublic@USC.EDU
+ jqpublic/secure@USC.EDU
+ jqpublic/admin@USC.EDU
+
+The format of .k5users is the same, except the principal name may be
+followed by a list of commands that the principal is authorized to
+execute (see the **-e** option in the OPTIONS section for details).
+
+Thus if the target principal name is found in the .k5login file the
+source user is authorized to access the target account. Otherwise ksu
+looks in the .k5users file. If the target principal name is found
+without any trailing commands or followed only by ``*`` then the
+source user is authorized. If either .k5login or .k5users exist but
+an appropriate entry for the target principal does not exist then
+access is denied. If neither file exists then the principal will be
+granted access to the account according to the aname->lname mapping
+rules. Otherwise, authorization fails.
+
+
+EXECUTION OF THE TARGET SHELL
+-----------------------------
+
+Upon successful authentication and authorization, ksu proceeds in a
+similar fashion to su. The environment is unmodified with the
+exception of USER, HOME and SHELL variables. If the target user is
+not root, USER gets set to the target user name. Otherwise USER
+remains unchanged. Both HOME and SHELL are set to the target login's
+default values. In addition, the environment variable **KRB5CCNAME**
+gets set to the name of the target cache. The real and effective user
+ID are changed to that of the target user. The target user's shell is
+then invoked (the shell name is specified in the password file). Upon
+termination of the shell, ksu deletes the target cache (unless ksu is
+invoked with the **-k** option). This is implemented by first doing a
+fork and then an exec, instead of just exec, as done by su.
+
+
+CREATING A NEW SECURITY CONTEXT
+-------------------------------
+
+ksu can be used to create a new security context for the target
+program (either the target shell, or command specified via the **-e**
+option). The target program inherits a set of credentials from the
+source user. By default, this set includes all of the credentials in
+the source cache plus any additional credentials obtained during
+authentication. The source user is able to limit the credentials in
+this set by using **-z** or **-Z** option. **-z** restricts the copy
+of tickets from the source cache to the target cache to only the
+tickets where client == the target principal name. The **-Z** option
+provides the target user with a fresh target cache (no creds in the
+cache). Note that for security reasons, when the source user is root
+and target user is non-root, **-z** option is the default mode of
+operation.
+
+While no authentication takes place if the source user is root or is
+the same as the target user, additional tickets can still be obtained
+for the target cache. If **-n** is specified and no credentials can
+be copied to the target cache, the source user is prompted for a
+Kerberos password (unless **-Z** specified or **GET_TGT_VIA_PASSWD**
+is undefined). If successful, a TGT is obtained from the Kerberos
+server and stored in the target cache. Otherwise, if a password is
+not provided (user hit return) ksu continues in a normal mode of
+operation (the target cache will not contain the desired TGT). If the
+wrong password is typed in, ksu fails.
+
+.. note::
+
+ During authentication, only the tickets that could be
+ obtained without providing a password are cached in in the
+ source cache.
+
+
+OPTIONS
+-------
+
+**-n** *target_principal_name*
+ Specify a Kerberos target principal name. Used in authentication
+ and authorization phases of ksu.
+
+ If ksu is invoked without **-n**, a default principal name is
+ assigned via the following heuristic:
+
+ * Case 1: source user is non-root.
+
+ If the target user is the source user the default principal name
+ is set to the default principal of the source cache. If the
+ cache does not exist then the default principal name is set to
+ ``target_user@local_realm``. If the source and target users are
+ different and neither ``~target_user/.k5users`` nor
+ ``~target_user/.k5login`` exist then the default principal name
+ is ``target_user_login_name@local_realm``. Otherwise, starting
+ with the first principal listed below, ksu checks if the
+ principal is authorized to access the target account and whether
+ there is a legitimate ticket for that principal in the source
+ cache. If both conditions are met that principal becomes the
+ default target principal, otherwise go to the next principal.
+
+ a) default principal of the source cache
+ b) target_user\@local_realm
+ c) source_user\@local_realm
+
+ If a-c fails try any principal for which there is a ticket in
+ the source cache and that is authorized to access the target
+ account. If that fails select the first principal that is
+ authorized to access the target account from the above list. If
+ none are authorized and ksu is configured with
+ **PRINC_LOOK_AHEAD** turned on, select the default principal as
+ follows:
+
+ For each candidate in the above list, select an authorized
+ principal that has the same realm name and first part of the
+ principal name equal to the prefix of the candidate. For
+ example if candidate a) is ``jqpublic@ISI.EDU`` and
+ ``jqpublic/secure@ISI.EDU`` is authorized to access the target
+ account then the default principal is set to
+ ``jqpublic/secure@ISI.EDU``.
+
+ * Case 2: source user is root.
+
+ If the target user is non-root then the default principal name
+ is ``target_user@local_realm``. Else, if the source cache
+ exists the default principal name is set to the default
+ principal of the source cache. If the source cache does not
+ exist, default principal name is set to ``root\@local_realm``.
+
+**-c** *source_cache_name*
+
+ Specify source cache name (e.g., ``-c FILE:/tmp/my_cache``). If
+ **-c** option is not used then the name is obtained from
+ **KRB5CCNAME** environment variable. If **KRB5CCNAME** is not
+ defined the source cache name is set to ``krb5cc_<source uid>``.
+ The target cache name is automatically set to ``krb5cc_<target
+ uid>.(gen_sym())``, where gen_sym generates a new number such that
+ the resulting cache does not already exist. For example::
+
+ krb5cc_1984.2
+
+**-k**
+ Do not delete the target cache upon termination of the target
+ shell or a command (**-e** command). Without **-k**, ksu deletes
+ the target cache.
+
+**-z**
+ Restrict the copy of tickets from the source cache to the target
+ cache to only the tickets where client == the target principal
+ name. Use the **-n** option if you want the tickets for other then
+ the default principal. Note that the **-z** option is mutually
+ exclusive with the **-Z** option.
+
+**-Z**
+ Don't copy any tickets from the source cache to the target cache.
+ Just create a fresh target cache, where the default principal name
+ of the cache is initialized to the target principal name. Note
+ that the **-Z** option is mutually exclusive with the **-z**
+ option.
+
+**-q**
+ Suppress the printing of status messages.
+
+Ticket granting ticket options:
+
+**-l** *lifetime* **-r** *time* **-pf**
+ The ticket granting ticket options only apply to the case where
+ there are no appropriate tickets in the cache to authenticate the
+ source user. In this case if ksu is configured to prompt users
+ for a Kerberos password (**GET_TGT_VIA_PASSWD** is defined), the
+ ticket granting ticket options that are specified will be used
+ when getting a ticket granting ticket from the Kerberos server.
+
+**-l** *lifetime*
+ (:ref:`duration` string.) Specifies the lifetime to be requested
+ for the ticket; if this option is not specified, the default ticket
+ lifetime (12 hours) is used instead.
+
+**-r** *time*
+ (:ref:`duration` string.) Specifies that the **renewable** option
+ should be requested for the ticket, and specifies the desired
+ total lifetime of the ticket.
+
+**-p**
+ specifies that the **proxiable** option should be requested for
+ the ticket.
+
+**-f**
+ option specifies that the **forwardable** option should be
+ requested for the ticket.
+
+**-e** *command* [*args* ...]
+ ksu proceeds exactly the same as if it was invoked without the
+ **-e** option, except instead of executing the target shell, ksu
+ executes the specified command. Example of usage::
+
+ ksu bob -e ls -lag
+
+ The authorization algorithm for **-e** is as follows:
+
+ If the source user is root or source user == target user, no
+ authorization takes place and the command is executed. If source
+ user id != 0, and ``~target_user/.k5users`` file does not exist,
+ authorization fails. Otherwise, ``~target_user/.k5users`` file
+ must have an appropriate entry for target principal to get
+ authorized.
+
+ The .k5users file format:
+
+ A single principal entry on each line that may be followed by a
+ list of commands that the principal is authorized to execute. A
+ principal name followed by a ``*`` means that the user is
+ authorized to execute any command. Thus, in the following
+ example::
+
+ jqpublic@USC.EDU ls mail /local/kerberos/klist
+ jqpublic/secure@USC.EDU *
+ jqpublic/admin@USC.EDU
+
+ ``jqpublic@USC.EDU`` is only authorized to execute ``ls``,
+ ``mail`` and ``klist`` commands. ``jqpublic/secure@USC.EDU`` is
+ authorized to execute any command. ``jqpublic/admin@USC.EDU`` is
+ not authorized to execute any command. Note, that
+ ``jqpublic/admin@USC.EDU`` is authorized to execute the target
+ shell (regular ksu, without the **-e** option) but
+ ``jqpublic@USC.EDU`` is not.
+
+ The commands listed after the principal name must be either a full
+ path names or just the program name. In the second case,
+ **CMD_PATH** specifying the location of authorized programs must
+ be defined at the compilation time of ksu. Which command gets
+ executed?
+
+ If the source user is root or the target user is the source user
+ or the user is authorized to execute any command (``*`` entry)
+ then command can be either a full or a relative path leading to
+ the target program. Otherwise, the user must specify either a
+ full path or just the program name.
+
+**-a** *args*
+ Specify arguments to be passed to the target shell. Note that all
+ flags and parameters following -a will be passed to the shell,
+ thus all options intended for ksu must precede **-a**.
+
+ The **-a** option can be used to simulate the **-e** option if
+ used as follows::
+
+ -a -c [command [arguments]].
+
+ **-c** is interpreted by the c-shell to execute the command.
+
+
+INSTALLATION INSTRUCTIONS
+-------------------------
+
+ksu can be compiled with the following four flags:
+
+**GET_TGT_VIA_PASSWD**
+ In case no appropriate tickets are found in the source cache, the
+ user will be prompted for a Kerberos password. The password is
+ then used to get a ticket granting ticket from the Kerberos
+ server. The danger of configuring ksu with this macro is if the
+ source user is logged in remotely and does not have a secure
+ channel, the password may get exposed.
+
+**PRINC_LOOK_AHEAD**
+ During the resolution of the default principal name,
+ **PRINC_LOOK_AHEAD** enables ksu to find principal names in
+ the .k5users file as described in the OPTIONS section
+ (see **-n** option).
+
+**CMD_PATH**
+ Specifies a list of directories containing programs that users are
+ authorized to execute (via .k5users file).
+
+**HAVE_GETUSERSHELL**
+ If the source user is non-root, ksu insists that the target user's
+ shell to be invoked is a "legal shell". *getusershell(3)* is
+ called to obtain the names of "legal shells". Note that the
+ target user's shell is obtained from the passwd file.
+
+Sample configuration::
+
+ KSU_OPTS = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /usr/ucb /local/bin"
+
+ksu should be owned by root and have the set user id bit turned on.
+
+ksu attempts to get a ticket for the end server just as Kerberized
+telnet and rlogin. Thus, there must be an entry for the server in the
+Kerberos database (e.g., ``host/nii.isi.edu@ISI.EDU``). The keytab
+file must be in an appropriate location.
+
+
+SIDE EFFECTS
+------------
+
+ksu deletes all expired tickets from the source cache.
+
+
+AUTHOR OF KSU
+-------------
+
+GENNADY (ARI) MEDVINSKY
diff --git a/doc/html/_sources/user/user_commands/kswitch.txt b/doc/html/_sources/user/user_commands/kswitch.txt
new file mode 100644
index 000000000000..56e5915ac34f
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/kswitch.txt
@@ -0,0 +1,56 @@
+.. _kswitch(1):
+
+kswitch
+=======
+
+SYNOPSIS
+--------
+
+**kswitch**
+{**-c** *cachename*\|\ **-p** *principal*}
+
+
+DESCRIPTION
+-----------
+
+kswitch makes the specified credential cache the primary cache for the
+collection, if a cache collection is available.
+
+
+OPTIONS
+-------
+
+**-c** *cachename*
+ Directly specifies the credential cache to be made primary.
+
+**-p** *principal*
+ Causes the cache collection to be searched for a cache containing
+ credentials for *principal*. If one is found, that collection is
+ made primary.
+
+
+ENVIRONMENT
+-----------
+
+kswitch uses the following environment variables:
+
+**KRB5CCNAME**
+ Location of the default Kerberos 5 credentials (ticket) cache, in
+ the form *type*:*residual*. If no *type* prefix is present, the
+ **FILE** type is assumed. The type of the default cache may
+ determine the availability of a cache collection; for instance, a
+ default cache of type **DIR** causes caches within the directory
+ to be present in the collection.
+
+
+FILES
+-----
+
+|ccache|
+ Default location of Kerberos 5 credentials cache
+
+
+SEE ALSO
+--------
+
+:ref:`kinit(1)`, :ref:`kdestroy(1)`, :ref:`klist(1)`), kerberos(1)
diff --git a/doc/html/_sources/user/user_commands/kvno.txt b/doc/html/_sources/user/user_commands/kvno.txt
new file mode 100644
index 000000000000..31ca24460670
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/kvno.txt
@@ -0,0 +1,86 @@
+.. _kvno(1):
+
+kvno
+====
+
+SYNOPSIS
+--------
+
+**kvno**
+[**-c** *ccache*]
+[**-e** *etype*]
+[**-q**]
+[**-h**]
+[**-P**]
+[**-S** *sname*]
+[**-U** *for_user*]
+*service1 service2* ...
+
+
+DESCRIPTION
+-----------
+
+kvno acquires a service ticket for the specified Kerberos principals
+and prints out the key version numbers of each.
+
+
+OPTIONS
+-------
+
+**-c** *ccache*
+ Specifies the name of a credentials cache to use (if not the
+ default)
+
+**-e** *etype*
+ Specifies the enctype which will be requested for the session key
+ of all the services named on the command line. This is useful in
+ certain backward compatibility situations.
+
+**-q**
+ Suppress printing output when successful. If a service ticket
+ cannot be obtained, an error message will still be printed and
+ kvno will exit with nonzero status.
+
+**-h**
+ Prints a usage statement and exits.
+
+**-P**
+ Specifies that the *service1 service2* ... arguments are to be
+ treated as services for which credentials should be acquired using
+ constrained delegation. This option is only valid when used in
+ conjunction with protocol transition.
+
+**-S** *sname*
+ Specifies that the *service1 service2* ... arguments are
+ interpreted as hostnames, and the service principals are to be
+ constructed from those hostnames and the service name *sname*.
+ The service hostnames will be canonicalized according to the usual
+ rules for constructing service principals.
+
+**-U** *for_user*
+ Specifies that protocol transition (S4U2Self) is to be used to
+ acquire a ticket on behalf of *for_user*. If constrained
+ delegation is not requested, the service name must match the
+ credentials cache client principal.
+
+
+ENVIRONMENT
+-----------
+
+kvno uses the following environment variable:
+
+**KRB5CCNAME**
+ Location of the credentials (ticket) cache.
+
+
+FILES
+-----
+
+|ccache|
+ Default location of the credentials cache
+
+
+SEE ALSO
+--------
+
+:ref:`kinit(1)`, :ref:`kdestroy(1)`
diff --git a/doc/html/_sources/user/user_commands/sclient.txt b/doc/html/_sources/user/user_commands/sclient.txt
new file mode 100644
index 000000000000..ebf7972536f2
--- /dev/null
+++ b/doc/html/_sources/user/user_commands/sclient.txt
@@ -0,0 +1,24 @@
+.. _sclient(1):
+
+sclient
+=======
+
+SYNOPSIS
+--------
+
+**sclient** *remotehost*
+
+
+DESCRIPTION
+-----------
+
+sclient is a sample application, primarily useful for testing
+purposes. It contacts a sample server :ref:`sserver(8)` and
+authenticates to it using Kerberos version 5 tickets, then displays
+the server's response.
+
+
+SEE ALSO
+--------
+
+:ref:`kinit(1)`, :ref:`sserver(8)`
diff --git a/doc/html/_sources/user/user_config/index.txt b/doc/html/_sources/user/user_config/index.txt
new file mode 100644
index 000000000000..6b3d4393bd40
--- /dev/null
+++ b/doc/html/_sources/user/user_config/index.txt
@@ -0,0 +1,12 @@
+User config files
+=================
+
+The following files in your home directory can be used to control the
+behavior of Kerberos as it applies to your account (unless they have
+been disabled by your host's configuration):
+
+.. toctree::
+ :maxdepth: 1
+
+ k5login.rst
+ k5identity.rst
diff --git a/doc/html/_sources/user/user_config/k5identity.txt b/doc/html/_sources/user/user_config/k5identity.txt
new file mode 100644
index 000000000000..cf5d95e56cfd
--- /dev/null
+++ b/doc/html/_sources/user/user_config/k5identity.txt
@@ -0,0 +1,64 @@
+.. _.k5identity(5):
+
+.k5identity
+===========
+
+DESCRIPTION
+-----------
+
+The .k5identity file, which resides in a user's home directory,
+contains a list of rules for selecting a client principals based on
+the server being accessed. These rules are used to choose a
+credential cache within the cache collection when possible.
+
+Blank lines and lines beginning with ``#`` are ignored. Each line has
+the form:
+
+ *principal* *field*\=\ *value* ...
+
+If the server principal meets all of the field constraints, then
+principal is chosen as the client principal. The following fields are
+recognized:
+
+**realm**
+ If the realm of the server principal is known, it is matched
+ against *value*, which may be a pattern using shell wildcards.
+ For host-based server principals, the realm will generally only be
+ known if there is a :ref:`domain_realm` section in
+ :ref:`krb5.conf(5)` with a mapping for the hostname.
+
+**service**
+ If the server principal is a host-based principal, its service
+ component is matched against *value*, which may be a pattern using
+ shell wildcards.
+
+**host**
+ If the server principal is a host-based principal, its hostname
+ component is converted to lower case and matched against *value*,
+ which may be a pattern using shell wildcards.
+
+ If the server principal matches the constraints of multiple lines
+ in the .k5identity file, the principal from the first matching
+ line is used. If no line matches, credentials will be selected
+ some other way, such as the realm heuristic or the current primary
+ cache.
+
+
+EXAMPLE
+-------
+
+The following example .k5identity file selects the client principal
+``alice@KRBTEST.COM`` if the server principal is within that realm,
+the principal ``alice/root@EXAMPLE.COM`` if the server host is within
+a servers subdomain, and the principal ``alice/mail@EXAMPLE.COM`` when
+accessing the IMAP service on ``mail.example.com``::
+
+ alice@KRBTEST.COM realm=KRBTEST.COM
+ alice/root@EXAMPLE.COM host=*.servers.example.com
+ alice/mail@EXAMPLE.COM host=mail.example.com service=imap
+
+
+SEE ALSO
+--------
+
+kerberos(1), :ref:`krb5.conf(5)`
diff --git a/doc/html/_sources/user/user_config/k5login.txt b/doc/html/_sources/user/user_config/k5login.txt
new file mode 100644
index 000000000000..8a9753da336e
--- /dev/null
+++ b/doc/html/_sources/user/user_config/k5login.txt
@@ -0,0 +1,54 @@
+.. _.k5login(5):
+
+.k5login
+========
+
+DESCRIPTION
+-----------
+
+The .k5login file, which resides in a user's home directory, contains
+a list of the Kerberos principals. Anyone with valid tickets for a
+principal in the file is allowed host access with the UID of the user
+in whose home directory the file resides. One common use is to place
+a .k5login file in root's home directory, thereby granting system
+administrators remote root access to the host via Kerberos.
+
+
+EXAMPLES
+--------
+
+Suppose the user ``alice`` had a .k5login file in her home directory
+containing just the following line::
+
+ bob@FOOBAR.ORG
+
+This would allow ``bob`` to use Kerberos network applications, such as
+ssh(1), to access ``alice``'s account, using ``bob``'s Kerberos
+tickets. In a default configuration (with **k5login_authoritative** set
+to true in :ref:`krb5.conf(5)`), this .k5login file would not let
+``alice`` use those network applications to access her account, since
+she is not listed! With no .k5login file, or with **k5login_authoritative**
+set to false, a default rule would permit the principal ``alice`` in the
+machine's default realm to access the ``alice`` account.
+
+Let us further suppose that ``alice`` is a system administrator.
+Alice and the other system administrators would have their principals
+in root's .k5login file on each host::
+
+ alice@BLEEP.COM
+
+ joeadmin/root@BLEEP.COM
+
+This would allow either system administrator to log in to these hosts
+using their Kerberos tickets instead of having to type the root
+password. Note that because ``bob`` retains the Kerberos tickets for
+his own principal, ``bob@FOOBAR.ORG``, he would not have any of the
+privileges that require ``alice``'s tickets, such as root access to
+any of the site's hosts, or the ability to change ``alice``'s
+password.
+
+
+SEE ALSO
+--------
+
+kerberos(1)