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