What is LDAP and how do I use it?
If you have ever worked with Windows on a network, this system underpins some of the data. LDAP is a protocol that can read Active Directory, but you can also use it with other programs, including those based on Linux. As a vendor-neutral protocol, you could use this tool to work with all kinds of products that have nothing to do with Windows.
How does ldapsearch work?
In this, ldapsearch binds to an LDAP server, opens a connection, and simultaneously searches using filters. According to RFC 1558, an LDAP filter must conform to the string representation.
What are the best resources to learn about LDAP?
IBM. Basic LDAP Concepts. LDAP.com. Understanding LDAP Schema. LDAP.com. How to Make Your Company's Single Sign-On Implementation as Smooth as Possible. (July 2016). Forbes. Active Directory Domain Services Overview. (May 2017). Microsoft. Understanding Active Directory. (March 2018). Medium.
What should I do if an LDAP mapping does not exist?
If no LDAP mapping exists for the user, try to map the user to an LDAP entry in the directory. If the user cannot be mapped to an LDAP entry, suspend the user and move on to the next user. If there is an LDAP mapping and the corresponding LDAP entry in the directory is missing, suspend the user and move on to the next user.