Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MemberOf or IsMemberOf is not available on LDAP server #323

Closed
bhunut-adobe opened this issue Jan 4, 2018 · 6 comments
Closed

MemberOf or IsMemberOf is not available on LDAP server #323

bhunut-adobe opened this issue Jan 4, 2018 · 6 comments
Assignees
Milestone

Comments

@bhunut-adobe
Copy link
Collaborator

We have a couple of customers whose LDAP directory does not have MemberOf or IsMemberOf or similar virtual attribute enabled or supported on the LDAP server.

For UST to work for these customers, We will need to do 2 steps lookup.

We will need to look for Group object for group membership then take group membership DN and do a second lookup for Person object.

I believe pre UST 2.0 didn't utilize memberOf attribute. Is there a way to do this for the current version?

@bhunut-adobe
Copy link
Collaborator Author

@adobeDan I added a feature to UST to support two-steps lookup. What do you think?
bhunut-adobe@3520590

@adobeDan adobeDan added this to the 2.3 milestone Jan 10, 2018
@adobeDan
Copy link
Contributor

adobeDan commented Jan 10, 2018

Yes, this is worth doing for those few people who don't have the memberOf extension loaded. Look at the comments I left on your commit and make those changes before you create a PR. Also you'll need to update the actual docs; work with @phil-levy on that.

One of the issues here is that some systems don't put the dn in the attribute, they put the oid (especially for uniqueMemberOf). We don't collect or keep OIDs anymore, so there's no way to look up by that. You might want to think about whether there's an easy way to go from the OID to the DN.

@phil-levy
Copy link
Contributor

For documentation, you can add a section to the chapter on random topics (in the User Manual, section Advanced Configuration). Just add a section at the end called "Special Configuration If IsMemberOf Is Not Available on Your LDAP Server". The file is
https://github.com/adobe-apiplatform/user-sync.py/blob/v2/docs/en/user-manual/advanced_configuration.md
(but in your fork).

@adobeDan
Copy link
Contributor

@bhunut-adobe I'd like to get 2.3 out sometime in the next week or two. Do you think you'll have a chance to get this done? If not it will have to wait for 2.3.1.

@tobiasbp
Copy link

tobiasbp commented May 14, 2018

@adobeDan : Any news on a 2.3 release with this feature added?

Update:
Looking around more, it looks like this (#334) implementation has been dropped. Correct?

@adorton-adobe adorton-adobe removed this from the 2.3 milestone Jun 13, 2018
@thong1github
Copy link

Is this feature still under development, or will it remain unsupported? @adobeDan @bhunut-adobe

@adorton-adobe adorton-adobe added this to the v2.4 milestone Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants