home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / protocol / kerberos / 1031 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.8 KB  |  56 lines

  1. Newsgroups: comp.protocols.kerberos
  2. Path: sparky!uunet!scifi!acheron!philabs!linus!agate!stanford.edu!ATHENA.MIT.EDU!warlord
  3. From: warlord@ATHENA.MIT.EDU (Derek Atkins)
  4. Subject: Re: What's the use of .klogin ?? (Conclusion)
  5. Message-ID: <9301281635.AA29212@steve-dallas.MIT.EDU>
  6. Sender: news@shelby.stanford.edu (USENET News System)
  7. Organization: Internet-USENET Gateway at Stanford University
  8. Date: Thu, 28 Jan 1993 16:35:05 GMT
  9. Lines: 45
  10.  
  11. Uhh, I'm sorry to say, but you are still a little confused about
  12. inter-realm authentication.  Here is how it works:
  13.  
  14. You have two realms, Realm1 and Realm2.  You then create a shared key...
  15.     In Realm1: krbtgt.Realm2@Realm1
  16.     In Realm2: krbtgt.Realm1@Realm2
  17.  
  18. Both of these should have the *SAME* password.
  19.  
  20. Now, you have two hosts, one in each realm, host1 and host2.  You create
  21. a key for each host *only* in the realm of the host:
  22.     In Realm1: rcmd.host1@Realm1
  23.     In Realm2: rcmd.host2@Realm2
  24.  
  25. >    3) to connect:
  26. >
  27. >        - go to host1
  28. >        - run kinit (local realm)
  29. >        - run rlogin host2 -k realm_of_host1 and there you are logged in to
  30. >          host2 using your local authentication.
  31.  
  32. The kinit part is fine.  However, to rlogin, you just need to make sure
  33. that Realm2 is in krb.conf and host2 resolves to Realm2 in krb.realms.
  34. Now, all you need to do is:
  35.     rlogin host2
  36.  
  37. When you do this, you can then klist, and it should give you something
  38. that looks like:
  39.  
  40. Ticket file:    /tmp/tkt_foo
  41. Principal:      foo@Realm1
  42.  
  43.   Issued           Expires          Principal
  44. Jan 28 10:14:01  Jan 28 20:14:01  krbtgt.Realm1@Realm1
  45. Jan 28 10:17:39  Jan 28 18:17:39  krbtgt.Realm2@Realm1
  46. Jan 28 10:17:41  Jan 28 18:17:41  rcmd.host2@Realm2
  47.  
  48. I hope this clears things up a little...
  49.  
  50. Inter-realm authentication works fine.  I use it all the time!
  51.  
  52. -derek
  53.  
  54. PGP 2 key available upon request, or via AFS:
  55.     /afs/athena.mit.edu/user/w/a/warlord/pgp-pubkey.asc
  56.