akm77 / ldapcomputers

LDAP computers - GLPI plugin
GNU General Public License v3.0
7 stars 6 forks source link

Match between GLPI name and plugin is done by FQDN #16

Open mab18 opened 4 years ago

mab18 commented 4 years ago

Hi, [edit to corresponding to my last real case observation ] I have a computer how don't have the same name in "Name" and "FQDN", I don't know why, maybe badly renamed in MS LDAP.

So... The station is in GLPI, and stay not present by the plugin. Name is the same as in GLPI, but matching seems to be done by the FQDN.

eg : GLPI name is PORT-XXXXXXXXABC and in plugin name PORT-XXXXXXXXAB, plugin FQDN is PORT-XXXXXXXXABC.mydomain.local, plugin DN is CN=PORT-XXXXXXXXAB, OU=Computers,DC=mydomain, DC=local [/edit]

Thanks in advance and thanks for this plugin

mab18 commented 4 years ago

Note, forcing GLPI presence to yes in plugin is not the good way, because of the job refresh : it go back to no.

mab18 commented 3 years ago

Hi, I note that the computer is in GLPI, (by FusionInventory), but is not seen corresponding to the ldapcomputer plugin. I also see this is the only computer that has 16 char length in its name, is this a possible issue ?

Is this a limit in LDAP ? a bad modified PC in LDAP ? a bug in the plugin ?