nslcd

pdk
Install and configure NSLCD

A3K

a3k

2,998 downloads

2,998 latest version

5.0 quality score

Version information

  • 0.2.0 (latest)
released Jun 10th 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, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.0.0 < 7.0.0
  • RedHat
    ,
    CentOS
    ,
    OracleLinux
    ,
    Ubuntu
    ,
    Debian

Start using this module

Documentation

a3k/nslcd — version 0.2.0 Jun 10th 2019

nslcd

Build Status Puppet Forge Puppet Forge Downloads Puppet Forge Score

Table of Contents

  1. Overview
  2. Usage - Configuration options and additional functionality
  3. Reference - An under-the-hood peek at what the module is doing and how
  4. Limitations - OS compatibility, etc.
  5. Credits

Overview

This module installs and configures NSLCD (local LDAP name service daemon)

NSLCD is used to provide access to identity and authentication remote resource through a common framework.

Usage

Example configuration:

class {'::nslcd':
  config => {
    'uid'    => 'nslcd',
    'gid'    => 'ldap',
    'uri'    => 'ldap://ldap.example.com',
    'base'   => 'dc=test,dc=local',
    'scope   => 'one',
  }
}

...or the same config in Hiera:

nslcd::config:
    'uid': 'nslcd'
    'gid': 'ldap'
    'uri': 'ldap://ldap.example.com'
    'base': 'dc=test,dc=local'
    'scope': 'one'

Will be represented in nslcd.conf like this:

uid nslcd
gid ldap
uri ldap://ldap.example.com
base dc=test,dc=local
scope one

Reference

#####ensure Defines if nslcd and its relevant packages are to be installed or removed. Valid values are 'present' and 'absent'. Type: string Default: present

#####config Configuration options structured like the nslcd.conf file. Array values will be joined into comma-separated lists. Type: hash Default:

config => {
    'uid'    => 'nslcd',
    'gid'    => 'ldap',
    'uri'    => 'ldap://ldap.example.com',
    'base'   => 'dc=test,dc=local',
    'scope   => 'one',
}

#####mkhomedir Set to 'true' to enable auto-creation of home directories on user login. Type: boolean Default: true

Limitations

Tested on:

  • (CentOS) 7
  • Debian 8,9

Credits

  • See CHANGELOG file for additional credits