Plugin for LDAP for Community Version?

but could I add ldap as a 3rd party provider to strapi in community edition?
So far I am getting a middleware error:
| Loading Strapi[ERROR] There seems to be an unexpected error, try again with --debug for more information

┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ Error: Middleware “global::ldapAuth”: middlewareFactory is not a function │
│ at instantiateMiddleware

I am using passport-ldapauth