LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-21-2009, 01:59 AM   #1
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Active Directory on Windows 2003, join of RHEL5 machine


hi all
having some trouble connecting a rhel5 machine to an Active Directory (windows 2003)
I used the setup tool
when I do join domain, this is the error I get:
ADS join did not work, falling back to RPC...
[2009/08/21 08:49:14, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(367) Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_NAME
Unable to join domain THEDOMAIN.
however, if I do: kinit theuser@THEDOMAIN.LOCAL and use the appropriate password, I can see kerberos succesfully authenticates me
klist gives me a valid ticket
in the AD, I can see the hosts in Computers in the Active Directory Users and COmputers tool
When I do winbindd -S -F -i -n
Could not fetch our SID - did we join?
unable to initalize domain list
What I find strange is this:
net ads info shows:
Failed to get server's current time!
I do have to say that I used thedomain.local everywhere and placed an entry in /etc/hosts to resolve it to the correct host
net ads join -U theuser
Failed to join domain: Operations error
anyone an idea?

Thanks in advance
 
Old 08-21-2009, 04:10 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Original Poster
Rep: Reputation: 79
I fixed this issue.

I had an entry in hosts file:
x.x.x.x thedomain.com
x.x.x.x theclient theclient.thedomain.com

And I used thedomain.com in all fields where appropriate(kdc, ads, ...).

I get the message about the Time Server not found.
I changed the hosts file:
x.x.x.x theadserver.thedomain.com theadserver
x.x.x.x theclient theclient.thedomain.com

And went through the "setup" tool again chaning all appropriate fields.

After that I was able to be joined in the domain.
You can check this with wbinfo -u or wbinfo -g
Also if you do net ads info: you would see that the time of the server can be found

Hopes this helps someone as I couldn't find any response on other people who had the same problem
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Join Linux to Windows 2003 Active Directory Problem wearetherock Linux - Server 3 07-02-2008 01:14 PM
how to join fc6 machine to windows server 2003 domain vikram_shiva2006 Linux - Server 1 08-25-2007 10:16 AM
How a linux machine join Microsoft Active Directory mskingdom Linux - Networking 2 11-06-2006 02:05 PM
help required to join ubuntu breezy to windows 2003 active directory manojm Linux - Networking 1 06-10-2006 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration