template docker nginx pra glpi
- descompactar glpi e rodar
tar zxvf glpi-10.0.15.tgz && docker-compose up --build -d
- entrar no docker
docker exec -it $(docker ps | grep -i glpiserver | awk '{print $1}') bash
- acessar o glpi 0.0.0.0:8042
- HOST=db-x
- MARIADB_USER=x123
- MARIADB_PASSWORD=x123
username | senha |
---|---|
glpi | glpi |
ldaps://192.168.0.1:3268 ldap://192.168.0.1:389
setup > authentication > ldap directories > +add
Connection Filter:
(&(objectCategory=person)(objectclass=user))
or
(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
BaseDN: ou=x,dc=xcompany,dc=local
RootDN: [email protected]
Login Field: samaccountname
Synchronization Filed: objectguid
testar ldapsearch
ldapsearch \
-x -H 192.168.0.1 \
-D "[email protected]" \
-W \
-b "cn=users,dc=x,dc=local" \
-s sub "(cn=*)" cn mail sn