Skip to content

Validate realm/service options for kerberos transport - #363

Merged
pcai merged 3 commits into
mainfrom
fix/kerberos-option-validation
Sep 14, 2026
Merged

pcai merged 3 commits into
mainfrom
fix/kerberos-option-validation

Conversation

@pcai

@pcai pcai commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Fixes kerberos transport validation (reimplements the idea from @sathish-progress in chef/chef-winrm@2ee633b, written fresh against current upstream main).

The :kerberos transport currently falls through to the else branch in validate_required_fields, demanding user/password — the wrong options for Kerberos — and producing a cryptic failure deep in the handshake when realm/service are what is actually needed. This adds an early, clear error: realm and service are validated up front for the kerberos transport instead.

@pcai
pcai merged commit a0083f4 into main Sep 14, 2026
11 checks passed
@pcai
pcai deleted the fix/kerberos-option-validation branch September 14, 2026 12:37
@pcai

pcai commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

@sathish-progress thank you

@pcai pcai mentioned this pull request Sep 15, 2026
pcai added a commit that referenced this pull request Sep 15, 2026
Cut 2.4.1 with the fixes that landed since 2.4.0.

- Fix SOAP fault handling for REXML 3.4.4 nodeset changes (#362)
- Validate realm and service options for the Kerberos transport (#363)

Bumps the version to 2.4.1 and records both fixes in CHANGELOG.md.
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