LW_ERROR_ACCESS_DENIED
Error
[user1@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: LW_ERROR_ACCESS_DENIED [code 0x00009cde] Incorrect access attempt
Cause
This issue typically occurs because the user who is running the domainjoin-cli command does not have sufficient privileges. In the above example, the domain join is being run by user1.
Resolution
To correct this issue, either re-run the domainjoin-cli command as root or by using sudo.