Kerberos on Windows

From MetaCentrum
Jump to navigation Jump to search
Related topics
Kerberos authentication system

ZarovkaMala.png Note: You can also use "Kerberos on Windows" in Windows Subsystem for Linux (recommended). In this case you can follow instructions on the page Kerberos on Linux.

These tutorials work on Windows 8.1, other versions of Windows may need slight changes.

Installation

1. Download & install Kerberos.

Download the latest Kerberos release from the MIT page and install it.

2. Enable hidden items

You have to enable hidden items in order to see the ProgramData folder needed in the next step. WindowsKerberos1.png

3. Edit kr5.ini file

Download/copy the /etc/krb5.conf from tarkil.metacentrum.cz or another frontend.

ZarovkaMala.png Note: Save the file as "krb5.ini" with quotation marks to force .ini file extension

and save it as/to C:\ProgramData\MIT\Kerberos5\krb5.ini (you need administrative privileges to do so).

Usage

1. Open MIT Kerberos

WindowsKerberos2.png

2. Get a new ticket

WindowsKerberos3.png

3. Fill in MetaCentrum username and password

WindowsKerberos4.png

and click OK

You should see a valid Kerberos ticket now and if you did everything right, you should not need to type in your password during login phase (e.g. when using PuTTY):

WindowsKerberos5.png