On 05/08/2012 10:59 AM, Dirk Kastens wrote:
Hi,
When I try to login, OC uses the search base "dc=example,dc=com". This
is definitely a bug.
I will check this.
When I leave the user and group trees empty, OC doesn't contact the ldap
server at all.
The backend should use the standard base dn instead, probably setting it
back to blank fails. I will check this as well.
I found out, that OC uses the ldap configuration that is defined in
/etc/ldap.conf. It ignores the base setting of the ldap user app. In my
ldap.conf the base setting was "dc=example,dc=com", so OC tries to find
the user in this ldap tree. When I edit /etc/ldap.conf, so that it
contains the correct base dn, OC can authenticate the user.
Well, OC does not use anything from /etc/ldap.conf or whereever. In
fact, it is PHP that does it, when (in this case) no DN is given. The
bug was simply that while login the configuration has not been loaded
yet. This is fixed in git master now.
Cheers
Arthur
Regards,
Dirk
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud