Adds bind capability to OpenLDAP

Adds to OpenLDAP (mode=uid and mode=cn) the capability to bind to the directory with an admin account in order to search it.
Merge pull request #293 from magnunleno/patch-1

Adds bind capability to OpenLDAP