LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Enterprise Linux > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 09-12-2006, 03:29 AM   #1
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 15
Thanked: 0
Joining Linux to w2k3 Domain


[Log in to get rid of this advertisement]
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?
OneManOfBits is offline  
Tag This Post , , ,
Reply With Quote
Old 09-15-2006, 05:51 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Thanked: 0
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 05:58 AM.. Reason: trying to get rid of Parsed Email
musicman_ace is offline     Reply With Quote
Old 09-15-2006, 08:24 AM   #3
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 15
Thanked: 0

Original Poster
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?
OneManOfBits is offline     Reply With Quote
Old 09-15-2006, 09:55 AM   #4
paulgnyc
LQ Newbie
 
Registered: Feb 2006
Posts: 10
Thanked: 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.
paulgnyc is offline     Reply With Quote
Old 09-15-2006, 01:17 PM   #5
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 15
Thanked: 0

Original Poster
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
OneManOfBits is offline     Reply With Quote
Old 09-15-2006, 06:53 PM   #6
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Thanked: 0
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.
musicman_ace is offline     Reply With Quote
Old 09-16-2006, 04:29 AM   #7
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 15
Thanked: 0

Original Poster
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!
OneManOfBits is offline     Reply With Quote
Old 09-16-2006, 04:57 AM   #8
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Thanked: 0
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 04:58 AM..
musicman_ace is offline     Reply With Quote
Old 09-16-2006, 01:28 PM   #9
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 15
Thanked: 0

Original Poster
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.
OneManOfBits is offline     Reply With Quote
Old 09-16-2006, 08:10 PM   #10
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Thanked: 0
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.
musicman_ace is offline     Reply With Quote
Old 09-17-2006, 11:31 PM   #11
msecravi
LQ Newbie
 
Registered: Sep 2006
Posts: 6
Thanked: 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
msecravi is offline     Reply With Quote
Old 09-19-2006, 01:11 PM   #12
OneManOfBits
LQ Newbie
 
Registered: Sep 2006
Posts: 15
Thanked: 0

Original Poster
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?
OneManOfBits is offline     Reply With Quote
Old 06-09-2009, 10:06 AM   #13
tim5700
LQ Newbie
 
Registered: May 2009
Posts: 8
Thanked: 0
Has anyone come up with a solution for this?
tim5700 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 03:21 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration