Skip to content

Commit b011ba7

Browse files
committed
Add Kerberos specific GSS-API Extensions
Adds some of the Kerberos specific GSS-API extension methods. These methods are useful when migrating from the Kerberos API to GSS-API or when needing Kerberos specific functionality that is not exposed in GSS-API. Signed-off-by: Jordan Borean <jborean93@gmail.com>
1 parent 2bccab4 commit b011ba7

File tree

9 files changed

+972
-0
lines changed

9 files changed

+972
-0
lines changed

README.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ In addition to RFC 2743/2744, Python-GSSAPI also has support for:
161161

162162
* GGF Extensions
163163

164+
* Kerberos specific extensions
165+
164166
The Team
165167
========
166168

docs/source/gssapi.raw.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ Acquiring Credentials With a Password Extensions
145145
:members:
146146
:undoc-members:
147147

148+
Kerberos Specific Extensions
149+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150+
151+
.. automodule:: gssapi.raw.ext_krb5
152+
:members:
153+
:undoc-members:
154+
148155
Exceptions
149156
----------
150157

gssapi/raw/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@
125125
except ImportError:
126126
pass
127127

128+
# optional KRB5 specific extension support
129+
try:
130+
from gssapi.raw.ext_krb5 import * # noqa
131+
except ImportError:
132+
pass
133+
128134
# optional RFC 6680 support
129135
try:
130136
from gssapi.raw.ext_rfc6680 import * # noqa

gssapi/raw/ext_krb5.pxd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cdef class Krb5LucidContext:
2+
cdef void *raw_ctx

0 commit comments

Comments
 (0)