create ldap object, stub out function generators