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

unified request flow && external binding to LDAP #232

Merged
merged 3 commits into from
Oct 22, 2019

Conversation

regeda
Copy link
Contributor

@regeda regeda commented Oct 8, 2019

I unified the request flow. Now, you could use doRequest and readPacket functions to work with requests.

Also, I've added SASL/EXTERNAL mechanism for client authentication.

@regeda
Copy link
Contributor Author

regeda commented Oct 8, 2019

@johnweldon Could you review the PR? It's an essential update for an internal project I'm doing.
I will be happy to see it merged into the upstream.

@johnweldon
Copy link
Member

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

@johnweldon johnweldon self-assigned this Oct 8, 2019
@regeda
Copy link
Contributor Author

regeda commented Oct 22, 2019

Hi @johnweldon
Do you have any plans when the PR will be reviewed?

Copy link
Member

@johnweldon johnweldon left a 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)

@johnweldon johnweldon merged commit caa044a into go-ldap:master Oct 22, 2019
chinnareddy578 added a commit to chinnareddy578/ldap that referenced this pull request Oct 24, 2019
unified request flow && external binding to LDAP (go-ldap#232)
@regeda regeda deleted the ldapi-external-bind branch October 29, 2019 13:55
@regeda
Copy link
Contributor Author

regeda commented Oct 29, 2019

Thanks for merging.

hahmadia added a commit to mattermost/ldap that referenced this pull request Nov 25, 2019
* 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
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.

2 participants