Kerberos Extension
This extension is not distributed with Mercurial.
Author: Eric Hawicz
Repository: https://github.com/hawicz/hgkerberos
Overview
hgkerberos provides support for kerberos authentication (Negotiate/SPNEGO) over HTTP.
hgkerberos has been successfully tested against Apache's mod_auth_kerb.
Configuration
Install pykerberos, urllib_kerberos and the hgkerberos extension
sudo apt-get install python3-kerberos # Adjust as needed for non-Debian systems pip3 install --user urllib_kerberos mkdir -p ~/.hgext cp kerberos.py ~/.hgext/.
Configure your .hgrc to enable the extension by adding following lines:
[extensions] hgext.kerberos= # or, if kerberos.py is not in the hgext dir: # kerberos=/home/youruserid/.hgext/kerberos.py