[Samba] Cannot find KDC for requested realm

Svend Sorensen ssorensen at gmail.com
Thu Aug 11 00:18:01 GMT 2005

AD uses SRV records to find the KDC for a domain.  Windows sets these
up automatically if the AD server is also the DNS server for the

To check for the SRV record, try

$ host -t srv _kerberos._tcp.MYDOMAIN.COM

This MS article talks about the required SRV records:

On 8/10/05, P V <ditirambo_farfulla at yahoo.com> wrote:

> <snip>
> When a type net ads join -UAdministrator
> Administrator's password:
> I get this:
> [2005/08/09 14:22:20, 0] libads/kerberos.c:ads_kinit_password(146)  kerberos_kinit_password Administrator at MYDOMAIN.COM failed: Cannot find KDC for requested realm
> [2005/08/09 14:22:20, 0] utils/net_ads.c:ads_startup(191)  ads_connect: Cannot find KDC for requested realm
> Here are my configuration files:
> <snip>
> -------------
> /etc/krb5.conf
> --------------
> <snip>

Setting up krb5.conf shouldn't be necessary.  In fact, the Samba HOWTO
warns against doing it.

More information about the samba mailing list