-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow or forbid users from certain AD group does not work on subwikis #68
Comments
The problem comes from ldap application, specifically from here The idea is that when the local login fails (because the user was not part of the specified group), the global login is tried, which will work in this case since nothing is specified on main wiki I'll open an issue on the ldap jira The workaround for now is to have on the main wiki the configuration needed for all subwikis. But this is hardly appropriate for everyone |
Following the discussion on the linked LDAP issue https://jira.xwiki.org/browse/LDAP-128 , this is the expected behaviour. |
…wikisas#68 * mention that this options will not influence the global users access
…wikisas#68 * remove added by mistake
I tested in turns the following on a Cloud 14.4.7 with AD v1.15 installed on farm from the main wiki. On the main wiki both
ALLOW ACTIVE DIRECTORY AUTHENTICATION ONLY TO CERTAIN GROUP
andFORBID ACTIVE DIRECTORY AUTHENTICATION TO CERTAIN GROUP
work well.I now leave on the main wiki the
CN=QA,CN=Users,DC=xwiki,DC=com
in theFORBID ACTIVE DIRECTORY AUTHENTICATION TO CERTAIN GROUP
, the user TestUser from this QA group cannot login on the main wiki, upon login attempt it is shownError - Invalid credentials
. The user XWikiUserOne from a different AD group, Testers, can login on the main wiki. I have deleted the XWikiUserOne from the main wiki to have a clean slate for the next test.Steps to reproduce on a new subwiki
ALLOW ACTIVE DIRECTORY AUTHENTICATION ONLY TO CERTAIN GROUP
theCN=QA,CN=Users,DC=xwiki,DC=com
.Expected result: I cannot login on the subwiki with the XWikiUserOne user from the group Testers.
Actual result: I can login with the XWikiUserOne on the subwiki.
The text was updated successfully, but these errors were encountered: