Closed svscorp closed 6 years ago
Hi @svscorp
As far as I can remember the ADIdentityManager
was an external contribution from a developer with the specific need to connect to Microsoft Active Directory, which I don't know whether it is 100% LDAP compliant or not. My guess is that we'd need a new LdapIdentyManager
class specifically tested against generic LDAP implementations, but we lack the knowledge and the need on our side. Do you mind trying creating such a class, maybe modifying that AD implementation, and provide tests for it?
Hi @mkjsix
Got it. It doesn't look LDAP compliant. Because it should authenticate using a DN and attribute. Usually it's "uid" (and implementation should for sure allow to configure what attribute is used).
I don't mind contributing, but I have zero capacity to do this as in charge of a project go-live. Last few weeks I was actively submitting changes to various repositories, but next few weeks/month are busy 400%. I was researching on plugging RESTHeart + Mongo into the project landscape, but LDAP didn't work, so probably will be taken out :\
Do you think there is a chance RESTHeart team can implement it?
Sorry, we are unfortunately in the same conditions at the moment: we're fully busy delivering a project and not able to look into this for at least a couple of weeks.
Hi @mkjsix Is there any chance you can have a look into the ldap enhancement?
Hi @svscorp, The problem here we don't have any LDAP instance to test with. Sorry but we contribute to the project following our own internal requirements or customer's, at present we don't have either regarding LDAP. I just hoped that somebody else in the community could have expertise and interest in opening a PR, no success so far.
Hi @mkjsix, I understand the point about the priorities - no problem. I have LDAP instance though :)
I looked at
ADIdentityManager.java
and it seems that it accepts only domain name in princpalNameSuffix. I am not sure does it consider users in (ou=people) ?For some reason, not able to connect to LDAP, following documentation. Using OpenLDAP. Restheart is behind reverse proxy. What did I miss?
Error:
Security:
Restheart:
Permissions
Strange, but in "_metrics" it shows v.3.0.0 - is it normal?