> Which LDAP authenticator are you using ? LDAPAuthServiceImpl or
> XWikiLDAPAuthServiceImpl ? Since XWiki 1.6 XWikiLDAPAuthServiceImpl is
> the default LDAP authenticator and have some differences in
> configurations.
I'm a bit confused. When I used 1.1-m1, there was only the old
implementation (LDAPAuthServiceImpl?). When I got 1.6, the xwiki.cfg
contained this by default:
#-# new LDAP authentication service
#xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
That is the new implementation, as I understand it, but it was commented
out. So, I assumed it was using the old one by default. Is this not the
case?
Regardless, I'd like to use the new one. So, in light of that, I've
uncommented that line now so that I am using XWikiLDAPAuthServiceImpl.
> By the way there is a bug in LDAP 1.6. It's already fixed and it will
> be included in 1.6.1. In the meantime you can use last snapshot of
> xwiki-core jar (download it at
>
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.6-SNAP…)
> or use the old authenticator (which is the one you used before I think
> as the new LDAP authenticator only exists since XWiki 1.3).
What is the bug? I searched JIRA breifly, but nothign jumped out at me.
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.
I've got XWiki 1.6 now downloaded and installed. I've configured it to
authenticate using the LDAP implementation against my Active Directory
(which I already have working in an XWiki 1.1-m1 installation). However,
my attempts to log in are futile. I've turned on DEBUG logging and found
this:
LDAP Bind starting
LDAP Bind successfull
LDAP Bind returned with result true
LDAP searching user
LDAP searching found user
LDAP searching found DN: CN=Brij0429,CN=Users,DC=mid7000nt,DC=mlan
LDAP comparing password
LDAP Password check for user brij0429 failed with exception No Such
Attribute
LDAP check in finally block
LDAP Password check reverting to XWiki
Password check for user null failed
User brij0429 login has failed
The password check is failing? However, in my xwiki.cfg, I've left the
password validation DISABLED:
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
What am I missing?
Regards,
Brian.
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.
Hi,
Ive just installed XWiki manually on a computer with Windows Server 2003.
This machine has JBoss Server 4.0.3 SP1 and MSSQL 2005.
I have followed (twice) the installation steps provided on the web site.
But when I point to the address http://localhost:8080/xwiki/ , I get the
following exception:
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:94)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi
lter.java:287)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:112)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
root cause
java.lang.NoSuchFieldError: MANUAL
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.jav
a:628)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:209)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1324)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1364)
com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1942)
com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1968)
com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosM
appingRenderer.java:75)
com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRen
derer.java:62)
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderin
gEngine.java:61)
com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1000)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:724)
com.xpn.xwiki.XWiki.<init>(XWiki.java:655)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:315)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:386)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:94)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi
lter.java:287)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:112)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
I have seen that the tables have been created in the database.
So, what is the problem ?
Could someone help me please ?
Thank you in advance.
Marie-No
Hi,
I am a bit puzzled on the ACL setup. Currently unregistered users are not
able to "view" pages. It prompted for Login even the welcome page for xwiki.
I understand that we have Global/Space/Page ACL. This is what I have
currently got:
Global Right Unregistered Users: View, Register
Global Right XWikiAllGroup Users: View, Comment, Edit, Register
Prevent unregistered users from viewing pages, regardless of the page or
space rights: [not tick]
Prevent unregistered users from editing pages, regardless of the page or
space rights: [not tick]
Space Right: Blank for both Unregistered and groups
Page Right: Blank for both Unregistered and groups
I thought that with Space and Page ACL being blank it will pickup the global
one which unregistered users has View access. However, it still prompt for
login. Am I missing something?
Any advice is appreciated.
Thanks!
Art
--
View this message in context: http://n2.nabble.com/Unregistered-user-viewing-access-tp1303273p1303273.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is there any way to check for logged in users if you have stats turned
off. We disabled stats to improve performance on our production
xwiki. I need to restart the tomcat and mysql services, but I can't
tell if people are logged in. Any ideas?
Sam
I as starting to plan to upgrade our older XWiki Enterprise installation to
1.6, but every time I try to download from the only available mirror (e.g.
http://download.forge.objectweb.org/xwiki/xwiki-enterprise-hsqldb-1.6.zip),
I get terrible throughput! It starts out ok, but then slows to a crawl
(estimated time remaning: 14 hours). I have a very fast INternet
connection and routinely get in the hundreds of KB per second. The site
doesn't have any mirrors listed (why not???) and I can't find any in the
wild via a Google search.
Regards,
Brian.
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.
Hi All,
I have managed to limit the attachment upload size to 1MB by setting
"Maximum Upload Size:"
However, when users upload large attachment, it gave an error like this.
XWiki has a default limit of around 10Mb for attached files. This limit can
be changed using the upload_maxsize parameter. Check the FAQ for more
information.
Which it still saying the default value of 10Mb, how would I set so i pickup
my custom setting, 1MB?
Thanks
Art.
--
View this message in context: http://n2.nabble.com/Attachment-Limit-error-message-issue-tp1312233p1312233…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
another problem.
When you have a link that starts with 1 one becomes 1 when you edit the
page in the old WYSIWYG-Editor (didn't try with the new one). It only
happens for the first 1
1.1.1 test
becomes
1.1.1 test
Somtimes the 1 is displayed correctly when you save the page somtimes
not.
Is this a known-bug?
Thanks
Helmut
--
View this message in context: http://n2.nabble.com/1-in-Links-becomes---49--when-you-edit-in-WYSIWYG-tp13…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Guillaume,
My XWiki Workspaces has a 'Global admin' link at the top left.
Clicking that takes me to the XWikiPreferences page, which has the new
layout. From there, I click the 'General' link to get to the 'Basic
Settings' page. After clicking the 'Edit Settings' link, I find that
the 'Registration Settings' section of the form already has 'Deny' set
under 'Public Registration. This is equivalent to what I described
earlier. I was simply using the object editor on the XWikiPreferences
page.
Does it work? Well, there was nothing to change since Public
Registration was already set to 'Deny'. So, I still have the same
problem.
Dan
>
> Message: 2
> Date: Wed, 8 Oct 2008 22:57:19 +0200
> From: "Guillaume Lerouge" <guillaume(a)xwiki.com>
> Subject: Re: [xwiki-users] preventing registration on workspaces under
> xem
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <1c35d2320810081357k1ffa964dy279efe546520c3df(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> In your XWiki Workspaces instance, click on the "Adminisration" link
> located
> at the top left of the top menu bar.
> On the Settings page, click on the "Edit settings" located at the
> top left.
>
> Then set "allow public registration" to false.
>
> Does this work ?
>
> Guillaume
>
> On Wed, Oct 8, 2008 at 7:48 PM, Daniel Svoboda
> <dsvoboda(a)structbio.pitt.edu>wrote:
>
>> Hi,
>>
>> I'm using workspaces 1.2M1 as a virtual xwiki under xem 1.3. I have
>> configured the XWikiServerClass object under XWikiServerServername to
>> have the visibility property set to 'Private'. When I look at
>> XWikiPreferences in the virtual xwiki, there are XWikiGlobalRights
>> objects configured Deny, Groups:,Levels:Register,Users:XWikiGuest,
>> and
>> Deny, Groups:XWikiAllGroup, Levels: edit, register, Users:
>>
>> The registration form still appears on the login page, and upon
>> filling in the fields and submitting, registration is successful.
>>
>> I need to not allow registration by anyone except Admin.
>>
>> Thanks,
>>
>> Dan Svoboda
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
Hello,
I'd like to made chart from Excel sheet in attachment.
Could I reference ExeclPlugin.getTable() call as it is radeo table?
Could I used other value of source chart macro argument?
Regards,
Arnaud.
I created a new Wiki and installed the Wiki Manager Plugin (for
mysql). I can see the default wiki page, but when I go to http://localhost:8080/xwiki/bin/view/WikiManager
or /WikiManager/WebHome, there's a blank page.
I have the xwiki-plugin-wiki-manager-1.4.jar, mysql-connector-
java-5.1.6-bin.jar installed along with the application xar's. I've
configured hibernate.cfg.xml file to use mysql. I've edited xwiki.cfg
to use the wikimanager and applicationmanager plugins. I've set
xwiki.virtual=1. I've given permissions to the mysql database.
Any ideas on what I'm doing wrong?
Hello,
The PDF export not works correctly for UTF-8...
The russian text exported as ??????.
Do you have any idea how to correct this?
Thanks,
Aleks Sokolov
--
View this message in context: http://n2.nabble.com/PDF-export-for-UTF-8-tp1125396p1125396.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Is there a way to get a list of currently logged in users? (Or users
that are editing a page)
For example when I have to restart XWiki I could ask these users to
logout. So that they don't loose any text, they may are editing at this
moment.
Thanks.
Greetings
Reto
Hi, I have downloaded xwiki watch on my PC (Wxp), but no way to start it: when I click on "start": i getthe DOS blackpop up window, nothing more when i click on "open", i get a message "impossible to open the page", with http://localhost:8080/xwiki/bin/view/Main Thanks in advance! Guy DEBAUX Marketing Intelligence CofaceMarketing International Department COFACE 01 49 02 12 79
**********************************************************************
Coface is a leader of B2B Trade Receivables management: receivables protection, receivables finance, ratings and business information, receivables management. A local service in 65 countries for 120,000 customers supported by 7,000 staff.
Coface est un des leaders de la gestion du Poste clients des entreprises: assurance-crédit, affacturage, notation et information d'entreprise, gestion de créances. Un service de proximité pour 120 000 clients, dans 65 pays, grâce à 7000 collaborateurs.
**********************************************************************
Hello,
My newly upgraded XWiki server 1.6 does not allow me to edit and save a page with a minor version increment. I check the "Is minor edit" checkbox, but still increments the major version. I remember reading from somewhere about a bug or setting that I need to do on xwiki.cfg, but I cannot recall it now, nor find it anymore on the Internet. Can someone help me with this problem?
Just for your information, I migrated my existing pages from my old buggy 1.5 xwiki server by first exporting the pages into a XAR and then import back only those related to my space into the new 1.6 server. After that, the minor versioning stopped working.
Many thanks in advanced.
Richard
_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5…
Hi
I have a page created in XWiki and it has 2 translations German and French.
I added different tags for the 3 versions of the page (English,German &
French). But when I got to the 'Tags' page in Main where all the tags are
displayed, I am unable to see all the 3 tags which I have assigned. Only the
latest tag is displayed. Ie. if German is the latest version on which the
tag has been added or modified, the tags list will show only that. Is it a
bug with Tag functionality. I am using XE 1.6
Regards
Syam
--
View this message in context: http://n2.nabble.com/Tagging-different-translations-of-a-page-tp1302696p130…
Sent from the XWiki- Users mailing list archive at Nabble.com.
*In a web-app leveraging XWiki, is it possible to use a database with name
other than 'xwikidb'? If the answer is yes, what i have to amend?
*
I've started using XWiki recently to build a web-app. For the test with
local MySQL ( with local MySQl, i could create
database 'xwikidb' ) and local Tomcat, everything we 've developed run well.
However, we encountered database
connection troubles after uploading our work to a host.
To avoid datbase name conflicts, the hosting service adds a prefix to any
database name. Hence, we could not have
database 'xwikidb' with our current hosting service. Unfortunately, that
caused connection error as XWiki uses
somewhere the default parameter 'xwikidb' for the connection ( being a new
user, i have not been able to figure out
what has to be customized)
Hi Sharan,
Thanks for the reminder ;)
See below
On Mon, Sep 8, 2008 at 11:09 PM,
<sharanabasavaraj.x.mudgal(a)jpmchase.com> wrote:
> Hi!
>
> Could anyone point to any additonal resources for LDAP Authentication. The
> XWiki doc
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication does
> not deal in complete detail on all the possible attributes that can be
> configured in xwiki.cfg. I have configured LDAP authentication for XWik
> but have Some questions that I could not find answers to from the docs.
>
> 1) How can the LDAP configuration be debugged for any issues. I
> followed the log4j settings from
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging . There is no
> LDAP related logging in the xwiki log. The xwiki log shows that the
> user was Authenticatied with Xwiki.FormAuthenticator e.g this is the
> message in the log " [P1-19] INFO xwiki.MyFormAuthenticator - User
> xwiki:XWiki.testuser5 has been logged-in" (not sure if this would
> internally call the LDAP class). However, since only the ldap users are
> being authenticated, I think the .XWikiLDAPAuthServiceImpl is being used.
>
> I found on the web that
> com.xpn.xwiki.user.impl.LDAP=debug log seeting could be used for setting
> the LDAP loglevel to debug. However, this setting still does not log
> anything LDAP. Is this a valid setting for XWikiLDAPAuthServiceImpl?
> How can I conclusively say the authentication is done through LDAP?
Just added in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
The specific targets for LDAP authentication are:
log4j.logger.com.xpn.xwiki.plugin.ldap=debug
log4j.logger.com.xpn.xwiki.user.impl.LDAP=debug
The first line is for XWiki LDAP tools and the second is for
authentitication process itself.
>
> 2)Is it possible to replicate the groups in LDAP to groups in XWIKI and
> replicate the corresponding groupmemberships for a user during login so
> that the authorization is done through XWiki based on the user's group
> association in LDAP?
Just added in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCa…
You can use xwiki."authentication.ldap.group_mapping" to link LDAP
groups to existing XWiki groups. The membership is updated when the
user log in.
>
> Thanks.
> Sharan.
>
>
> -----------------------------------------
> This communication is for informational purposes only. It is not
> intended as an offer or solicitation for the purchase or sale of
> any financial instrument or as an official confirmation of any
> transaction. All market prices, data and other information are not
> warranted as to completeness or accuracy and are subject to change
> without notice. Any comments or statements made herein do not
> necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
> and affiliates.
>
> This transmission may contain information that is privileged,
> confidential, legally privileged, and/or exempt from disclosure
> under applicable law. If you are not the intended recipient, you
> are hereby notified that any disclosure, copying, distribution, or
> use of the information contained herein (including any reliance
> thereon) is STRICTLY PROHIBITED. Although this transmission and any
> attachments are believed to be free of any virus or other defect
> that might affect any computer system into which it is received and
> opened, it is the responsibility of the recipient to ensure that it
> is virus free and no responsibility is accepted by JPMorgan Chase &
> Co., its subsidiaries and affiliates, as applicable, for any loss
> or damage arising in any way from its use. If you received this
> transmission in error, please immediately contact the sender and
> destroy the material in its entirety, whether in electronic or hard
> copy format. Thank you.
>
> Please refer to http://www.jpmorgan.com/pages/disclosures for
> disclosures relating to UK legal entities.
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
--
Thomas Mortagne
Apologize for my newbness, however I am unable to locate instructions on
how to migrate over to MYSQL or Microsoft SQL from built in DB.
Philip Wright
Please consider the environment before printing this email
I'm trying to code some groovy string manipulation of database-extracted
data.
I can't post the actual code but it goes along these lines:
#set ($mydb=$xwiki.sql.getDatabase("jdbc/ABC"))
#set ($SQLstring = "select mycol from fw_notifiche")
#foreach($row in $mydb.executeQuery($SQLstring))
#set ($mycol = $row.getString("mycol"))
<%
vcontext = context.get("vcontext");
mycol = vcontext.get("mycol");
newmycol = mycol.replaceAll("2", "two");
vcontext.put("newmycol", newmycol);
%>
Here is the data: $newmycol <br>
#end
The problem is that only the each loop receives the processing of the vary
last row.
Let's say the the loop extracts three rows with values 1, 2, 3. The previous
code results in this output:
3
3
3
(i.e. unreplaced value from the last row)
While if I switch to mycol.replaceAll("3", "three"), the output is:
three
three
three
(i.e. each loop gets the replaced value from the last row)
Seems that velocity and groovy are incorrectly linked thru the context, or
what?
Cheers,
Stefano
--
View this message in context: http://n2.nabble.com/Context-variables-vs--foreach-tp1300473p1300473.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Jerome,
Now that I have workspaces running under xem, I want to import content
from a previous workspaces instance that I've exported as an archive.
The new Global admin page doesn't offer "Import", and entering the url
directly takes me to the Global admin page.
How can I import an archive?
Thanks,
Dan
Hello ,
I have installed XWiki 1.4.x . Then I have upgraded to 1.5.
The database is PostgreSQL. System is Windows XP.And I use
JBoss.
I can´t import something in the Administration Option.
It shows 0 Documents installed
0 Documents leaved
0 Documents with error
Thanks,
Rez
--
View this message in context: http://n2.nabble.com/I-can%C2%B4t-import-files%21-tp1117629p1117629.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I am trying to change the registration page, so that it redirects to the
pevious page after you have registered (like after you have logged in)
I know, that login.vm and registerinline.vm are called in global.vm. My
first try was to add xredirect=$xwiki.getURLEncoded($logredir) to the
$regurl, but it did work.
I now asume that sending the parameters (like current page/requested page)
is somehow handled when I call $doc.getURL("loginsubmit") like in login.vm.
Where can I find the template/page behind this url?
Or the other way round. What is responsible to call the
xwiki/bin/login/XWiki/XWikiLogin page everytime I click on "edit" a page?
I hope you can give me an answer.
Thanks!
Spinring
--
View this message in context: http://n2.nabble.com/Loginsubmit-tp1115532p1115532.html
Sent from the XWiki- Users mailing list archive at Nabble.com.