Skip to content

Support GSSAPI Authentication Mechanism For App User #373

@linuxluser

Description

@linuxluser

Is your feature request related to a problem? Please describe.
I have an OpenLDAP server that is configured for SASL authentication only. I use Kerberos as the mechanism, usually. I'd like it if the app user could use their kerberos credentials (esp. a keytab file) to log in.

Describe the solution you'd like
Include the use of the ldap_sasl_bind() from PHP:LDAP along with accompanying env variables to allow specifying: KDC server, realm, principal to authorize as, password to use or local keytab file to use.

Alternatively, perhap support the common KRB5_* environment variables.

Describe alternatives you've considered
I could mix authentication mechanisms on the LDAP server to include both SASL types and plain.

Additional context
I believe v1 supports this so maybe it would just be a matter of transferring some of that code over. I don't personally know much about PHP or I would help out.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions