Repository navigation
NC12.0.4 - Sharing dialog leaks data with LDAP backend #7428
Description
Activity
Privacy enhancements for contacts menu #5107
@jimbowarrior you have the same behavior?
cc @nextcloud/ldap @nextcloud/sharing
- added0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap
on 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 issuePrivacy issues with the contactsmenu were fixed in 12.0.4 with #6554
@blizzz yes the contacts menu seems to play nice but the sharee auto completion not...
Reacted by BornToBeRoot and Cor Nouwsexactly !!!
I would say it leaks only ldap users in share dialog. But i can check this tomorrow at work...
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.
I'm not using LDAP (just standard users created in the Nextcloud UI) and I'm facing the same issue.
Reacted by Cor Nouwsme too
Can some admin mention this current issue in #5107 so that we can find it? Thanks!
I don't know why... but maybe... aaah or... it is a side effect of #7456 not being in yet.
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.
I'm facing to this bug with out LDAP users
@LEDfan that's a good hint! It might be, because the user fetcher filtered properly.
@LEDfan somehow I missed your PR previously, but that's fixing it! Thanks! :)
- added a commit that references this issue
on Dec 18, 2017 Fixed in #7490
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.
Please open a new ticket and only refer to this one
Is it fixed somehow?..
Sharing dialog leaks data with LDAP backend.
Steps to reproduce
Expected behaviour
test2 (LDAP/AD User) should not be listet, because he is not in the same group...
Sharing options
Actual behaviour
See "Steps to reproduce/3."
Server configuration
Operating system: CentOS 7
Web server: Apache
Database: MariaDB
PHP version: 7.0
Nextcloud version: 12.0.4 Build:2017-12-06T01:01:26+00:00 e04dd40
Updated from an older Nextcloud/ownCloud or fresh install: Owncloud --> [..] --> Update NC 11
Where did you install Nextcloud from: Nextcloud website / download
List of activated apps:
App list
Are you using external storage, if yes which one: -/-
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
If you need ldap:show-config... just ask, i need to clean it before posting...