What does binding to a LDAP server mean

ldap

I have googled for well over an hour, and cannot find and information that simply explains the protocol/concept. Re-binding seems to occur several times during the process of LDAP authentication and authorization.

Can anyone help me understand this concept or share better well explained resources on this…? Thanks!

Best Answer

An LDAP client transmits a BIND request to a server in order to change the authorization state of the client connection. When a client first connects to an LDAP directory server, the server sets the authorization state of the connection to unauthenticated. When the server receives a BIND request, the server sets the authorization state of the connection to unauthenticated immediately. Should the BIND request be successful, the server sets the authorization state of the connection to the state associated with the distinguished-name in the BIND request. LDAPv3 allows a connection to change states any number of times, with the caveat that no requests be outstanding when the BIND request is received.

see also

Related Question