You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NC12.0.4 - Sharing dialog leaks data with LDAP backend #7428
I have the same issue, into search contacts field privacy is respected. I can show only users in my group.
Into shared section, when I click on "sharing" I can see all users and share with users not in my group.
And yes, I marked "Restrict users to only share with users in their groups"
But ! in a nextcloud 12 fresh install upgraded to 12.0.3 and 12.0.4 I have no issue.
I have this issue in another nextcloud migrate from owncloud 10 > nextcloud 10 > nextcloud 12
Regarding nextcloud server with this issues, there is another strange things, some users can see only users in their groups, but some others users can see every body. These others users belong to only one and same group.
I re created new users and new groups, same issue
@rullzer why, that sounds something broke in file_sharing's sharee endpoint. Which is surprising, since sharing actually brought in those settings. I refactored it, but only for 13. Best guess without looking deeper: side effect of #5428?
Just updated my instance to nextcloud 13 and the Contact menu still leaks LDAP users. Very weird as my other instance does not do that. Both of them have autocompletion off. No matter if shareapi_allow_share_dialog_user_enumeration is set to yes or no. I noticed the same behaviour with nc 12.05 but thought updating to nc13 will solve it.
Could someone point me in the direction to debug it? @MorrisJobke sorry for calling, but wanted to be sure I'm heard. It's quite crutial issue for me atm.
Activity
BornToBeRoot commentedon Dec 8, 2017
Privacy enhancements for contacts menu #5107
@jimbowarrior you have the same behavior?
MorrisJobke commentedon Dec 8, 2017
cc @nextcloud/ldap @nextcloud/sharing
jimbowarrior commentedon Dec 8, 2017
I have the same issue, into search contacts field privacy is respected. I can show only users in my group.
Into shared section, when I click on "sharing" I can see all users and share with users not in my group.
And yes, I marked "Restrict users to only share with users in their groups"
But ! in a nextcloud 12 fresh install upgraded to 12.0.3 and 12.0.4 I have no issue.
I have this issue in another nextcloud migrate from owncloud 10 > nextcloud 10 > nextcloud 12
Regarding nextcloud server with this issues, there is another strange things, some users can see only users in their groups, but some others users can see every body. These others users belong to only one and same group.
I re created new users and new groups, same issue
blizzz commentedon Dec 11, 2017
Privacy issues with the contactsmenu were fixed in 12.0.4 with #6554
rullzer commentedon Dec 11, 2017
@blizzz yes the contacts menu seems to play nice but the sharee auto completion not...
jimbowarrior commentedon Dec 11, 2017
exactly !!!
BornToBeRoot commentedon Dec 11, 2017
I would say it leaks only ldap users in share dialog. But i can check this tomorrow at work...
blizzz commentedon Dec 12, 2017
@rullzer why, that sounds something broke in file_sharing's sharee endpoint. Which is surprising, since sharing actually brought in those settings. I refactored it, but only for 13. Best guess without looking deeper: side effect of #5428?
rullzer commentedon Dec 12, 2017
I don't know why... but maybe... aaah or... it is a side effect of #7456 not being in yet.
I'll try to spin up my ldap instance tomorrow again.
biva commentedon Dec 13, 2017
I'm not using LDAP (just standard users created in the Nextcloud UI) and I'm facing the same issue.
jimbowarrior commentedon Dec 13, 2017
me too
biva commentedon Dec 13, 2017
Can some admin mention this current issue in #5107 so that we can find it? Thanks!
blizzz commentedon Dec 15, 2017
I really really really hope not so :D and heavily doubt it.
I can confirm it happens with LDAP users, but not with local ones. On master. Neet to continue debugging later.
LEDfan commentedon Dec 15, 2017
@blizzz if the LDAP users are having an e-mail address and the locals not it may be solved by #7490
jimbowarrior commentedon Dec 15, 2017
I'm facing to this bug with out LDAP users
blizzz commentedon Dec 15, 2017
@LEDfan that's a good hint! It might be, because the user fetcher filtered properly.
blizzz commentedon Dec 15, 2017
@LEDfan somehow I missed your PR previously, but that's fixing it! Thanks! :)
Merge pull request #7490 from nextcloud/fix_7428
MorrisJobke commentedon Dec 18, 2017
Fixed in #7490
muppeth commentedon Mar 5, 2018
Just updated my instance to nextcloud 13 and the Contact menu still leaks LDAP users. Very weird as my other instance does not do that. Both of them have autocompletion off. No matter if
shareapi_allow_share_dialog_user_enumerationis set toyesorno. I noticed the same behaviour with nc 12.05 but thought updating to nc13 will solve it.Could someone point me in the direction to debug it? @MorrisJobke sorry for calling, but wanted to be sure I'm heard. It's quite crutial issue for me atm.
MorrisJobke commentedon Mar 5, 2018
Please open a new ticket and only refer to this one
oleua commentedon Apr 15, 2020
Is it fixed somehow?..