Likewise / PowerBroker: DNS_ERROR_BAD_PACKET

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.

2 comments on “Likewise / PowerBroker: DNS_ERROR_BAD_PACKET

Jeffrey says:

Hi, what did you resolve in BIND to fix this issue. I am having the same problems and I am struggling to fix it. I can get windows machines to join but ubuntu is driving me crazy.
Jeff

Hey Jeffrey, in my case I was missing a required Active Directory DNS record. When I ran ‘dcdiag’ on an Active Directory domain controller I noticed an error resolving the UUID DNS record for the domain. Once I added this record to bind and re-ran the ‘dcdiag’ command to confirm the error was resolved, Likewise/PowerBroker worked as expected. I hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top