[Samba] failed to join domain error - solved

Benedict simon simon at kmun.gov.kw
Sat Mar 28 15:06:14 GMT 2009


Dear All,
googling arround and trying various options finally i mamaged to have my
Centos 5.2 server join my win2003AD Server..

really banged my head through but never thought it was so simple

it was just basically the correct entries in my hosts n resolv.conf file


thnks all,


regards

simon

>
>>
>>
>>> -----Original Message-----
>>> From:
>>> samba-bounces+james_zuelow=ci.juneau.ak.us at lists.samba.org
>>> [mailto:samba-bounces+james_zuelow=ci.juneau.ak.us at lists.samba
>>> .org] On Behalf Of Benedict simon
>>> Sent: Friday, 27 March, 2009 05:06
>>> To: samba at 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
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>
> Thanks and really apprecite your quick reply
> by the way i do have a entry in my hosts file
>
>  172.16.2.227            BALADIA.LOCAL
>
> also the realm was different from my krb5.conf file i think since i was
> jus tryin options so now the realm i have corrected and my realm in
> smb.conf n krb5.conf is the same
> also when i run net ads info it gives me
> ----------------------
>
> Failed to get server's current time!
> LDAP server: 172.16.2.227
> LDAP server name: kmun.baladia.local
> Realm: BALADIA.LOCAL
> Bind Path: dc=BALADIA,dc=LOCAL
> LDAP port: 389
> Server time: Thu, 01 Jan 1970 03:00:00 AST
> KDC server: 172.16.2.227
> Server time offset: 0
> --------------------
> again i mention
>
> my AD win2003 server domain is BALADIA.LOCAL
> computer name is kmun
> ip ===> 172.16.2.227
>
> apprecite if you could help me with somne suggestions
>
> thanks once again
>
> regards
>
> simon
>
>
>
>
> --
> Network ADMIN
> -------------
> KUWAIT MUNICIPALITY:
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


-- 
Network ADMIN
-------------
KUWAIT MUNICIPALITY:


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list