[Owncloud] LDAP login fails with latest git branch
Arthur Schiwon
blizzz at owncloud.com
Tue May 8 12:05:56 UTC 2012
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
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list