security

Configure OpenLDAP sudo Rules with SSSD on RHEL Family

Configure OpenLDAP sudoRole policies with SSSD on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream clients.

Deepak Prasad17 min read
troubleshooting

Fix OpenLDAP Invalid Credentials Error 49

Fix OpenLDAP Error 49 for wrong bind DNs, passwords, userPassword ACLs, locked accounts, expired passwords, SSSD cache, PAM, and SSH authentication.

Deepak Prasad17 min read
system-administration

Configure OpenLDAP memberOf and Referential Integrity Overlays

Configure OpenLDAP memberOf and refint overlays for groupOfNames membership, reverse membership lookup, and automatic reference cleanup.

Deepak Prasad14 min read
troubleshooting

Fix OpenLDAP Insufficient Access Error 50

Fix OpenLDAP Error 50 for ldapadd, ldapmodify, ldapdelete, password changes, cn=config, and no-write-access-to-parent ACL failures.

Deepak Prasad24 min read
security

Configure OpenLDAP Password Policy with ppolicy

Configure OpenLDAP ppolicy for password expiration, warnings, history, account lockout, grace logins, forced resets, and SSSD client behavior.

Deepak Prasad23 min read
system-administration

OpenLDAP Backup and Restore with slapcat and slapadd

Back up and restore OpenLDAP cn=config and all MDB databases using slapcat, slapadd, systemd timers, retention, checksums, and tested recovery.

Deepak Prasad30 min read
security

OpenLDAP ACL Configuration with Practical Examples

Configure OpenLDAP olcAccess ACLs for passwords, users, groups, SSSD, entry and children permissions, with safe testing and rollback.

Deepak Prasad26 min read
system-administration

OpenLDAP cn=config and MDB Explained with ldapmodify Examples

Understand OpenLDAP cn=config and MDB, discover numbered database DNs, query modules and overlays, and safely modify settings with ldapmodify.

Deepak Prasad24 min read
system-administration

Manage OpenLDAP Users and Groups with LDIF

Add, search, modify, rename, reset passwords, manage group membership, and delete OpenLDAP POSIX users and groups using LDIF.

Deepak Prasad21 min read
system-administration

Configure OpenLDAP Client with SSSD on RHEL-Based Linux

Configure OpenLDAP client authentication with SSSD, authselect, StartTLS, and automatic home directories on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream.

Deepak Prasad15 min read
system-administration

OpenLDAP vs Active Directory: Complete Comparison Guide

OpenLDAP vs Active Directory in plain language: LDAP protocol vs directory services, OpenLDAP vs LDAPS, Samba AD vs Microsoft AD, cost, GPO, Kerberos, Linux integration, and when to choose each.

Deepak Prasad12 min read
system-administration

Create Central Authentication Server with OpenLDAP and NSLCD in Ubuntu

In this tutorial we will cover the steps to install and configure OpenLDAP from scratch and then use the OpenLDAP server as a central authentication server

Deepak Prasad10 min read
system-administration

Install and Configure OpenLDAP on Ubuntu [Step-By-Step]

OpenLDAP is an open-source implementation of the Lightweight Directory Access Protocol (LDAP). It's widely used for managing directory information, providing

Deepak Prasad9 min read
system-administration

Migrate OpenLDAP to a New Server on RHEL Family

Migrate OpenLDAP configuration, schemas, directory data, TLS files, and client endpoints to a new RHEL, Rocky Linux, AlmaLinux, Oracle Linux, or CentOS Stream server.

Deepak Prasad19 min read
system-administration

Configure OpenLDAP Multi-Provider Replication on RHEL-Based Linux (Multi-Master)

Configure OpenLDAP multi-provider or multi-master replication with server IDs, accesslog, delta-syncrepl, StartTLS, MirrorMode, and conflict testing on RHEL-family Linux.

Deepak Prasad21 min read
system-administration

Configure OpenLDAP Provider-Consumer Replication on RHEL-Based Linux (Master-Slave)

Configure one-way OpenLDAP provider-consumer replication with Syncrepl and StartTLS on RHEL-based Linux, including Rocky and AlmaLinux.

Deepak Prasad16 min read
security

Configure OpenLDAP TLS on RHEL-Based Linux

Configure OpenLDAP TLS on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream using a private CA, StartTLS, LDAPS, and cn=config.

Deepak Prasad21 min read
system-administration

Install and Configure OpenLDAP on RHEL-Based Linux

Install OpenLDAP 2.6 on RHEL-based Linux, configure MDB with cn=config, create the base DIT, and verify local and remote LDAP searches.

Deepak Prasad17 min read
system-administration

Secure OpenLDAP with TLS, MTLS, STARTTLS in Ubuntu

Configure OpenLDAP with TLS certificates on Ubuntu . Secure LDAP connections with TLS/SSL. Create our own CA and sign our certificate to use it with LDAP.

Deepak Prasad13 min read
system-administration

Step-by-Step Tutorial: Install and Configure OpenLDAP in CentOS 7 Linux

Learn the steps to install and configure OpenLDAP on Linux using ldapmodify and cn=config database. Add and delete user, group, objects from ldap database

Deepak Prasad13 min read
system-administration

LDAP and OpenLDAP Basics: DN, RDN, DIT, Schema and Operations

Learn LDAP and OpenLDAP basics, including entries, attributes, DN, RDN, DIT, schemas, object classes, LDAP operations, slapd, cn=config and the MDB backend.

Deepak Prasad17 min read
system-administration

Configure Apache LDAP Authentication with OpenLDAP

Configure Apache HTTP Server to authenticate and authorize users with OpenLDAP using mod_authnz_ldap, group restrictions, TLS, and practical troubleshooting.

Deepak Prasad14 min read
system-administration

Fix Bash History Not Saving All Commands in Linux

Fix missing Bash history commands in Linux, including commands lost across multiple terminals, delayed .bash_history writes, HISTCONTROL exclusions, and permission problems.

Deepak Prasad18 min read
system-administration

OpenLDAP Tutorial for Beginners - Install, Configure, Replicate

Free, hands-on OpenLDAP tutorial for the RHEL family — install on Rocky, AlmaLinux, and RHEL, operate cn=config and MDB, index searches, manage POSIX users and groups, configure TLS and ACLs, integrate SSSD clients with …

Deepak Prasad1 min read
linux

TTY vs PTY vs PTS in Linux: /dev/tty and /dev/pts Explained

Understand TTY, PTY and PTS in Linux, including /dev/tty, /dev/pts, controlling terminals, terminal emulators, SSH, tmux, and practical commands.

Deepak Prasad11 min read
system-administration

Configure LDAP Users with NFS Home Directories and autofs

Configure OpenLDAP users with NFS home directories using SSSD and autofs on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream.

Deepak Prasad14 min read
system-administration

Configure Transparent HugePages on RHEL 8–10: always, madvise or never

Check, disable or set Transparent HugePages to madvise on RHEL 8–10, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux.

Deepak Prasad10 min read
system-administration

Download and Sync an Entire DNF Repository for Offline Use

Download and sync complete RPM repositories on RHEL 8/9/10, Rocky Linux, AlmaLinux, CentOS Stream, and Oracle Linux using dnf reposync, repository metadata, GPG verification, and offline clients.

Deepak Prasad11 min read
system-administration

Configure Postfix SMTP Relay on RHEL 9/10

Configure Postfix as a null client or internal SMTP relay on RHEL 9 and 10, Rocky Linux, AlmaLinux, CentOS Stream, and Oracle Linux using relayhost, SASL authentication, STARTTLS, SWAKS, and queue troubleshooting.

Deepak Prasad14 min read
system-administration

Run systemd Service as a Specific User and Group in Linux

Create a system-level systemd service that starts at boot and runs as a dedicated non-root user and group on Ubuntu, Debian, Fedora, RHEL, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux.

Deepak Prasad15 min read