Diff for /wikisrc/kerberos/system.mdwn between versions 1.5 and 1.14

version 1.5, 2011/08/01 14:26:18 version 1.14, 2015/10/29 16:10:38
Line 1 Line 1
 [[!tag kerberos howto]]  [[!tag kerberos howto]]
   
 #### Why enable Kerberos on your system?  ## Why enable Kerberos on your system?
   
 Convenience and security. With  Convenience and security. With
 [Kerberos](http://web.mit.edu/Kerberos/dialogue.html), a single  [Kerberos](http://web.mit.edu/Kerberos/dialogue.html), a single
 login grants access to all NetBSD web services. Configuration is easy  login grants access to all NetBSD web services. Configuration is easy
 and you only have to do it once (sometimes less).  and you only have to do it once (sometimes less).
   
 #### [[!toggle id="macosx" text="Mac OS X"]]  
 [[!toggleable id="macosx" text="""  
 OS X autodiscovers and uses the NETBSD.ORG KDC as defined in DNS.  
 To use Kerberized TNF services, log in with your Kerberos [[password]]:  
   
 `$ kinit <username>@NETBSD.ORG`  
   
 The right-hand side is a Kerberos realm, not a DNS domain. Case is significant!  
   
 ##### A Keychain trick  
   
 To pop up a GUI password dialog:  
   
 `$ kinit <username>@NETBSD.ORG </dev/null`  
   
 Check "Remember this password in my keychain" to simplify future  ## NetBSD
 logins down to a one-word, prompt-free command:  
   
 `$ kinit`  
 """]]  
   
 #### [[!toggle id="netbsd" text="NetBSD"]]  
 [[!toggleable id="netbsd" text="""  
 NetBSD needs to be configured to prevent Kerberos from being used  NetBSD needs to be configured to prevent Kerberos from being used
 to log into _your_ system, and then to enable Kerberos.  to log into _your_ system, and then to enable Kerberos.
   
Line 44  NetBSD will now autodiscover and uses th Line 24  NetBSD will now autodiscover and uses th
 in DNS. To use Kerberized TNF services, log in with your Kerberos  in DNS. To use Kerberized TNF services, log in with your Kerberos
 [[password]]:  [[password]]:
   
 `$ kinit <username>@NETBSD.ORG`      $ kinit <username>@NETBSD.ORG
   
   The right-hand side is a Kerberos realm, not a DNS domain. *Case is significant!*
   
   
 The right-hand side is a Kerberos realm, not a DNS domain. Case is significant!  ## Mac OS X
 """]]  
   
 #### [[!toggle id="windows" text="Windows XP"]]  OS X autodiscovers and uses the NETBSD.ORG KDC as defined in DNS.
 [[!toggleable id="windows" text="""  To use Kerberized TNF services, log in with your Kerberos [[password]]:
   
 Windows does not provide an easy way to configure and use KDCs different from the one embedded into an Active Directory.  7. Launch `Ticket Viewer.app` from `/System/Library/CoreServices`
   
 Therefore, to use [[Kerberos]], you should follow the following steps:  7. Press the "Add Identity" button
   
 7. Download the [MIT Kerberos for Windows](http://web.mit.edu/Kerberos/dist/#kfw-3.2) installer. It is composed of different tools traditionally found with Kerberos distributions, like [[!template id=man name=kinit section=1]] or [[!template id=man name=klist section=1]], and a Network Identity Manager, an application used to manage credential caching of Kerberos tickets.  7. In the identity field enter your `<username>@NETBSD.ORG`
   
 7. Install the package. Use the default provided options, then restart the computer.      The right-hand side is a Kerberos realm, not a DNS domain. *Case is significant!*
   
 7. The Network Identity Manager [(PDF)](http://web.mit.edu/kerberos/kfw-3.2/kfw-3.2.2/netidmgr_userdoc.pdf) should automatically start when you login. As there is no principal currently configured, it should open a dialog box to obtain the new credentials.  7. Enter the password associated with this identity in the password field
   
 7. Enter your principal:     By default Ticket Viewer.app will save password details in keychain, un-tick "Remember password in my keychain" if this is not desired behaviour
   
         Username: <username>  7. Press continue
         Realm: NETBSD.ORG  
   If successful, you'll be returned to the main window with a new entry below the icons containing `<username>@NETBSD.ORG` and the date and time which the ticket obtained is due to expire.
   
   Alternately, from the command line:
   
       koolaid:~ 196> kinit <username>@NETBSD.ORG
       <username>@NETBSD.ORG's Password: 
       koolaid:~ 197> 
   
   The klist command will show current tickets.  Additionally, a kinit created entry will show up in Ticket Viewer.app.
   
   
   ## Windows XP
   
   Windows does not provide an easy way to configure and use KDCs
   different from the one embedded into an Active Directory.
   
   Therefore, to use [[Kerberos]], you should follow the following
   steps:
   
   7. Download the
      [MIT Kerberos for Windows](http://web.mit.edu/Kerberos/dist/#kfw-3.2)
      installer. It is composed of different tools traditionally found
      with Kerberos distributions, like
      [[!template id=man name=kinit section=1]] or
      [[!template id=man name=klist section=1]], and a Network Identity
      Manager, an application used to manage credential caching of
      Kerberos tickets.
   
   7. Install the package. Use the default provided options, then
      restart the computer.
   
   7. The Network Identity Manager
      [(PDF)](http://web.mit.edu/kerberos/kfw-3.2/kfw-3.2.2/netidmgr_userdoc.pdf)
      should automatically start when you login. As there is no principal
      currently configured, it should open a dialog box to obtain the
      new credentials.
   
   7. Enter your principal:
   
 7. Click `Ok`. After a few seconds, it should obtain the TGT for you from NetBSD.ORG KDC.      Username: <username>
       Realm: NETBSD.ORG
   
 """]]  7. Click `Ok`. After a few seconds, it should obtain the TGT for
      you from the NETBSD.ORG KDC.

Removed from v.1.5  
changed lines
  Added in v.1.14


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb