+1

Add argument to "console glpi:ldap:synchronize_users" for full sync

Silvan il y a 2 ans 0

Currently when using '--only-update-existing', deleted users in LDAP are not disabled.

If no arguments are provided, deleted users in LDAP are disabled but also new users will be created.

I like to have the option to sync existing users and disable deleted users in LDAP, this can be done by creating a new argument and calling "AuthLDAP::ACTION_ALL" only.

https://github.com/glpi-project/glpi/blob/751dcfa2c8e54bcd95636c696c0fb30fa6213b5e/src/Console/Ldap/SynchronizeUsersCommand.php#L193