003 File Manager
Current Path:
/usr/src/crypto/heimdal/doc/doxyout/krb5/man/man3
usr
/
src
/
crypto
/
heimdal
/
doc
/
doxyout
/
krb5
/
man
/
man3
/
📁
..
📄
krb5.3
(32.02 KB)
📄
krb524_convert_creds_kdc.3
(25 B)
📄
krb524_convert_creds_kdc_ccache.3
(25 B)
📄
krb5_acc_ops.3
(23 B)
📄
krb5_acl_match_file.3
(24 B)
📄
krb5_acl_match_string.3
(24 B)
📄
krb5_add_et_list.3
(16 B)
📄
krb5_add_extra_addresses.3
(16 B)
📄
krb5_add_ignore_addresses.3
(16 B)
📄
krb5_addr2sockaddr.3
(24 B)
📄
krb5_address.3
(13.76 KB)
📄
krb5_address_compare.3
(24 B)
📄
krb5_address_order.3
(24 B)
📄
krb5_address_prefixlen_boundary.3
(24 B)
📄
krb5_address_search.3
(24 B)
📄
krb5_allow_weak_crypto.3
(23 B)
📄
krb5_anyaddr.3
(24 B)
📄
krb5_append_addresses.3
(24 B)
📄
krb5_auth.3
(4.81 KB)
📄
krb5_auth_getremoteseqnumber.3
(27 B)
📄
krb5_build_principal.3
(26 B)
📄
krb5_c_enctype_compare.3
(27 B)
📄
krb5_cc_cache_end_seq_get.3
(23 B)
📄
krb5_cc_cache_get_first.3
(23 B)
📄
krb5_cc_cache_match.3
(23 B)
📄
krb5_cc_cache_next.3
(23 B)
📄
krb5_cc_clear_mcred.3
(23 B)
📄
krb5_cc_close.3
(23 B)
📄
krb5_cc_copy_cache.3
(23 B)
📄
krb5_cc_copy_creds.3
(23 B)
📄
krb5_cc_copy_match_f.3
(23 B)
📄
krb5_cc_default.3
(23 B)
📄
krb5_cc_default_name.3
(23 B)
📄
krb5_cc_destroy.3
(23 B)
📄
krb5_cc_end_seq_get.3
(23 B)
📄
krb5_cc_gen_new.3
(23 B)
📄
krb5_cc_get_config.3
(23 B)
📄
krb5_cc_get_flags.3
(23 B)
📄
krb5_cc_get_friendly_name.3
(23 B)
📄
krb5_cc_get_full_name.3
(23 B)
📄
krb5_cc_get_kdc_offset.3
(23 B)
📄
krb5_cc_get_lifetime.3
(23 B)
📄
krb5_cc_get_name.3
(23 B)
📄
krb5_cc_get_ops.3
(23 B)
📄
krb5_cc_get_prefix_ops.3
(23 B)
📄
krb5_cc_get_principal.3
(23 B)
📄
krb5_cc_get_type.3
(23 B)
📄
krb5_cc_get_version.3
(23 B)
📄
krb5_cc_initialize.3
(23 B)
📄
krb5_cc_last_change_time.3
(23 B)
📄
krb5_cc_move.3
(23 B)
📄
krb5_cc_new_unique.3
(23 B)
📄
krb5_cc_next_cred.3
(23 B)
📄
krb5_cc_register.3
(23 B)
📄
krb5_cc_remove_cred.3
(23 B)
📄
krb5_cc_resolve.3
(23 B)
📄
krb5_cc_retrieve_cred.3
(23 B)
📄
krb5_cc_set_config.3
(23 B)
📄
krb5_cc_set_default_name.3
(23 B)
📄
krb5_cc_set_flags.3
(23 B)
📄
krb5_cc_set_friendly_name.3
(23 B)
📄
krb5_cc_set_kdc_offset.3
(23 B)
📄
krb5_cc_start_seq_get.3
(23 B)
📄
krb5_cc_store_cred.3
(23 B)
📄
krb5_cc_support_switch.3
(23 B)
📄
krb5_cc_switch.3
(23 B)
📄
krb5_ccache.3
(29.06 KB)
📄
krb5_ccache_intro.3
(1.65 KB)
📄
krb5_cccol_cursor_free.3
(23 B)
📄
krb5_cccol_cursor_new.3
(23 B)
📄
krb5_cccol_cursor_next.3
(23 B)
📄
krb5_cccol_last_change_time.3
(23 B)
📄
krb5_change_password.3
(27 B)
📄
krb5_cksumtype_to_enctype.3
(23 B)
📄
krb5_clear_error_message.3
(22 B)
📄
krb5_clear_error_string.3
(27 B)
📄
krb5_compare_creds.3
(16 B)
📄
krb5_config_file_free.3
(24 B)
📄
krb5_config_free_strings.3
(24 B)
📄
krb5_config_get_bool.3
(24 B)
📄
krb5_config_get_bool_default.3
(24 B)
📄
krb5_config_get_list.3
(24 B)
📄
krb5_config_get_string.3
(24 B)
📄
krb5_config_get_string_default.3
(24 B)
📄
krb5_config_get_strings.3
(24 B)
📄
krb5_config_get_time.3
(24 B)
📄
krb5_config_get_time_default.3
(24 B)
📄
krb5_config_parse_file_multi.3
(24 B)
📄
krb5_config_parse_string_multi.3
(27 B)
📄
krb5_config_vget_bool.3
(24 B)
📄
krb5_config_vget_bool_default.3
(24 B)
📄
krb5_config_vget_list.3
(24 B)
📄
krb5_config_vget_string.3
(24 B)
📄
krb5_config_vget_string_default.3
(24 B)
📄
krb5_config_vget_strings.3
(24 B)
📄
krb5_config_vget_time.3
(24 B)
📄
krb5_config_vget_time_default.3
(24 B)
📄
krb5_copy_address.3
(24 B)
📄
krb5_copy_addresses.3
(24 B)
📄
krb5_copy_context.3
(16 B)
📄
krb5_copy_creds.3
(16 B)
📄
krb5_copy_creds_contents.3
(16 B)
📄
krb5_copy_data.3
(16 B)
📄
krb5_copy_host_realm.3
(16 B)
📄
krb5_copy_keyblock.3
(23 B)
📄
krb5_copy_keyblock_contents.3
(23 B)
📄
krb5_copy_principal.3
(26 B)
📄
krb5_copy_ticket.3
(16 B)
📄
krb5_create_checksum_iov.3
(23 B)
📄
krb5_credential.3
(11.52 KB)
📄
krb5_creds_get_ticket_flags.3
(16 B)
📄
krb5_crypto.3
(16.22 KB)
📄
krb5_crypto_destroy.3
(23 B)
📄
krb5_crypto_fx_cf2.3
(23 B)
📄
krb5_crypto_getblocksize.3
(23 B)
📄
krb5_crypto_getconfoundersize.3
(23 B)
📄
krb5_crypto_getenctype.3
(23 B)
📄
krb5_crypto_getpadsize.3
(23 B)
📄
krb5_crypto_init.3
(23 B)
📄
krb5_crypto_iov.3
(351 B)
📄
krb5_data_alloc.3
(16 B)
📄
krb5_data_cmp.3
(16 B)
📄
krb5_data_copy.3
(16 B)
📄
krb5_data_ct_cmp.3
(16 B)
📄
krb5_data_free.3
(16 B)
📄
krb5_data_realloc.3
(16 B)
📄
krb5_data_zero.3
(16 B)
📄
krb5_decrypt_iov_ivec.3
(23 B)
📄
krb5_deprecated.3
(13.87 KB)
📄
krb5_digest.3
(930 B)
📄
krb5_digest_probe.3
(23 B)
📄
krb5_eai_to_heim_errno.3
(22 B)
📄
krb5_encrypt_iov_ivec.3
(23 B)
📄
krb5_enctype_disable.3
(23 B)
📄
krb5_enctype_enable.3
(23 B)
📄
krb5_enctype_valid.3
(23 B)
📄
krb5_enctypes_compatible_keys.3
(27 B)
📄
krb5_error.3
(2.88 KB)
📄
krb5_expand_hostname.3
(24 B)
📄
krb5_expand_hostname_realms.3
(24 B)
📄
krb5_fcc_ops.3
(23 B)
📄
krb5_fileformats.3
(8.48 KB)
📄
krb5_free_address.3
(24 B)
📄
krb5_free_addresses.3
(24 B)
📄
krb5_free_config_files.3
(16 B)
📄
krb5_free_context.3
(16 B)
📄
krb5_free_cred_contents.3
(16 B)
📄
krb5_free_creds.3
(16 B)
📄
krb5_free_creds_contents.3
(27 B)
📄
krb5_free_data.3
(16 B)
📄
krb5_free_data_contents.3
(27 B)
📄
krb5_free_error_string.3
(27 B)
📄
krb5_free_host_realm.3
(24 B)
📄
krb5_free_keyblock.3
(23 B)
📄
krb5_free_keyblock_contents.3
(23 B)
📄
krb5_free_principal.3
(26 B)
📄
krb5_free_ticket.3
(16 B)
📄
krb5_free_unparsed_name.3
(27 B)
📄
krb5_fwd_tgt_creds.3
(27 B)
📄
krb5_generate_subkey.3
(27 B)
📄
krb5_generate_subkey_extended.3
(23 B)
📄
krb5_get_cred_from_kdc.3
(27 B)
📄
krb5_get_cred_from_kdc_opt.3
(27 B)
📄
krb5_get_default_config_files.3
(16 B)
📄
krb5_get_default_in_tkt_etypes.3
(16 B)
📄
krb5_get_dns_canonicalize_hostname.3
(16 B)
📄
krb5_get_extra_addresses.3
(16 B)
📄
krb5_get_fcache_version.3
(16 B)
📄
krb5_get_forwarded_creds.3
(27 B)
📄
krb5_get_ignore_addresses.3
(16 B)
📄
krb5_get_in_tkt_with_keytab.3
(27 B)
📄
krb5_get_in_tkt_with_password.3
(27 B)
📄
krb5_get_in_tkt_with_skey.3
(27 B)
📄
krb5_get_init_creds_keyblock.3
(27 B)
📄
krb5_get_init_creds_keytab.3
(27 B)
📄
krb5_get_init_creds_opt_alloc.3
(27 B)
📄
krb5_get_init_creds_opt_free.3
(27 B)
📄
krb5_get_init_creds_opt_get_error.3
(27 B)
📄
krb5_get_init_creds_opt_init.3
(27 B)
📄
krb5_get_init_creds_password.3
(27 B)
📄
krb5_get_kdc_sec_offset.3
(16 B)
📄
krb5_get_max_time_skew.3
(16 B)
📄
krb5_get_use_admin_kdc.3
(16 B)
📄
krb5_get_validated_creds.3
(23 B)
📄
krb5_h_addr2addr.3
(24 B)
📄
krb5_h_addr2sockaddr.3
(24 B)
📄
krb5_h_errno_to_heim_errno.3
(22 B)
📄
krb5_init_context.3
(16 B)
📄
krb5_init_creds_free.3
(27 B)
📄
krb5_init_creds_get.3
(27 B)
📄
krb5_init_creds_get_error.3
(27 B)
📄
krb5_init_creds_init.3
(27 B)
📄
krb5_init_creds_intro.3
(313 B)
📄
krb5_init_creds_set_keytab.3
(27 B)
📄
krb5_init_creds_set_password.3
(27 B)
📄
krb5_init_creds_set_service.3
(27 B)
📄
krb5_init_creds_step.3
(27 B)
📄
krb5_init_ets.3
(16 B)
📄
krb5_introduction.3
(12.89 KB)
📄
krb5_is_config_principal.3
(23 B)
📄
krb5_is_thread_safe.3
(16 B)
📄
krb5_kerberos_enctypes.3
(16 B)
📄
krb5_keyblock_get_enctype.3
(23 B)
📄
krb5_keyblock_init.3
(23 B)
📄
krb5_keyblock_zero.3
(23 B)
📄
krb5_keytab.3
(13.36 KB)
📄
krb5_keytab_intro.3
(3.16 KB)
📄
krb5_keytab_key_proc.3
(27 B)
📄
krb5_keytype_to_enctypes.3
(27 B)
📄
krb5_keytype_to_enctypes_default.3
(27 B)
📄
krb5_keytype_to_string.3
(27 B)
📄
krb5_krbhst_get_addrinfo.3
(16 B)
📄
krb5_kt_add_entry.3
(23 B)
📄
krb5_kt_close.3
(23 B)
📄
krb5_kt_compare.3
(23 B)
📄
krb5_kt_copy_entry_contents.3
(23 B)
📄
krb5_kt_default.3
(23 B)
📄
krb5_kt_default_modify_name.3
(23 B)
📄
krb5_kt_default_name.3
(23 B)
📄
krb5_kt_destroy.3
(23 B)
📄
krb5_kt_end_seq_get.3
(23 B)
📄
krb5_kt_free_entry.3
(23 B)
📄
krb5_kt_get_entry.3
(23 B)
📄
krb5_kt_get_full_name.3
(23 B)
📄
krb5_kt_get_name.3
(23 B)
📄
krb5_kt_get_type.3
(23 B)
📄
krb5_kt_have_content.3
(23 B)
📄
krb5_kt_next_entry.3
(23 B)
📄
krb5_kt_read_service_key.3
(23 B)
📄
krb5_kt_register.3
(23 B)
📄
krb5_kt_remove_entry.3
(23 B)
📄
krb5_kt_resolve.3
(23 B)
📄
krb5_kt_start_seq_get.3
(23 B)
📄
krb5_kuserok.3
(24 B)
📄
krb5_make_addrport.3
(24 B)
📄
krb5_make_principal.3
(26 B)
📄
krb5_max_sockaddr_size.3
(24 B)
📄
krb5_mcc_ops.3
(23 B)
📄
krb5_pac.3
(1.94 KB)
📄
krb5_pac_get_buffer.3
(20 B)
📄
krb5_pac_verify.3
(20 B)
📄
krb5_parse_address.3
(24 B)
📄
krb5_parse_name.3
(26 B)
📄
krb5_parse_name_flags.3
(26 B)
📄
krb5_parse_nametype.3
(26 B)
📄
krb5_password_key_proc.3
(27 B)
📄
krb5_plugin_register.3
(24 B)
📄
krb5_prepend_config_files_default.3
(16 B)
📄
krb5_princ_realm.3
(27 B)
📄
krb5_princ_set_realm.3
(27 B)
📄
krb5_principal.3
(14.59 KB)
📄
krb5_principal_compare.3
(26 B)
📄
krb5_principal_compare_any_realm.3
(26 B)
📄
krb5_principal_get_num_comp.3
(26 B)
📄
krb5_principal_get_realm.3
(26 B)
📄
krb5_principal_get_type.3
(26 B)
📄
krb5_principal_intro.3
(555 B)
📄
krb5_principal_is_krbtgt.3
(26 B)
📄
krb5_principal_match.3
(26 B)
📄
krb5_principal_set_realm.3
(26 B)
📄
krb5_principal_set_type.3
(26 B)
📄
krb5_print_address.3
(24 B)
📄
krb5_random_to_key.3
(23 B)
📄
krb5_rd_req_ctx.3
(21 B)
📄
krb5_rd_req_in_ctx_alloc.3
(21 B)
📄
krb5_rd_req_in_set_keytab.3
(21 B)
📄
krb5_rd_req_in_set_pac_check.3
(21 B)
📄
krb5_rd_req_out_ctx_free.3
(21 B)
📄
krb5_rd_req_out_get_server.3
(21 B)
📄
krb5_realm_compare.3
(26 B)
📄
krb5_ret_address.3
(24 B)
📄
krb5_ret_addrs.3
(24 B)
📄
krb5_ret_authdata.3
(24 B)
📄
krb5_ret_creds.3
(24 B)
📄
krb5_ret_creds_tag.3
(24 B)
📄
krb5_ret_data.3
(24 B)
📄
krb5_ret_int16.3
(24 B)
📄
krb5_ret_int32.3
(24 B)
📄
krb5_ret_int8.3
(24 B)
📄
krb5_ret_keyblock.3
(24 B)
📄
krb5_ret_principal.3
(24 B)
📄
krb5_ret_string.3
(24 B)
📄
krb5_ret_stringz.3
(24 B)
📄
krb5_ret_times.3
(24 B)
📄
krb5_ret_uint16.3
(24 B)
📄
krb5_ret_uint32.3
(24 B)
📄
krb5_ret_uint8.3
(24 B)
📄
krb5_set_config_files.3
(16 B)
📄
krb5_set_default_in_tkt_etypes.3
(16 B)
📄
krb5_set_dns_canonicalize_hostname.3
(16 B)
📄
krb5_set_error_message.3
(22 B)
📄
krb5_set_error_string.3
(27 B)
📄
krb5_set_extra_addresses.3
(16 B)
📄
krb5_set_fcache_version.3
(16 B)
📄
krb5_set_home_dir_access.3
(16 B)
📄
krb5_set_ignore_addresses.3
(16 B)
📄
krb5_set_kdc_sec_offset.3
(16 B)
📄
krb5_set_max_time_skew.3
(16 B)
📄
krb5_set_password.3
(16 B)
📄
krb5_set_real_time.3
(16 B)
📄
krb5_set_use_admin_kdc.3
(16 B)
📄
krb5_sname_to_principal.3
(26 B)
📄
krb5_sockaddr2address.3
(24 B)
📄
krb5_sockaddr2port.3
(24 B)
📄
krb5_sockaddr_uninteresting.3
(24 B)
📄
krb5_storage.3
(25.72 KB)
📄
krb5_storage_clear_flags.3
(24 B)
📄
krb5_storage_emem.3
(24 B)
📄
krb5_storage_free.3
(24 B)
📄
krb5_storage_from_data.3
(24 B)
📄
krb5_storage_from_fd.3
(24 B)
📄
krb5_storage_from_mem.3
(24 B)
📄
krb5_storage_from_readonly_mem.3
(24 B)
📄
krb5_storage_get_byteorder.3
(24 B)
📄
krb5_storage_get_eof_code.3
(24 B)
📄
krb5_storage_is_flags.3
(24 B)
📄
krb5_storage_read.3
(24 B)
📄
krb5_storage_seek.3
(24 B)
📄
krb5_storage_set_byteorder.3
(24 B)
📄
krb5_storage_set_eof_code.3
(24 B)
📄
krb5_storage_set_flags.3
(24 B)
📄
krb5_storage_set_max_alloc.3
(24 B)
📄
krb5_storage_to_data.3
(24 B)
📄
krb5_storage_truncate.3
(24 B)
📄
krb5_storage_write.3
(24 B)
📄
krb5_store_address.3
(24 B)
📄
krb5_store_addrs.3
(24 B)
📄
krb5_store_authdata.3
(24 B)
📄
krb5_store_creds.3
(24 B)
📄
krb5_store_creds_tag.3
(24 B)
📄
krb5_store_data.3
(24 B)
📄
krb5_store_int16.3
(24 B)
📄
krb5_store_int32.3
(24 B)
📄
krb5_store_int8.3
(24 B)
📄
krb5_store_keyblock.3
(24 B)
📄
krb5_store_principal.3
(24 B)
📄
krb5_store_string.3
(24 B)
📄
krb5_store_stringz.3
(24 B)
📄
krb5_store_times.3
(24 B)
📄
krb5_store_uint16.3
(24 B)
📄
krb5_store_uint32.3
(24 B)
📄
krb5_store_uint8.3
(24 B)
📄
krb5_string_to_keytype.3
(27 B)
📄
krb5_support.3
(20.57 KB)
📄
krb5_ticket.3
(731 B)
📄
krb5_ticket_get_authorization_data_type.3
(16 B)
📄
krb5_ticket_get_client.3
(16 B)
📄
krb5_ticket_get_endtime.3
(16 B)
📄
krb5_ticket_get_flags.3
(23 B)
📄
krb5_ticket_get_server.3
(16 B)
📄
krb5_unparse_name.3
(26 B)
📄
krb5_unparse_name_fixed.3
(26 B)
📄
krb5_unparse_name_fixed_flags.3
(26 B)
📄
krb5_unparse_name_fixed_short.3
(26 B)
📄
krb5_unparse_name_flags.3
(26 B)
📄
krb5_unparse_name_short.3
(26 B)
📄
krb5_v4compat.3
(2.07 KB)
📄
krb5_verify_checksum_iov.3
(23 B)
📄
krb5_vset_error_string.3
(27 B)
📄
krb5_vwarn.3
(22 B)
Editing: krb5_principal.3
.TH "Heimdal Kerberos 5 principal functions" 3 "11 Jan 2012" "Version 1.5.2" "HeimdalKerberos5library" \" -*- nroff -*- .ad l .nh .SH NAME Heimdal Kerberos 5 principal functions \- .SS "Functions" .in +1c .ti -1c .RI "KRB5_LIB_FUNCTION void KRB5_LIB_CALL \fBkrb5_free_principal\fP (krb5_context context, krb5_principal p)" .br .ti -1c .RI "KRB5_LIB_FUNCTION void KRB5_LIB_CALL \fBkrb5_principal_set_type\fP (krb5_context context, krb5_principal principal, int type)" .br .ti -1c .RI "KRB5_LIB_FUNCTION int KRB5_LIB_CALL \fBkrb5_principal_get_type\fP (krb5_context context, krb5_const_principal principal)" .br .ti -1c .RI "KRB5_LIB_FUNCTION const char *KRB5_LIB_CALL \fBkrb5_principal_get_realm\fP (krb5_context context, krb5_const_principal principal)" .br .ti -1c .RI "KRB5_LIB_FUNCTION unsigned int KRB5_LIB_CALL \fBkrb5_principal_get_num_comp\fP (krb5_context context, krb5_const_principal principal)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_parse_name_flags\fP (krb5_context context, const char *name, int flags, krb5_principal *principal)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_parse_name\fP (krb5_context context, const char *name, krb5_principal *principal)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_unparse_name_fixed\fP (krb5_context context, krb5_const_principal principal, char *name, size_t len)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_unparse_name_fixed_short\fP (krb5_context context, krb5_const_principal principal, char *name, size_t len)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_unparse_name_fixed_flags\fP (krb5_context context, krb5_const_principal principal, int flags, char *name, size_t len)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_unparse_name\fP (krb5_context context, krb5_const_principal principal, char **name)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_unparse_name_flags\fP (krb5_context context, krb5_const_principal principal, int flags, char **name)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_unparse_name_short\fP (krb5_context context, krb5_const_principal principal, char **name)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_principal_set_realm\fP (krb5_context context, krb5_principal principal, krb5_const_realm realm)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_build_principal\fP (krb5_context context, krb5_principal *principal, int rlen, krb5_const_realm realm,...)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_make_principal\fP (krb5_context context, krb5_principal *principal, krb5_const_realm realm,...)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_copy_principal\fP (krb5_context context, krb5_const_principal inprinc, krb5_principal *outprinc)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL \fBkrb5_principal_compare_any_realm\fP (krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL \fBkrb5_principal_compare\fP (krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL \fBkrb5_realm_compare\fP (krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL \fBkrb5_principal_match\fP (krb5_context context, krb5_const_principal princ, krb5_const_principal pattern)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_sname_to_principal\fP (krb5_context context, const char *hostname, const char *sname, int32_t type, krb5_principal *ret_princ)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL \fBkrb5_parse_nametype\fP (krb5_context context, const char *str, int32_t *nametype)" .br .ti -1c .RI "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL \fBkrb5_principal_is_krbtgt\fP (krb5_context context, krb5_const_principal p)" .br .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_build_principal (krb5_context context, krb5_principal * principal, int rlen, krb5_const_realm realm, ...)" .PP Build a principal using vararg style building .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP returned principal .br \fIrlen\fP length of realm .br \fIrealm\fP realm name .br \fI...\fP a list of components ended with NULL. .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_copy_principal (krb5_context context, krb5_const_principal inprinc, krb5_principal * outprinc)" .PP Copy a principal .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIinprinc\fP principal to copy .br \fIoutprinc\fP copied principal, free with \fBkrb5_free_principal()\fP .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION void KRB5_LIB_CALL krb5_free_principal (krb5_context context, krb5_principal p)" .PP Frees a Kerberos principal allocated by the library with \fBkrb5_parse_name()\fP, \fBkrb5_make_principal()\fP or any other related principal functions. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIp\fP a principal to free. .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_make_principal (krb5_context context, krb5_principal * principal, krb5_const_realm realm, ...)" .PP Build a principal using vararg style building .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP returned principal .br \fIrealm\fP realm name .br \fI...\fP a list of components ended with NULL. .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_parse_name (krb5_context context, const char * name, krb5_principal * principal)" .PP Parse a name into a krb5_principal structure .PP \fBParameters:\fP .RS 4 \fIcontext\fP Kerberos 5 context .br \fIname\fP name to parse into a Kerberos principal .br \fIprincipal\fP returned principal, free with \fBkrb5_free_principal()\fP. .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_parse_name_flags (krb5_context context, const char * name, int flags, krb5_principal * principal)" .PP Parse a name into a krb5_principal structure, flags controls the behavior. .PP \fBParameters:\fP .RS 4 \fIcontext\fP Kerberos 5 context .br \fIname\fP name to parse into a Kerberos principal .br \fIflags\fP flags to control the behavior .br \fIprincipal\fP returned principal, free with \fBkrb5_free_principal()\fP. .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_parse_nametype (krb5_context context, const char * str, int32_t * nametype)" .PP Parse nametype string and return a nametype integer .SS "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL krb5_principal_compare (krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)" .PP Compares the two principals, including realm of the principals and returns TRUE if they are the same and FALSE if not. .PP \fBParameters:\fP .RS 4 \fIcontext\fP Kerberos 5 context .br \fIprinc1\fP first principal to compare .br \fIprinc2\fP second principal to compare .RE .PP \fBSee also:\fP .RS 4 \fBkrb5_principal_compare_any_realm()\fP .PP \fBkrb5_realm_compare()\fP .RE .PP .SS "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL krb5_principal_compare_any_realm (krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)" .PP Return TRUE iff princ1 == princ2 (without considering the realm) .PP \fBParameters:\fP .RS 4 \fIcontext\fP Kerberos 5 context .br \fIprinc1\fP first principal to compare .br \fIprinc2\fP second principal to compare .RE .PP \fBReturns:\fP .RS 4 non zero if equal, 0 if not .RE .PP \fBSee also:\fP .RS 4 \fBkrb5_principal_compare()\fP .PP \fBkrb5_realm_compare()\fP .RE .PP .SS "KRB5_LIB_FUNCTION unsigned int KRB5_LIB_CALL krb5_principal_get_num_comp (krb5_context context, krb5_const_principal principal)" .PP Get number of component is principal. .PP \fBParameters:\fP .RS 4 \fIcontext\fP Kerberos 5 context .br \fIprincipal\fP principal to query .RE .PP \fBReturns:\fP .RS 4 number of components in string .RE .PP .SS "KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL krb5_principal_get_realm (krb5_context context, krb5_const_principal principal)" .PP Get the realm of the principal .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP principal to get the realm for .RE .PP \fBReturns:\fP .RS 4 realm of the principal, don't free or use after krb5_principal is freed .RE .PP .SS "KRB5_LIB_FUNCTION int KRB5_LIB_CALL krb5_principal_get_type (krb5_context context, krb5_const_principal principal)" .PP Get the type of the principal .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP principal to get the type for .RE .PP \fBReturns:\fP .RS 4 the type of principal .RE .PP .SS "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL krb5_principal_is_krbtgt (krb5_context context, krb5_const_principal p)" .PP Check if the cname part of the principal is a krbtgt principal .SS "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL krb5_principal_match (krb5_context context, krb5_const_principal princ, krb5_const_principal pattern)" .PP return TRUE iff princ matches pattern .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_principal_set_realm (krb5_context context, krb5_principal principal, krb5_const_realm realm)" .PP Set a new realm for a principal, and as a side-effect free the previous realm. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP principal set the realm for .br \fIrealm\fP the new realm to set .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION void KRB5_LIB_CALL krb5_principal_set_type (krb5_context context, krb5_principal principal, int type)" .PP Set the type of the principal .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP principal to set the type for .br \fItype\fP the new type .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL krb5_realm_compare (krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2)" .PP return TRUE iff realm(princ1) == realm(princ2) .PP \fBParameters:\fP .RS 4 \fIcontext\fP Kerberos 5 context .br \fIprinc1\fP first principal to compare .br \fIprinc2\fP second principal to compare .RE .PP \fBSee also:\fP .RS 4 \fBkrb5_principal_compare_any_realm()\fP .PP \fBkrb5_principal_compare()\fP .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_sname_to_principal (krb5_context context, const char * hostname, const char * sname, int32_t type, krb5_principal * ret_princ)" .PP Create a principal for the service running on hostname. If KRB5_NT_SRV_HST is used, the hostname is canonization using DNS (or some other service), this is potentially insecure. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIhostname\fP hostname to use .br \fIsname\fP Service name to use .br \fItype\fP name type of pricipal, use KRB5_NT_SRV_HST or KRB5_NT_UNKNOWN. .br \fIret_princ\fP return principal, free with \fBkrb5_free_principal()\fP. .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_unparse_name (krb5_context context, krb5_const_principal principal, char ** name)" .PP Unparse the Kerberos name into a string .PP \fBParameters:\fP .RS 4 \fIcontext\fP Kerberos 5 context .br \fIprincipal\fP principal to query .br \fIname\fP resulting string, free with krb5_xfree() .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_unparse_name_fixed (krb5_context context, krb5_const_principal principal, char * name, size_t len)" .PP Unparse the principal name to a fixed buffer .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP principal to unparse .br \fIname\fP buffer to write name to .br \fIlen\fP length of buffer .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_unparse_name_fixed_flags (krb5_context context, krb5_const_principal principal, int flags, char * name, size_t len)" .PP Unparse the principal name with unparse flags to a fixed buffer. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP principal to unparse .br \fIflags\fP unparse flags .br \fIname\fP buffer to write name to .br \fIlen\fP length of buffer .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_unparse_name_fixed_short (krb5_context context, krb5_const_principal principal, char * name, size_t len)" .PP Unparse the principal name to a fixed buffer. The realm is skipped if its a default realm. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP principal to unparse .br \fIname\fP buffer to write name to .br \fIlen\fP length of buffer .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_unparse_name_flags (krb5_context context, krb5_const_principal principal, int flags, char ** name)" .PP Unparse the Kerberos name into a string .PP \fBParameters:\fP .RS 4 \fIcontext\fP Kerberos 5 context .br \fIprincipal\fP principal to query .br \fIflags\fP flag to determine the behavior .br \fIname\fP resulting string, free with krb5_xfree() .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP .SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_unparse_name_short (krb5_context context, krb5_const_principal principal, char ** name)" .PP Unparse the principal name to a allocated buffer. The realm is skipped if its a default realm. .PP \fBParameters:\fP .RS 4 \fIcontext\fP A Kerberos context. .br \fIprincipal\fP principal to unparse .br \fIname\fP returned buffer, free with krb5_xfree() .RE .PP \fBReturns:\fP .RS 4 An krb5 error code, see krb5_get_error_message(). .RE .PP
Upload File
Create Folder