[5.0 alpha 1] LDAP login not working
I configured the ldap user and group backend. It seems that owncloud is now using the entryUUID instead of the uid to store the users. When I try to login with an ldap account, the browser only shows an empty page. Owncloud logs the following errors:
Warning PHP Undefined index: ldapAgentName at /var/www/html/owncloud/apps/user_ldap/lib/connection.php#298
Warning PHP Undefined index: ldapAgentPassword at /var/www/html/owncloud/apps/user_ldap/lib/connection.php#298
Fatal PHP SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'local::/mnt/scloud/owncloud/58b7abf6-176d-102d-888f-3d2427337baa' for key 'storages_id_index' at /var/www/html/owncloud/lib/db.php#847
Fatal PHP SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'local::/mnt/scloud/owncloud/58b7abf6-176d-102d-888f-3d2427337baa' for key 'storages_id_index' at /var/www/html/owncloud/lib/db.php#847
Dirk
I configured the ldap user and group backend. It seems that owncloud is now using the entryUUID instead of the uid to store the users.
Exactly. Should not been a problem on upgrade, actually.
Regarding the warnings: do you use anonymous bind?
The fatal errors are caused by bug https://github.com/owncloud/core/issues/1486
No, I'm using a binddn with a password.
The warning are resolved with the Pull Request above, the fatal erros with https://github.com/owncloud/core/pull/1724