"Cannot find KDC" error joining Windows 2000 domain

"Cannot find KDC" error joining Windows 2000 domain

When I try to join a Windows 2000 domain, I get the following error:
utils/net_ads.c:ads_startup(186) ads_connect: Cannot find KDC for requested realm.

    Requires Free Membership to View

    When you register, my team of editors will also send you resources covering Linux administration and management; integration and interoperability between Linux, Windows and Unix; securing Linux and mixed-platform environments; and migrating to Linux.

    Cathleen A. Gagne, Senior Editorial Director

    By submitting your registration information to SearchEnterpriseLinux.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchEnterpriseLinux.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

  1. The first thing to do is to make sure your DNS is working fine on your LAN. It probably is, but the right answer is often the simplest. Assuming that you can ping the server and that DNS is set up correctly throughout your network, then move on to the other suggestions below.
  2. Look at the /etc/krb5.conf and make sure that where it says "example.com/EXAMPLE.COM" that your Domain/Realm settings match up.
  3. Make sure that you are using the latest version of Samba, 3.0.13, and that you have gone through the Official How-to.

This was first published in April 2005