Changed to use username as username (prefix for email is not alway the ldap username). Added more config values to simplify configuration of different ldap layouts
Merge pull request #1 from dunse/master

Merge dunse's patch for username login