added ldap authentication
Merge pull request #1 from terro/master

added ldap authentication