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

[req] Implement ExtendedRequest request as a prereq to enable fast bind for AD #514

Closed
filimonic opened this issue Apr 23, 2024 · 1 comment

Comments

@filimonic
Copy link

Implement ExtendedRequest : rfc2251#section-4.12

Which adds ability to call something like ldap.Conn#ExtendedRequest(LDAP_SERVER_FAST_BIND_OID, nil)
Which switches LDAP connection to LDAP_OPT_FAST_CONCURRENT_BIND mode
Which reduces AD DS server load because

Unlike a normal LDAP bind, a concurrent bind does not determine a user group association or build a security token; it only determines if the user has a valid ID and password. This enables the concurrent bind to complete in a fraction of the time of a normal bind.

Ref: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ldap/using-ldap-for-password-authentication
Ref: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/962a5f25-f541-48a6-b73c-da01f1b7fc69

@filimonic filimonic changed the title [req] Implement ExtendedRequest request as a prereq to enable fast bind fo AD [req] Implement ExtendedRequest request as a prereq to enable fast bind for AD Apr 23, 2024
@cpuschma
Copy link
Member

@filimonic Thank you for your request. We implemented this in #516 recently. Feel free to checkout the master branch to try it out.

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

No branches or pull requests

2 participants