krb5_check_transited, krb5_check_transited_realms, krb5_domain_x500_decode, krb5_domain_x500_encode —
Contents
Description
krb5_check_transited() checks the path from client_realm to server_realm where realms and num_realms is
the realms between them. If the function returns an error value, bad_realm will be set to the realm in
the list causing the error. krb5_check_transited() is used internally by the KDC and libkrb5 and should
not be called by client applications.
krb5_check_transited_realms() is deprecated.
krb5_domain_x500_encode() and krb5_domain_x500_decode() encodes and decodes the realm names in the X500
format that Kerberos uses to describe the transited realms in krbtgts.
Library
Kerberos 5 Library (libkrb5, -lkrb5)
Name
krb5_check_transited, krb5_check_transited_realms, krb5_domain_x500_decode, krb5_domain_x500_encode —
realm transit verification and encoding/decoding functions
See Also
krb5(3), krb5.conf(5) HEIMDAL May 1, 2006 KRB5_CHECK_TRANSITED(3)
Synopsis
#include<krb5.h>krb5_error_codekrb5_check_transited(krb5_contextcontext, krb5_const_realmclient_realm, krb5_const_realmserver_realm,
krb5_realm*realms, intnum_realms, int*bad_realm);
krb5_error_codekrb5_check_transited_realms(krb5_contextcontext, constchar*const*realms, intnum_realms,
int*bad_realm);
krb5_error_codekrb5_domain_x500_decode(krb5_contextcontext, krb5_datatr, char***realms, int*num_realms,
constchar*client_realm, constchar*server_realm);
krb5_error_codekrb5_domain_x500_encode(char**realms, intnum_realms, krb5_data*encoding);
