You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-05-04 12:50:20

cts
Member
Registered: 2020-04-07
Posts: 11

Erreur synchro LDAP key unicity

Bonjour,

Étant à la dernière version GLPI (9.4.5) je constate une erreur lors de la synchro ldap via le bin/console.
J'ai ce soucis qui remonte pour un ou plusieurs utilisateurs, toujours les mêmes :

DBmysql::query() in /opt/glpi/inc/dbmysql.class.php line 188
  *** MySQL query error:
  SQL: INSERT INTO `glpi_useremails` (`users_id`, `email`, `is_dynamic`, `is_default`) VALUES ('676', 'XXX.X\'XXX@domain.com', '1', '1')
  Error: Duplicate entry '676-XXX.X'XXX@domain.com' for key 'unicity'
  Backtrace :
  inc/dbmysql.class.php:832                          
  inc/commondbtm.class.php:659                       DBmysql->insert()
  inc/commondbtm.class.php:1135                      CommonDBTM->addToDB()
  inc/user.class.php:1291                            CommonDBTM->add()
  inc/user.class.php:870                             User->syncDynamicEmails()
  inc/commondbtm.class.php:1469                      User->post_updateItem()
  inc/authldap.class.php:2486                        CommonDBTM->update()
  ...sole/ldap/synchronizeuserscommand.class.php:372 AuthLDAP::ldapImportUserByServerId()
  vendor/symfony/console/Command/Command.php:255     Glpi\Console\Ldap\SynchronizeUsersCommand->execute()
  vendor/symfony/console/Application.php:953         Symfony\Component\Console\Command\Command->run()
  inc/console/application.class.php:196              Symfony\Component\Console\Application->doRunCommand()
  vendor/symfony/console/Application.php:248         Glpi\Console\Application->doRunCommand()
  vendor/symfony/console/Application.php:148         Symfony\Component\Console\Application->doRun()
  bin/console:72                                     Symfony\Component\Console\Application->run()

Une idée pour résoudre ca ?

cts


GLPI 9.4.5 // Fusion Inventory 9.4+2.4
Ubuntu 16.04 LTS
PHP7.x // MySQL 5.7.29 // Apache

Offline

#2 2020-05-18 13:27:17

cts
Member
Registered: 2020-04-07
Posts: 11

Re: Erreur synchro LDAP key unicity

Hello, personne a de réponse possible ?


GLPI 9.4.5 // Fusion Inventory 9.4+2.4
Ubuntu 16.04 LTS
PHP7.x // MySQL 5.7.29 // Apache

Offline

#3 2020-05-29 14:52:49

cts
Member
Registered: 2020-04-07
Posts: 11

Re: Erreur synchro LDAP key unicity

Toujours la même erreur même en passant en 9.4.6


GLPI 9.4.5 // Fusion Inventory 9.4+2.4
Ubuntu 16.04 LTS
PHP7.x // MySQL 5.7.29 // Apache

Offline

#4 2020-06-10 08:56:29

cts
Member
Registered: 2020-04-07
Posts: 11

Re: Erreur synchro LDAP key unicity

Pas d'idée ?


GLPI 9.4.5 // Fusion Inventory 9.4+2.4
Ubuntu 16.04 LTS
PHP7.x // MySQL 5.7.29 // Apache

Offline

#5 2020-06-10 17:48:00

mab3
Member
Registered: 2014-09-22
Posts: 193

Re: Erreur synchro LDAP key unicity

Bonjour,
Quelle commande vous utilisez pour cela ?

Last edited by mab3 (2020-06-10 17:48:15)


Contexte : GLPI 9.4.3/FusionInventory 9.4+1.1 / Agent FI 2.5.1

Offline

Board footer

Powered by FluxBB