- Setup - The basics of getting started with phpldapadmin
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module installs and configures phpLDAPadmin with php 7.0. Compared to the packaged version of phpLDAPadmin on e.g. Debian 8, php version 5 (EOL) is still being used.
The module affects the installation of phpLDAPadmin as well as the required dependencies to run this web application. Furthermore, a repository for the dependencies is added as well.
By default the module is configured to work with Hiera. An example configuration of a hiera yaml file can be found below.
--- classes: - phpldapadmin phpldapadmin::vhost: "ldapadmin.example.com non-ssl": servername: "ldapadmin.example.com" port: "80" docroot: "/var/www" redirect_status: "permanent" redirect_dest: "https://ldapadmin.example.com/" "ldapadmin.example.com": port: "443" docroot: "/var/phpldapadmin" ssl: true phpldapadmin::git_source: "https://fqdn/repo.git" phpldapadmin::server_name: "Example LDAP" phpldapadmin::server_ip: "192.168.1.2" phpldapadmin::base_dn: "dc=example,dc=com" phpldapadmin::bind_id: "cn=admin,dc=example,dc=com"
/etc/ldap.conf is configured to use STARTTLS (or the depricated LDAPS)
phpldapadmin::tls can be set to
Currently the following limitations exist with this module:
- No fully worked out rspec
- Only support for Debian 8 and Ubuntu 16.04
- Only the basic parameters for the config.php file are supported. However, this module can easily be extended.
Copyright 2019 SouthernHill Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.