ldap (first commit)
Fixing ldap test.
Merge pull request #500 from ngodfraind/ldap

ldap [WIP]