RHEL 7 Active Directory/LDAP Integration

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
tvanhill
Posts: 2
Joined: Mon Apr 27, 2020 1:47 pm

RHEL 7 Active Directory/LDAP Integration

Post by tvanhill »

FYI, it appears the instructions for configure AD/LDAP integration using SSL is incorrect (https://assets.nagios.com/downloads/nag ... d-LDAP.pdf) for RHEL 7 (we are on 7.8). The instructions state that the certificate authority certificate should be copied to /etc/openldap/cacerts (along with several steps to get to that point). The same steps are performed if you use the Web Site (Admin -> LDAP/AD Integration - Add Certificate). However, after performing these steps and verifying the correct certificate was included, I still could not add users from Active Directory.

In order to make it work, I had to copy the CA certificate to "/etc/pki/ca-trust/source/anchors" and run the "update-ca-trust" command to update CA trust store. After performing these steps I was able to authenticate to the AD servers. Also note that "ldapsearch" would not connect to AD without this change.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: RHEL 7 Active Directory/LDAP Integration

Post by ssax »

Either way should technically work. There must've been an issue if it didn't work though the standard method. We can either work through that issue or you can use it the way you currently are.

If you'd like to work through it, please attach your /etc/openldap/ldap.conf and the output of these commands:

Code: Select all

ls -l /etc/openldap
ls -l /etc/openldap/certs
ls -l /etc/openldap/cacerts
Locked