core icon indicating copy to clipboard operation
core copied to clipboard

[5.0 beta 1] LDAP backend not working

Open dirkuos opened this issue 13 years ago • 2 comments

Hi, I installed owncloud-5.0.0-beta1 from scratch. After configuring the LDAP backend and clicking on the "Test connection" button, nothing happens. LDAP users cannot login. Apache logs the following errors:

PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 523800 bytes) in /var/www/html/owncloud/apps/user_ldap/lib/connection.php on line 122

This didn't happen in the alpha release.

dirkuos avatar Feb 21 '13 09:02 dirkuos

Interesting .. cannot reproduce it nor do I see something weird in the refered place of code.

Do you see further output at the end of /path/to/owncloud/data/owncloud.log after pressing the "Test Configuration" button?

Could you tell us your configuration, too?

blizzz avatar Feb 21 '13 16:02 blizzz

I configured owncloud again and now it works. Don't know why. The only difference is, that I initially entered the user filter "(&(departmentnumber=129)(uniosstatus=staff))". Now, with a simple filter it works. But now even the complex filter works. Another reason could be, that I first entered the data path with backslashes instead of forward slashes. So owncloud created the directory \mnt\scloud\owncloud and complained about that.

dirkuos avatar Feb 21 '13 16:02 dirkuos