-
Notifications
You must be signed in to change notification settings - Fork 361
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
feat: GSSAPI client (with unix support) #449
Conversation
works fine ;) @t2y why not merged yet? |
I don't have permission to merge. I think @cpuschma can review it. |
There are open merge conflicts that need to be resolved first but first and foremost we/I need to review the function and structs, as there already GSSAPI related functions available coming from PR #402 . |
My two cents... Client from PR #449 implements The only functions from PR #402 that reference the old concrete type are the NewSSPIClient* functions, which allow for backwards compatibility if the user still wants to use the Windows-only implementation instead of migrating to the improved version. IMO right now this should be enough to guarantee that this PR only adds functionality to go-ldap that will allow for lots of new features in projects that use it and should not cause any issues. The alternative is to introduce breaking changes by removing the Windows-only types and methods and adding extra code for the interface and the bind to this PR, which does not sound ideal. Another possibility is to rename "Client" to "SSPIClient", remove the old code from PR #402, and rename other functions from this PR accordingly to match the old PR - this would be a much more sensitive operation, involving removing the dependency on |
The pull request as such is definitely a good addition and I am grateful for all contributions, especially because time is currently tight due to work (but the situation should ease soon). This was the reason for the first message, I haven't had time to review the PR and check if the functions and structs differ too much from the existing ones. We can and should avoid breaking changes whenever possible. I'll review and merge the PR today, only an addition of the examples would be helpful if someone finds the time and has a system with Kerberos integration at hand. |
* feat: unix gssapi client * fix: lint errors * fix: comment grammar --------- Co-authored-by: Levko Burburas <[email protected]>
Refactoring the code from this PR to implement
ldap.GSSAPIClient
interface.