Closed jperals closed 10 years ago
Thanks for the detailed report.
@blizzz can you help ?
Do the users have a value set for the display name attribute? If not, change the attribute to cn for instance, but something were a value is set.
@blizzz yes, the attribute "Group Display Name Field" (that's what you mean, right?) is already set to "cn". I'm a little out of ideas... Thanks for the quick reply, though!
No, for the users.
Assigned to 6.0.5, for investigation purposes.
@blizzz OK, sorry. "User Display Name Field" is also set, in this case to "displayname".
Yes, but do the user objects have a value assigned to it?
OK, the user display name attribute was wrong. I could finally get the right value from the LDAP server and this made it work. Thanks @blizzz for the hint and sorry for the delay! Mostly our fault then. But still, I think some warning/diagnosis about this from the configuration page would do good (I guess in the advanced tab itself, where you set this attribute. Maybe tweak the "Test Configuration" action?).
Yes, this should go into documentation.
Steps to reproduce
Expected behaviour
LDAP users should be able to log in and also should be listed in the users page.
Actual behaviour
LDAP users can not log in and are also not listed in the users page, even though the LDAP configuration claims to be OK, both in the admin page and through the occ script.
Server configuration
Operating system: Debian 7 (Wheezy)
Web server: Apache 2.2.22
Database: MySQL 5.5
PHP version: 5.4.4
ownCloud version: 6.0.4
Updated from an older ownCloud or fresh install: updated from 6.0.3
List of activated apps: Activity, Calendar, Contacts, Deleted files, Documents, Encryption, Full Text Search, LDAP user and group backend, PDF Viewer, Pictures, Share Files, Text Editor, Updater, Versions, Video Viewer
The content of config/config.php:
Are you using external storage, if yes which one: no
Are you using encryption: no
Client configuration
Browser: First Chrome, then switched to Firefox because of Chrome problems with undesired form autofills
Operating system: Mac OS X 10.9.2
Logs
Web server error log
$ tail /var/log/apache2/error.log
ownCloud log (data/owncloud.log)
$ tail -n 20 /var/www/owncloud/data/owncloud.log
Browser log
Presumably not relevant. Only got this on Firefox: