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:
@@ -0,0 +1 @@
|
||||
node.default['kosmos-dirsrv']['master_hostname'] = 'ldap.kosmos.org'
|
||||
|
||||
@@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/Configures 389 Directory Server'
|
||||
long_description 'Installs/Configures 389 Directory Server'
|
||||
version '0.1.0'
|
||||
version '0.1.1'
|
||||
chef_version '>= 14.0'
|
||||
|
||||
depends "firewall"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user