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.

Returning selective data on login / auth #14

@rmatulis

Description

@rmatulis

Hi,

First up thank you for this brilliant project!
I have built it into what i am developing and find it very useful.

I do have a few questions to see if things are possible in the current repo and if not maybe feature requests.

Currently when i authenticate a use with the default settings it is returning all attributes the user has in AD. Is there a way to select only certain attributes for the user?

Same when i select the users groups with the following method, it returns all attributes for the groups from AD when i only really want 2 of them. The reason i am asking about this is in our AD we have groups with 3 or 4 thousand users so if the tools returns all attributes it may take more time.

Along with this i would like to be able to pull groups recursively for the user so that i can see what groups they are nested it

// Retrieving the authenticated LDAP users groups
$groups = $user->adldapUser->getGroups();

Thanks in advance.

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