Category Archives: Guides

OpenLDAP Audit Log Overlay

By | 2019-09-14

The OpenLDAP audit log overlay is used to track changes to a database. It stores its data in an LDIF file. On busy servers, consider setting up a cron job to automatically rotate, compress, or archive the log file. Setting up the OpenLDAP audit log overlay is pretty straightforward. There are only a few steps… Read More »

How to Zip a Folder in Linux

By | 2019-09-11

Zipping a Folder Use the zip command with the -r option to zip a folder on a Linux system. For example, to zip a folder named bigfiles, you would use the following command: $ zip -r bigfiles.zip bigfiles adding: bigfiles/ (stored 0%) adding: bigfiles/bigfile2 (deflated 98%) adding: bigfiles/bigfile3 (deflated 96%) adding: bigfiles/bigfile1 (deflated 97%) After… Read More »

How to Rename a File in Linux

By | 2019-09-10

To rename a file in Linux, you use the mv command. The mv command can also rename directories and move files into different directories. When using mv, always specify the current filename first, followed by one or more spaces, and last the new name. For example, to rename a file named my_file.pdf to your_file.pdf, use… Read More »

OpenLDAP Password Policy Overlay

By | 2019-09-01

The OpenLDAP password policy overlay allows administrators to implement password policies such as minimum length requirements and expirations. This guide explains how to use it and demonstrates with a few examples. The password policy overlay configuration is a bit different from other overlays. The configuration of most overlays takes place in the overlay entry of… Read More »

OpenLDAP – How To Add a User

By | 2019-05-30

Unless you are using some kind of management tool, you use ldapadd to add a user to an OpenLDAP database. Before doing so, you will need a few pieces of information: What type of user you are creating (e.g. POSIX or non-POSIX) The LDAP suffix of the database you wish to add the user to.… Read More »

How To Change an OpenLDAP Password

By | 2019-05-28

How to change an OpenLDAP password depends on whether it is a regular user or an administrative user. The configuration directory and each database (with a few exceptions) have an administrative account. I will cover how to change all three. Run all of the commands in this guide on your directory server as the root… Read More »