Skip to content

Local Fallback #316

@ryanmerolle

Description

@ryanmerolle

For lack of a spot to discuss this, I posted here, but I get this is super annoying for a project to have Q&A in issues.

In NetBox https://github.com/netbox-community/netbox/blob/develop/netbox/netbox/api/authentication.py#L28-L38

We check if REMOTE_AUTH_BACKEND is set and then import LDAPBackend. A user noticed if LDAP is reachable, local users can authenticate after LDAP is checked for the user, which is as intended. BUT when LDAP is unreachable, local users are unable to authenticate. Is there a LDAP status check we can use for logic to move onto just local authentication if LDAP is status is down?

Thanks for this great package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions