LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 09-12-2006, 02:29 AM   #1
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Rep: Reputation: 0
Joining Linux to w2k3 Domain


when I entered (net ads join -U administrator )command to join a linux machine to w2k3 Domain it returns an error result (ads_connect: No such file or directory)
this w2k3 server is the primary D.C with the dns,dhcp,wins,etc installed. Already i have manually entered this linux machine's account in the w2k3's Active Directory Users and Computers. how do i succeed to do this?
 
Old 09-15-2006, 04:51 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Assuming all the other requirements are met, I believe it must be a Capitol 'A' in administrator.
Code:
net ads join -U Administrator
Does your kinit Administrator@DOMAIN.COM and then entering the password work?

Last edited by musicman_ace; 09-15-2006 at 04:58 AM. Reason: trying to get rid of Parsed Email
 
Old 09-15-2006, 07:24 AM   #3
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
hello Musicman, thanks but the actually the "kinit Administrator@DOMAIN.COM" entry does not work in the first place. when i enter it and press enter, followed by password and press enter it returns an error saying:
kinit(v5): Clock skew too great while getting initial credentials
How do i get this fixed?
 
Old 09-15-2006, 08:55 AM   #4
paulgnyc
LQ Newbie
 
Registered: Feb 2006
Posts: 10

Rep: Reputation: 0
try setting your clock with ntp. if there's too much of a difference in the clock on your machine and the server, the kinit will continue to fail.
 
Old 09-15-2006, 12:17 PM   #5
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
hello Paulgnc,
i suspected the clock sync as well. infact while on several attempt i got a another error somehow similar to the first,it says:
kinit(v5): Preauthentication failed while getting initial credentials
so how exactly do i get the clock synchronised
 
Old 09-15-2006, 05:53 PM   #6
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
install an ntpclient, I believe mine is actually called "ntpclient" and there are command parameters to sync to a specified server's ip address. I have a cron job to that at midnight daily.
 
Old 09-16-2006, 03:29 AM   #7
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
yeah musicman_ace, the problem here is that when try to install the NTPclient (ie yum install ntpclient) the system returns a massage like this:

Setting up install process
Setting up repositories
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

I did
rpm -qa | grep ntp
and ntp-4.2.0 is simply in my system. my system by the way is Enterprise Linus v4 (CentOS)
i'm still stucked please!
 
Old 09-16-2006, 03:57 AM   #8
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I'm no redhat guru. Try compiling it from source.

Alternatively, verify your time zone it correct and manually set the time within 2min of the Windows Domain Controller

Last edited by musicman_ace; 09-16-2006 at 03:58 AM.
 
Old 09-16-2006, 12:28 PM   #9
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
hey! musicman - mentioning your name here doesnt mean you're that special! whether you exist or not there will be posts in this board and there will continue to be responces to them - i mean you sounded quite irrational. thats not the right approach.
 
Old 09-16-2006, 07:10 PM   #10
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
if your talking out my "I'm no redhat guru", I simply mean that I don't use YUM and RPM enough to troubleshoot or explain how to query the YUM database to find an NTPclient. Now I do compile from source for my own programs and several commercial ones, so I was offering an alternative since the command yum install ntpclient didn't work.

I understand I never had to attempt to answer and I know I'm nothing specail. I'm sorry I tried to help man.
 
Old 09-17-2006, 10:31 PM   #11
msecravi
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Rep: Reputation: 0
net ads join -U command if reflect

net ads join -U command if reflect the following error:

Please help me

[2006/09/18 08:59:41, 0] utils/net_ads.c:ads_startup(186)
ads_connect: No results returned
 
Old 09-19-2006, 12:11 PM   #12
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
yeah, i believe i've been able to join this Linux to the w2k3 domain (with net ads join -U administrator). becouse now i can see the Linux box in the windows machine, but the problem now is that when i double click it i cannot gain access to the Linux box. an error messages pops up saying:

\\LinuxBox is not accessible. You might not have permission to use this network resource.Contact the administrator of the server to find out if you have access permissions.
The network path was not found.

Ok;with WINBIND,KERBEROS,SAMBA,and PAM.D configured on the Linux box, as well as DNS running in the w2k3 D.C. I believe I need not re-create netework users account on the Linux/Samba machine before users can authenticate and access it.
So what remains to do for me to access this Linux box over the network?
 
Old 06-09-2009, 09:06 AM   #13
tim5700
LQ Newbie
 
Registered: May 2009
Posts: 8

Rep: Reputation: 0
Has anyone come up with a solution for this?
 
  


Reply

Tags
domain, joining, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Joining Linux to an AD domain garullon245136 Linux - Networking 2 05-30-2005 05:56 AM
Using Linux as a domain controller for a W2K3 domain. Passive Linux - Networking 3 01-28-2005 06:01 PM
Joining a Linux workstation to a Active Directory Domain Terrence Hinds Linux - Networking 3 10-21-2004 05:45 AM
Joining Linux Distro's to Windows 2003 Domain klawh Linux - Networking 1 12-10-2003 05:46 PM
Joining a machine from another domain to my linux samba domain acummins Linux - Networking 0 09-13-2003 07:07 AM


All times are GMT -5. The time now is 05:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration