Files
gitlabhq/doc/integration/kerberos.md
T

1.5 KiB

Kerberos integration

GitLab can be configured to allow your users to sign with their Kerberos credentials. Kerberos integration can be enabled as a regular omniauth provider, edit gitlab.rb (omnibus-gitlab)` or gitlab.yml (source installations) on your GitLab server and restart GitLab. You only need to specify the provider name. For example:

{ name: 'kerberos'}

You still need to configure your system for Kerberos usage, such as specifying realms. GitLab will make use of the system's Kerberos settings.

Existing GitLab users can go to profile > account and attach a Kerberos account. if you want to allow users without a GitLab account to login you should enable the option omniauth_allow_single_sign_on in config file (default: false). Then, the first time a user signs in with Kerberos credentials, GitLab will create a new GitLab user associated with the email, which is built from the kerberos username and realm. User accounts will be created automatically when authentication was successful.

HTTP git access

A linked Kerberos account enables you to git pull and git push using your Kerberos account, as well as your standard GitLab credentials.

https://help.ubuntu.com/community/Kerberos

http://blog.manula.org/2012/04/setting-up-kerberos-server-with-debian.html