What is it?
A puppet module that installs OpenLDAP and manages the service. It uses an RPM based on the LDAP Toolbox project's RPM (included in the support directory) which has been modified to install files in the typical RHEL paths. This module does not configure the directory itself (an exercise left to the user), but instead focuses installing required files including certificates for SSL/TLS that is left as an exercise to the user.
An additional class (openldap::pwd_expire) is available that installs a nightly cron entry to check for users who's passwords are about to expire and emails them a warning message. This script requires using the ppolicy overlay for password aging.
Generic OpenLDAP install
To use the check-password ppolicy module:
You will then need to modify your password policy entry by adding the the objectClass pwdPolicyChecker and the attribute pwdCheckModule with a value of check_password.so.
Setting up password expiration warning emails:
Only tested on CentOS 6
Released under the Apache 2.0 licence
- Fork it
- Create a topic branch
- Improve/fix (with spec tests)
- Push new topic branch
- Submit a PR
v0.2.0: Add openldap::pwd_expire class Add ability for remote logging. Beaver currently supported v0.1.0: Add support for check-password module Add password expiration email check v0.0.1: Initial public release
Copyright 2013 EvenUp Inc 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.