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

Sharing a file with 'same first name' LDAP users crashes for the second user #20083

Closed
davitol opened this issue Oct 27, 2015 · 25 comments
Closed

Comments

@davitol
Copy link
Contributor

davitol commented Oct 27, 2015

Steps to reproduce

1.- Share a file with a LDAP user (e.g. aaliyah_adams)
2.- Try to share the same file with another LDAP user 'same first named' (e.g. aaliyah_kulas)

Expected behaviour

The file should be shared

Actual behaviour

An error 500 occurs when autocompleting the second LDAP user name for sharing

Server configuration

Operating system:
Ubuntu 14.04

Web server:
Apache

Database:
MySQL

PHP version:
5.5.9

ownCloud version: ownCloud Enterprise Edition 8.1.4 RC1 (daily) Build:2015-10-26T03:40:45+00:00 5062007

Updated from an older ownCloud or fresh install:
Fresh

List of activated apps: LDAP

The content of config/config.php:


Are you using external storage, if yes which one: local/smb/sftp/...
No

Are you using encryption:
No

Logs


{"reqId":"\/lCPo5yb8JoaCTQTrI\/F","remoteAddr":"82.159.139.58","app":"PHP","message":"Array to string conversion at \/opt\/owncloud\/core\/ajax\/share.php#313","level":3,"time":"2015-10-27T11:50:13+00:00"}
{"reqId":"\/lCPo5yb8JoaCTQTrI\/F","remoteAddr":"82.159.139.58","app":"PHP","message":"Array to string conversion at \/opt\/owncloud\/core\/ajax\/share.php#313","level":3,"time":"2015-10-27T11:50:13+00:00"}
{"reqId":"\/lCPo5yb8JoaCTQTrI\/F","remoteAddr":"82.159.139.58","app":"PHP","message":"Array to string conversion at \/opt\/owncloud\/core\/ajax\/share.php#313","level":3,"time":"2015-10-27T11:50:13+00:00"}
{"reqId":"\/lCPo5yb8JoaCTQTrI\/F","remoteAddr":"82.159.139.58","app":"PHP","message":"Maximum function nesting level of '100' reached, aborting! at \/opt\/owncloud\/lib\/private\/legacy\/config.php#59","level":3,"time":"2015-10-27T11:50:13+00:00"}

Client configuration

browser
Firefox and Chrome

screen shot 2015-10-27 at 11 08 58

NOTE: Same behaviour in Master branch

@davitol davitol added this to the 8.1.4-current-maintenance milestone Oct 27, 2015
@davitol
Copy link
Contributor Author

davitol commented Oct 27, 2015

@blizzz @rullzer @cmonteroluque @DeepDiver1975

@PVince81
Copy link
Contributor

Regression ? Or did it never work before ?

@PVince81
Copy link
Contributor

Weird infinite loop here:

{"reqId":"\/lCPo5yb8JoaCTQTrI\/F","remoteAddr":"82.159.139.58","app":"PHP","message":"Maximum function nesting level of '100' reached, aborting! at \/opt\/owncloud\/lib\/private\/legacy\/config.php#59","level":3,"time":"2015-10-27T11:50:13+00:00"}

It doesn't even make sense, it's just reading some config values: https://github.com/owncloud/core/blob/v8.1.4RC1/lib/private/legacy/config.php#L59
unless self::$object is the same instance for some weird reason.
Possibly unrelated to the LDAP issue though.

@PVince81
Copy link
Contributor

And here the location where the share.php error happens: https://github.com/owncloud/core/blob/v8.1.4RC1/core/ajax/share.php#L313

Hope this helps a bit for debugging...

@blizzz
Copy link
Contributor

blizzz commented Oct 27, 2015

LDAP conf is missing

@blizzz
Copy link
Contributor

blizzz commented Oct 27, 2015

Also, the sharing config (admin page) is missing

@PVince81
Copy link
Contributor

Would also be good to see the call from the network console. That share.php error seems to tell that the client didn't pass the correct "itemShares" value.
Also add a dump of oc_share in case it contains invalid values after the first share.

@blizzz
Copy link
Contributor

blizzz commented Oct 27, 2015

Works for me 😜

before2

All usernames start with zombie

@PVince81
Copy link
Contributor

The "Array to string" conversion seems to be unrelated. I am able to reproduce it simply by having 1-2 shares existing in the list then invoking the autocomplete, without LDAP!. But that doesn't lead to any issues.

@blizzz
Copy link
Contributor

blizzz commented Oct 27, 2015

Also tried with restricting sharing to within the group. But also this does work. Anyway, without the information requested above it's like looking for the needle in the haystack.

The function nesting happens in reading a config value which is so common and happens in so many places → a backtrace would be handy as well.

@PVince81
Copy link
Contributor

"Array to string conversion" case also happens on master.

@PVince81
Copy link
Contributor

Raised "Array to string conversion" issue separately #20095

@PVince81
Copy link
Contributor

From the original log it seems that "Array to string" conversion happened several times within the same request, and it was followed by the infinite loop.

The number of occurrences of "Array to string conversion" message is the same as the number of users appearing in the list aka the number of users to exclude. But the screenshot only shows one user, which means it is likely that the screenshot doesn't match the log.

@ghost
Copy link

ghost commented Oct 27, 2015

@davitol, please work with @blizzz and @PVince81 first thing tomorrow morning and let's see what more info can be sent and also how to make sure we reproduce this across the board. Urgent. Thanks

@davitol
Copy link
Contributor Author

davitol commented Oct 28, 2015

Gif of how to reproduce the issue:

ldapsh

Notice that the Internal Username Attribute used is 'uid'

@PVince81
Copy link
Contributor

Go it reproduced against @davitol's LDAP server.

It's the infinite loop:

[Wed Oct 28 09:37:46.968465 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP Stack trace:, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968471 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   1. {main}() /srv/www/htdocs/owncloud/index.php:0, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968479 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   2. OC::handleRequest() /srv/www/htdocs/owncloud/index.php:40, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968486 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   3. OC\\Route\\Router->match($url = *uninitialized*) /srv/www/htdocs/owncloud/lib/base.php:874, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968495 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   4. call_user_func:{/srv/www/htdocs/owncloud/lib/private/route/router.php:274}(*uninitialized*, *uninitialized*) /srv/www/htdocs/owncloud/lib/private/route/router.php:274, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968502 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   5. __lambda_func($param = *uninitialized*) /srv/www/htdocs/owncloud/lib/private/route/router.php:274, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968510 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   6. require_once() /srv/www/htdocs/owncloud/lib/private/route/route.php(154) : runtime-created function:1, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968519 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   7. OC_User::getDisplayNames($search = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/core/ajax/share.php:303, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968528 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   8. OC\\User\\Manager->searchDisplayName($pattern = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/lib/private/user.php:613, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968534 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP   9. OCA\\user_ldap\\USER_LDAP->getDisplayNames($search = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/lib/private/user/manager.php:229, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968542 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  10. OCA\\user_ldap\\USER_LDAP->getUsers($search = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/user_ldap.php:346, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968548 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  11. OCA\\user_ldap\\lib\\Access->fetchListOfUsers($filter = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/user_ldap.php:156, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968553 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  12. OCA\\user_ldap\\lib\\Access->searchUsers($filter = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:660, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968559 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  13. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:703, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968565 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  14. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968571 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  15. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968577 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  16. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968582 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  17. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968588 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  18. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968594 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  19. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968600 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  20. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968606 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  21. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968614 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  22. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968620 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  23. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968625 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  24. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968631 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  25. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968637 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  26. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968643 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  27. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968649 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  28. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968654 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  29. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968660 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  30. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968670 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  31. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968676 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  32. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968682 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  33. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968691 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  34. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968701 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  35. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968711 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  36. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968721 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  37. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968731 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  38. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968738 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  39. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968744 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  40. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968751 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  41. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968757 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  42. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968763 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  43. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968768 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  44. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968774 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  45. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968780 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  46. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968785 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  47. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968791 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  48. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968797 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  49. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968803 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  50. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968809 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  51. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968817 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  52. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968823 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  53. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968829 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  54. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968835 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  55. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968840 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  56. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968846 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  57. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968852 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  58. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968858 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  59. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968863 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  60. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968869 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  61. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968878 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  62. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968883 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  63. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968889 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  64. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968895 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  65. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968904 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  66. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968913 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  67. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968922 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  68. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968931 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  69. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968937 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  70. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968943 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  71. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968948 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  72. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968956 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  73. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968961 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  74. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968967 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  75. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968972 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  76. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968978 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  77. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968983 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  78. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968989 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  79. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968994 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  80. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.968999 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  81. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969005 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  82. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969012 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  83. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969018 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  84. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969023 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  85. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969029 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  86. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969034 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  87. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969040 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  88. OCA\\user_ldap\\lib\\Access->search($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*, $skipHandling = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1499, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969045 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  89. OCA\\user_ldap\\lib\\Access->executeSearch($filter = *uninitialized*, $base = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:915, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969050 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  90. OCA\\user_ldap\\lib\\Access->initPagedSearch($filter = *uninitialized*, $bases = *uninitialized*, $attr = *uninitialized*, $limit = *uninitialized*, $offset = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:776, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969056 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  91. OCP\\Util::writeLog($app = *uninitialized*, $message = *uninitialized*, $level = *uninitialized*) /srv/www/htdocs/owncloud/apps/user_ldap/lib/access.php:1485, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969061 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  92. OC_Log::write($app = *uninitialized*, $message = *uninitialized*, $level = *uninitialized*) /srv/www/htdocs/owncloud/lib/public/util.php:152, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969066 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  93. call_user_func:{/srv/www/htdocs/owncloud/lib/private/legacy/log.php:66}(*uninitialized*, *uninitialized*, *uninitialized*) /srv/www/htdocs/owncloud/lib/private/legacy/log.php:66, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969072 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  94. OC\\Log->debug($message = *uninitialized*, $context = *uninitialized*) /srv/www/htdocs/owncloud/lib/private/legacy/log.php:66, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969077 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  95. OC\\Log->log($level = *uninitialized*, $message = *uninitialized*, $context = *uninitialized*) /srv/www/htdocs/owncloud/lib/private/log.php:163, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969082 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  96. call_user_func:{/srv/www/htdocs/owncloud/lib/private/log.php:241}(*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*) /srv/www/htdocs/owncloud/lib/private/log.php:241, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969087 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  97. OC_Log_Owncloud::write($app = *uninitialized*, $message = *uninitialized*, $level = *uninitialized*) /srv/www/htdocs/owncloud/lib/private/log.php:241, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969092 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  98. OC\\AppFramework\\Http\\Request->getRemoteAddress() /srv/www/htdocs/owncloud/lib/private/log/owncloud.php:78, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969097 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP  99. OC\\AllConfig->getSystemValue($key = *uninitialized*, $default = *uninitialized*) /srv/www/htdocs/owncloud/lib/private/appframework/http/request.php:469, referer: http://localhost/owncloud/index.php/apps/files/
[Wed Oct 28 09:37:46.969102 2015] [php5:error] [pid 19759] [client 127.0.0.1:36184] PHP 100. OC\\SystemConfig->getValue($key = *uninitialized*, $default = *uninitialized*) /srv/www/htdocs/owncloud/lib/private/allconfig.php:118, referer: http://localhost/owncloud/index.php/apps/files/

From what I understand the workflow is as follows:

  1. calls fetchListOfUsers here https://github.com/owncloud/core/blob/v8.1.4RC1/apps/user_ldap/user_ldap.php#L153
  2. takes quite a long time to resolve the display names of every user
  3. at some point call fetchListOfUsers again (?!) and crashes with the error above

Need to debug further into the second call

@PVince81
Copy link
Contributor

The place where the logger is called is here: https://github.com/owncloud/core/blob/v8.1.4RC1/apps/user_ldap/lib/access.php#L1482

This message is repeated several times in the log, so I expect it to work usually. But at some point it starts to bug as we can see on the stack trace above.

@PVince81
Copy link
Contributor

Ok I think I understand what is happening. The logging error is only a side effect.

Bascially, the search is working recursively for some reason, so the size of the stack increases with every next search call. At some point, calling the logger makes the code reach the maximum stack size. It has nothing to do with the logger, it could be happening to any other piece of code that might have deeper calls.

From what I remember, @blizzz said there is nothing that can be done to make the paged search non-recursive ? The reason why we hit this limit here is because there are lots of "alliyah" users on this specific LDAP server.

@PVince81
Copy link
Contributor

So I don't think this is a blocker for 8.1.4. It's an old issue with no possible solution.

@blizzz can you comment ?

@PVince81
Copy link
Contributor

There are 352 entries that start with "alliyah" in the test LDAP server.

@blizzz
Copy link
Contributor

blizzz commented Oct 28, 2015

We need this for pagination, if we want to read a result set somewhere in the middle of LDAP, as it is how LDAP Paged Resulsts work. However, now I think we could rearrange that – but this will again change a core part of the backend and I would not want to do that for a maintenance relase without urge.

Quitting after a nesting level of 100 is also xdebug related, it should not be installed on production systems. The limit is higher there.

But there is a different problem hidden. With @davitol s LDAP server, I also see this in my log that we are doing LDAP searches with a limit of 1, but seemingly for all possible users. This seems to be wrong. I continue to find out what is happening here.

@blizzz
Copy link
Contributor

blizzz commented Oct 28, 2015

<davitol> WFM now
<davitol> with the xdebug disabled
<davitol> using http://some.address.es:12345
<davitol> so it is not really an issue...

So, apparently not a catastrophe, I like to investigate this anyway and come with a conclusion.

@blizzz
Copy link
Contributor

blizzz commented Oct 28, 2015

But there is a different problem hidden. With @davitol s LDAP server, I also see this in my log that we are doing LDAP searches with a limit of 1, but seemingly for all possible users. This seems to be wrong. I continue to find out what is happening here.

Not a problem. This is reading the displayname, which usually is cached anyway. Only in my case i had the cache life time set to a small number for testing reasons. In production this is not an issue.

The search action would not go for just one user, but for the limit it gets by parameter. So in sharing it happens that the call $users = OC_User::getDisplayNames((string)$_GET['search'], $limit, $offset); has $limit as 1 and $offset as 200. Now, because we can only skip pages of the same page size (size of the resultset) to get the 200th record, we need to start at 0 and go up to the 200th entry. Because there might be lying a cookie around (which is wrong assumption and this we could fix, but for 9.0 then), we do it backwards. Again, this is theoretical, because LDAP caching would make it unnecessary to query the LDAP server at all since we fetch the displayName with the first user lookup anyway since 8.1.4.

However this case became noticable since we requested 200 instead of 15 users in the share dialogue, which in constellations like this just takes longer and causes more of recursion cycles.

Conclusion: This is highly unlikely to happen on production systems, thus not blocking. I would like to look into resolving the recursions, but since it's a fundamental change I'd prefer to do that only for 9.0.

@ghost ghost added this to the 9.0-current milestone Oct 28, 2015
@ghost ghost removed this from the 8.1.4-current-maintenance milestone Oct 28, 2015
@PVince81
Copy link
Contributor

PVince81 commented Nov 4, 2015

@blizzz should we close this ticket in favor of #19400 ?
Or is there any additional fixing (besides the recursion) to be done for this ticket here ?

@blizzz
Copy link
Contributor

blizzz commented Nov 5, 2015

@PVince81 yes, let's do it

@blizzz blizzz closed this as completed Nov 5, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 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

3 participants