[Samba] Error: Cannot find KDC for requested realm

Gavin Davenport gavdav at gavdav.demon.co.uk
Fri Oct 17 10:43:23 GMT 2003


You must authenticate using kinit first, and then net ads join with no
arguments.
then start winbindd and smb.

I've posted extensively about this - search the archives.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan Villa wrote:

> [global]
> workgroup = OURDOMAIN
> security = ADS
> realm = OURDOMAIN.com
> password server = OURSERVER
....
>
> When I try to join the domain I do the following:
>
> ./net ads join -w OURDOMAIN -U administrator
>
> and the response is this
>
> kerberos_kinit_password administrator at EKI-CONSULTING.COM failed: Cannot
> find KDC for requested realm

This is a krb5 lib thing.  Either hardcode the KDCs in /etc/krb5.conf
or enable DNS SRV lookups in the krb5 libs.  Hope this helps.






More information about the samba mailing list