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

Owncloud ldap config: searching forever #10136

Closed
tps800 opened this issue Aug 4, 2014 · 10 comments
Closed

Owncloud ldap config: searching forever #10136

tps800 opened this issue Aug 4, 2014 · 10 comments
Labels

Comments

@tps800
Copy link

tps800 commented Aug 4, 2014

Searching forever:

  • Nutzer-Filter -> running forever retriving again and again the same set of entries from the ldap server for "Nur diese Nutzer Klassen", "Nur von diesen Gruppen"
  • Anmeldefilter -> running forever retriving again and again the same set of entries from the ldap server for "Andere Attribute"
  • Gruppen-Filter -> running forever retriving again and again the same set of entries from the ldap server for "Nur diese Objekt-Klassen", "Nur von diesen Gruppen"

Configuration changes are not possible, since owncloud waits until the processes retriving "Nutzer Klassen", "Groups", "Attributes", "Objekt-Klassen", Groups" will never end. No changes will be submitted to the configuration database.

@tps800
Copy link
Author

tps800 commented Aug 4, 2014

Owncloud 7.0 on OL 6.5 (apache 2.2, php 5.5).

@tps800
Copy link
Author

tps800 commented Aug 4, 2014

This bug was once there with 6.0.3. Looks like the very same with 7.0.0.

@tps800
Copy link
Author

tps800 commented Aug 5, 2014

Maybe it is #8623 again?

@tps800
Copy link
Author

tps800 commented Aug 5, 2014

Same with OwnCloud 7.0.1. Searching forever, retrieving same entries again and again.

@tps800
Copy link
Author

tps800 commented Aug 6, 2014

#8457 #8623 https://github.com/owncloud/core/pull/8623/files

I've just tried it out in the blue. The fix given in #8623 isn't applied in OwnCloud 7.0.0 and 7.0.1 (regression? or intentionally?). I've applied it and got rid of this problem. Now reading ldap stops after some time -- not sure if this has any drawbacks ...

@tps800
Copy link
Author

tps800 commented Sep 10, 2014

Seems not to be applied in 7.0.2 too :-(

@karlitschek
Copy link
Contributor

@blizzz What do you think?

@alekiy
Copy link

alekiy commented Oct 6, 2014

Experienced the same behaviour while setting up a huge installation ~ 40k.
I'll take a look at the referenced issues and try to investigate.

@blizzz
Copy link
Contributor

blizzz commented Oct 7, 2014

Unfortunately the fix in #8623 was not ported to master back then i.e. failed to get into OC 7. My apologies :( I ported it to master and stable 7 on August 28th, right after release of 7.0.2. Thus, the fix will be in 7.0.3.

@blizzz blizzz closed this as completed Oct 7, 2014
@blizzz
Copy link
Contributor

blizzz commented Oct 7, 2014

btw, following is a link to the commit to stable7. It basically moves one line, i.e. it is easy to patch even manually if you want for so long. Ignore apps/user_ldap/tests/wizard.php as they are just tests and neither needed nor present in the releases. 2b001ad

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

No branches or pull requests

4 participants