Extend some features for LDAP.