Custom type and provider for ldap entries.