fusioninventory / fusioninventory-for-glpi

FusionInventory plugin for GLPI
http://www.FusionInventory.org/
GNU Affero General Public License v3.0
361 stars 148 forks source link

Microsoft Office Standard 2013 en double #1914

Open gargan21 opened 8 years ago

gargan21 commented 8 years ago

Bonjour,

J'ai de manière systématique Microsoft Office Standard 2013 en double dans mon inventaire, j'ai tenté plein de règles avec les dictionnaire, mais rien, j'ai toujours en double. Ce qui est assez gênant pour la comptabilisation des licences.

[code]

GLPI 0.90.5 (/glpi => /opt/glpi)

Server

Operating system: Linux SRVLAMP 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 PHP 7.0.8-0ubuntu0.16.04.2 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, calendar, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, pdo_mysql, posix, readline, session, shmop, soap, sockets, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zlib) Setup: max_execution_time="30" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files" upload_max_filesize="2M" Software: Apache/2.4.18 (Ubuntu) (Apache/2.4.18 (Ubuntu) Server at srvlamp Port 80) Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Server Software: (Ubuntu) Server Version: 5.7.13-0ubuntu0.16.04.2 Server SQL Mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION Parameters: glpi@localhost/glpi Host info: Localhost via UNIX socket

OK/opt/glpi/config : OK OK/opt/glpi/files : OK OK/opt/glpi/files/_dumps : OK OK/opt/glpi/files/_sessions : OK OK/opt/glpi/files/_cron : OK OK/opt/glpi/files/_graphs : OK OK/opt/glpi/files/_lock : OK OK/opt/glpi/files/_plugins : OK OK/opt/glpi/files/_tmp : OK OK/opt/glpi/files/_rss : OK OK/opt/glpi/files/_uploads : OK OK/opt/glpi/files/_pictures : OK OK/opt/glpi/files/_log : OK Web access to files directory is protectedWeb access to files directory is protected : OK

Libraries

htmLawed version 1.1.21 in (/opt/glpi/lib/htmlawed) phpCas version 1.3.4 in (/opt/glpi/lib/phpcas) PHPMailer version 5.2.8 in (/opt/glpi/lib/phpmailer) ZetaComponent ezcGraph installed in (/opt/glpi/lib/zeta/Base): OK Zend Framework version 2.4.9 in (/opt/glpi/lib/Zend) SimplePie version 1.3.1 in (/opt/glpi/lib/simplepie) TCPDF version 6.2.12 in (/opt/glpi/lib/tcpdf) ircmaxell/password-compat in (/opt/glpi/lib/password_compat). Compatitility: Ok

LDAP directories

Server: 'srvdonnees.parcnaturel-volcansauvergne.com', Port: '389', BaseDN: 'OU=Utilisateurs TSE,DC=parcnaturel-volcansauvergne,DC=com', Connection filter: '(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))', RootDN: 'CN=Administrateur,CN=Users,DC=parcnaturel-volcansauvergne,DC=com', Use TLS: none

Mysql replicas

Not active

Notifications

Way of sending emails: PHP

Mails receivers

Plugins list

accounts             Name: Comptes                        Version: 2.1.1      State: Enabled
fusioninventory      Name: FusionInventory                Version: 0.90+1.3   State: Enabled
manufacturersimports Name: Imports fabricants             Version: 1.8.0      State: Enabled
pdf                  Name: Impression pdf                 Version: 1.0.2      State: Enabled

[/code]

nbriche commented 8 years ago

Idem. Dans mon cas, par contre, j'ai pour chaque installation "Microsoft Office Standard 2013" et "Microsoft Office Standard 2013" (c'est-à-dire "Microsoft Office Standard[espace]2013" et "Microsoft Office Standard[espace][espace]2013". Le HTML étant rendu en supprimant les espaces superflus, on a l'impression que ce sont les mêmes noms).

Cependant, dans le XML d'infos d'import, j'ai biens deux noms identiques (donc sans double espace) mais avec deux GUID différents:

   <SOFTWARES>
      <ARCH>i586</ARCH>
      <FROM>registry</FROM>
      <GUID>{90150000-0012-0000-0000-0000000FF1CE}</GUID>
      <INSTALLDATE>13/01/2016</INSTALLDATE>
      <NAME>Microsoft Office Standard 2013</NAME>
      <PUBLISHER>Microsoft Corporation</PUBLISHER>
      <UNINSTALL_STRING>MsiExec.exe /X{90150000-0012-0000-0000-0000000FF1CE}</UNINSTALL_STRING>
      <VERSION>15.0.4569.1506</VERSION>
    </SOFTWARES>
     <SOFTWARES>
      <ARCH>i586</ARCH>
      <FROM>registry</FROM>
      <GUID>Office15.STANDARD</GUID>
      <NAME>Microsoft Office Standard 2013</NAME>
      <NO_REMOVE>0</NO_REMOVE>
      <PUBLISHER>Microsoft Corporation</PUBLISHER>
      <UNINSTALL_STRING>"C:\Program Files\Common Files\Microsoft Shared\OFFICE15\Office Setup Controller\setup.exe" /uninstall STANDARD /dll OSETUP.DLL</UNINSTALL_STRING>
      <VERSION>15.0.4569.1506</VERSION>
    </SOFTWARES>

Je pense qu'on a Office en double parce qu'il s'insère deux fois de façons différentes dans l'Uninstall de la base de registres, et qu'on a un double espace parce que GLPI essaie de les différencier à l'import?

ddurieux commented 8 years ago

Le double espace n'est pas dans le XML ?

nbriche commented 8 years ago

Pas dans celui récupéré depuis l'onglet infos d'import, en tous cas.

ddurieux commented 8 years ago

Humm, à tous les coups c'est un caractères non imprimable, j'ai eu a traiter un truc de ce genre y a pas longtemps et il faut faire un dictionnaire (et oui c'est la merde)

gargan21 commented 8 years ago

Comment vous faites pour récupérer le XML ? Fusion Inventory en local ou c'est possible de le voir dans GLPI (si c'est le cas, c'est top, mais je ne l'ai jamais trouvé) ?

ddurieux commented 8 years ago

En local fusioninventory-agent --local ledossierquetuveux

gargan21 commented 8 years ago

J'aurais accès à une de mes machines problématiques demain matin, je ferais un sondage XML pour voir ce qui se cache. Je vous fais mon retour de suite après. En attendant merci de votre aide

wawax commented 7 years ago

Des nouvelles de cette issue ?

felag commented 3 years ago

Je rencontre le même problème en GLPi 9.5.5 + FusionInventory 9.5+3.0.

Est-ce qu'il y a un dictionnaire logiciel connue que je puisse utiliser (voire exporter ici pour les prochains qui voient ce bogue) ?

Edit: remplacement de règle par dictionnaire logiciel ;-)