-
Notifications
You must be signed in to change notification settings - Fork 150
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
ptclient: implement canonification across multiple domains. #2283
Conversation
allow users to just connect with their UID. this patch adds functionality to search each existing domain for the user UID via LDAP. fixes #2282
Looks good to me, but I have no way to meaningfully test it. Can I get some additional eyeballs on this please? @ajaysusarla My main concern was how it handled the case where the user@ matched multiple domains, but it looks like it's doing this correctly: rejects it if it's ambiguous. @tpokorra if you could summarise the testing this has received on your end, that'd be a great help I've also raised cyrusimap/cassandane#45 cause we really ought to make the ptclient code testable |
@elliefm Thanks for reviewing this! My testing was with Kolab. With the Kolab Webadmin Panel I created multiple domains in LDAP, and created various users inside those domains. Each user has a UID, and an e-mail address. My
My
Sample calls:
Result in
Result in
Result in
|
Thanks, I'm happy with this! :) |
@postilion Have you seen this PR, wrt your recent question on cyrus-devel about LDAP configuration? |
@elliefm Thanks for bringing this back to my attention. My use case is different, but this thread does seem to provide some useful example configuration which I will shamelessly steal from. :-) -nic |
allow users to just connect with their UID.
this patch adds functionality to search each existing domain for the user UID via LDAP.
fixes #2282