[xwiki-users] How can I disable group authentication?
Hi, from version 1.3 I still have issue with wiki.authentication.ldap.user_group beacuse I don't use group in my LDAP configuration. Basically I use as UID the sAMAccountName but if I set the group I must check thru the cn otherwise I get an error. If I could disable the gruop the authentication could be work fine using sAMAccountName and xwiki.authentication.ldap.base_DN as in previous version. If I set xwiki.authentication.ldap.user_group= the user can login in but the login screen appears each time he clicks somewhere. TIA MDT -- View this message in context: http://www.nabble.com/How-can-I-disable-group-authentication--tp16489626p164... Sent from the XWiki- Users mailing list archive at Nabble.com.
As information I'm using Active directory and 1.4M1 version. Until the 1.3 version the authentication worked fine. -- View this message in context: http://www.nabble.com/How-can-I-disable-group-authentication--tp16489626p164... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, If you don't configure xwiki.authentication.ldap.user_group or leave it blank it should not been taken into account. LDAP properties can be setted also in XWiki.XWikiPreferences object maybe you have something here than overlap xwiki.cfg configuration. On Fri, Apr 4, 2008 at 11:47 AM, laserone <[email protected]> wrote:
Hi, from version 1.3 I still have issue with wiki.authentication.ldap.user_group beacuse I don't use group in my LDAP configuration. Basically I use as UID the sAMAccountName but if I set the group I must check thru the cn otherwise I get an error. If I could disable the gruop the authentication could be work fine using sAMAccountName and xwiki.authentication.ldap.base_DN as in previous version. If I set xwiki.authentication.ldap.user_group= the user can login in but the login screen appears each time he clicks somewhere.
TIA MDT -- View this message in context: http://www.nabble.com/How-can-I-disable-group-authentication--tp16489626p164... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hi, Thanks for the answer, I left blank both xwiki.authentication.ldap.user_group and xwiki.authentication.ldap.group_mapping= and I also comment and uncomment them. The issue is I can login but when I click somewhere the login page appears again. Basically I get: 2008-04-09 10:54:58,237 [http://wiki.allos.it/xwiki/bin/view/Main/WebHome] [TP-Processor8] ERROR ldap.XWikiLDAPConfig - Error parsing ldap_group_mapping attribute: 2008-04-09 10:54:58,565 [http://wiki.allos.it/xwiki/bin/view/Main/WebHome] [TP-Processor8] ERROR ldap.XWikiLDAPConfig - Error parsing ldap_group_mapping attribute: 2008-04-09 10:54:59,700 [http://wiki.allos.it/xwiki/skins/toucan/rss.css] [TP-Processor6] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.detonim Wrapped Exception: Error number 3212 in 3: Exception while saving property tags of object XWiki.detonim Wrapped Exception: Illegal attempt to associate a collection with two open sessions I attached the full log. http://www.nabble.com/file/p16582582/catalina.out catalina.out I logged as superadmin, in XWiki.XWikiPreferences I didn’t find refernces to LDAP configuration is there a specific object? I check the users and LDAP configuration for them are fine in the users preferences Regards MDT -- View this message in context: http://www.nabble.com/How-can-I-disable-group-authentication--tp16489626p165... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, Sorry I forgot you used 1.3 so now I know what is the problem: there is a bug in 1.3 LDAP support which corrupt user profiles sometimes. See http://jira.xwiki.org/jira/browse/XWIKI-2202. You should upgrade your wiki to 1.3.1 On Wed, Apr 9, 2008 at 11:04 AM, laserone <[email protected]> wrote:
Hi, Thanks for the answer, I left blank both xwiki.authentication.ldap.user_group and xwiki.authentication.ldap.group_mapping= and I also comment and uncomment them.
The issue is I can login but when I click somewhere the login page appears again. Basically I get: 2008-04-09 10:54:58,237 [http://wiki.allos.it/xwiki/bin/view/Main/WebHome] [TP-Processor8] ERROR ldap.XWikiLDAPConfig - Error parsing ldap_group_mapping attribute: 2008-04-09 10:54:58,565 [http://wiki.allos.it/xwiki/bin/view/Main/WebHome] [TP-Processor8] ERROR ldap.XWikiLDAPConfig - Error parsing ldap_group_mapping attribute: 2008-04-09 10:54:59,700 [http://wiki.allos.it/xwiki/skins/toucan/rss.css] [TP-Processor6] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.detonim Wrapped Exception: Error number 3212 in 3: Exception while saving property tags of object XWiki.detonim Wrapped Exception: Illegal attempt to associate a collection with two open sessions
I attached the full log. http://www.nabble.com/file/p16582582/catalina.out catalina.out
I logged as superadmin, in XWiki.XWikiPreferences I didn't find refernces to LDAP configuration is there a specific object? I check the users and LDAP configuration for them are fine in the users preferences
Regards MDT
-- View this message in context: http://www.nabble.com/How-can-I-disable-group-authentication--tp16489626p165...
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hi, I upgraded to the last release; the log I attached in the previous post is form 14M1 version I check the case in JIRA, the exception I get seems related to user and group authentication MDT -- View this message in context: http://www.nabble.com/How-can-I-disable-group-authentication--tp16489626p165... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
laserone -
Thomas Mortagne