[xwiki-users] Problem Global User in Subwiki
We experience a strange behaviour with version 8.2.1 which was not there with Version 7.4.2: - Subwiki (allows only global user) - Login at Home-Wiki - Navigate to Subwiki - Logout at Subwiki - Login at Subwiki Error message: You are not allowed ... - Logout - Login at Home Wiki - Works Changing "allow local user and global user" in subwiki does not change anything expect that a local user is created. The local user can login (correct permissions provided). Same configuration in 7.4.2 works as expected. How can we achieve global user login to subwikis? -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-Global-User-in-Subwiki-tp7601243.h... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, Any chance there is a local user inside that subwiki with the exact same name and credentials of the global user you are trying to log into from the subwiki? If so, delete the subwiki user OR, when logging in, try prefixing the user name with the main wiki ID, e.g. "xwiki:SomeUser" to make extra sure you are logging in with the global user and not some local user that has the same name. Hope this helps, Eduard On Fri, Sep 16, 2016 at 11:41 PM, Tobias Kirchhofer <tobias@kirchhofer.net> wrote:
We experience a strange behaviour with version 8.2.1 which was not there with Version 7.4.2:
- Subwiki (allows only global user) - Login at Home-Wiki - Navigate to Subwiki - Logout at Subwiki - Login at Subwiki
Error message: You are not allowed ...
- Logout - Login at Home Wiki - Works
Changing "allow local user and global user" in subwiki does not change anything expect that a local user is created. The local user can login (correct permissions provided).
Same configuration in 7.4.2 works as expected.
How can we achieve global user login to subwikis?
-- View this message in context: http://xwiki.475771.n2.nabble. com/Problem-Global-User-in-Subwiki-tp7601243.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
The installation is fresh. No user in the subwiki. I suspect login at the subwiki cannot authenticate to the Home wiki (global ldap user) and so it fails locally because only global user are allowed. If i switch to "allow global and local user" in the subwiki then a local user is created (!) when i try to login. ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-Global-User-in-Subwiki-tp7601243p7... Sent from the XWiki- Users mailing list archive at Nabble.com.
It turned out that if you have global user via LDAP ldap, support in sub-wikis has to be set off. This can be achieved by opening this link and editing the ldap object: https://DOMAIN/xwiki/wiki/SUBWIKI/edit/XWiki/XWikiPreferences?editor=object Set "ldap" to "no". This is a bit obscure from our point of view. Maybe someone has a reason? Now the expected behaviour is there. Global user can log in to each sub-wiki as a global user. It does nt matter if local user for sub-wiki is activated. -- View this message in context: http://xwiki.475771.n2.nabble.com/Solved-Problem-Global-User-in-Subwiki-tp76... Sent from the XWiki- Users mailing list archive at Nabble.com.
See http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/UseC... On Sun, Sep 18, 2016 at 12:43 PM, Tobias Kirchhofer <tobias@kirchhofer.net> wrote:
It turned out that if you have global user via LDAP ldap, support in sub-wikis has to be set off.
This can be achieved by opening this link and editing the ldap object:
https://DOMAIN/xwiki/wiki/SUBWIKI/edit/XWiki/XWikiPreferences?editor=object
Set "ldap" to "no".
This is a bit obscure from our point of view. Maybe someone has a reason?
Now the expected behaviour is there. Global user can log in to each sub-wiki as a global user. It does nt matter if local user for sub-wiki is activated.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Solved-Problem-Global-User-in-Subwiki-tp76... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (3)
-
Eduard Moraru -
Thomas Mortagne -
Tobias Kirchhofer