[CentOS] Problems joining Samba toa w2000 AD PDC

Thu Apr 7 03:36:51 UTC 2005
Sean O'Connell <oconnell at soe.ucsd.edu>

On Wed, 2005-04-06 at 17:51, Mário Gamito wrote:
> Hi Sean,
> 
> Thanks for your help.
> I've configured /etc/krb5.conf and although i still can't join the Samba 
> server to the Windows 2000 Server / Active Directory, the error messages 
> shows some progress :P
> 
> 
> [root at tux samba]# net ads join -Uf418 at dte.ua.pt
> f418 at dte.ua.pt's password:
> [2005/04/07 01:47:49, 0] libads/kerberos.c:ads_kinit_password(146)
>    kerberos_kinit_password f418 at DTE.UA.PT failed: Client not found in 
> Kerberos database
> [2005/04/07 01:47:49, 0] utils/net_ads.c:ads_startup(186)
>    ads_connect: Client not found in Kerberos database
> [root at tux samba]#
> 
> 
> What missing client is this ?
> 
> ----
> 
> On the other hand,
> 
> # kinit f148 at dte.ua.pt
> 
> gives me this:
> 
> # [root at tux samba]# kinit f148 at dte.ua.pt
> kinit(v5): Cannot find KDC for requested realm while getting initial 
> credentials
> [root at tux samba]#
> 
> Where do i define this KDC thing ?
> 
> Any ideas ?

Mario-

The kdc(s) is(are) defined in /etc/krb5.conf in the [realms] section.
Could you post your /etc/krb5.conf?

Do you know which machines in your active directory setup are the domain
controllers? These machines will be the KDCs.

-- 
Sean