-
Notifications
You must be signed in to change notification settings - Fork 355
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
unified request flow && external binding to LDAP #232
Conversation
9f7ed51
to
1485b0a
Compare
@johnweldon Could you review the PR? It's an essential update for an internal project I'm doing. |
This looks like a great PR from what I've reviewed so far - because it's more complex and large it'll take me a bit to do a full review. Thanks for the PR |
Hi @johnweldon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Thank you for contributing this
I like the internals refactoring, and the addition of the two Bind methods will be appreciated by others too.
I think this qualifies for a minor version bump (https://semver.org/#spec-item-7)
unified request flow && external binding to LDAP (go-ldap#232)
Thanks for merging. |
* unified request flow && external binding to LDAP (go-ldap#232) * unified request flow && external binding to LDAP * fix debug mode * go.mod was added * Prevent negative waitgroup panic by `Add`ing first. (go-ldap#237) * Use github for module name. (go-ldap#239) * Rename asn1 ber dependency. (go-ldap#243) * Rename asn1.ber dependency. * go mod tidy * Update travic CI to new asn1 ber * Update travis go_import_path * Update README (go-ldap#245) * Update go.mod (go-ldap#241) I believe that this (plus a new tag) is what is necessary for native go modules support -- right now go modules complains that the version tag is >= v2 but the module doesn't claim to be a version >= v2. * Versioned v3 according to Go wiki, maintaining backward compatibility (go-ldap#247) * Moved v3 to subfolder to allow for versioning >2 with go modules. Reverted top level go.mod to fix backward compatibility * Updated readme to include directions on Go Modules, including the rationale
I unified the request flow. Now, you could use
doRequest
andreadPacket
functions to work with requests.Also, I've added
SASL/EXTERNAL
mechanism for client authentication.