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
[5.0.11RC1] Can not enable LDAP on Windows 2008 Server #4667
Actual behavior
Page spins and spins and never comes back
Steps to reproduce
-- Configure Windows 2008 server with ownCloud
--. Enable “LDAP user and group backend” app
-- Configure LDAP in Admin page (example configuration)
--Press “SAVE” on the screen above
--Attempt to go to another page – such as Files or Users
--Notice the browser spins constantly and never comes back. Must restart IIS on the Windows server in order to get back into the ownCloud web instance
--Logs fill up with the following:
{"app":"PHP","message":"readdir() expects parameter 1 to be resource, boolean given at C:\inetpub\wwwroot\owncloud511\lib\cache\fileglobal.php#72","level":2,"time":"2013-08-30T06:44:04+00:00"}
--Logs continue to fill with the above message until IIS is restarted. Even if the browser is closed, logs fill up.
--LDAP is not totally configured at that time and users form LDAP are not listed in the User database
NOTE:
ownCloud 5.0.10 was configured identically on the same Windows 2008 server and has no issues
ownCloud 5.0.11 was configured identically on Ubuntu and has no issue
The issue seems to be related purely to ownCloud 5.0.11RC1 running on the Windows platform.
{"installed":"true","version":"5.0.15","versionstring":"5.0.11RC1"}
Windows 2008 server
Internet Explorer 9, Google Chrome, Mozilla firefox
Activity
karlitschek commentedon Aug 30, 2013
@blizzz
blizzz commentedon Aug 30, 2013
That's not an LDAP issue, that's the ever-spinning filestuff again.
@ser72 that's the same thing as in #4613
can you check whether #4653 fixes it for you?
ser72 commentedon Aug 30, 2013
Tested #4653 and the issue still exists!!!
blizzz commentedon Sep 2, 2013
Okay, I think the problem was introduced with the commit f42b69d and that's probably also what #4658 and #4613 suffer from.
Check variable type before using readdir to avoid surprises and fix #…
blizzz commentedon Sep 2, 2013
@ser72 could you please try with #4701 ? Thank You!
ser72 commentedon Sep 3, 2013
@blizzz : Tested with #4701 and the issue is resolved.
blizzz commentedon Sep 4, 2013
Thank you @ser72!
Merge pull request #4701 from owncloud/fix_4667
blizzz commentedon Sep 4, 2013
fixed with #4701