If you use PowerBroker, formerly known as Likewise, then you may have experienced the following error message when performing the domainjoin-cli command: DNS_ERROR_BAD_PACKET. If you look online may people have come across this issue and have posted their version of a resolution. I have experienced this issue in the past as well, however my online searching did not readily turn up the solution to my problem.
So how can you resolve this error message?
The most common resolutions are:
- Have you configured your resolv.conf and nsswitch.conf? (see: http://is101507.students.fhstp.ac.at/?p=128)
- Domain Users Cannot Join Workstation or Server to a Domain http://support.microsoft.com/kb/251335
In my case, neither fixed the issue. I was running Active Directory and in order to track down the issue on my systems, I had to log into a domain controller and run the dcdiag command. From there I learned that a DNS record was not being resolved properly (BIND was being used for DNS instead of AD DNS). Once the DNS issue was resolved the error message went away.
© 2013, Steve Flanders. All rights reserved.