You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2018. It is now read-only.
With ownCloud 8.1.1 and user_cas 1.1.
When user_cas is configured with Link to LDAP backend on and Autocreate user off, the user is redirected to the default page endlessly while trying to log in.
The issue comes from user_ldap not being loaded before user_cas. This causes shouldEnforceAuthentication function to always be evaluated as true even when the user has been logged in. When this function actually calls OCP\User::isLoggedIn(), the LDAP backend isn't registered yet and so isn't checked for user existence.
A quick workaround is to load all authentication applications when initializing CAS backend:
I confirm this bug too, and this workaround fix it but i have a strange behaviour :
cas_force_login is off
cas_link_to_ldap_backend on
but owncloud don't let me authenticate via owncloud form.
this is usefull for public shared link
EDIT: this behavior is not related with the workaround. workaround is ok.
With ownCloud 8.1.1 and user_cas 1.1.
When user_cas is configured with
Link to LDAP backend
on andAutocreate user
off, the user is redirected to the default page endlessly while trying to log in.The issue comes from user_ldap not being loaded before user_cas. This causes
shouldEnforceAuthentication
function to always be evaluated astrue
even when the user has been logged in. When this function actually callsOCP\User::isLoggedIn()
, the LDAP backend isn't registered yet and so isn't checked for user existence.A quick workaround is to load all authentication applications when initializing CAS backend:
The text was updated successfully, but these errors were encountered: