Joining a MacOS workstation to a Domain
First sync time with your NTP server (usually the domain) with the following command so the domain can be joined successfully:
sudo sntp -sS <NTP Server>
You should see similiar output to the following if successsful:
2018-09-29 19:42:41.448103 (-0200) +1087.742403 +/- 725.183462 pool.ntp.org 188.8.131.52 s2 no-leap
Now go to System Preferences > Users & Groups > Login Options, then click the Join button as outlined in the following screenshot:
Once the domain has been joined successfully you should now see the following green circle next to the domain name:
You have now successfully joined this machine to a domain.