When attempting to join a domain, the following is returned:
This issue typically occurs because the user account used to join the domain has an expired password in Active Directory. In the following example, the password for Administrator has expired:
[root@host1 bin]$ ./domainjoin-cli --loglevel debug --logfile /tmp/join.log join --ou 'My OU' example.com Administrator Joining to AD Domain: example.com With Computer DNS Name: host1.example.com Administrator@EXAMPLE.COM's password: Error: LW_ERROR_PASSWORD_EXPIRED [code 0x00009c58] Password expired
To correct this issue, reset the password for the Administrator account (or whichever join account is specified) in Active Directory.