[Samba] failed to join domain error

James Zuelow
Fri, 27 Mar 2009 16:53:43 -0000

> -----Original Message-----
> From:
> samba-bounces+james_zuelow=ci.juneau.ak.us@lists.samba.org
> [mailto:samba-bounces+james_zuelow=ci.juneau.ak.us@lists.samba
> .org] On Behalf Of Benedict simon
> Sent: Friday, 27 March, 2009 05:06
> To: samba@lists.samba.org
> Subject: [Samba] failed to join domain error
>
> Dear All,
>
> I have succesfully managed to have my kerberos configured n working
> without error when i say
>
> kinit Administrator
> and after entering password i get the # prompt
> so its works fine
>

>
> now i configured /etc/samba/smb.conf but when i try to join
> my Win2003 ADS
> domain server
>
>  net ads join -U Administrator
> Administrator's password:
> [2009/03/26 21:58:05, 0] utils/net_ads.c:ads_startup_int(286)
>   ads_connect: No logon servers
> Failed to join domain: No logon servers
>

>
> thnks and Regards
>
> Simon
>
>
> --
> Network ADMIN
> -------------
> KUWAIT MUNICIPALITY:

I just had a host do this recently, using Samba 3.2.5-4 Debian.  DNS was
working fine, kerberos was working fine, but for some reason net ads
join didn't want to work.

I resolved it by putting an entry for a domain controller into
/etc/hosts.

After that net ads join worked fine.

James Zuelow....................CBJ MIS (907)586-0236
Network Specialist...Registered Linux User No. 186591