Re: [xwiki-users] some problems with SendPageByEmail Application
Oops! I've just tried with guest without doing this change and it allowed me to send messages... :-( Could you figure out why? From field: XWikiGuest. Fixed ;-) http://code.xwiki.org/xwiki/bin/download/Applications/SendPageByEmailApplicationDownloads/Panels.SendPageByEmail3.xar Guillaume ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Privileges on Oracle database
Thanks both of you for the reply. I have decided to atleast give it a try with CREATE/ALTER/DROP/UPDATE TABLE/VIEW/SEQUENCE/SYNONYM/TRIGGER on its own schema and tablespace and SELECT/CONNECT ofcourse. I will inform you later if it works or not, but just want to tell I am greatful for you replys. Anders Andersson [EMAIL PROTECTED] 2008-03-29 23:19:25 In single wiki mode (XWiki Enterprise) it will need read, write to the minimum if you pre create the schema from an existing one. If not you you will need schema read and write. I don't know which oracle privileges that is. Run it once with all privileges to get the database created in one oracle instance. Import that DB in your corporate database. Deactivate updateschema in xwiki.cfg. Then give the oracle privileges one by one. In multiwiki (XEM) the xwiki user needs to be a DBA to be able to create new users. Ludovic [EMAIL PROTECTED] 2008-03-28 18:15 That is a known issue with xWiki and Oracle. As I understand it is being addressed for an upcoming release. So at this point you must use an Oracle user named xwiki. If possible you may use another Db such as mysql,postgresql, or an embedded hsqldb. -- Regards Gabe Wong NGASI AppServer Manager JAVA AUTOMATION and SaaS Enablement http://www.ngasi.com NEW! 8.0 - Centrally manage multiple physical servers Anders Andersson wrote: Hello! I have a question regarding the installation of XWiki. In the installation instructions it says I must type these commands: connect ... create user xwiki identified by xwiki; grant all privileges to xwiki; However this wiki will be installed on a corporate network on their database and application servers and therefor not possible to grant all privileges to xwiki. I wonder if it is possible to run the wiki with more restrictions on the user xwiki? Which privileges is enough for xwiki to operate on the database correctly? Thanks for your time and patients. I will be happy to hear from you again Anders Andersson ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Load MindMap file
Thanks Uwe, uwesbr wrote: Hi Ricardo, I am using the latest version of XWiki an Freemind. But I just started with customizing the wiki,therefore I could not help so much to analyze the problem. Sorry. Regards Uwe I will try to find some time to consistently reproduce the problem and look for a solution. I will keep this thread posted with any news! By the way, have you tried the Mindmap Sitemap Snippet available at http://code.xwiki.org/xwiki/bin/view/Snippets/MindmapSitemapSnippet? Simply great! :-) Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Load MindMap file
Thanks Sergiu, Sergiu Dumitriu wrote: As I know, unsigned applets cannot access random resources on the web, but just from the original server, so there's no way an external file would work. This is a security feature of the applets, and there's nothing we can do about it. We could have a kind of proxy on the server that fetches external mindmap files and returns them to the applet, so, for example, instead of using an external URL, we would use /xwiki/bin/view/MindMap/FetchExternal?url=http://www.example.com/my.mm But still, from the screenshot I see that Uwe's file was local, and not remote. Could it be just a broken mindmap file? I get this message only from remote maps. Perhaps Uwe could share his file to test it here. Or he could try with any of the maps available at http://freemind.sourceforge.net/wiki/index.php/Mind_Map_Gallery From an user point of view here, I think it will be easier to upload the file as an attachment instead of loading it from a remote site. Remote files will be great while freely available, as if stored in /~public_html folders, but if stored in restricted access directories we will be forced to face again the pass username and password in the URL issue. Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] some problems with SendPageByEmail Application
Hi Ricardo, Any Velocity statement I've tried with generates the same error. Perhaps if must be avoided to send Velocity code and send instead a warning or something like that. Just an idea. It seems that $doc.getRenderedContent() doesn't like this Velocity stuff. Please, do you know how this error could be avoided? I am planning to use it a site where we many pages uses the code snippet you proposed and other Velocity statements. 2 choices I think : 1. Remove the script from the pages, put them in other pages and use #includeTopic('Other.Page') 2. Replace getRenderedContent() with getContent() (u'll have text-onlye pages showing up with wiki markup but at least they won't break) Guillaume ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] ldap auth fails : LDAPException: Matched DN:
Hello again, seems my previous ldap problem is corrected (a mix of using old LDAP auth class + duplicate deploy under different names in test env). However, now that ldap connects properly to server, i have the following problem: 2008-03-31 14:00:17,931 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-8080-Processor4] ERROR LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. LDAPException: Invalid Credentials (49) Invalid Credentials LDAPException: Matched DN: at com.novell.ldap.LDAPResponse.getResultException(Unknown Source) at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source) at com.novell.ldap.LDAPConnection.chkResultCode(Unknown Source) at com.novell.ldap.LDAPConnection.bind(Unknown Source) at com.novell.ldap.LDAPConnection.bind(Unknown Source) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:243) Am not sure to understand fully, but it seems that LDAP auth class is prefereing some property in XWiki.username to the xwiki.cfg. The property in question is ldap_dn. I don't know exactly what it's supposed to contain (can someone gime an example?). I saw it's presence in xwiki.authentication.ldap.fields_mapping, which tells how to map ldap attributes to xwiki attributes. However, i have no idea which ldap attribute am supposed to map there. The default value was for active directory, we don't use active directory. My problem is that, currently, it's set to an empty string in xwiki database, and the ldap class don't like it very much. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] fetching group of user
On Mar 31, 2008, at 2:32 PM, Sergiu Dumitriu wrote: Shruti Modi wrote: hi i m trying to fetch the group of the logged in user...can anyone plz help me wid it... Since XWiki 1.2: $xwiki.rightsmanager.getAllGroupsNamesForMember($context.user) BTW this not a correct English name. It should be getAllGroupNamesForMembers(). This is a small detail but it makes the api more difficult to understand. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Vd: Sv: Re: Privileges on Oracle database
Hello again! I think (atleast I have asked for it) I got these privileges in Oracle 10g: CREATE/DROP/ALTER/UPDATE TABLE/VIEW/TRIGGER/SYNONYM/SEQUENCE EXECUTE SELECT CONNECT and I got the wiki up and running. I have not used it very much yet. One thing that doesn't work is logging off :D Of some strange reason, I get the exact same page (pixel-by-pixel, including the link log-out) when I press log-out. I don't know what this means, is it a cookie-problem? Anyhow, it is not that serious now... Thanks again! Anders Andersson Anders Andersson 2008-03-31 09:29 Thanks both of you for the reply. I have decided to atleast give it a try with CREATE/ALTER/DROP/UPDATE TABLE/VIEW/SEQUENCE/SYNONYM/TRIGGER on its own schema and tablespace and SELECT/CONNECT ofcourse. I will inform you later if it works or not, but just want to tell I am greatful for you replys. Anders Andersson [EMAIL PROTECTED] 2008-03-29 23:19:25 In single wiki mode (XWiki Enterprise) it will need read, write to the minimum if you pre create the schema from an existing one. If not you you will need schema read and write. I don't know which oracle privileges that is. Run it once with all privileges to get the database created in one oracle instance. Import that DB in your corporate database. Deactivate updateschema in xwiki.cfg. Then give the oracle privileges one by one. In multiwiki (XEM) the xwiki user needs to be a DBA to be able to create new users. Ludovic [EMAIL PROTECTED] 2008-03-28 18:15 That is a known issue with xWiki and Oracle. As I understand it is being addressed for an upcoming release. So at this point you must use an Oracle user named xwiki. If possible you may use another Db such as mysql,postgresql, or an embedded hsqldb. -- Regards Gabe Wong NGASI AppServer Manager JAVA AUTOMATION and SaaS Enablement http://www.ngasi.com NEW! 8.0 - Centrally manage multiple physical servers Anders Andersson wrote: Hello! I have a question regarding the installation of XWiki. In the installation instructions it says I must type these commands: connect ... create user xwiki identified by xwiki; grant all privileges to xwiki; However this wiki will be installed on a corporate network on their database and application servers and therefor not possible to grant all privileges to xwiki. I wonder if it is possible to run the wiki with more restrictions on the user xwiki? Which privileges is enough for xwiki to operate on the database correctly? Thanks for your time and patients. I will be happy to hear from you again Anders Andersson ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] ldap auth fails : LDAPException: Matched DN:
Hi, On Mon, Mar 31, 2008 at 3:11 PM, David Delbecq [EMAIL PROTECTED] wrote: Hello again, seems my previous ldap problem is corrected (a mix of using old LDAP auth class + duplicate deploy under different names in test env). However, now that ldap connects properly to server, i have the following problem: 2008-03-31 14:00:17,931 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-8080-Processor4] ERROR LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. LDAPException: Invalid Credentials (49) Invalid Credentials LDAPException: Matched DN: at com.novell.ldap.LDAPResponse.getResultException(Unknown Source) at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source) at com.novell.ldap.LDAPConnection.chkResultCode(Unknown Source) at com.novell.ldap.LDAPConnection.bind(Unknown Source) at com.novell.ldap.LDAPConnection.bind(Unknown Source) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:243) Am not sure to understand fully, but it seems that LDAP auth class is prefereing some property in XWiki.username to the xwiki.cfg. The property in question is ldap_dn. I don't know exactly what it's supposed to contain (can someone gime an example?). I saw it's presence in xwiki.authentication.ldap.fields_mapping, which tells how to map ldap attributes to xwiki attributes. However, i have no idea which ldap attribute am supposed to map there. The default value was for active directory, we don't use active directory. My problem is that, currently, it's set to an empty string in xwiki database, and the ldap class don't like it very much. ldap_dn is supposed to contains the complete user LDAP DN in the LDAP server (like cn=William Bush,ou=people,o=sevenSeas) and the default mapping (ldap_dn=dn) is supposed to work with any LDAP server. The goal of this mapping is to speed up the search of user in the LDAP server. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] ldap auth fails : LDAPException: Matched DN:
En l'instant précis du 31/03/08 16:41, Thomas Mortagne s'exprimait en ces termes: Hi, On Mon, Mar 31, 2008 at 3:11 PM, David Delbecq [EMAIL PROTECTED] wrote: Hello again, seems my previous ldap problem is corrected (a mix of using old LDAP auth class + duplicate deploy under different names in test env). However, now that ldap connects properly to server, i have the following problem: 2008-03-31 14:00:17,931 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-8080-Processor4] ERROR LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. LDAPException: Invalid Credentials (49) Invalid Credentials LDAPException: Matched DN: at com.novell.ldap.LDAPResponse.getResultException(Unknown Source) at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source) at com.novell.ldap.LDAPConnection.chkResultCode(Unknown Source) at com.novell.ldap.LDAPConnection.bind(Unknown Source) at com.novell.ldap.LDAPConnection.bind(Unknown Source) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:243) Am not sure to understand fully, but it seems that LDAP auth class is prefereing some property in XWiki.username to the xwiki.cfg. The property in question is ldap_dn. I don't know exactly what it's supposed to contain (can someone gime an example?). I saw it's presence in xwiki.authentication.ldap.fields_mapping, which tells how to map ldap attributes to xwiki attributes. However, i have no idea which ldap attribute am supposed to map there. The default value was for active directory, we don't use active directory. My problem is that, currently, it's set to an empty string in xwiki database, and the ldap class don't like it very much. ldap_dn is supposed to contains the complete user LDAP DN in the LDAP server (like cn=William Bush,ou=people,o=sevenSeas) and the default mapping (ldap_dn=dn) is supposed to work with any LDAP server. The goal of this mapping is to speed up the search of user in the LDAP server. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Thanks :) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] some problems with SendPageByEmail Application
Hi! Guillaume Lerouge wrote: Guillaume First works fine with other Velocity, but not for pages including the force skin trick as it get redirected to the page holding the snippet. Use #includeInContext('Other.Page') instead. Works fine for getting the page included, but SendPageByMail send corrrectly the page but adding the following error Error number 4001 in 4: Error while parsing velocity page Main.Donde Wrapped Exception: Invocation of method 'sendRedirect' in class com.xpn.xwiki.web.XWikiServletResponse threw exception java.lang.IllegalStateException @ Main.Donde mailbox:///Users/rrodriguez/Library/Thunderbird/Profiles/wm2vak20.default/Mail/mire.environmentalchange.net/InEPEC?number=815918713,11? /xwiki/bin/edit/Main/3%2C11?parent=Main.Donde No success or failure message in the panel even though the message has been sent. That's weird. Did you change anything else than #set($emailcontent = Author : $xwiki.getUserName($doc.getContentAuthor(), false) | Date : $xwiki.formatDate($doc.date, 'MMM dd, HH:mm') | Email comment : $emailcomment $doc.getContent() $emailpagecomments ) ? I've done again this changes and it works fine: success or failure message whatever method, $doc.getContent() or $doc.getRenderedContent() , I use. I don't know where I was wrong. Sorry for the noise. All the best, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users