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 2024-06-11 11:45:39

Owanii_
Member
Registered: 2024-06-11
Posts: 2

LDAP for two dockers glpi

Hello everyone,

I have a problem that I can't solve. I have two docker glpi separated into two debian machines (one machine = docker linux), which are connected to the same mysql database located in a third debian machine. Both dockers are connected to the same ldap directory, without problem. I manage to synchronize the users, and on one of the two glpis, I enter my ldap identifiers and I connect without problem. However, when I try to put the same LDAP credentials on my other glpi, it tells me "Unable to contact the LDAP directory". And when I go back to my first glpi, and I try to log in, it tells me that the account is deactivated. And indeed, when I connect this time internally, the account becomes inactive. Basically, I want the account to remain active, regardless of which glpi machine I connect to. They have the same ldap configuration, the same glpi configuration, the same database, the same identifiers, I redid all the options so that they have the same, but it does not work

Here is my docker-compose.yml if that helps you understand as well. (if you have improvements on my docker-compose as well, I'm interested because I'm a beginner in the field!):
------------------------------------------------

version: "3.3"

services:
glpi:
image : diouxx/glpi
ports:
- "80:80" # GLPI port exposed on host port 80
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- /var/www/html/glpi/:/var/www/html/glpi
environment:
GLPI_DB_HOST: 10.21.1.45 # IP where the mysql database is located
GLPI_DB_NAME: *******
GLPI_DB_USER: ********
GLPI_DB_PASSWORD: *********
TIME ZONE: Europe/Brussels
restart: always
web:
image: shinsenter/phpfpm-apache:latest # Still in testing, I'm not using it yet

Offline

Board footer

Powered by FluxBB