glpi icon indicating copy to clipboard operation
glpi copied to clipboard

User import (ldap) 1102 instead of 5394 (with 10.0.11)

Open TheRoby opened this issue 1 year ago • 0 comments

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • [X] I have searched the existing issues

Version

10.0.13-dev

Bug description

Hello,

I have a surprising functioning for LDAP import

In 10.0.11 5394 users imported

 5394/5394 [============================] 100%
+--------------+---------+-------------+--------------------------+----------------------------------+
| Serveur LDAP | Importé | Synchronisé | Supprimé du serveur LDAP | Restauré depuis un annuaire LDAP |
+--------------+---------+-------------+--------------------------+----------------------------------+
| 4            | 0       | 5394        | 0                        | 0                                |
+--------------+---------+-------------+--------------------------+----------------------------------+

In 10.0.12 (and .13-dev) 1102 users imported

 1102/1102 [============================] 100%
+--------------+---------+-------------+--------------------------+----------------------------------+
| Serveur LDAP | Importé | Synchronisé | Supprimé du serveur LDAP | Restauré depuis un annuaire LDAP |
+--------------+---------+-------------+--------------------------+----------------------------------+
| 4            | 0       | 1102        | 0                        | 0                                |
+--------------+---------+-------------+--------------------------+----------------------------------+

if I put the src/User.php file from version 10.0.11, then it works as before

As a result, all of my users are not updated. I haven't managed to find any common point that could explain why only some people go back.

The problem is that I use the Last Synchronization field in users...

Thank you :)

Relevant log output

No response

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

TheRoby avatar Mar 07 '24 14:03 TheRoby