Create a base class for the 2 ldap classes