Forge Home

phpldapadmin

Installs and configures phpLDAPadmin with php 7.0 support

4,933 downloads

4,609 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.4.0 (latest)
  • 0.3.0
  • 0.2.0
  • 0.1.0
released Feb 22nd 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'southernhill-phpldapadmin', '0.4.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add southernhill-phpldapadmin
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install southernhill-phpldapadmin --version 0.4.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

southernhill/phpldapadmin — version 0.4.0 Feb 22nd 2019

phpLDAPadmin

Table of Contents

  1. Description
  2. Setup - The basics of getting started with phpldapadmin
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Description

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.

Setup

What phpLDAPadmin affects

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.

Setup Requirements

Beginning with phpldapadmin

Usage

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" 

If /etc/ldap.conf is configured to use STARTTLS (or the depricated LDAPS) phpldapadmin::tls can be set to true.

Limitations

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.