mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 00:34:36 +08:00

* Move auth docker images to parent folder * Add README file for auth parent folder * Add grafana-authnz-team as code owner * Update `devenv` docs
15 lines
272 B
Bash
Executable File
15 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Pre-populating ldap entries, first waiting for ldap to start"
|
|
|
|
sleep 3
|
|
|
|
adminUserDn="cn=admin,dc=grafana,dc=org"
|
|
adminPassword="grafana"
|
|
|
|
for file in `ls /etc/ldap/prepopulate/*.ldif`; do
|
|
ldapadd -x -D $adminUserDn -w $adminPassword -f "$file"
|
|
done
|
|
|
|
|