Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly handle GSSAPI SASL negotiated max buffer size as per RFC4752 #1156

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

wokis
Copy link

@wokis wokis commented Aug 21, 2024

This PR adds code to correctly handle GSSAPI SASL negotiated max buffer size as per RFC4752.

As 0 was sent as the proposed max client buffer size (it should only be 0 if no security layers are configured), Samba would fail with error "gensec_gssapi_unwrap: WRAPPED data is larger than SASL negotiated maximum size".

ThePirateWhoSmellsOfSunflowers added a commit to ThePirateWhoSmellsOfSunflowers/ldap3 that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant