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

Support for complex cross-realm scenarios #536

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

joanlopez
Copy link

@joanlopez joanlopez commented Dec 18, 2023

Fixes #130

Description

It slightly modifies the messages.NewTGSReq signature in order to use the client's realm as the paRealm for TGS_REQ messages, as discussed in #130 and suggested by @momiji and @snqk (added them as co-authors for credit).

Proof

I have also added a new Go test (which also relies on a few changes added on the testing environment here) that reproduces the issue. So, you can try to run it without and with the other changes present on this pull request in order to verify that they actually fix that issue (test-driven).

Considerations

First, in order to get this pull request (CI) fully working, it would require approving & merging the gokrb5-test's pull request (here) first, and re-building and publishing the modified / added Docker images later.

Second, as this slightly modifies part of the public API of the library (the messages package), it would probably require bumping up its major version to v9 (unfortunately), but I think the fix does worth it.


--

Pinging you @jcmturner for visibility, I'm definitely looking forward for some feedback and ideally getting this merged sooner rather than later, cause as the other users involved, we're experiencing the same issue, and we rather prefer to contribute back to this repository than having to maintain our own fork.

Thanks!

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.

question: cross-realm support
1 participant