You are not logged in.
Hello!
I`m very need help to configure automatic authentication of all users via Active Directory. But, unfortunately, I don't know how to do this.
I would like to make automatic login of all users with their credentials from AD. And users must be authenticated as users, admins as admins, etc. in GLPI.
GLPI runs on a domain name like "mysubdomain.mycompany.tld". Windows Sever on "dc1.mycompany.tld".
Users computers are running on Windows 7, 10 and 11 and there are also several Linux PCs.
I have LAMP (Ubuntu Server 24.04, Apache v2.4.58, MariaDB v10.11.7, PHP v8.3.6) and Windows Server 2022; GLPI v10.0.15 (latest stable) installed on Ubuntu Server.
Of course, if necessary I can show the various configuration files… Maybe someone has already done such automatic authentication and knows how to do it step by step?
P.S. In advance, thank you very much for the useful information/code/how to do on this issue!
P.P.S. And I really hope for the help of the GLPI community!
Offline
Did you read the documentation about LDAP?
https://glpi-user-documentation.readthedocs.io/fr/latest/modules/configuration/authentication/ldap.html
Offline
Hello,
Check this article is old but works with glpi 10.x
I used it
https://www. bujarra.com/integracion-de-glpi-con-directorio-activo/?lang=en
Regards
Offline
Did you read the documentation about LDAP?
Yes, of course. But in official docs no one word about automatic (transparency) authentication with credentials from AD.
Check this article is old but works with glpi 10.x
I used it
Unfortunately, in this article nothing about automatic (transparency) auth from AD too…
---------------------------
First, tikkit and mmoral thank you for reply.
I already have users imported from AD on a scheduled basis (via cron) using the command glpi:ldap:synchronize_users.
But users must entered it`s credentials from AD (it`s login and password).
In my situation we need automatic (transparency) authentication WITHOUT the user entering his login and password (automatic auth).
So when you enter the domain where GLPI is located («mysubdomain.mycompany.tld»), a user must authenticate automatically and get into their personal GLPI account in accordance with their rights on the AD domain (without entering his username/password).
This data should somehow be pulled from AD automatically (login and password)…
So, when user entered «mysubdomain.mycompany.tld» in browser, he should be authenticated automatically in GLPI.
Perhaps I need to change something in the standard «login.php» code (/var/www/html/glpi/front/login.php) in GLPI, but I don’t know how to implement it.
---------------------------
The question remains open. And I really need help with this issue!..
Offline
Hi,
Check this plugin: https:// plugins.glpi-project.org/#/plugin/glpisaml
Last edited by mmoral (2024-06-04 12:31:55)
Offline
Nick1,
As you may know, knowing what we want is halfway to reaching the solution.
You are referring to "automatic (transparency) authentication", what you want is SSO (Single Sign On).
SSO, needs to be implemented via SAML.
Security Assertion Markup Language, or SAML, is a standardized way to tell external applications and services that a user is who they say they are.
SAML makes single sign-on (SSO) technology possible by providing a way to authenticate a user once and then communicate that authentication to multiple applications.
Thus, search on the forum sso and saml and there are some topics that can help you.
Offline