LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-06-2007, 05:01 AM   #1
xudonw1
LQ Newbie
 
Registered: Apr 2007
Location: london
Posts: 19

Rep: Reputation: 0
Kinit failed: Clock skew too great | Join in AD


Hello everyone

I have Active directory+ Samba integrated with Linux
After I done
>sudo net ads join -U XXXXX
then I get

[2007/11/06 10:54:26, 0] libsmb/cliconnect.c:cli_session_setup_spnego(857)
Kinit failed: Clock skew too great
Failed to join domain: Time difference at domain controller



Is there anyone can help!!!

Thank you !!
 
Old 11-06-2007, 05:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well just set the time correctly... if you think it's right, maybe you're using different timezones.
 
Old 11-06-2007, 11:33 AM   #3
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
/ect/init.d/ntpd stop

ntpdate ip.address.of.yourPDC

/etc/init.d/ntpd start


Try again after that.
 
1 members found this post helpful.
Old 11-07-2007, 06:15 AM   #4
xudonw1
LQ Newbie
 
Registered: Apr 2007
Location: london
Posts: 19

Original Poster
Rep: Reputation: 0
Thank you every one

Actually the Linux boxes and Win AD located in different TimeZone!
Is there any way to get arronud it?

cheers
 
Old 11-07-2007, 10:07 AM   #5
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
Thats a tough one. You got me stumped. Is the linux box a file server or such that time stamps on files would be critical? I have never tried to trick ad to give me a kerberos ticket to join the domain, only to change the time later. If I remember correctly the DC refreshes tickets every 90 min, if it works check again in a couple of hours to make sure you are still seen.

I wonder how windows admins do this? Anyone know their way around the bowels of technet and knowledge base?
 
Old 11-07-2007, 10:10 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
the timezone itself isn't an issue. use UTC as the standard hardware clock, and just set a timezone in software.
 
Old 11-07-2007, 10:29 AM   #7
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
Now because I am curious. Just having some fun with "what if". What if the domain controller is in a different time zone and the kerberos tickets are timed for that time zone? Also lets say because the domain controller is in another country the London admin has no control over what the admins do in say France or Germany.

Or do I have this all wrong and kerberos tickets are based on UTC?


Sorry for semi-hijacking the thread, I really am interested. I do a lot of windows/linux integration.
 
  


Reply


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
Clock Skew (Running Fast)... sancho Linux - Hardware 3 09-27-2006 07:25 PM
clock skew detected bm1 Linux - Software 2 04-29-2003 06:19 AM
Sendmail + Clock skew Detected Evolution6 Linux - Newbie 0 04-22-2003 07:14 AM
clock skew detected mechatron Linux - Newbie 2 01-17-2003 04:03 AM
what's this 'clock skew' problem in RH7.3 aditya Linux - Newbie 2 09-03-2002 12:17 AM

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

All times are GMT -5. The time now is 04:40 AM.

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