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.

Unable to locate a user without a entryuuid  #706

@travisobregon

Description

@travisobregon
  • Laravel Version: 5.8
  • Adldap2-Laravel Version: 6.0.2
  • PHP Version: 7.1
  • LDAP Type: OpenLDAP

Description:

I'm not sure if this issue applies to Active Directory as well, but I am unable to import a user using the console command. This issue is related to #693. I have extended the OpenLDAP schema as you've described, but since the entryuuid exists, I was hoping to avoid having to create another file just for development.

The problem is that the ldap search query used by the import command has the columns set to ['*']. At least with OpenLDAP, the results of the query will not contain the entryuuid, unless you ask for it explicitly it seems. Do you know why this is the case? I've come across articles saying that entryuuid is a virtual attribute, but I am not sure what that means.

I guess if you think this is an issue, a fix would have to go in the Adldap package?

Thanks for your help.

Steps To Reproduce:

  1. Try importing a user using the console command or logging in.

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