riya_business_travel_8.0.0_.../devenv/docker/blocks/freeipa/notes.md
venbatechnologies@gmail.com 565484c22d Modified initial commit
2021-07-05 14:17:23 +05:30

806 B

Notes on FreeIPA LDAP Docker Block

Users have to be created manually. The docker-compose up command takes a few minutes to run.

Create a user

docker exec -it freeipa /bin/bash

To create a user with username: ldap-viewer and password: grafana123

kinit admin

Log in with password Secret123

ipa user-add ldap-viewer --first ldap --last viewer
ipa passwd ldap-viewer
ldappasswd -D uid=ldap-viewer,cn=users,cn=accounts,dc=example,dc=org -w test -a test -s grafana123

Enabling FreeIPA LDAP in Grafana

Copy the ldap_freeipa.toml file in this folder into your conf folder (it is gitignored already). To enable it in the .ini file to get Grafana to use this block:

[auth.ldap]
enabled = true
config_file = conf/ldap_freeipa.toml
; allow_sign_up = true