Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

How to authenticate both OpenLDAP + Active Directory users #665

Open
@houseofcoder

Description

@houseofcoder
  • Laravel Version: 5.5
  • Adldap2-Laravel Version: 8
  • PHP Version: 7.0
  • LDAP Type: OpenLDAP

Description:

Schema : OpenLDAP
Provider : DatabaseUserProvider

We are using OpenLDAP as proxy to Active Directory for authentication of both OpenLDAP as well as AD users.

Login of OpenLDAP users works fine but in case of AD users, byCredentials method of UserResolver class returns instance of Entry class rather than User class, Same happens with OpenLDAP users if i change the Schema to ActiveDirectory.

So we have got this situation where we want to authenticate both OpenLDAP + AD users, I know this package is not made to handle such situations but what could be possible solution for our problem?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions