Skip to content

Allow or forbid users from certain AD group does not work on subwikis #68

@AndreeaChi

Description

@AndreeaChi

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 and FORBID 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 the FORBID ACTIVE DIRECTORY AUTHENTICATION TO CERTAIN GROUP, the user TestUser from this QA group cannot login on the main wiki, upon login attempt it is shown Error - 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

  1. Create a subwiki with Only global users are available in the wiki and Only an admin can send invitations to join this wiki. I have also tested with
  2. Configure AD and add in the ALLOW ACTIVE DIRECTORY AUTHENTICATION ONLY TO CERTAIN GROUP the CN=QA,CN=Users,DC=xwiki,DC=com .
  3. One result happening that is fine to have - I can login with Test User from the QA AD group.

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions