-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Exact match when sharing is only on UID #31831
Comments
This only becomes a problem if the sysadmin sets |
See #31117 for a slightly different way this impacts |
Good point. It is possible that with LDAP you can specify the LDAP search string to make it exact match whatever you want. Like you said we should consider to also exact match display name and email. I'm not sure if this is a bug or enhancement. Tagging as bug for now. |
or feature ;) |
This issue has been automatically closed. |
Steps to reproduce
config.php
new
with display name "Jim" and email addressa@b
new
- the userJim
is shown as an exact match suggestion - goodIf you set:
and type "jim" or "a@b" in the sharing box, then it happily shows "Jim" as a match - so when such strings are greater than search_min_length, then the backend is providing matches on display name and email address.
Expected behaviour
An exact match lookup should return an exact match on display name or email address, as well as on UID.
Actual behaviour
An exact match for a short string is only returning an exact match on UID.
Server configuration
Operating system:
Ubuntu 18.04
Web server:
PHP dev server
Database:
mySQL
PHP version:
v7.2.5 (problem is no different than on PHP 7.1 etc)
ownCloud version: (see ownCloud admin page)
10.0.9RC1
10.0.8.5
(same behavior on both versions)
Updated from an older ownCloud or fresh install:
Fresh
Where did you install ownCloud from:
tarball
The text was updated successfully, but these errors were encountered: