Skip to content

authentication: add auth workflow options beyond bind-as-admin + test-user simple_bind #50

@keaz

Description

@keaz

/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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions