The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/devenv/docker/blocks/auth/openldap-multiple
Gabriel MABILLE 4280e31239
Devenv: Fix openldap-multiple dev environment (#75013)
2 years ago
..
srv1_prepopulate Devenv: Fix openldap-multiple dev environment (#75013) 2 years ago
srv2_prepopulate Devenv: Fix openldap-multiple dev environment (#75013) 2 years ago
README.md Devenv: Fix openldap-multiple dev environment (#75013) 2 years ago
docker-compose.yaml Devenv: Fix openldap-multiple dev environment (#75013) 2 years ago
ldap_dev.toml Devenv: Fix openldap-multiple dev environment (#75013) 2 years ago

README.md

OpenLDAP-Multiple Docker Block

This Docker block uses osixia/openldap image and should work for Apple's ARM chip. Instead of launching solely 1 openldap server, it launches two.

Deployment

First build and deploy the openldap containers.

make devenv sources=auth/openldap-multiple

Exposed ports

The first container will expose port 389 and 636. The second container will expose port 1389 and 1636.

Background services

The osixia/openldap container will update the database with any *.ldif file changes inside ./prepopulate and the ./modules folder. Remember to rebuild the devenv to apply any changes.

Grafana configuration changes

The following changes are needed at Grafana's configuration file.

[auth.ldap]
enabled = true
config_file = ./devenv/docker/blocks/auth/openldap-multiple/ldap_dev.toml

Available users and groups

Srv1 (dc=srv1-grafana,dc=org)

  • admins
    • ldap-admin-srv1
  • editors
    • ldap-editor-srv1
  • no groups
    • ldap-viewer-srv1

Srv2 (dc=srv2-grafana,dc=org)

  • admins
    • ldap-admin-srv2
  • editors
    • ldap-editor-srv2
  • no groups
    • ldap-viewer-srv2