Skip to content

Phase AUTH-7 remainder: ldap, pam, lua, imap passdb/userdb drivers #558

Description

@0kaba0hub

Backlog split out of #246. The two no-external-dependency drivers (passwd-file, static) landed in #554; #246 is closed by that PR. The remaining drivers are deferred — no known blocking consumer today. Pull each when the corresponding need surfaces; each ships as its own PR.

Remaining drivers (by original operator-demand order)

  1. ldap — enterprise directory integration
  2. pam — UNIX shell users
  3. lua — scripting escape hatch
  4. imap — passdb that delegates to an upstream IMAP server (proxy fallback)

Reusable infrastructure already in place (from #554)

  • internal/auth/scheme — shared password-scheme verification (PLAIN, BCRYPT, SHA512-CRYPT, CRYPT autodetect, SCRAM-SHA-256/1).
  • internal/auth/passdbs — driver-dispatching builder used by both the in-process backend and standalone yarilo-auth; new drivers add a case here.
  • app/smoketestcheckIMAPLogin pattern for live end-to-end verification of a passdb driver.

Reference

docs/AUTH_REVIEW.md §Phase AUTH-7.

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