Clean attr for ldap