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

displayName for LDAP groups is not used by files_sharing #2544

Closed
StefanBruens opened this issue Mar 24, 2013 · 3 comments
Closed

displayName for LDAP groups is not used by files_sharing #2544

StefanBruens opened this issue Mar 24, 2013 · 3 comments

Comments

@StefanBruens
Copy link

When a file is shared with an ldap group, the display name lookup is wrong, as it only considers the OC_User backend. Of course the "dn" can not be found in the users tree for an ldap group.

The following backtrace can be produced in this case:

{"app":"user_ldap","message":"Requested attribute cn not found for ","level":0,"time":1364146325}
#0 OCA\user_ldap\lib\Access->readAttribute(, cn) called at [/srv/www_s/owncloud/apps/user_ldap/user_ldap.php:227]
#1 OCA\user_ldap\USER_LDAP->getDisplayName(fachschaft) called at [/srv/www_s/owncloud/lib/user.php:303]
#2 OC_User::determineDisplayName(fachschaft) called at [/srv/www_s/owncloud/lib/user.php:373]
#3 OC_User::getDisplayName(fachschaft) called at [/srv/www_s/owncloud/lib/public/user.php:61]
#4 OCP\User::getDisplayName(fachschaft) called at [/srv/www_s/owncloud/lib/public/share.php:898]
#5 OCP\Share::getItems(file, , -1, lurchi, , -1, , -1, ) called at [/srv/www_s/owncloud/lib/public/share.php:120]
#6 OCP\Share::getItemsSharedWith(file) called at [/srv/www_s/owncloud/apps/files_sharing/lib/sharedstorage.php:420]
#7 OC\Files\Storage\Shared::setup(Array ([user] => lurchi,[user_dir] => /lurchi/files))

@BernhardPosselt
Copy link
Contributor

@MTGap

@msrex
Copy link

msrex commented Jun 15, 2013

Fixed? @blizzz , @MTGap

@blizzz
Copy link
Contributor

blizzz commented Jun 15, 2013

yes, long fixed

@blizzz blizzz closed this as completed Jun 15, 2013
@lock lock bot locked as resolved and limited conversation to collaborators Aug 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants