title: How to fix the Active Directory Authentication Issue with Ubuntu 16.04 in AWS
body: <p>While trying to manually join a Linux Instance of Ubuntu 16.04 in AWS Manged Active Directory using the tutorial <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/join_linux_instance.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/directoryservice/latest/admin-guide/join_linux_instance.html</a>, the authentication to the realm succeeded, but after that I am getting this error while trying to join the UBuntu 16.04 instance to AD:</p>
  
  <pre><code>Couldn't authenticate to active directory: SASL(-1): generic failure: GSSAPI Error: An invalid name was supplied (Success)
  adcli: couldn't connect to ad.nettracer.aero domain: Couldn't authenticate to active directory: SASL(-1): generic failure: GSSAPI Error: An invalid name was supplied (Success)
  ! Insufficient permissions to join the domain
  realm: Couldn't join realm: Insufficient permissions to join the domain
  </code></pre>
  
  <p>however, the same is working for CentOS.</p>
  
  <p>Is there is anything wrong happens from my end?</p>