LDAP Base Class for OpenLDAP and ActiveDirectory operations.