nslcd

pdk
Installs and configures nslcd.

geekix

geekix

21,525 downloads

19,433 latest version

4.3 quality score

Version information

  • 0.4.1 (latest)
  • 0.4.0
  • 0.3.0
released Mar 11th 2019
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.0.0 < 5.0.0
  • Debian
    ,
    Ubuntu

Start using this module

Tags: nslcd, pam, nss, ldap

Documentation

geekix/nslcd — version 0.4.1 Mar 11th 2019

puppet-nslcd

Build Status

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with nslcd
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module installs and configured nslcd to get pam/nss data from ldap.

Module Description

This module allows you to install and configure the nslcd daemon (and its dependencies), to provide ldap support for PAM and NSS.

Setup

What nslcd affects

  • nslcd package and service
  • /etc/nslcd.conf

Usage

Simply include/contain/required/declare the nslcd class. It includes a few sane defaults, so it should work out of the box. However, we recommend that you declare the class and override a few parameters:

  • In the module
class { 'nslcd':
  ldap_uris => ['ldap://ldap01.mycompany.com:389','ldap://ldap02.mycompany.com:389'],
  ldap_search_base => 'dc=company,dc=com'
}
  • In hieradata
nslcd::ldap_uris:
  - 'ldap://ldap01.company.com:389'
  - 'ldap://ldap02.company.com:389'
nslcd::ldap_search_base: 'dc=company,dc=com'

Reference

todo

Limitations

The module has been tested with Ubuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Debian 8, Debian 9 and Puppet 4.10. It should work with Puppet 4.x.

For additional OS support, you should contribute it back upstream!

The module doesn't support setting the rootbinddn and rootbindpw attributes yet, it will be added in a next version.

Development

If you want to improve this module, send us a patch of pull request!