In this section, you will learn about the LDAP protocol and examine the Python libraries that deal with LDAP packets.
Reading and interacting with LDAP servers
The LDAP protocol
LDAP is a protocol based on the X.500 standard, which is used to access information that is stored through a centralized directory that contains the information of our organization.
LDAP has a client/server architecture, where the server can use a variety of databases to store a directory, each optimized for fast, high-volume read operations. When a client application is connected to an LDAP server, most of the time it will be for queries, although it is also possible to make changes to the directory entries. If the client application is trying to...