Enable LDAP support on mediawiki

Users can log in using their LDAP account (in the
ou=users,dc=kosmos,dc=org group and with the wiki attribute set to
enabled)

Add an attribute for the ldap master server, so it can be overridden in
the development environment

Refs #107
This commit is contained in:
Greg Karékinian
2019-11-04 19:03:45 +01:00
parent 484f1306da
commit a69192a863
7 changed files with 111 additions and 7 deletions

View File

@@ -27,7 +27,7 @@
credentials = data_bag_item("credentials", "dirsrv")
dirsrv_instance "master" do
hostname "ldap.kosmos.org"
hostname node['kosmos-dirsrv']['master_hostname']
admin_password credentials['admin_password']
suffix "dc=kosmos,dc=org"
end