To use the registration services, you will need a TUHH-Account required.
The Shibboleth Identity Provider enables TUHH members and affiliates to access both TUHH’s own resources and external resources within a federation (DFN-AAI).
Shibboleth is the standard implementation of the SAML protocol and has been in use worldwide for more than 20 years, primarily at universities – mainly for authentication on publishing services, research and e-learning portals.
It was designed for the authentication of web-based services and enables single sign-on (SSO), allowing users to authenticate once and then seamlessly access various other services without having to log in multiple times.
Identity information is only transferred to external services with the user’s consent and in a transparent manner. Authorisation is based on defined policies and rules that ensure that only authorised information is disclosed in accordance with data protection and security requirements.
If you wish to make new web applications available to TUHH users via Shibboleth, please contact the IT Service Centre with your request.
For authentication and authorisation, the identity provider supports the SAML (Security Assertion Markup Language) and OIDC (OpenID Connect) protocols.
For new web applications where users are to log in via Shibboleth using TUHH accounts in future, the following scenarios may arise:
Kerberos is an authentication service and, at the same time, a network authentication protocol designed to enable users and services to verify their identities securely on networks.
Kerberos is used in the background for authentication with the following data centre services:
Kerberos is mainly used to run services on servers. However, it can also be used on workstations.
Kerberos uses a centralised, ticket-based system in which a so-called Key Distribution Centre (KDC) issues Ticket-Granting Tickets (TGTs), which allow users to authenticate themselves to various services without having to enter their password multiple times.
This enables users to access the SSH server, the HPC cluster and the Shibboleth service within a ticket’s 10-hour validity period without having to re-enter their password. When combined with a desktop login, this means that users only need to enter their password once to access a range of other services without having to re-enter it.
You need a valid Kerberos ticket on the computer you are currently using, as well as a network connection to the Kerberos server. This is only possible within the TUHH or via VPN.
On Linux, you create a file called /etc/krb5.conf and install the “krb5-client” package (Debian, Ubuntu, etc.) or “krb5-workstation” (RedHat, Alma, etc.). You can then log in using the command
kinit -f cxx0000@KERBEROS.TU-HARBURG.DE
obtain a valid ticket by entering their password.
Alternatively, you can configure the window manager so that you receive a ticket as soon as you log in to the computer; this is how it works in the Linux pool. Unfortunately, it is not possible to provide precise configuration instructions here due to the many different Linux distributions and the rapid changes to the configuration interfaces.
Password-free access to the SSH server (and, similarly, to computers in the Linux pool) can be obtained by adding the following configuration block to the file ~/.ssh/config:
host ssh hostname ssh.rz.tuhh.de GSSAPIAuthentication yes GSSAPIDelegateCredentials yes
The "GSSAPIDelegateCredentials" setting, in conjunction with the "-f" option when running kinit, ensures that the ticket-granting ticket can be transferred from the local machine to the SSH server. The SSH server requires this ticket to obtain further tickets for access to the various file systems.
On Windows, you can either use Windows’ own Kerberos libraries in SSPI or ‘Kerberos for Windows’ (KfW) from MIT.
For the former, you either need single-user Kerberisation or a computer that is entirely within the TU-HARBURG.DE domain (e.g. a Windows pool computer).
GSSAPI can be enabled in Thunderbird in the same way as on Linux. If you are using KfW, you must also enter the path to the KfW gssapi DLL under Edit->Preferences->Config Editor in the `network.negotiate-auth.gsslib` setting, and set `network.negotiate-auth.using-native-gsslib` to false.
For SSH access, there are special versions of PuTTY that include GSSAPI. WinSCP already has GSSAPI built in; you simply need to enable the relevant option.
To ensure that the Shibboleth service accepts your Kerberos ticket, two settings need to be configured.
Note: Shibboleth deletes the setting mentioned in point 2 every time authentication fails. For example, because you did not close the browser overnight and your ticket has expired.