LDAP Connection Handler
Only "simple" authentication and the following protocol are supported:
bind
unbind
search
The following distinguished name are supported:
o - organization
ou - organization unit
cn - common name
Due to some of the ldap client might not unbind and close the connection,
whenever error occurs and authenticate done, we will close the connection.