

Pass-Through authentication is a mechanism used by some LDAP directories to delegate authentication operations (BIND) to other backbends. Authentication mechanisms can also support proxy authorization, a facility allowing one user to assume the identity of another. It decouples authentication mechanisms from application protocols, allowing any authentication mechanism supported by SASL to be used in any application protocol that uses SASL. Simple Authentication and Security Layer (SASL) is a framework for authentication and data security in Internet protocols. – LDAP is one of the protocols you can use to talk to it. – OpenLDAP is again a directory services database in a Linux environment. – AD is a directory services database in a Windows environment. LDAP (Lightweight Directory Access Protocol) is an application protocol for querying and modifying items in directory service providers like Active Directory, OpenLDAP, which supports a form of LDAP. It is released under its own BSD-style license called the OpenLDAP Public License.Īctive Directory is a database based system that provides authentication, directory, policy, and other services in a Windows environment OpenLDAP – OpenLDAP is a free, open-source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project. Then the saslauth daemon performs the authentication on the Active Directory server using the LDAP protocol.īefore we begin, let’s ensure we are good with the terminology used in this document and its definition. I did note that the /etc/openldap/slapd.d/cn=config folder doesn't have a database corresponding to mdb, so I'm not sure if I need to install that.The idea is to ask OpenLDAP to delegate the authentication using the SASL protocol. This gives the following error: slapadd: could not add entry dn="cn=config" (line=1): slapadd -n 0 -F /etc/openldap/slapd.d -l /usr/share/openldap-servers/slapd.ldif

I'm running this command to initialize the database, which is the same as the provided command except for the folders (which were different on my machine). OlcDbDirectory: /usr/local/var/openldap-data

Here is my slapd.ldif file, which is the same as the sample one except for the domain name (redacted here): dn: olcDatabase=mdb,cn=config I'm trying to install OpenLDAP on Centos 7 by following the instructions here:
