ERROR_BAD_FORMAT

Error

When attempting to join a domain, the following is returned:

ERROR_BAD_FORMAT

Cause

This issue typically occurs when there is a character that is unexpected in the krb5.conf. It could also be an issue with a special character in the OU or domain.

Resolution

Check the /etc/krb5.conf for any special characters or formatting issues.