Skip to content

sharkguto/glpi-template-docker-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glpi-template-docker-nginx

template docker nginx pra glpi

procedimentos

  • 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

login como admin

username senha
glpi glpi

configurar ldap

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

About

template docker nginx pra glpi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published