added krb5 princ validation funcs and regex