How do I talk to an LDAP server from within an app’s controller? I’ve looked into the user_ldap app, but it does not come with instructions.
I tried calling the helper with
new \OCA\User_LDAP\Helper(\OC::$server->getConfig());
but that just tells me the class is not found.