What is LDAP

LDAP is a networking protocol for querying and modifying directory services running over TCP/IP.To explain LDAP we take a example of telephone directory, which consists of a series of names organized alphabetically, with an address and phone number attached.To start LDAP on client it should be connect with server at TCP/IP port 389.The client can send multiple request to the server.The basic operations are:-

Start TLS - protect the connection with T

ransport Layer Security (TLS), to have a more secure connection

Bind - authenticate and specify LDAP protocol version

Search - search for and/or retrieve directory entries

Compare - test if a named entry contains a given attribute value

Add a new entry

Delete an entry

Modify an entry

Modify DN - move or rename an entry

Abandon - abort a previous request

Extended Operation - generic operation used to define other operations

Unbind - close the connection (not the inverse of Bind)