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

Fix drowning of minor_status code when accepting GSSAPI security context #5997

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

Conversation

jjkeijser
Copy link

Fix drowing out of the GSSAPI minor_status code when accepting GSSAPI security context. This fixes the issue during GSSAPI (Kerbos) negotation in case the server is misconfigured. Without the patch, cupsd reports

  Error accepting GSSAPI security context.: Unspecified GSS failure.  Minor code may provide more information, Unknown error 

With the patch, the true GSSAPI error is printed:

  Error accepting GSSAPI security context.: Unspecified GSS failure.  Minor code may provide more information, Request ticket server host/[email protected] kvno 6 not found in keytab; keytab is likely out of date

Signed-off-by: Jan Just Keijser [email protected]

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.

None yet

1 participant