Skip to content

Commit b5b983e

Browse files
committed
Adds reference material from Microsoft.
1 parent 54b04aa commit b5b983e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kafka/conn.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,6 +1677,7 @@ def dns_lookup(host, port, afi=socket.AF_UNSPEC):
16771677
def sspi_gss_unwrap_step(sec_ctx, token):
16781678
"""
16791679
GSSAPI's unwrap with SSPI.
1680+
https://docs.microsoft.com/en-us/windows/win32/secauthn/sspi-kerberos-interoperability-with-gssapi
16801681
"""
16811682
buffer = win32security.PySecBufferDescType()
16821683
# This buffer contains a stream, which is a token coming from the other side
@@ -1697,6 +1698,7 @@ def sspi_gss_unwrap_step(sec_ctx, token):
16971698
def sspi_gss_wrap_step(sec_ctx, msg, encrypt=False):
16981699
"""
16991700
GSSAPI's wrap with SSPI.
1701+
https://docs.microsoft.com/en-us/windows/win32/secauthn/sspi-kerberos-interoperability-with-gssapi
17001702
"""
17011703

17021704
size_info = sec_ctx.ctxt.QueryContextAttributes(sspicon.SECPKG_ATTR_SIZES)

0 commit comments

Comments
 (0)