You are not logged in.
Pages: 1
Hi,
I'm new to GLPI so maybe I'm getting this wrong, I'm trying to create an inventory of our phones with these informations:
SIM card
Line
Phone
User
Is there a way to create a User without login for the sole purpose of assigning things (like a phone) to it?
I don't want to create a new user/login for every item I need to assign it.
I hope it's clear what I'm asking.
Thanks
Offline
Do you use some kind of central authentication system like AD/LDAP with your users? If so, you can import users from that system into GLPI and let them at least have the most basic profile. However, if you want to assign a user to something they need to have an account in GLPI.
https://glpi-user-documentation.readthe … index.html
Some changes are coming with GLPI 11 to make this better including the ability to create "Authorization assignment rules" (which run during the login process) which can optionally deny them from logging in.
https://github.com/glpi-project/glpi/pull/16354
GLPI 11 will also be coming with the ability to exclude members of a group or profile from receiving notifications (per-notification setting).
https://github.com/glpi-project/glpi/pull/16355
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
you can set "alternate username" (text field) rather than user(dropdown)
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
you can set "alternate username" (text field) rather than user(dropdown)
True, I always forget/overlook it because it has always been problematic for me. Automated inventory agents/plugins always want to replace the value with the current username when the agent was run and there isn't a good way to link that value to other things in GLPI. If you want to see everything assigned to that user, you could use the global search, but that isn't actually global. You also can't attach additional data to that username like actual name, email, etc.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
you can import users from that system into GLPI
That's what I'm trying to avoid here actually, I don't want to pollute GPLI with thousands of users from my AD.
I just need to assign a user/utilizer to a phone/whathever without the need of creating it, whether it's in my AD or in GLPI directly.
As far as I can tell there is no such an option, exept maybe what LaDenrée wrote
you can set "alternate username" (text field) rather than user(dropdown)
But I don't know where that "alternate username" field is nor where I can set it, can you explain it please?
Thanks
Offline
Automated inventory agents/plugins always want to replace the value with the current username when the agent was run and there isn't a good way to link that value to other things in GLPI
I set manually "alternate username" so it is locked and is not updated by glpi agent.
"user" is updated by glpi agent.
I can check if the last logged user corresponds to the "alernate username".
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
cconard96 wrote:Automated inventory agents/plugins always want to replace the value with the current username when the agent was run and there isn't a good way to link that value to other things in GLPI
I set manually "alternate username" so it is locked and is not updated by glpi agent.
"user" is updated by glpi agent.
I can check if the last logged user corresponds to the "alernate username".
So this is not an option for me, I'm not using agents, thanks anyway.
Offline
So this is not an option for me, I'm not using agents, thanks anyway.
you can set "alternate username" as "text" (no need for agent)
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
you can set "alternate username" as "text" (no need for agent)
Now I see what you mean, inside a Phone I can set Alternate Name.
Same thing goes for a Line, I can set a Caller Name with the according value.
But this is really not tied together, now I see that there is no way to link a Line to a Phone,
there is the pull 11299 in github (I can't post links) called "Direct linking for Lines to Items"
but it's going to be mainlined in 10.1.0 and I don't know when it's going to be released.
I really don't know if GLPI is suited for me right now to manage my phones fleet.
Last edited by davidezanon (2024-05-15 15:14:16)
Offline
GLPI 10.1 is now going to be called GLPI 11.0. Unfortunately, I don't know a release timeframe for it or the preceding beta tests yet.
For importing users, if you don't have thousands of users that are going to have assets, you can import only a subset and even assign them a specific group in GLPI to help separate them from the users that actually log in.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
GLPI 10.1 is now going to be called GLPI 11.0. Unfortunately, I don't know a release timeframe for it or the preceding beta tests yet.
For importing users, if you don't have thousands of users that are going to have assets, you can import only a subset and even assign them a specific group in GLPI to help separate them from the users that actually log in.
Actually I have more users with a phone than users in AD, so that's a no.
Also there's really not way to manage Smartphones as an asset easily right now in GLPI,
I don't know why it's not in there already as it's a big part of a company asset,
the Phones part is missing important informations like IMEIs.
Offline
USERS
I also had the same problem (not wanted to import ALL AD users...)
I've decided to create an OU [phone_users] on AD with a fake username ex. Davide Zanon » phdaza01 with fake email phdaza01@domain.local » username naming = phone Davide Zanon incremental number
On GLPI I had set up a new LDAP Directory to import/create/update these phone users.
Connection Filter = (&(objectClass=user)(mail=*@domain.local)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
BaseDN = OU=phone_users,DC=domain,DC=local
GLPI Phones/Lines/Simcards
GLPI has these topics unlinked, but I think I've found a way to link them "together"
Offline
USERS
I also had the same problem (not wanted to import ALL AD users...)
I've decided to create an OU [phone_users] on AD with a fake username ex. Davide Zanon » phdaza01 with fake email phdaza01@domain.local » username naming = phone Davide Zanon incremental numberOn GLPI I had set up a new LDAP Directory to import/create/update these phone users.
Connection Filter = (&(objectClass=user)(mail=*@domain.local)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
BaseDN = OU=phone_users,DC=domain,DC=localGLPI Phones/Lines/Simcards
GLPI has these topics unlinked, but I think I've found a way to link them "together"
Thanks for the Link tip but I don't know how to link a Line item, I can only insert some random name to the link,
do you insert the URL of the Line and add an icon every time?
Offline
Go to Lines list Home / Management / Lines (ex. http://glpiserver/glpi/front/line.php)
The "name" is the Phone Number
Find on the list the Line you want to link to a phone, right-click and copy the URL (ex. http://glpiserverl/glpi/front/line.form.php?id=8)
Go to Phones list Home / Assets / Phones (ex. http://glpiserver/glpi/front/phone.php)
Find on the list the phone you want to EDIT, on LINKS, Add Manual Link
Of course, some setup time is required, but it pays off.
This way I can co-relate my devices [Simcard > Line > Phone]
Offline
Pages: 1