def get_components(principal):
if not principal:<EOL><INDENT>return None<EOL><DEDENT>return re.split(r'<STR_LIT>', str(principal))<EOL>
get_components(principal) -> (short name, instance (FQDN), realm)

``principal`` is the kerberos principal to parse.