[xwiki-users] about the table cell split and merge in the xwiki editor
hi,All I have a question about the xwiki table usage.When I have a table ,I try to split one cell to more cells or merge some cells into one cell,I find this function is invalid,when I click the save button ,the saved table is not what I want,is anybody know how to solve this issue?or anyone who has the same problem?is xwiki support this syntax?if so,who has the xwiki script for the table? Thanks Steven ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] about the table cell split and merge in the xwiki editor
Splitting/merging cells is not supported (even though the wysiwyg editor has action menus for that which I thought we removed in the latest XE version BTW). If you need merging/splitting you can use HTML directly in the page. Note that this will be supported in the new rendering with the new XWiki 2.0 syntax. Thanks -Vincent On Nov 19, 2008, at 9:15 AM, Huang Sheng wrote: hi,All I have a question about the xwiki table usage.When I have a table ,I try to split one cell to more cells or merge some cells into one cell,I find this function is invalid,when I click the save button ,the saved table is not what I want,is anybody know how to solve this issue?or anyone who has the same problem?is xwiki support this syntax?if so,who has the xwiki script for the table? Thanks Steven ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
Yes, I am sure. This is what is configured: xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList,Top I also tried this configuration xwiki.authentication.ldap.group_classes=groupOfNames,Top,groupOfNames xwiki.authentication.ldap.group_memberfields=member,equivalentToMe and this again, is the group in LDAP dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a22094,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a22094,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin Not sure if I understand your last mail in regards to you adding some more logs. Thanks Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 10:43 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups In the meantime, are you sure that group_classes and group_memberfields has the right values for your LDAP schema ? On Wed, Nov 19, 2008 at 10:42 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 8:44 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi Thomas, Yes, there is an entry on this, but it looks like it doesn't find anything. ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} The Admin-group in LDAP looks like this: dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a12345,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a12345,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin So I see no reason for it not finding the members. In regards to the group cache, I already set it to 60s just to make sure it's being refreshed - with no effect. Ok them let me add some more log for your particular case and commit for you to try to find why it can't find any LDAP group's member.. Thanks! Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18.11.2008 18:26 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups Hi, On Tue, Nov 18, 2008 at 5:39 PM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi, I've updated from 1.5.2 to 1.6.1. After this, I found all groups beeing empty - so no users were there anymore. As result I started mapping LDAP groups to XWiki groups to let XWiki populate the memberships again - I was planning this anyway. For some reason XWiki is not able to get the groups members and I cannot understand why. Also it is not putting my user in the XWiki.AllGroup - still my groups do not have any member. Can you see Retrieving Members of the group... anywhere in the whole log ? In your log I only see Found group which should means the group cache already contains the group members. This are the logs: DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=a12345,ou=associates,ou=users,o=wlgore DEBUG ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.XWikiAdminGroup cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MSOEGroup
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
In the meantime, are you sure that group_classes and group_memberfields has the right values for your LDAP schema ? On Wed, Nov 19, 2008 at 10:42 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 8:44 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi Thomas, Yes, there is an entry on this, but it looks like it doesn't find anything. ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} The Admin-group in LDAP looks like this: dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a12345,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a12345,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin So I see no reason for it not finding the members. In regards to the group cache, I already set it to 60s just to make sure it's being refreshed - with no effect. Ok them let me add some more log for your particular case and commit for you to try to find why it can't find any LDAP group's member.. Thanks! Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18.11.2008 18:26 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups Hi, On Tue, Nov 18, 2008 at 5:39 PM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi, I've updated from 1.5.2 to 1.6.1. After this, I found all groups beeing empty - so no users were there anymore. As result I started mapping LDAP groups to XWiki groups to let XWiki populate the memberships again - I was planning this anyway. For some reason XWiki is not able to get the groups members and I cannot understand why. Also it is not putting my user in the XWiki.AllGroup - still my groups do not have any member. Can you see Retrieving Members of the group... anywhere in the whole log ? In your log I only see Found group which should means the group cache already contains the group members. This are the logs: DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=a12345,ou=associates,ou=users,o=wlgore DEBUG ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.XWikiAdminGroup cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MSOEGroup cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsAdmGroup cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsGroup cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating group membership for the user: tzwitano DEBUG LDAP.XWikiLDAPAuthServiceImpl - The user belongs to following XWiki groups: DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - All defined XWiki groups: DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MSOEGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsAdmGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrAdmin DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrUser DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAdminGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup DEBUG ldap.XWikiLDAPUtils - Found group
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
On Wed, Nov 19, 2008 at 8:44 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi Thomas, Yes, there is an entry on this, but it looks like it doesn't find anything. ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} The Admin-group in LDAP looks like this: dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a12345,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a12345,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin So I see no reason for it not finding the members. In regards to the group cache, I already set it to 60s just to make sure it's being refreshed - with no effect. Ok them let me add some more log for your particular case and commit for you to try to find why it can't find any LDAP group's member.. Thanks! Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18.11.2008 18:26 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups Hi, On Tue, Nov 18, 2008 at 5:39 PM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi, I've updated from 1.5.2 to 1.6.1. After this, I found all groups beeing empty - so no users were there anymore. As result I started mapping LDAP groups to XWiki groups to let XWiki populate the memberships again - I was planning this anyway. For some reason XWiki is not able to get the groups members and I cannot understand why. Also it is not putting my user in the XWiki.AllGroup - still my groups do not have any member. Can you see Retrieving Members of the group... anywhere in the whole log ? In your log I only see Found group which should means the group cache already contains the group members. This are the logs: DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=a12345,ou=associates,ou=users,o=wlgore DEBUG ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.XWikiAdminGroup cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MSOEGroup cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsAdmGroup cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsGroup cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating group membership for the user: tzwitano DEBUG LDAP.XWikiLDAPAuthServiceImpl - The user belongs to following XWiki groups: DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - All defined XWiki groups: DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MSOEGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsAdmGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrAdmin DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrUser DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAdminGroup DEBUG LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup DEBUG ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} DEBUG ldap.XWikiLDAPUtils - Found group
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
On Wed, Nov 19, 2008 at 10:51 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Yes, I am sure. This is what is configured: xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList,Top I also tried this configuration xwiki.authentication.ldap.group_classes=groupOfNames,Top,groupOfNames xwiki.authentication.ldap.group_memberfields=member,equivalentToMe and this again, is the group in LDAP dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a22094,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a22094,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin Not sure if I understand your last mail in regards to you adding some more logs. Can you download and try last snapshot core 1.6 jar at http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.6-SNAPSHOT/. You should get more informations on what append, this will help us to see what is the problem. Thanks Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 10:43 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups In the meantime, are you sure that group_classes and group_memberfields has the right values for your LDAP schema ? On Wed, Nov 19, 2008 at 10:42 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 8:44 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi Thomas, Yes, there is an entry on this, but it looks like it doesn't find anything. ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} The Admin-group in LDAP looks like this: dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a12345,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a12345,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin So I see no reason for it not finding the members. In regards to the group cache, I already set it to 60s just to make sure it's being refreshed - with no effect. Ok them let me add some more log for your particular case and commit for you to try to find why it can't find any LDAP group's member.. Thanks! Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18.11.2008 18:26 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups Hi, On Tue, Nov 18, 2008 at 5:39 PM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi, I've updated from 1.5.2 to 1.6.1. After this, I found all groups beeing empty - so no users were there anymore. As result I started mapping LDAP groups to XWiki groups to let XWiki populate the memberships again - I was planning this anyway. For some reason XWiki is not able to get the groups members and I cannot understand why. Also it is not putting my user in the XWiki.AllGroup - still my groups do not have any member. Can you see Retrieving Members of the group... anywhere in the whole log ? In your log I only see Found group which should means the group cache already contains the group members. This are the logs: DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=a12345,ou=associates,ou=users,o=wlgore DEBUG ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields
Re: [xwiki-users] macros not executed?
Thanks Sergio, yes - since I use the same macros in several templates, I thought I should collect them in a single page and include that. I've tried includeInContext, includeMacros, and includeForms - but I always get the same problem. Date: Wed, 19 Nov 2008 03:31:09 +0100 From: Sergiu Dumitriu [EMAIL PROTECTED] Subject: Re: [xwiki-users] macros not executed? Yishay Mor wrote: At http://patternlanguagenetwork.myxwiki.org/ I'm seeing a strange phenomena. Some macros ocasionaly appear literally in the rendered page, and are only evaluated when I refresh. Where are the macros defined? Is it scripts.IndexPage? There is a problem in the way macros are included, caused by the way the Velocity engine works with what it calls macro libraries. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ Yishay Mor, Researcher, London Knowledge Lab http://www.lkl.ac.uk/people/mor.html http://www.google.com/calendar/embed?src=yishaym%40gmail.com +44-20-7837 x5737 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
On Wed, Nov 19, 2008 at 12:08 PM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Looks like it doesn't see the other attributes... ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConnection- LDAP search: baseDN=[cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] query=[null] attr=[[Ljava.lang.String;@178f36a] ldapScope=[0] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore}, {name=objectClass value=groupOfNames}, {name=objectClass value=Top}] Do you need the other lines as well? I just improved the log to see exactly what attributes names are used in the search (in place of [[Ljava.lang.String;@178f36a]), you try the last core jar at same URL. Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 11:34 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups On Wed, Nov 19, 2008 at 10:51 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Yes, I am sure. This is what is configured: xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList,Top I also tried this configuration xwiki.authentication.ldap.group_classes=groupOfNames,Top,groupOfNames xwiki.authentication.ldap.group_memberfields=member,equivalentToMe and this again, is the group in LDAP dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a22094,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a22094,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin Not sure if I understand your last mail in regards to you adding some more logs. Can you download and try last snapshot core 1.6 jar at http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.6-SNAPSHOT/ . You should get more informations on what append, this will help us to see what is the problem. Thanks Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 10:43 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups In the meantime, are you sure that group_classes and group_memberfields has the right values for your LDAP schema ? On Wed, Nov 19, 2008 at 10:42 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 8:44 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi Thomas, Yes, there is an entry on this, but it looks like it doesn't find anything. ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} The Admin-group in LDAP looks like this: dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a12345,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a12345,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin So I see no reason for it not finding the members. In regards to the group cache, I already set it to 60s just to make sure it's being refreshed - with no effect. Ok them let me add some more log for your particular case and commit for
[xwiki-users] PermGen OutOfMemory
Hello everybody, Since I have installed xwiki on my Tomcat5 server I have OutOfMemory problems. These are related to the PermGen space, not the heap space. I have read several topics about that with xwiki but with no answers. If I remove xwiki from the server the problem disappear. This server is hosted by an external provider and I will not be able to extend the size of the permgen space. Could somebody advice please? Could I modify some configuration? E.g Logs? This is really anoying because I think this tool is great Many thanks in advance Gilles This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager ([EMAIL PROTECTED]) and delete the message with any attached files from your system. The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content. *** ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
By the way Maybe your already said it but which LDAP server are you using ? The attributes are lower cased by XWiki to not depends on the case of attributes when manipulating them. It's generaly not a problem for LDAP but maybe there a problem with the server your are using... On Wed, Nov 19, 2008 at 1:07 PM, Thomas Mortagne [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 12:08 PM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Looks like it doesn't see the other attributes... ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConnection- LDAP search: baseDN=[cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] query=[null] attr=[[Ljava.lang.String;@178f36a] ldapScope=[0] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore}, {name=objectClass value=groupOfNames}, {name=objectClass value=Top}] Do you need the other lines as well? I just improved the log to see exactly what attributes names are used in the search (in place of [[Ljava.lang.String;@178f36a]), you try the last core jar at same URL. Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 11:34 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups On Wed, Nov 19, 2008 at 10:51 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Yes, I am sure. This is what is configured: xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList,Top I also tried this configuration xwiki.authentication.ldap.group_classes=groupOfNames,Top,groupOfNames xwiki.authentication.ldap.group_memberfields=member,equivalentToMe and this again, is the group in LDAP dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a22094,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a22094,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin Not sure if I understand your last mail in regards to you adding some more logs. Can you download and try last snapshot core 1.6 jar at http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.6-SNAPSHOT/ . You should get more informations on what append, this will help us to see what is the problem. Thanks Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 10:43 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups In the meantime, are you sure that group_classes and group_memberfields has the right values for your LDAP schema ? On Wed, Nov 19, 2008 at 10:42 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 8:44 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi Thomas, Yes, there is an entry on this, but it looks like it doesn't find anything. ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} The Admin-group in LDAP looks like this: dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a12345,ou=associates,ou=users,o=wlgore objectClass:
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
We're using Novell's eDirectory. I thought of the same thing that lowercase could be a problem. But on the other side the member attribute is all lowercase - only equivalentToMe is mixed case. And I just tried it to only map it to member with no change. Here are the new logs: bstractXWikiMigrationManager - No storage migration required since current version is [7351] ldap.XWikiLDAPConfig- ldap_group_classes: [groupofnames, group, top, dynamicgroupaux, groupofuniquenames, groupwisedistributionlist, dynamicgroup] ldap.XWikiLDAPConfig- ldap_group_memberfields: [equivalenttome, member] ldap.XWikiLDAPConnection- Connection to LDAP server [heffalump.wlgore.com:389] ldap.XWikiLDAPConnection- Binding to LDAP server with credentials login=[cn=intranet_proxy,ou=proxy-users,ou=system,o=wlgore] password=[***] LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: null ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn ldap.XWikiLDAPUtils - Searching for the user in LDAP: user:tzwitano base: query:(uid=tzwitano) uid:uid ldap.XWikiLDAPConnection- LDAP search: baseDN=[] query=[(uid=tzwitano)] attr=[[sn, givenName, fullName, mail, dn]] ldapScope=[2] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=a12345,ou=associates,ou=users,o=wlgore}, {name=sn value=Zwitanowitsch}, {name=mail [EMAIL PROTECTED], {name=givenName value=Thomas}, {name=fullName value=Thomas Zwitanowitsch }] LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update XWiki attributes. LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=a12345,ou=associates,ou=users,o=wlgore ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn ldap.XWikiLDAPConfig- Groupmapping found: XWiki.XWikiAdminGroup cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MSOEGroup cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsAdmGroup cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsGroup cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore LDAP.XWikiLDAPAuthServiceImpl - Updating group membership for the user: tzwitano LDAP.XWikiLDAPAuthServiceImpl - The user belongs to following XWiki groups: LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup LDAP.XWikiLDAPAuthServiceImpl - All defined XWiki groups: LDAP.XWikiLDAPAuthServiceImpl - XWiki.MSOEGroup LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsAdmGroup LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsGroup LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrAdmin LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrUser LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAdminGroup LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConnection- LDAP search: baseDN=[cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] query=[null] attr=[[objectClass, uid, equivalenttome, member]] ldapScope=[0] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore}, {name=objectClass value=groupOfNames}, {name=objectClass value=Top}] ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConnection- LDAP search: baseDN=[cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] query=[null] attr=[[objectClass, uid, equivalenttome, member]] ldapScope=[0] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore}, {name=objectClass value=groupOfNames}, {name=objectClass value=Top}] ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConnection- LDAP search: baseDN=[cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] query=[null]
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
On Wed, Nov 19, 2008 at 1:22 PM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: We're using Novell's eDirectory. I thought of the same thing that lowercase could be a problem. But on the other side the member attribute is all lowercase - only equivalentToMe is mixed case. And I just tried it to only map it to member with no change. Right you should get name at least. It's weird than you get the objectClass attributes and not the name. I don't have more ideas of what can be the problem yet. Do the LDAP user have right to list LDAP groups ? Here are the new logs: bstractXWikiMigrationManager - No storage migration required since current version is [7351] ldap.XWikiLDAPConfig- ldap_group_classes: [groupofnames, group, top, dynamicgroupaux, groupofuniquenames, groupwisedistributionlist, dynamicgroup] ldap.XWikiLDAPConfig- ldap_group_memberfields: [equivalenttome, member] ldap.XWikiLDAPConnection- Connection to LDAP server [heffalump.wlgore.com:389] ldap.XWikiLDAPConnection- Binding to LDAP server with credentials login=[cn=intranet_proxy,ou=proxy-users,ou=system,o=wlgore] password=[***] LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: null ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn ldap.XWikiLDAPUtils - Searching for the user in LDAP: user:tzwitano base: query:(uid=tzwitano) uid:uid ldap.XWikiLDAPConnection- LDAP search: baseDN=[] query=[(uid=tzwitano)] attr=[[sn, givenName, fullName, mail, dn]] ldapScope=[2] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=a12345,ou=associates,ou=users,o=wlgore}, {name=sn value=Zwitanowitsch}, {name=mail [EMAIL PROTECTED], {name=givenName value=Thomas}, {name=fullName value=Thomas Zwitanowitsch }] LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update XWiki attributes. LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=a12345,ou=associates,ou=users,o=wlgore ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn ldap.XWikiLDAPConfig- Groupmapping found: XWiki.XWikiAdminGroup cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MSOEGroup cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsAdmGroup cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsGroup cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore LDAP.XWikiLDAPAuthServiceImpl - Updating group membership for the user: tzwitano LDAP.XWikiLDAPAuthServiceImpl - The user belongs to following XWiki groups: LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup LDAP.XWikiLDAPAuthServiceImpl - All defined XWiki groups: LDAP.XWikiLDAPAuthServiceImpl - XWiki.MSOEGroup LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsAdmGroup LDAP.XWikiLDAPAuthServiceImpl - XWiki.MedicalFabricsGroup LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrAdmin LDAP.XWikiLDAPAuthServiceImpl - XWiki.TrillrUser LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAdminGroup LDAP.XWikiLDAPAuthServiceImpl - XWiki.XWikiAllGroup ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConnection- LDAP search: baseDN=[cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] query=[null] attr=[[objectClass, uid, equivalenttome, member]] ldapScope=[0] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore}, {name=objectClass value=groupOfNames}, {name=objectClass value=Top}] ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConnection- LDAP search: baseDN=[cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] query=[null] attr=[[objectClass, uid, equivalenttome, member]] ldapScope=[0] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore}, {name=objectClass value=groupOfNames}, {name=objectClass value=Top}] ldap.XWikiLDAPUtils - Found group
Re: [xwiki-users] PermGen OutOfMemory
Hi Gilles, Here is a typical command line you can add to your java command line -XX:MaxPermSize=128m -Xms100m -Xmx512m This can be done by updating this environment variable in the startup scripts CATALINA_OPTS=-server -XX:MaxPermSize=128m -Xms100m -Xmx512m -Dfile.encoding=iso-8859-1 -Djava.awt.headless=true Ludovic Ducret, Gilles (CH) a écrit : Hello everybody, Since I have installed xwiki on my Tomcat5 server I have OutOfMemory problems. These are related to the PermGen space, not the heap space. I have read several topics about that with xwiki but with no answers. If I remove xwiki from the server the problem disappear. This server is hosted by an external provider and I will not be able to extend the size of the permgen space. Could somebody advice please? Could I modify some configuration? E.g Logs? This is really anoying because I think this tool is great Many thanks in advance Gilles This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager ([EMAIL PROTECTED]) and delete the message with any attached files from your system. The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content. *** ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
Looks like it doesn't see the other attributes... ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConnection- LDAP search: baseDN=[cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] query=[null] attr=[[Ljava.lang.String;@178f36a] ldapScope=[0] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore}, {name=objectClass value=groupOfNames}, {name=objectClass value=Top}] Do you need the other lines as well? Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 11:34 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups On Wed, Nov 19, 2008 at 10:51 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Yes, I am sure. This is what is configured: xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList,Top I also tried this configuration xwiki.authentication.ldap.group_classes=groupOfNames,Top,groupOfNames xwiki.authentication.ldap.group_memberfields=member,equivalentToMe and this again, is the group in LDAP dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a22094,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a22094,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin Not sure if I understand your last mail in regards to you adding some more logs. Can you download and try last snapshot core 1.6 jar at http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.6-SNAPSHOT/ . You should get more informations on what append, this will help us to see what is the problem. Thanks Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 10:43 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups In the meantime, are you sure that group_classes and group_memberfields has the right values for your LDAP schema ? On Wed, Nov 19, 2008 at 10:42 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 8:44 AM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: Hi Thomas, Yes, there is an entry on this, but it looks like it doesn't find anything. ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} ldap.XWikiLDAPUtils - Retrieving Members of the group: cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPUtils - Found group [cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore] members :{} The Admin-group in LDAP looks like this: dn: cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore DirXML-Associations: cn=AUTH-IDV,cn=DriverSet,ou=IDM,ou=system,o=wlgore#1#{E21DA9D4-FD4F-944c-40BA-E21DA9D4FD4F} equivalentToMe: cn=a12345,ou=associates,ou=users,o=wlgore objectClass: groupOfNames objectClass: Top member: cn=a12345,ou=associates,ou=users,o=wlgore description: XWiki Admin Group cn: Admin So I see no reason for it not finding the members. In regards to the group cache, I already set it to 60s just to make sure it's being refreshed - with no effect. Ok them let me add some more log for your particular case and commit for you to try to find why it can't find any LDAP group's member.. Thanks! Thomas Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18.11.2008 18:26 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re:
Re: [xwiki-users] PermGen OutOfMemory
Thanks I will try but I have to contact the hosting company to see if they accept to modify their tomcat configuration Gilles DUCRET * J2EE/Software Architect Lloyds TSB International Private Banking _ 1 Place Bel-Air * P.O. Box 5145 * CH-1211 Geneva 1* Switzerland Tel: +41 (0)22 307 32 29 Fax: +41 (0)22 307 30 43 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ludovic Dubost Sent: Wednesday, November 19, 2008 2:20 PM To: XWiki Users Subject: Re: [xwiki-users] PermGen OutOfMemory Hi Gilles, Here is a typical command line you can add to your java command line -XX:MaxPermSize=128m -Xms100m -Xmx512m This can be done by updating this environment variable in the startup scripts CATALINA_OPTS=-server -XX:MaxPermSize=128m -Xms100m -Xmx512m -Dfile.encoding=iso-8859-1 -Djava.awt.headless=true Ludovic Ducret, Gilles (CH) a écrit : Hello everybody, Since I have installed xwiki on my Tomcat5 server I have OutOfMemory problems. These are related to the PermGen space, not the heap space. I have read several topics about that with xwiki but with no answers. If I remove xwiki from the server the problem disappear. This server is hosted by an external provider and I will not be able to extend the size of the permgen space. Could somebody advice please? Could I modify some configuration? E.g Logs? This is really anoying because I think this tool is great Many thanks in advance Gilles This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager ([EMAIL PROTECTED]) and delete the message with any attached files from your system. The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content. *** ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager ([EMAIL PROTECTED]) and delete the message with any attached files from your system. The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content. *** ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups
This is strange. I checked out wiki source and created a quick mock up to test what is actually happening. Now it seems using the Method searchGroupsMembers() is retrieving the attributes correctly: {name=dn value=cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore} {name=member value=cn=a12345,ou=associates,ou=users,o=wlgore} {name=cn value=Admin} {name=objectClass value=groupOfNames} {name=objectClass value=Top} This is my testclass (for test I made the searchGroupsMembers method public): public class CheckLDAP { /** * @param args */ public static void main(String[] args) { System.out.println(Creating LDAP connection...); XWikiLDAPConnection connection = new XWikiLDAPConnection(); try { if(connection.open(heffalump.wlgore.com, 389, cn=intranet_proxy,ou=proxy-users,ou=system,o=wlgore, *,null,false,new XWikiContext())) System.out.println(Successfully connected); else System.out.println(Connection failed!); } catch (XWikiLDAPException e) { e.printStackTrace(); } System.out.println(Creating Utils.); XWikiLDAPUtils utils = new XWikiLDAPUtils(connection); ListXWikiLDAPSearchAttribute list = utils.searchGroupsMembers(cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore); for (XWikiLDAPSearchAttribute wikiLDAPSearchAttribute : list) { System.out.println(wikiLDAPSearchAttribute.toString()); } } } Thomas Mortagne [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 19.11.2008 14:14 Please respond to XWiki Users users@xwiki.org To XWiki Users users@xwiki.org cc Subject Re: [xwiki-users] LDAP Groupmembers not updated to XWiki-Groups On Wed, Nov 19, 2008 at 1:22 PM, Thomas Zwitanowitsch [EMAIL PROTECTED] wrote: We're using Novell's eDirectory. I thought of the same thing that lowercase could be a problem. But on the other side the member attribute is all lowercase - only equivalentToMe is mixed case. And I just tried it to only map it to member with no change. Right you should get name at least. It's weird than you get the objectClass attributes and not the name. I don't have more ideas of what can be the problem yet. Do the LDAP user have right to list LDAP groups ? Here are the new logs: bstractXWikiMigrationManager - No storage migration required since current version is [7351] ldap.XWikiLDAPConfig- ldap_group_classes: [groupofnames, group, top, dynamicgroupaux, groupofuniquenames, groupwisedistributionlist, dynamicgroup] ldap.XWikiLDAPConfig- ldap_group_memberfields: [equivalenttome, member] ldap.XWikiLDAPConnection- Connection to LDAP server [heffalump.wlgore.com:389] ldap.XWikiLDAPConnection- Binding to LDAP server with credentials login=[cn=intranet_proxy,ou=proxy-users,ou=system,o=wlgore] password=[***] LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: null ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn ldap.XWikiLDAPUtils - Searching for the user in LDAP: user:tzwitano base: query:(uid=tzwitano) uid:uid ldap.XWikiLDAPConnection- LDAP search: baseDN=[] query=[(uid=tzwitano)] attr=[[sn, givenName, fullName, mail, dn]] ldapScope=[2] ldap.XWikiLDAPConnection- LDAP search found attributes: [{name=dn value=cn=a12345,ou=associates,ou=users,o=wlgore}, {name=sn value=Zwitanowitsch}, {name=mail [EMAIL PROTECTED], {name=givenName value=Thomas}, {name=fullName value=Thomas Zwitanowitsch }] LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update XWiki attributes. LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=a12345,ou=associates,ou=users,o=wlgore ldap.XWikiLDAPConfig- Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn ldap.XWikiLDAPConfig- Groupmapping found: XWiki.XWikiAdminGroup cn=Admin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MSOEGroup cn=MSOE,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsAdmGroup cn=MedFabAdmin,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore ldap.XWikiLDAPConfig- Groupmapping found: XWiki.MedicalFabricsGroup cn=MedFabUser,ou=XWiki,ou=Corp,ou=Links,ou=extranet_access,ou=groups,o=wlgore LDAP.XWikiLDAPAuthServiceImpl - Updating group membership for the user: tzwitano