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-02-25 11:25:45

utilisateurUGMR
Member
Registered: 2016-02-22
Posts: 23

Bug Synchro AD

Bonjour,

Suite à une reintallation semaine dernier d'un serveur Linux + intallation en GPLI  9.4.5 + FusionInventory 9.4+2.4, puis une migration d'une base Mysql en 9.2.3, j'ai des erreur lors de ma synchronisation AD (:/var/www/html/glpi$ sudo bin/console ldap:sync)

Processing LDAP server "61"...
Import new users from server "61"...
 5/5 [============================] 100%
CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 3 found! CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found! CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found! CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found! CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found! CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found! CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found! CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found! CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 3 found! Synchronize users with server "61"...
 380/380 [============================] 100%
+-------------+----------+--------------+-------------------+
| LDAP server | Imported | Synchronized | Deleted from LDAP |
+-------------+----------+--------------+-------------------+
| 61          | 0        | 380          | 230               |
+-------------+----------+--------------+-------------------+

Avez vous une idée d'ou provient ce probleme et comment le résoudre ?

merci à vous !

Last edited by utilisateurUGMR (2020-03-02 17:44:43)

Offline

#2 2020-02-25 18:41:47

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Bug Synchro AD

Il faudrait le log complet dans glpi/files/_logs/php-error.log.

Mais à première vue vous avec 2 utilisateurs identiques


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2020-03-02 17:42:58

utilisateurUGMR
Member
Registered: 2016-02-22
Posts: 23

Re: Bug Synchro AD

Bonjour GLPI-DEV,

Je viens de relancer ma synchro AD à l'instant. Voici les nouvelles lignes qui se sont inscrite sous php-error.log suite à cette synchro.

[2020-03-02 16:39:37] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 3 found!  {"user":"@srv-glpi"}
[2020-03-02 16:39:37] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found!  {"user":"@srv-glpi","mem_usage":"0.062\", 14.00Mio)"}
[2020-03-02 16:39:38] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found!  {"user":"@srv-glpi","mem_usage":"0.407\", 16.18Mio)"}
[2020-03-02 16:39:38] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found!  {"user":"@srv-glpi","mem_usage":"0.045\", 16.19Mio)"}
[2020-03-02 16:39:38] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found!  {"user":"@srv-glpi","mem_usage":"0.099\", 16.22Mio)"}
[2020-03-02 16:39:38] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found!  {"user":"@srv-glpi","mem_usage":"0.153\", 16.26Mio)"}
[2020-03-02 16:39:38] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found!  {"user":"@srv-glpi","mem_usage":"0.008\", 16.26Mio)"}
[2020-03-02 16:39:38] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found!  {"user":"@srv-glpi","mem_usage":"0.011\", 16.26Mio)"}
[2020-03-02 16:39:38] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 3 found!  {"user":"@srv-glpi","mem_usage":"0.341\", 16.36Mio)"}
[2020-03-02 16:39:43] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/html/glpi/inc/commondbtm.class.php line 379
getFromDBByCrit expects to get one result, 2 found!  {"user":"@srv-glpi","mem_usage":"4.361\", 14.86Mio)"}

Je ne comprends pas quels utilisateurs posent souci. Avez vous une idée ?


Merci à vous !

Last edited by utilisateurUGMR (2020-03-02 17:48:32)

Offline

Board footer

Powered by FluxBB