/Users/kasunranasinghe/Projects/Rust/simple-ldap/src/lib.rs:203-222 and src/lib.rs:305-347 center auth flow around a single admin bind + user rebind pattern.
Problem
No explicit high-level API for multiple auth modes (anonymous, SASL, rebind workflows) beyond the current pattern.
Proposal
Expose auth workflow helpers that make intent explicit:
- anonymous bind path
- SASL bind wrappers where supported by
ldap3
- explicit rebind helpers
Acceptance criteria
- Update docs with supported authentication modes and trade-offs.
- Add examples for non-default auth flows.
- Add tests for session rebind behavior (or integration-like tests with controlled server setup where possible).
/Users/kasunranasinghe/Projects/Rust/simple-ldap/src/lib.rs:203-222andsrc/lib.rs:305-347center auth flow around a single admin bind + user rebind pattern.Problem
No explicit high-level API for multiple auth modes (anonymous, SASL, rebind workflows) beyond the current pattern.
Proposal
Expose auth workflow helpers that make intent explicit:
ldap3Acceptance criteria