Added basic ldap mapping as per the suggestion of @lbt