How to use LDAP to get user information from MySql database?