Puppet module for managing NSLCD
Go to file
2019-03-08 11:38:29 -08:00
examples Move tests file to examples as the convention has changed 2018-08-29 18:05:40 +02:00
manifests Use the contain function instead of anchors 2019-03-08 11:38:29 -08:00
spec Remove spec.opts 2018-08-30 17:23:02 +02:00
templates Merge pull request #11 from bowdoincollege/ldap_maps 2019-03-04 15:23:12 +01:00
.fixtures.yml Initial import 2015-04-16 18:04:30 -04:00
.gitignore Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
.gitlab-ci.yml Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
.pdkignore Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
.rspec Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
.rubocop.yml Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
.travis.yml Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
.yardopts Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
appveyor.yml Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
CHANGELOG.md Add changelog file 2019-03-06 12:08:00 +01:00
CONTRIBUTING.md Migrating into modulesync 2015-04-23 14:32:48 -04:00
Gemfile Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
metadata.json Fix spacing and indentation in metadata.json 2019-03-08 11:38:29 -08:00
Rakefile Convert the module to be PDK compliant 2018-08-22 12:07:49 +02:00
README.md Fix syntax 2018-09-08 09:50:59 +02:00

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!