glpi icon indicating copy to clipboard operation
glpi copied to clipboard

Unable to import LDAP users

Open Otijom opened this issue 10 months ago • 7 comments

Hello,

It's no longer possible to import LDAP users; the button no longer exists. Groups are also affected. Thank you for your help.

Image

Otijom avatar Apr 07 '25 14:04 Otijom

I cannot recreate the issue. Please make sure your profile has the User "Update auth, sync and 2FA" and "Add external" permissions.

cconard96 avatar Apr 07 '25 20:04 cconard96

Hi Curtis, my user has these permissions.

Image

Stan told me yesterday that a piece of code had disappeared:

$user = new User();
$user->title();

Otijom avatar Apr 08 '25 06:04 Otijom

GLPI 10.0.x

Image

GLPI 11

Image

After rereading the code, the following conditions must be met:

  • have the IMPORTEXTAUTHUSERS right
  • and have active AD on GLPI

@Otijom can you check on your side ?

stonebuzz avatar Apr 08 '25 08:04 stonebuzz

What is different from now is that these two checks were not carried out in version 10.0.x

stonebuzz avatar Apr 08 '25 08:04 stonebuzz

By enabling/disabling MFA, I was able to make the LDAP option appear in users. Currently MFA is disabled and LDAP import is possible.

Otijom avatar Apr 08 '25 11:04 Otijom

Are you referring to the MFA plugin or the new native 2FA?

The title function was removed for users and groups because it didn't match the rest of the GLPI UI. Instead the actions were moved to be buttons in the breadcrumbs like the "Add" button is.

cconard96 avatar Apr 08 '25 11:04 cconard96

I can't use any plugin for the moment in GLPI11, the 2FA used is the one natively implemented.

Otijom avatar Apr 08 '25 11:04 Otijom

There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.

If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.

You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.

github-actions[bot] avatar Jun 29 '25 08:06 github-actions[bot]

Fixed by https://github.com/glpi-project/glpi/pull/16615

flegastelois avatar Jul 02 '25 09:07 flegastelois