Using Kerberos from Python

Fred L. Drake, Jr. and Roger E. Masse

Corporation for National Research Initiatives
1895 Preston White Dr., Reston, Va 20191

Copyright © 1998 by Corporation for National Research Initiatives.

All Rights Reserved

See the file LICENSE for licensing information. You must agree to the terms of the license before using this software. Using this software constitutes your acknowledgment that you have read and agreed to the terms and conditions of the License Agreement. The License Agreement will be effective as of the date of your first use of this software.

To access the original software package, including the License Agreement, use the following unique identifier (which is resolvable using the Handle System): hdl:1895.22/1001.


This document describes modules developed to allow access to Kerberos V5 from Python. We have developed a object-oriented approach to using some Kerberos V5 facilities which allows much of the tedium to be hidden from the application programmer. A wrapper module for Python's socket module provides an integration which is largely transparent.