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

feat: Add support for children scope choice const #480

Merged
merged 3 commits into from
Jan 13, 2024

Conversation

sirzzang
Copy link
Contributor

This PR adds const declaration for representing children scope value 3.

@cpuschma
Copy link
Member

cpuschma commented Jan 13, 2024

Hi, thank you for your PR.

It seems LDAP_SCOPE_SUBORDINATE is an OpenLDAP server extension. May you please add a comment with a reference to OpenLDAP for clarification?

// ScopeChildren is an OpenLDAP extension that may not be supported by another directory server.
// See: https://github.com/openldap/openldap/blob/7c55484ee153047efd0e562fc1638c1a2525f320/include/ldap.h#L598

Also, please mirror your changes to the v3 directory as well. Then we can get this merged

Thank you!

@cpuschma cpuschma self-assigned this Jan 13, 2024
@cpuschma cpuschma merged commit 9023788 into go-ldap:master Jan 13, 2024
19 checks passed
gustavoluvizotto pushed a commit to gustavoluvizotto/ldap-fork that referenced this pull request Apr 11, 2024
* feat: Add support for children scope choice const

* Add comment to `ScopeChildren` that this scope may not be available on directory server other than OpenLDAP

* Mirror changes to v3

---------

Co-authored-by: sirzzang <sirzzan@naver.com>
Co-authored-by: Christopher Puschmann <cp@lumen.sh>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants