Hi,
If a visitor reports that, after registration, he/she never got the e-
mail with the registration-confirmation link? (probably due to spam
filters of his/her organisation)
What can/should a administrator do to enable the account anyway?
Is there a object setting that can be set to "confirmed"? (or anything
alike)
Gerritjan
Hello,
This is just a quick question regarding the functionality of tags, and
searching by tags.
Currently, when you go to the 'Tags' page, where a list of all tags being
used is displayed, when you click on one of the tags, it transfers you to a
page containing a table of all the pages that are using this tag, with some
other information.
My question is regarding how, or if it is at all possible to utilize this
search functionality with multiple tags. For instance, instead of just
searching for tag 'abc', to be able to search for all documents that contain
two tags, 'abc, and 'def'.
I know in confluence this is possibly simply by selecting another tag, or
appending the tag name with a '+' in the address bar (.../tag_a+tag_b).
Can anyone provide me with a bit of information regarding this? Thanks very
much to the community.
Cheers
--
View this message in context: http://n2.nabble.com/Search-by-multiple-tags--tp1466829p1466829.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again,
So my next dilema is structuring the 'All Tags' page. Currently, there is a
list of all tags on all pages on all spaces, in alphabetical order. All
good here.
However, the way I'm utilizing the tags, there are certain groups of tags
that all have the same prefix, for example a group of tags that all start
with 'xyz-', or another group that all starts with 'zyx-'.
So, I'm trying to build an HQL statement that just selects those tags that
contain the prefix 'xyz-', for example. The HQL I'm using to select ALL
tags is as follows:
select distinct elements(prop.list) from BaseObject as obj,
DBStringListProperty as prop where obj.className='XWiki.TagClass' and
obj.id=prop.id.id and prop.id.name='tags' order by 1 asc
I've tried appending additional where clauses trying to just selec the tags
with the 'xyz-' prefix wihtout any luck. I've tried such things as:
... and prop.value LIKE 'xyz-%' ...
and prop.id.value LIKE 'xyz-%' ...
and obj.value LIKE 'xyz-%' ...
and obj.id.value LIKE 'xyz-%' ...
None of these seem to work however. Does anyone have any suggestions or a
workaround? Any and all input is greatly appreciated. Thank you in advance
community!
Cheers
--
View this message in context: http://n2.nabble.com/How-to-select-a-subset-of-tags-with-HQL-tp1466640p1466…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello together,
I have installed XWiki 1.6.1 and when I set the Title in Title2 or 3 and
put first \#toc ("2" "3" "false") it generates no table of contents.
Besides it genarates html tags.
How can I genarate now with the new 1.6.1 version the table of contents?
Is there any changes?
Thanks!
--
View this message in context: http://n2.nabble.com/table-of-contents-in-version-1.6.1-tp1469582p1469582.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello ,
I have downloaded the XSL Plugin and configured the xwiki.cfg.
Then I have created a new xwiki document and attached the xsl:
rss2xhtml.xsl . After that I have put the command
$xwiki.xslURITransformer.cachedTransformURI( SOURCEID,XSLID,900);
SOURCEID is the URL of my rss and XSLID is the URL of my xsl,like
http://localhost:8080/xwiki/bin/download/Main/XSLDokument/rss2xhtml.xsl
he shows the following error:
Error number 4001 in 4: Error while parsing velocity page Main.XSLDokument
Wrapped Exception: Failed to evaluate content with id XSLDokument
Please help! What can I do?
Thanks!
--
View this message in context: http://n2.nabble.com/XSL-Plugin-shows-error-4001-in-4-tp1403279p1403279.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Sometime ago I was given this code to add to attachmentsinline.vm
#set($attachmentsMap = $util.hashMap)
#foreach($a in $attachments)
#set($discard = $attachmentsMap.put($a.date, $a))
#end
#set($dates = $util.arrayList)
#foreach($date in $attachmentsMap.keySet())
#set($discard = $dates.add($date))
#end
#set($dates = $util.sort($dates))
#set($dates = $util.reverseList($dates))
#set($attachments = $util.arrayList)
#foreach($date in $dates)
#set($discard = $attachments.add($attachmentsMap.get($date)))
#end
this works fine, putting the attachments in order on my local server
However, my client (running XWiki Enterprise 1.5.1.12494) reports that it
doesn't show all the attachments. He has one page with about 10 attachments,
only 5 of which show. If he takes the code out all the attachments are
there, but not in date order which he wants.
can anyone please help.
I need to edit the registration form. I have altered the class XWikiUsers to
add the extra fields
I have altered the registration page to show the extra fields.
However, the values are not being saved - when you create test users, log in
and go to their profiles or edit/profiles the fields are blank
HOw do I get the values to actually save?
Here is some of the code from the registration page that I have used
function doAction(){
document.getElementById('register_firstName').value =
document.getElementById('first_name').value;
document.getElementById('register_lastName').value =
document.getElementById('last_name').value;
}
<dl id="xwikiuserprofile">
:
:
<dt class="label"><label>Title:</label></dt>
<dd><input size='30' id='title2' name='title2' type='text'/></dd>
:
:
the name for the property is title2
Hello,
I created a FAQ application, pretty much like the template, but with an
added "Category" field.
This "Category" is stored in a DBTreeList property, and contains classified
categories, sub-categories, sub-sub categories ...
When in the context of an FAQ object, this list displays well, and lets the
user choose to which category belongs the FAQ entry.
To build the "WebHome" for this FAQ, I would like to give users opportunity
to filter FAQ entries depending on this same Category. To do so, IMO what
would be logical would be to display this same field based on property
"Category", in edit mode (to have the drop-down list), but here there is no
contextual object.
Is there a way to do this easily ? I workarounded it by creating a fake
object in my WebHome with same property definition as "Category", but then
if I want to keep track of what is selected the object value has to be
updated each time the user filters the view, and it will be updated for
everyone, I think it's a quite ugly solution and I'm looking for something
better ...
I think this subject might already have been discussed, but could not find
anything in the mailing-list,
Any ideas welcome ... ;)
Best regards,
Jeremie
--
View this message in context: http://n2.nabble.com/Display-a-property-edit-field-out-of-an-object-context…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Sergiu Dumitriu,
Using this tip, i had print the className and got this result :
System.out.println("search return (" + searchResult.getClass() + ")");
[stdout] search return (class [Ljava.lang.Object;)
I was wrong because i was thinking that this was a basic Object but
it's an array of Object (not a List)...
So proceeding this way i got my array of results (Map []) with
confluence "SearchResult" attributes)
Here is a sample wich display the first result title (assume that
there is one result) :
Object searchResult = client.execute("confluence1.search",
new Object[] { p_token, p_query, new Integer(p_maxResults) });
// System.out.println("search return (" + searchResult.getClass() + ")");
// searchResult != null
Object[] searchResults = (Object[]) searchResult;
// searchResult != null && searchResults.length > 0
String firstObjectTitle = (String) ((Map)searchResults[0]).get("title");
System.out.println("firstObjectTitle =" + firstObjectTitle);
Relevant (confluence) SearchResult attributes :
Key Type Value
title String the feed's title
url String the remote URL needed to view this search result online
excerpt String a short excerpt of this result if it makes sense
type String the type of this result - page, comment, spacedesc,
attachment, userinfo, blogpost
id String the long ID of this result (if the type has one)
FYI, here is a test result :
[stdout] search return (class [Ljava.lang.Object;)
[stdout] firstObjectTitle=Main.WebHome
[stdout] firstObjectUrl=
[stdout] firstObjectExcerpt=
[stdout] firstObjectType=pageid
[stdout] firstObjectId=Main.WebHome
Thanks :)
Regards
Brice Vandeputte
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la
part de Sergiu Dumitriu
Envoyé : jeudi 6 novembre 2008 04:53
À : XWiki Users
Objet : Re: [xwiki-users] [XML/RPC] trying execute
"confluence1.search"without success
VANDEPUTTE Brice ITLABS wrote:
> Hi all,
>
> i'm trying to create a Java XML-RPC Client of my Xwiki instance
> (for now i'm using xwikie1_6m2)
>
> Documentation used :
> - Xwiki XML/RPC doc :
> http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPC
> - Confluence API Specification :
> http://confluence.atlassian.com/display/DOC/Remote+API+Specification
>
> I success with this methods : confluence1.login,
> confluence1.logout, confluence1.getPage, confluence1.storePage,
> confluence1.renderContent
>
> but i got a problem with this one : confluence1.search
>
> Confluence API talk about two ways to use search :
> 1) Vector search(String token, String query, int maxResults) -
> return a list of SearchResults which match a given search query
> (including pages and other content types). This is the same as a
> performing a parameterised search (see below) with an empty
> parameter map.
>
> 2) Vector search(String token, String query, Map parameters, int
> maxResults) - (since 1.3) like the previous search, but you can
> optionally limit your search by adding parameters to the parameter
> map. If you do not include a parameter, the default is used instead.
>
> The second way (with parameters) is not implemented on Xwiki (cf.
> http://jira.xwiki.org/jira/browse/XWIKI-1559 )
>
> So how must we use the first search method (without Map parameters) ?
>
> I'm trying this :
> Vector searchResult = (Vector) client.execute("confluence1.search",
> new Object[] { p_token, p_query,new Integer(p_maxResults) });
> This code return a "ClassCastException" : it's like the returned
> object were not a "Vector".. If then what is it ?
>
I don't know what it is. In Java, the method returns List<String>. To
see what you have there, just use reflection:
Object searchResult = client.execute...
System.out.println(searchResult.getClass())
// Or whatever logging method you use
This will print the exact classname, and from there you can procede further.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
trying to get the Excel-Plugin to work. I followed the intructions (hope so)
but I it doesn't seem to work.
XWiki-Enterprises 1.6.1
Java-Version 1.6.0-b09
Excel Plugin 1.0-jdk16
Java Excel API 2.6.9
The Excel file was created with Office 2007 and saved
http://n2.nabble.com/file/n1449684/error.txt error.txt
The error code is:
Error number 4001 in 4: Error while parsing velocity page
Main.WikiHelpInsertExcel Wrapped Exception: Failed to evaluate content with
id Wiki Help Insert Excel
The whole error message is attached.
--
View this message in context: http://n2.nabble.com/Excel-Plugin-not-working-tp1449684p1449684.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
i'm trying to create a Java XML-RPC Client of my Xwiki instance (for
now i'm using xwikie1_6m2)
Documentation used :
- Xwiki XML/RPC doc :
http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPC
- Confluence API Specification :
http://confluence.atlassian.com/display/DOC/Remote+API+Specification
I success with this methods : confluence1.login, confluence1.logout,
confluence1.getPage, confluence1.storePage, confluence1.renderContent
but i got a problem with this one : confluence1.search
Confluence API talk about two ways to use search :
1) Vector search(String token, String query, int maxResults) - return
a list of SearchResults which match a given search query (including
pages and other content types). This is the same as a performing a
parameterised search (see below) with an empty parameter map.
2) Vector search(String token, String query, Map parameters, int
maxResults) - (since 1.3) like the previous search, but you can
optionally limit your search by adding parameters to the parameter
map. If you do not include a parameter, the default is used instead.
The second way (with parameters) is not implemented on Xwiki (cf.
http://jira.xwiki.org/jira/browse/XWIKI-1559 )
So how must we use the first search method (without Map parameters) ?
I'm trying this :
Vector searchResult = (Vector) client.execute("confluence1.search",
new Object[] { p_token, p_query,new Integer(p_maxResults) });
This code return a "ClassCastException" : it's like the returned
object were not a "Vector".. If then what is it ?
Could you help me ?
It's a great feature !
Regards
Brice Vandeputte
Tried looking for ApplicationResources
Where would I find it please
PS sorry I emailed you Sergiu - was supposed to go ti xwikiUsers, not you!
>These are localizable resources, which are defined in
>ApplicationResources.properties. You could just write the text, without
>using $msg.get.
Hello again,
Quick question, regarding the built-in 'Tags' page, that builds a list of
all the tags being used in the XWiki instance.
I would like to have this list being rendered in alphabetical order, instead
of in a random order (or by creation date), but all the 'order by' clauses
I've tried have either not worked at all, not worked in the desired mannor,
or thrown exceptions.
The HQL statement provided by XWiki is as follows:
#set($sql = "select distinct elements(prop.list) from BaseObject as obj,
DBStringListProperty as prop where obj.className='XWiki.TagClass' and
obj.id=prop.id.id and prop.id.name='tags' order by obj asc")
And I've tried the following 'order by' clauses:
order by obj.name asc
order by obj.fullName asc
order by obj asc
order by doc.name asc
order by doc.fullName asc
order by doc asc
order by prop asc
order by prop.value asc
None of these seem to produce the list in alphabetical order, although some
of them do change the order in which the tags are displayed. Any ideas on
how to get this order by clause working to produce the tag list in
alphabetical order?
I have a feeling my difficulty lies in that the property is a
DBStringListProperty in the database, but I'm not sure how to work with
these.
Thanks ahead of time guys.
--
View this message in context: http://n2.nabble.com/Help-with-%27order-by%27-clause-in-HQL-tp1455693p14556…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to work with the content of wiki page in my plugin Api. I can
access the content through method getContent() called with XWikiDocument.
However I have an object added to the page and I'm using
#includeForm("XWiki.PersonClassSheet")
and this is the problem, because with method getContent() I get literally
"#includeForm("XWiki.PersonClassSheet")"...
Is there any way to get exactly what I see on the page? For example instead
of
#includeForm("XWiki.PersonClassSheet")
I want to see "John Smith" (or whatever I will define in the ClassSheet)?
--
View this message in context: http://n2.nabble.com/How-to-get-%22real%22-content-of-wiki-page-in-plugin-A…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I have installed the windows standard xwiki with jetty and a HSQLDB
database. I have to edit the user registration to collect some different
info. THis will mean editing the database, probably adding some fields. I
have used mysql and phpmyadmin quite a lot.
Could somebody please point me somewhere that will tell me how to get
started on using the adding fields, etc to the database?
Hi all,
I'm having trouble using Velocity to analyze the boolean value of a property
of a class.
For example, I have class X, with a property Y (I'll call this property
'example_bool' in the lower example code) which is of type 'Boolean'. I've
configured this property to use radio buttons so the user is only able to
choose one value. I've created several objects of this class, making sure
to utilize both the 'Yes' and 'No' values for some of these objects (to
ensure for testing purposes I have some of both).
This class also has another property, a static list, of location strings,
such as 'Location X', 'Location Y', etc.
Now, on a page, I am trying to calculate how many of each location have the
boolean value of Yes and no with the following velocity/HQL statement:
#set ($results = $xwiki.search("select obj.name from BaseObject obj,
StringProperty prop where obj.className='Example.ExampleClass' and
obj.name<>'Example.ExampleClassTemplate' and prop.id.id=obj.id and
prop.name='location' and prop.value='Location X' order by obj.name asc"))
#set ($numTrue = 0)
#set ($numFalse = 0)
#foreach ($item in $results)
#set ($object = $xwiki.getDocument(${item}))
#if (!$object.get("example_bool"))
#set ($numFalse = $numFalse + 1)
#else
#set ($numTrue = $numTrue + 1)
#end
#end
This code is being executed without error, however, the 'True' count is
always being evaluated as the total number of objects, while the 'False'
count always stays at 0, even though I KNOW there are objects in this group
that have the value of 'No' for the 'example_bool' property.
Does anyone know what I'm doing wrong, or have any ideas that might help me
out? Thanks in advance gang.
On a side note, I've also noted that when using the Boolean property, the
user has the choice of 'Yes', 'No' and '---'. What is this later value
('---') and why is it always included? To me, the meaning of Boolean means
'True OR False' and nothing else. Does this third value have a purpose?
And is there a way of excluding it from the choices the user sees?
Thanks again everyone!
--
View this message in context: http://n2.nabble.com/Trouble-assessing-boolean-property-value-of-an-object-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
We are getting data from external system on to a database, we want to show
that in the form of a list (with pagination), what is the right approach to
do this?
1. HQL with Velocity?
2. Any other options?
--
View this message in context: http://n2.nabble.com/Best-Practise%3A-Showing-the-data-from-DB-tp1453768p14…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
i'm working with xwiki 1.5 and i always used the ajax drop down menu to edit
access rights on a photo album page (i found no other way to get to the rights
editor).
after i changed some rights (but to a different user) the drop down menu
disappeared. I reverted my changes but i could not manage to get the edit drop
down menu back. i'm in the admin group and have all rights there are. i also
could not find any hints in the net.
maybe you can help me.
thanks alot for your time.
eike
Hi,
I need a copy of the ApplicationResources.properties file used in
Xwiki 1.6
I need to create several English languages; Canada, USA, Australian,
etcetera...
How can I get it?
thx
Gerritjan
Hi!
How can I prevent a list-item from being breaked? I mean, if I want
to place some text, then an image and, finally, some message (#info(),
#alert() etc.) in a list-time, all would appear as the whole
list-item.
For now, I can only get text + image or text + message. I do use a
macro for an image, like #image(src title). So, the problem seems to
be in the two following macros: #image()#info().
I've also tried #image()\
#info().
That doesn't do the job too.
Best regards, Mike
Hi friends,
I'm running xwiki 1.6 last snapshot, on Jboss and Postgres. I've activated
on xwiki.cfg the SpaceManager plugin, simple adding the spacemanager
implementation on the plugins section of config file:
xwiki.plugins=[...],com.xpn.xwiki.plugin.spacemanager.impl.SpaceManagerImpl
I've not downloaded anything more. But I could not notice any other
application on admin page on xwiki - is this plugin useless or there is no
application that uses this plugin? Does anyone knows how to use this plugin,
or where I can find any documentation about that, except the javadoc
available on the plugin's page? I need to manage (create, delete, edit) a
lot of spaces, and I could not figure out how to do that with this plugin.
Hope someone can help,
--
Ramon Gomes Brandão
(62) 8117 8649
MSN: ramongb(a)terra.com.br
skype: ramongb
Hi,
I have xWiki installed using xwiki-enterprise-installer-windows-1.6.exe
on a windows XP machine. I have enabled a watch on a space and a page.
When I receive the email I get the following error within the email:
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content
with id [XWiki.WatchListMessage]
I found the same problem on the archives that was apparently part fixed
by removing references to the getExternalURL() call.
http://xwiki.markmail.org/message/koz2szfrvt5gsuqd?q=WatchListMessage
I have done this but am still getting the same error. Is there an
official explanation of this problem and fix, or any help on
implementing this patch so that I can get it to work?
Thanks
Mark
Hello,
I have a simple question, although I could not find the answer in the
archives or google.
Is it possible to use a [0-9] pattern in the where clause of a HQL
query. Something like:
where doc.title like '[0-9]%'
Hope someone can help me with this.
Thanks,
Henk
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
Hello everybody
My company decide to use Xwiki for online applications help. The goal is to have an address like http://my.server.intranet/application1 or http://my.server.intranet/application2 to point directly to xwiki for the application1 or the application2 through an Apache reidrection mechanism.
Each application wiki are provided by differents teams to put in production by export/import.
We want to use Tomcat5 and Oracle 10g database.
To reach this goal, I thought to use Xwiki Enterprise Manager to handle virtual Xwiki (one for each application).
Here are my questions :
- is this the good solution ?
- I understood that I can have only one database for all wikis. If not, may I use Oracle schemas to do this ?
- I tried using xwiki 1.4.2 without any problems. So I installed Application Manager (plugin and application), Wiki Manager (plugin and application) and set xwiki.virtual to 1. But this failed... (Cannot initialize main wiki context). Is this the right way ?
- Are there some restrictions on the database naming ?
That's all for the moment
Thanks in advance and sorry for my poor english spoken.
F Gallois
Hey!
Does anybody know if i can change the LoginSubmit Process? I want , the
users have to set their email adress as their username. but when they submit
the form, they should only logged in with their aliases (thisone(a)thisnot.com
)
Is it possible?
And my next question: If yes, where?
Greetz
Greg
Hey Hoh,
I have a small (or big) problem...
I wanted to configure my LDAP Authentication on XWS. There I have used the
settings of my XE, but it won't work...
Its strange, because if i disable
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
i can login with the LDAP User, but then i have no access rights. Also the
User won't be added to the User Database.
Also Admin can't login.
If i enable this authclass, i can't login with a LDAP User but with the
Admin account...
My Settings:
#-------------------------------------------------------------------------------------
# LDAP
#-------------------------------------------------------------------------------------
#-# new LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=192.168.111.234
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the username, {1} with the password
xwiki.authentication.ldap.bind_DN=uid={0},ou=people,dc=dalim,dc=fr
xwiki.authentication.ldap.bind_pass={1}
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
#-# only members of the following group will be verified in the LDAP
# otherwise only users that are found after searching starting from the
base_DN
#
xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# base DN for searches
xwiki.authentication.ldap.base_DN=ou=people,dc=dalim,dc=fr
#-# specifies the LDAP attribute containing the identifier to be used as the
XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=uid
#-# retrieve the following fields from LDAP and store them in the XWiki user
object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object for
faster access
xwiki.authentication.ldap.fields_mapping=name=uid,last_name=sn,first_name=givenName,fullname=cn,email=mail,ldap_dn=dn
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki otherwise
this happens only once when the XWiki account is created.
xwiki.authentication.ldap.update_user=1
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
#xwiki.authentication.ldap.group_mapping=XWiki.Service=uid=service,ou=people,dc=dalim,dc=fr
| XWiki.IT=uid=it,ou=people,dc=dalim,dc=fr |
XWiki.Sales=uid=sales,ou=people,dc=dalim,dc=fr |
XWiki.QC=uid=qc,ou=people,dc=dalim,dc=fr |
XWiki.Marketing=uid=marketing,ou=people,dc=dalim,dc=fr |
XWiki.Manufacturing=uid=manufacturing,ou=people,dc=dalim,dc=fr |
XWiki.Finance=uid=finance,ou=people,dc=dalim,dc=fr |
XWiki.Administration=uid=administration,ou=people,dc=dalim,dc=fr
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed from
LDAP (default=3600*6)
# xwiki.authentication.ldap.groupcache_expiration=21800
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first
created
#-# - always: synchronize on every login
# xwiki.authentication.ldap.mode_group_sync=always
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB authentication
with the same credentials
xwiki.authentication.ldap.trylocal=1
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# 0: normal
#-# 1: SSL
# xwiki.authentication.ldap.ssl=0
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
The errormessage i get is :
16:48:31,611 [
http://wiki.kehl.dalim.com:8080/work/bin/loginsubmit/XWiki/XWikiLogin]
[P1-19] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying authentication
against XWiki DB
16:48:31,614 [
http://wiki.kehl.dalim.com:8080/work/bin/loginsubmit/XWiki/XWikiLogin]
[P1-19] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
failed with LDAPException.
Wrapped Exception: Invalid Credentials
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:178)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:109)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:104)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:128)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:113)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3412)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:137)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3420)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4382)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
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.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:170)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:109)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:104)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:128)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:113)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3412)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:137)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3420)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4382)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
I hope you can help me!
Greetz
Greg
Hi,
I want to display the comments of my wiki, so I've copy/paste the "List
Last10 XWiki Comments Snippet" (
http://code.xwiki.org/xwiki/bin/view/Snippets/ListLast10XWikiCommentsSnippet).
But this doesn't work. I'm hosted on a XWiki 1.1.1 (but I think that's XEM).
Any idea why it doesn't work ?
Thanks,
Antonio
I want to create a table when you can see the events who are added in the
calendar.
This table is in the WebHome, and there is a class for the calendar.
So I writted this script:
#set ($hql = ", BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.CalendarEvent' and
obj.name<>'XWiki.CalendarEventTemplate'")
#set ($dates= $xwiki.searchDocuments($hql))
{table}
nom|date|lieu|type
#foreach ($CalendarEvent in $dates)
#set ($CalendarEventDoc = $xwiki.getDocument($CalendarEvent))
#set ($CalendarEventObj =
$CalendarEventDoc.getObject("XWiki.CalendarEvent"))
[$CalendarEventObj.title>$CalendarEvent] | $CalendarEventObj.startDate |
$CalendarEventObj.location | $CalendarEventObj.category
#end
{table}
When I added a first event in Calendar, it was ok (It appeared in table).
But for the second, it doesn't work: I see the second event in "Event List",
in Calendar.But not in my table.
Thanks for helping.
--
View this message in context: http://n2.nabble.com/table-with-new-events-tp1402455p1402455.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi !
I installed recently the 1.6 version of XWiki and found that a new
functionnality allows to add logical groups to the group members list :
great ! This recursive inclusion is properly managed in global rights (like
allowing a global group for accessing a space) but this does not seem to be
included in velo xwiki API. For example I have one client that belongs to
its company group XWiki.MyClientCompanyGroup that I added to the group
XWiki.Clients. I have a dedicated part of my menu for clients and I tests
whether the current user is a client or not with the test
`$xwiki.user.isUserInGroup("XWiki.Clients")` which always return false :(
Maybe a special macro could help... anyone has a clue ?
--
Hoani CROSS
Globotraders Tahiti Founder [http://globotraders-tahiti.com]
Sorry, this may be a bit of a pedestrian question, but I've searched the
forum, tried the examples given, and followed the examples in the
documentation guide all with no avail.
On a page, I have a table:
<table width="100%" border="0">
<tr>
<td>
<h3>Blah Blah Blah...</h3>
<h3>Blah Blah Blah...</h3>
</td>
<td>
{image:Some_image.jpg|400|300| |right}
</td>
</tr>
</table>
But for the life of me, I can't get it to render without borders. The
border="0" attribute doesn't seem to be working, I tried adding an in-line
css to the <table> tag (<table style="border:0;">), this also didn't work.
I searched the forums here for some ideas, and it was suggested to edit the
table.css file accordingly. The only table.css file I have on my
installation is for the albatross skin (which I'm not using). Anyways, just
for the sake of being complete, I tried editing this file, and completely
REMOVED anything about borders, then restarted Tomcat, and the table still
renders with borders.
Does anyone have any ideas? It's so simple, yet so aggrivating... Thanks
ahead of time guys.
--
View this message in context: http://n2.nabble.com/Table-style-not-being-affected-tp1395116p1395116.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Quick question regarding the 'parent' feature. I'd like to be able to use
pages within a space as parents for other pages in that space, to provide a
more complete breadcrumbs trail for the user to see.
As of now, whenever I create a new page, it is created under the the current
space being viewed. I have no problem with this, but I need to be able to
provide a more substaintial hierarchy within a space.
So, instead of something like this:
Space
-> Page 1
-> Page 2
-> Page 3
-> Page 4
Could I arrange something like this:
Space
-> Page 1
-> Page 3
-> Page 4
-> Page 2
-> Page 5
-> Page 6
Is this functionality possible, and if so, how do I change the parent of an
already existing page to use a different page as it's parent (instead of the
space it resides in)? So many questions, so little time...
Thanks again all you fellow XWiki users and Developers, your help is
appreciated.
--
View this message in context: http://n2.nabble.com/Use-page-as-parent-instead-of-space-tp1400305p1400305.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
All,
I have a problem. I logging in, after I'm close the window of my wiki
When I open my site, I follow loggin in. So I clean all the cookies, the
cache, but I always follow loggin in.
Thanks in advance
Hello all,
I'm not sure if I'm explaining this correctly but here goes...
I'm using XWiki Enterprise 1.6.1.13621 with Tomcat 6.0.16. Everything works
fine when I access the XWiki site through the URL:
http://www.my_ip_address:8080/xwiki/, I can login fine, everything works
etc...
However, when I use a service to route a domain name to that URL, I am
unable to login using pre-existing usernames/passwords.
To clarify, for example: I use the service to route the URL:
http://www.my_domain_name.ca/ to this URL:
http://www.my_ip_address:8080/xwiki/.
This works in basic functionality, as when I enter the domain name in a
browser, the XWiki login page appears, however if I try to login using my
login/password that already exists, I am unable to.
The domain service I'm using has a feature called 'URLKeeper', which in
effect hides the IP address the domain is mapped to from the user. When
this feature is turned on, the above behaviour is in effect (can't login,
but page displays). When the feature is turned off, I can login using
pre-existing XWiki accounts.
However, I want the functionality of hiding the IP address from the user.
When the feature is turned off, and http://www.my_domain_name.ca/ is entered
into the browser, it is then simply converted (and displayed to the user)
as: http://www.my_ip_address:8080/xwiki/.
Does anyone know if there is a setting in some .cfg file that sets the
'Server Base Url:' (like in Confluence) or something similar? Or has anyone
else experienced this difficulty and may be able to lend me a helping hand?
Thanks in advance, regards!
--
View this message in context: http://n2.nabble.com/Login-troubles-when-using-a-domain-name-instead-of-IP-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
First issue:
I'm currently working with XWiki 1.4M1 (the standalone installation)
and when I go the Event Calendar I get an empty Category list in the
New Event area.
I did already some research but I just can't find the place to add new
categories which can be used by the Event Calendar. I found the page
where you can add categories to the Blog (/bin/Blog/Categories) but I
was wondering if there is a similar page for the Event Calendar? Or do
I need to hard-code the list in /bin/XWiki/CalendarSheet?viewer=code?
Second issue:
I have added tags to pages in my wiki but they are not appearing on
the Tags page. I renamed the xwiki folder (in webapps) but I can't
imagine that this is the problem, to be sure I searched for xwiki/bin
in all the files and replaced it were necessary. But still the tags
are not appearing, who knows what to change?
Thank you!
Gijs.
Hi!
In the next XWiki version, is it possible (I'm actually asking or
advising, as you wish) to create "edit section" spans into the heading
(lalalaedit)? Because it becomes hard to manage these sections using
negative margins and absolute positions, besides that, it would be
logical that edit section is included in corresponding heading.
Ar cieņu, Mihails
I've set up XWiki 1.6 for my IT department, and configured the LDAP
authentication (the new, default XWikiLDAPAuthServiceImpl) to point to our
corporate Active Directory server. For all users in the "US-IS"
ActievDirectory group, it works fine; however, I have some users that are
split off into "US-info_mgmt" that can't log in. I don't have the power to
alter the Active Directory group membership or structure, so I'm stuck with
it how it is.
#-# only members of the following group will be verified in the LDAP
#-# otherwise only users that are found after searching starting from
the base_DN
xwiki.authentication.ldap.user_group=cn=US-IS,cn=Users,dc=XXXX,dc=YYYY
After looking through the XWikiLDAPAuthServiceImpl, it looks like this is a
single value, not multiple. So, I can't simply list two groups.
My next thought was to comment this out because the
XWikiLDAPAuthServiceImpl looks like it will ignore the group check if its
not set to a value. However, when I did this, no one could log in... sort
of. Actually, I was able to log in, but then the custom logo in the skin
didn't show up, and the comments area showed another login screen embedded
within the page.
Any ideas on how I can configure this?
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.
I have a space in one of our databases on one of our xwiki servers.
We would like to isolate this space and move it to it's own database
on another server. Is there any easy way to do this?
Some of the things I saw involved moving the entire database (which I
don't want to do) and I'm not sure the rename space page snippet code
will help me move it to another server.
Any ideas?
Sam
Bonjour,
We've just upgraded to Xwiki 1.6 and I have some questions from a user
that are not necessarily 1.6 specific.
1. Is it possible to have a page name with a period (.) in the name.
e.g. [Release 1.6]? In Xwiki 1.0 it renders as underlined 6. In Xwiki
2.0, it doesn't even render as a link. In fact, I can't get any Xwiki
2.0 links to render at all.
2. Is it possible to have Xwiki store attachments with spaces in the
name? Say I want to store a file that is called "Marketing Plan Oct
2008.pdf". Xwiki seems to take all the spaces out and munge the
filename, especially if it is a long one, it puts in tildes (~). I want
my users to be able to download the plan without having to rename it
themselves. How do I do that?
3. How beta is the Confluence 1.0 rendering? I made a page like this:
h1. header1
h2. header2
h3. header3
h4. header4
Only the h1 rendered correctly, everything else showed up as plan text.
That has got to be the most basic page imaginable.
Do I have something installed incorrectly?
Thanks,
-Dave
--
Dave Mangot
Terracotta Inc.
650 Townsend St. Suite 325
San Francisco, CA 94103 USA
+1 415 738 4059
dmangot(a)terracottatech.com
This e-mail incorporates Terracotta's confidentiality policy, which is
online at http://www.terracottatech.com/emailconfidentiality.shtml
Hi
We have been using the Mindmap Sitemap Snippet for our Site index for quite
a while now.
A problem has arisen with a particluar computer setup.
Trying to access the MindMapIndex wiki page (only contains the snippet code)
and the applet won't load the .mm file. Opening the URL to the .mm file from
the browser directly works fine (i.e. have permission on server).
Hope someone has come across this or can give some advise on what the error
tracing means and how to fix it?
Regards,
Todd
Details:
mindmap browser 0.7.1
xwiki 1.3.2.9174
Using MindmapSitemapSnippet from here:
http://code.xwiki.org/xwiki/bin/view/Snippets/MindmapSitemapSnippet
XP SP3 - OK
- FireFox 2.0.0.17
- Java Plug-in 1.6.0_07
Vista
- FireFox 3.0.3 Error - no access to file exception!
- Java Plug-in 1.6.0_10
##########################################################
Java Console Trace Error Message:
basic: Added progress listener:
sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@df0438
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt
148577 us, pluginInit dt 88946415 us, TotalTime: 89094992 us
network: No certificate info for unsigned JAR file:
http://{serverName}/xwiki/freemind/freemind.jar
<http://{serverName}/xwiki/freemind/freemind.jar>
<http://{serverName}/xwiki/freemind/freemind.jar
<http://{serverName}/xwiki/freemind/freemind.jar> >
<http://{serverName}/xwiki/freemind/freemind.jar > >
Warning: the font you have set as standard - null - is not available.
network: Cache entry not found [url:
<http://{serverName}/xwiki/freemind/freemind.jar > >Warning: the font you
have set as standard - null - is not available.network: Cache entry not
found [url:>
http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm>
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm> >
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm > > ,
version: null]
network: Connecting
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm > > ,
version: null]network: Connecting>
http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm>
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm> >
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm > >
with proxy=DIRECT
network: Connecting
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm > >
with proxy=DIRECTnetwork: Connecting> http://{serverName}/
<http://{serverName}/> <http://{serverName}/ <http://{serverName}/> >
<http://{serverName}/ > > with proxy=DIRECT
basic: Starting applet teardown
basic: Finished applet teardown
network: Server <http://{serverName}/ > > with proxy=DIRECTbasic: Starting
applet teardownbasic: Finished applet teardownnetwork: Server>
http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm>
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm> >
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm > >
requesting to set-cookie with "JSESSIONID=a5800sh1orgk;Path=/xwiki"
network: Cache entry not found [url:
<http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm > >
requesting to set-cookie with "JSESSIONID=a5800sh1orgk;Path=/xwiki"network:
Cache entry not found [url:>
http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk>
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk>
>
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
> > , version: null]
network: Connecting
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
> > , version: null]network: Connecting>
http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk>
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk>
>
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
> > with proxy=DIRECT
network: Connecting
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
> > with proxy=DIRECTnetwork: Connecting> http://{serverName}/
<http://{serverName}/> <http://{serverName}/ <http://{serverName}/> >
<http://{serverName}/ > > with proxy=DIRECT
java.io.IOException: Server returned HTTP response code: 401 for URL:
<http://{serverName}/ > > with proxy=DIRECTjava.io.IOException: Server
returned HTTP response code: 401 for URL:>
http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk>
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk>
>
<http://{serverName}/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=a5800sh1orgk
> >
java.lang.Exception
at
freemind.modes.browsemode.BrowseMapModel.load(BrowseMapModel.java:115)
at
freemind.modes.browsemode.BrowseController.load(BrowseController.java:205)
at
freemind.modes.browsemode.BrowseController.loadURL(BrowseController.java:181)
at freemind.modes.browsemode.BrowseMode.activate(BrowseMode.java:74)
at freemind.controller.Controller.changeToMode(Controller.java:325)
at freemind.main.FreeMindApplet.init(FreeMindApplet.java:262)
at
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
basic: Applet initialized
basic: Loading Java Applet ...
basic: Removed progress listener:
sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@df0438
asic: Applet made visible
basic: Starting applet
[Freemind-Developer-Internal-Warning (do not write a bug report, please)]:
Tried to get view without being able to get map module.
View is null.
basic: Applet started
basic: Told clients applet is started
###############################################################
Jave Trace that works:
Java Plug-in 1.6.0_07
Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@116471f,
refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@162522b
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: completed perf rollup
Warning: the font you have set as standard - null - is not available.
network: Cache entry not found [url:
http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm,
version: null]
network: Connecting
http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm with
proxy=DIRECT
network: Connecting
http://{serverName}/xwiki/bin/download/Optrak/MindMapIndex/sitemap.mm with
cookie "JSESSIONID=6gsdv7el7mbg; style=null; language=en;
username=LnS5fGpu+gBGHYktowzcuA__; password=DEFMJACE1gr4CkNoRttOCg__;
rememberme=false; validation=06c5372426174edb8435e734cdb9e9b6"
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: UniversalJavaPermission enabled
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: UniversalJavaPermission enabled
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: UniversalJavaPermission enabled
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: UniversalJavaPermission enabled
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: UniversalJavaPermission enabled
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: UniversalJavaPermission enabled
--
View this message in context: http://n2.nabble.com/Mindmap-file-not-loading%2C-java.io.IOException%3A-Ser…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
in XWiki XE 1.6 and 1.6.1 the application "Wiki administration - Groups"
behaves buggy.
As member count always 0 (zero) users are displayed.
After selection of a group the new window is not opened in inline mode. So
it's not possible to create new groups or add a user to a group. No user is
shown as a member.
Changing to online mode and trying to add a user leads to the message "Some
users already exist in the group" (XWikiGroups object of this user already
exists). Adding of a realy new member let the member list still empty.
I'm using virtual XWiki XE in virtual mode (XEM plugin),
Oracle 9iR2 Database,
JBoss 4.2.1 GA
I'll try out XE 1.7 next.
Is there a known problem?
Thanks,
Rudolf
--
View this message in context: http://n2.nabble.com/Administration-of-Groups-not-valid-since-1.6-tp1364242…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello all,
So, I have a space 'Research Projects', and this space has a class (template
and sheet) associated with it called ProjetClass. It has some properties
such as 'Code', 'Title', 'Researcher', etc....
There are a few things that seem strange and buggy to me, and I'm not sure
what is causing the behaviour.
First off, whenever I click on the button on the space home page to 'create
a new project', there is an error the pops up in the Tomcat window like the
following:
2008-10-27 12:07:17,154
[http://my_ip_address:8080/xwiki/bin/inline/Research%20Projects/X1?parent=Re…]
[http-8080-2] ERROR web.XWikiAction
Where X1 is the name of the newly created research project object, and
'Research Projects' is the parent space.
I'm not sure what's going on here, as the error message does not supply any
information as to what the error is exactly.
For more information, the 'Research Projects' 'WebHome' page is almost
identical to the FAQ listing page, a simple html form with submit button to
create a new form, and then a list below that of already existing
'Projects'. The html form code I'm using is as follows:
<form action="" id="newproject">
<input type="hidden" name="parent" value="Research Projects.WebHome" />
<input type="hidden" name="template" value="Research
Projects.ProjectClassTemplate" />
<input type="hidden" name="sheet" value="1" />
<input type="hidden" name="webname" value="Research Projects"/>
<input type="hidden" name="name" value=""/>
<table>
<tr>
<td>
<input type="text" name="project" value="Project Code (without
title)" size="40"/>
</td>
<td>
<input type="submit" value="Add this Project" onclick='if
(updateName(this.form.project,this.form.name)) { action="../../inline/" +
this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'
/>
</td>
</tr>
</table>
</form>
The second strange behaviour that I have been noting, is regarding this list
of 'already existing projects'. For some reason, this list is not updating
itself whenever a new 'Project' is created and saved. For the list to
actually update, I have to go into edit mode of the page, and then save the
content again (changing NOTHING), then when it goes back to the view mode,
the new additions will be represented. I build this list with the following
velocity/hql:
#set ($results = $xwiki.search("select obj.name from BaseObject obj where
obj.className='Research Projects.ProjectClass' and obj.name<>'Research
Projects.ProjectClassTemplate'"))
#foreach ($item in $results)
#set ($project = $xwiki.getDocument(${item}))
#if ($velocityCount == 1)
<h3>Existing Projects:</h3>
#end
* [${project.display("code")} - ${project.display("title")}>${item}]
#end
Also, whenever I go into edit mode of this page, a warning message appears
on the Tomcat screen, as follows:
WARNING: Parameters: Invalid chunk ignored.
Oct 27, 2008 12:20:10 PM org.apache.tomcat.util.http.Parameters
processParameters
Does anyone have any ideas as to what I'm doing wrong here? The basic
functionality of everything is working, I can create new instances of the
class, and they exist in the parent space. They will also be listed in the
'Existing' section, but only after I re-save the pre-existing code. Seems
quite strange, but I'm not a seasoned XWiki veteran.
Any help or suggestions would be greatly beneficial, thanks for your help!
--
View this message in context: http://n2.nabble.com/Strange-behaviour-when-page-tries-to-list-objects-of-c…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
I connect XwikiWorkspaces( ver 1.1.1) with LDAP , the problem has been
occurred ( Internal error) when Log-in user name has dot (.) (for example
John.smith), So does any one can help me to solve this problem ?
Thanks in advance.
Here is the log file that reportd the problem:
2008-10-27 06:14:18,528
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19] WARN
LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
failed with LDAPException.
Wrapped Exception: Invalid Credentials
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:178)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:109)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:104)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:128)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:113)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3412)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:167)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2342)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2803)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2764)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2752)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2704)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:329)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:802)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:764)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:184)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:378)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:880)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:810)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:732)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:318)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:515)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
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.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:170)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:109)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:104)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:128)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:113)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3412)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:167)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2342)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2803)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2764)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2752)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2704)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:329)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:802)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:764)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:184)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:378)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:880)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:810)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:732)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:318)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:515)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
2008-10-27 06:14:19,741
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19] WARN
LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
failed with LDAPException.
Wrapped Exception: Invalid Credentials
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:178)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:109)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:104)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:128)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:113)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3412)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:137)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3420)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4382)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
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.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:170)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:109)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:104)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:128)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:113)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3412)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:137)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3420)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4382)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--
View this message in context: http://n2.nabble.com/Login-UserName-Problem-tp1382066p1382066.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hey Guys,
does anybody know if it is possible to show or hide the links of the spaces
according to the access rights of the user?
Happy Coding ;-)
Greg
Hi all,
how is it possible to edit the xhtml.xsl file?
I have changed some elements in this file, but the changes aren't used in
the XE.
Is it possible that the file isn't implemented?
Greetz
Hi! Thomas,
There are errors we see on the ldap server on authenicating users with
LDAP for XWiki. It is critical to fix this issue for us to be able to
use xwiki. This is what seems to be happening. Normally when you do a
'DoBind' with a LDAP directory it establishes the connection after
successful authentication. Once you establish the connection you may ask
for information within the LDAP directory or simple logout with a
'DoUnbind'. Since you did not ask for any more information or issue a
DoUnbind the LDAP directory tried to extend your session, which was
eventually dropped. Also below is an example of a Bind with simple
authentication and then an UnBind. we would like to see a 'DoUnbind'
following a 'Dobind' when authenticating to the LDAP directory. Could you
please advise.
10:48:27 B0EB7BB0 LDAP: New cleartext connection 0x8352b08 from x.x.x.x,
monitor = 0x7ac4dbb0, index = 6
10:48:27 B32C0BB0 LDAP: (x.x.x.x)(0x0044:0x60) DoBind on connection
0x8352b08
10:48:27 B32C0BB0 LDAP: (x.x.x.x)(0x0044:0x60) Bind name:cn=abc,ou=xyz,
version:3, authentication:simple
10:48:27 B32C0BB0 LDAP: (x.x.x.x)(0x0044:0x60) Sending operation result
0:"":"" to connection 0x8352b08
10:48:27 B32C0BB0 LDAP: (x.x.x.x)(0x0044:0x60) Operation 0x44:0x60 on
connection 0x8352b08 completed in 0 seconds
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) DoExtended on connection
0x8352b08
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) DoExtended: Extension
Request OID: 0.0.0.0
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) Unable to find extension
handler 0.0.0.0 in extension list
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) Sending operation result
2:"":"Unrecognized extended operation" to connection 0x8352b08
10:48:27 7FBC5BB0 LDAP: (x.x.x.x)(0x0045:0x77) Operation 0x45:0x77 on
connection 0x8352b08 completed in 0 seconds
Trace Example 'Successful Bind and UnBind'
14:06:54 B0AB6BB0 LDAP: New TLS connection 0x838b948 from x.x.x.x, monitor
= 0x969a4bb0, index = 6
14:06:54 969A4BB0 LDAP: Monitor 0x969a4bb0 initiating TLS handshake on
connection 0x838b948
14:06:54 89F1EBB0 LDAP: (x.x.x.x)(0x0000:0x00) DoTLSHandshake on
connection 0x838b948
14:06:54 89F1EBB0 LDAP: (x.x.x.x)(0x0000:0x00) Completed TLS handshake on
connection 0x838b948
14:06:54 4C1FFBB0 LDAP: (x.x.x.x)(0xca72:0x60) DoBind on connection
0x838b948
14:06:54 4C1FFBB0 LDAP: (x.x.x.x)(0xca72:0x60) Bind name:cn=abc,ou=xyz,,
version:3, authentication:simple
14:06:54 4C1FFBB0 LDAP: (x.x.x.x)(0xca72:0x60) Sending operation result
0:"":"" to connection 0x838b948
14:06:54 4C1FFBB0 LDAP: (x.x.x.x)(0xca72:0x60) Operation 0xca72:0x60 on
connection 0x838b948 completed in 0 seconds
14:06:54 8CB10BB0 LDAP: (x.x.x.x)(0xca73:0x42) DoUnbind on connection
0x838b948
14:06:54 8CB10BB0 LDAP: Connection 0x838b948 closed
Thanks.
Sharan.
Engineer
DAS eCommerceEngineering,
GTI, JPMorgan Chase
Houston.
Ph:713-216-0725
-----------------------------------------
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.
At present, I'm training on class, sheet and template, with tutorials
So I create my class , edit properties, create sheet and template (on XE)
When I want to create a new question in my FAQ class, It doesn't work
instantaneous. I see any form.
I have to wait the next day , and it works normally , without any
modification.
What is the problem? bug? configuration?
Thanks for helping!
--
View this message in context: http://n2.nabble.com/Class-doesn%27t-work-directly-tp1372006p1372006.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
Thanks for your support to make FoXWiki a public plugin :)
Btw, if you have any suggestions for new features you expect in a future
version of FoXWiki, please dump them in this thread ;)
- Asiri
On Sat, Oct 25, 2008 at 7:42 AM, Mozilla Add-ons <nobody(a)mozilla.org> wrote:
> Congratulations! Your nominated add-on, FoXWiki, has been reviewed by a
> Mozilla Add-ons editor who approved your add-on to be public.
>
> Your most recent version (1.0b) has also been made public.
>
> You can view your public add-on now at:
> http://addons.mozilla.org/addon/2358
>
> Review Information:
> Reviewer: shane hansen
> Comments: Congratulations, your addon has been approved for public
> status.<br />
> <br />
> Keep up the good work!<br />
> I did notice that you had an empty "general" preferences tab, which is kind
> of distracting for users.
> If you have questions about this review, please e-mail
> amo-editors(a)mozilla.org or join #addons on irc.mozilla.org.
>
> Mozilla Add-ons
> http://addons.mozilla.org
>
>
hello,
I'm trying connect xwiki to the ldap using this manual
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HGeneric…
but have problem with auth..
i'm using:
slapd 2.3.30-5+etch2
apache-tomcat-6.0.18
xwiki-enterprise-web-1.7-milestone-1.war
jdk1.6.0_07
xwiki.cfg ldap section:
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=127.0.0.1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=cn={0},ou=people,dc=xxx,dc=com
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.validate_password=0
#
xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#
xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
xwiki.authentication.ldap.base_DN=ou=people,dc=xxx,dc=com
xwiki.authentication.ldap.UID_attr=cn
used "when xwiki.authentication.ldap.validate_password" is set to 1
xwiki.authentication.ldap.password_field=userPassword
#
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1
#
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=MegaNova,c=US|\
#
XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
# xwiki.authentication.ldap.groupcache_expiration=21800
# xwiki.authentication.ldap.mode_group_sync=always
xwiki.authentication.ldap.trylocal=1
xwiki.authentication.ldap.ssl=0
xwiki.authentication.ldap.ssl.keystore=
#
xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
java LDAP debug module exeption:
/
21:07:39,624 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
authentication failed: login null
21:07:39,627 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG ldap.XWikiLDAPConnection - Connection to LDAP
server [127.0.0.1:389]
21:07:39,641 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG ldap.XWikiLDAPConnection - Binding to LDAP
server with credentials login=[cn=user1,ou=people,dc=xxx,dc=com ]
password=[user1]
21:07:39,644 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with
the user object: cn=user1,ou=people,dc=xxx,dc=com
21:07:39,646 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes
will be used to update XWiki attributes.
21:07:39,646 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG ldap.XWikiLDAPConfig - Ready to create
user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
21:07:39,649 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing
user with LDAP attribues located at cn=user1,ou=people,dc=xxx,dc=com
21:07:39,650 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG ldap.XWikiLDAPConfig - Ready to create
user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
21:07:39,651 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:730)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:497)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:410)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:198)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3564)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3572)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4478)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
21:07:39,653 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying
authentication against XWiki DB/
Somebody can help me? Thanks and Greetings,
Bart
--
Bartłomiej Radziszewski
mobile: +48 509 561 540
e-mail: br(a)debian.linux.pl
JID: br(a)debian.linux.pl
ICQ: #305569725
Hello Community,
I have a important question: How can i customize my generated PDFs?
I know, that I can edit the pdf.vm, pdfheader.vm and so on..
But I need to include two Images in the header and the footer, which should
be used as background.
Also, I can't set the hight of head and footer.
Does anybody know, how I can do that?
And I have read, that you can include a CSS in the PDF generation process.
How can I Do that?
Sorry for my number of questions, but i haven't found any useful infos about
this questions..
Greetings,
Greg
I can't seem to get my XWiki to recognize my AD usernames. Can anyone
take a look at my xwiki.cfg to see if I'm doing something wrong?
When I try to log into the xwiki, I get a "Wrong User name", and the
user i'm using is in the crbs-admin group, which I've mapped to the
XWiki.XWikiAdminGroup group.
Thanks,
Sam
#-# new LDAP authentication service^M
xwiki
.authentication
.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable^M
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)^M
xwiki.authentication.ldap.server=ldap.ad.xxxx.yyy
xwiki.authentication.ldap.port=636
#-# LDAP login, empty = anonymous access, otherwise specify full dn ^M
#-# {0} is replaced with the username, {1} with the password
#
xwiki
.authentication
.ldap
.bind_DN
=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP^M
xwiki.authentication.ldap.bind_DN={0}
xwiki.authentication.ldap.bind_pass={1}
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
^M
#-# only members of the following group will be verified in the LDAP^M
# otherwise only users that are found after searching starting from
the base_DN^M
#
xwiki
.authentication
.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US^M
^M
#-# base DN for searches^M
xwiki.authentication.ldap.base_DN=OU=CRBS,DC=AD,DC=XXXX,DC=YYY
^M
#-# Specifies the LDAP attribute containing the identifier to be used
as the XWiki name (default=cn)^M
xwiki.authentication.ldap.UID_attr=sAMAccountName
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used
"when xwiki.authentication.ldap.validate_password" is set to 1
# xwiki.authentication.ldap.password_field=userPassword
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
#
xwiki
.authentication
.ldap
.group_classes
=
group
,groupOfNames
,groupOfUniqueNames
,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the
members. Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember^M
^M
#-# retrieve the following fields from LDAP and store them in the
XWiki user object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object
for faster access^M
xwiki
.authentication
.ldap
.fields_mapping
=
name
=
sAMAccountName
,last_name
=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki
otherwise this happens only once when the XWiki account is created.^M
xwiki.authentication.ldap.update_user=1
^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"^M
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=crbs-
admin,OU=CRBS,DC=AD,DC=XXXX,DC=YYY|XWiki.XWiki.AllGroup=CN=crbs-
users,OU=CRBS,DC=AD,DC=XXXX,DC=YYY
#
XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US^M
^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed
from LDAP (default=3600*6)^M
# xwiki.authentication.ldap.groupcache_expiration=21800^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]^M
#-# - create : synchronize group membership only when the user is
first created
#-# - always: synchronize on every login^M
# xwiki.authentication.ldap.mode_group_sync=always^M
^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB
authentication with the same credentials^M
xwiki.authentication.ldap.trylocal=1
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# 0: normal
#-# 1: SSL
# xwiki.authentication.ldap.ssl=0
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
#
xwiki
.authentication
.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
hello,
I'm trying connect xwiki to the ldap using this manual
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HGeneric…
but have problem with auth..
i'm using:
slapd 2.3.30-5+etch2
apache-tomcat-6.0.18
xwiki-enterprise-web-1.7-milestone-1.war
jdk1.6.0_07
xwiki.cfg ldap section:
#-------------------------------------------------------------------------------------
# LDAP
#-------------------------------------------------------------------------------------
#-# new LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=127.0.0.1
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the username, {1} with the password
xwiki.authentication.ldap.bind_DN=cn={0},ou=people,dc=xxx,dc=com
xwiki.authentication.ldap.bind_pass={1}
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
#-# only members of the following group will be verified in the LDAP
#-# otherwise only users that are found after searching starting from
the base_DN
#
xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# only users not member of the following group can autheticate
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
#-# base DN for searches
xwiki.authentication.ldap.base_DN=ou=people,dc=xxx,dc=com
#-# Specifies the LDAP attribute containing the identifier to be used as
the XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=cn
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used
"when xwiki.authentication.ldap.validate_password" is set to 1
xwiki.authentication.ldap.password_field=userPassword
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
#
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the
members. Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember
#-# retrieve the following fields from LDAP and store them in the XWiki
user object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn -- dn is set by class, caches dn in XWiki.user object
for faster access
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki
otherwise this happens only once when the XWiki account is created.
xwiki.authentication.ldap.update_user=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
#
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=MegaNova,c=US|\
#
XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed
from LDAP (default=3600*6)
# xwiki.authentication.ldap.groupcache_expiration=21800
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first
created
#-# - always: synchronize on every login
# xwiki.authentication.ldap.mode_group_sync=always
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB
authentication with the same credentials
xwiki.authentication.ldap.trylocal=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# 0: normal
#-# 1: SSL
xwiki.authentication.ldap.ssl=0
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
xwiki.authentication.ldap.ssl.keystore=
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
#
xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
java LDAP debug module exeption:
/
21:07:39,624 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
authentication failed: login null
21:07:39,627 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG ldap.XWikiLDAPConnection - Connection to LDAP
server [127.0.0.1:389]
21:07:39,641 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG ldap.XWikiLDAPConnection - Binding to LDAP
server with credentials login=[cn=user1,ou=people,dc=xxx,dc=com ]
password=[user1]
21:07:39,644 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with
the user object: cn=user1,ou=people,dc=xxx,dc=com
21:07:39,646 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes
will be used to update XWiki attributes.
21:07:39,646 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG ldap.XWikiLDAPConfig - Ready to create
user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
21:07:39,649 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing
user with LDAP attribues located at cn=user1,ou=people,dc=xxx,dc=com
21:07:39,650 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG ldap.XWikiLDAPConfig - Ready to create
user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
21:07:39,651 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:730)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:497)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:410)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:198)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3564)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3572)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4478)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
21:07:39,653 [http://localhost:8080/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-7] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying
authentication against XWiki DB/
In ldap logs:
/Oct 23 21:07:39 ubot slapd[4919]: conn=216 fd=11 ACCEPT from
IP=127.0.0.1:41337 (IP=0.0.0.0:389)
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=0 BIND
dn="cn=user1,ou=people,dc=xxx,dc=com" method=128
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=0 BIND
dn="cn=user1,ou=people,dc=xxx,dc=com" mech=SIMPLE ssf=0
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=0 RESULT tag=97 err=0 text=
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=1 EXT oid=0.0.0.0
Oct 23 21:07:39 ubot slapd[4919]: do_extended: unsupported operation
"0.0.0.0"
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=1 RESULT tag=120 err=2
text=unsupported extended operation
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=2 BIND anonymous
mech=implicit ssf=0
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=2 BIND
dn="cn=user1,ou=people,dc=xxx,dc=com" method=128
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=2 BIND
dn="cn=user1,ou=people,dc=xxx,dc=com" mech=SIMPLE ssf=0
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=2 RESULT tag=97 err=0 text=
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=3 SRCH
base="cn=user1,ou=people,dc=xxx,dc=com" scope=0 deref=0
filter="(objectClass=*)"
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=3 SRCH attr=sn givenName
fullName mail dn
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=3 SEARCH RESULT tag=101
err=0 nentries=1 text=
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=4 ABANDON msg=93
Oct 23 21:07:39 ubot slapd[4919]: conn=216 op=5 UNBIND
Oct 23 21:07:39 ubot slapd[4919]: conn=216 fd=11 closed
/Somebody can help me? Thanks and Greetings,
Bart
--
Bartłomiej Radziszewski
mobile: +48 509 561 540
e-mail: br(a)debian.linux.pl
JID: br(a)debian.linux.pl
ICQ: #305569725
Okay, so having a bit of difficulty with this...
I have a space 'Peoples', with a class/sheet/template associated with it.
I can create a new instance of this object, and it is created in the
'People' space, that's all fine and dandy...
In this class there is a property 'location', that is a static list, single
selection only in a drop down box.
For example's sake, I'll say there are 3 locations, 'X', 'Y', 'Z'.
On the 'Peoples' space's main page, where a user may create a new instance,
or see a list of already created 'People', I'm trying to create this list
divided by the three locations.
I tried to calculate the number of 'People' instances with the location 'X'
in the following manner:
#set ($whereClauseX = "obj.name=doc.fullName and
obj.name<>'Peoples.PeopleClassTemplate' and
obj.className='Peoples.PeopleClass' and prop.id.id = obj.id and
prop.id.name='location' and prop.value='X' order by doc.creationDate desc")
#set ($numX = "select count(distinct doc) from XWikiDocument doc, BaseObject
as obj, LargeStringProperty as prop where $whereClauseX")
Now, I know there are instances of 'People' objects in this space that have
the value 'X' for the 'location' property, but whenever I access this
variable, it is always being calculated as 0.
Can someone point out my problem with that block of code?
Also, this affects my later code I think as, when it hits the following
block of code, nothing appears on screen, and I get some errors in the
Tomcat screen. Code:
#if ($numX > 0)
<h3>Location X:</h3>
#set ($sql = ", BaseObject as obj, LargeStringProperty as prop where
$whereClauseX")
#set($bentrydoc = $xwiki.getDocument($item))
#set($bentryobj = $bentrydoc.getObject("Peoples.PeopleClass", "language",
$language, true))
#foreach ($item in $xwiki.searchDocuments($sql))
* [${bentrydoc.display("first_name","view",$bentryobj)}
${bentrydoc.display("last_name","view",$bentryobj)}|$item]
#end
#end
And the Tomcat error(s):
WARNING: Parameters: Invalid chunk ignored.
[ERROR] Left side of '>=' operation is not a Numbere. Peoples.WebHome [line
82, column 15]
However, no where in my code am I using the operator '>='...
Any kind person with a helping hand would be appreciated. Thanks again
community!
--
View this message in context: http://n2.nabble.com/Help-with-Velocity-HQL-query-tp1372223p1372223.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I have noticed that the Watchlist update sent by email does not contain
the full path to a changed attachment.
e.g. I received the following watchlist update email:
(Note: I removed all the styles for better readability)
...
<tr>
<td>
<a href="http://localhost
:8080/xwiki/bin/view/TestSpace/TestPage">TestPage</a><br/><span>TestSpace.TestPage</span>
</td>
<td>
modified by Reto Hotz on 2008/10/24 11:03 , comment : Upload new
attachment <a
href="/xwiki/bin/downloadrev/TestSpace/TestPage/test.pdf?rev=1.1">test.pdf</a>
</td>
</tr>
...
As you can see, the test.pdf link href does not include the domain. The
link to the TestPage though is correct.
Is this a bug or a misconfiguration?
Thanks
Reto
I saw this code snippet for setting rights on a page. Does someone know the equivalent for setting the right on the space. How to get the space object(something equivalent to the first line in the snippet)
http://code.xwiki.org/xwiki/bin/view/Snippets/SettingRightsSnippet
thanks.
sharan.
Hi all,
Hopefully somebody has come across this before.
I am trying to create a line chart that can have repeated data in each
column e.g
{table}
id | number
22 | 23 |
22 | 23 |
25 | 24 |
{table}
My problem is the graph will only get rendered if one column has unique
data.
Charting exception: Error number 0 in 5: X-value already exists. Wrapped
Exception: X-value already exists. com.xpn.xwiki.XWikiException: Error
number 0 in 5: X-value already exists. Wrapped Exception: X-value already
exists. at
com.xpn.xwiki.plugin.charts.ChartingMacro.exception(ChartingMacro.java:143)
at com.xpn.xwiki.plugin.charts.ChartingMacro.execute(ChartingMacro.java:80)
at com.xpn.xwiki.render.filter.MacroFilter.handleMatch(MacroFilter.java:90)
at
org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) at
org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) at
org.radeox.filter.FilterPipe.filter(FilterPipe.java:169) at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:92)
at
com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:118)
If i make all the data unique in one column above then the chart renders ok.
Is there a parameter that i can use to allow repeated data or is the
charting macro designed to have one column with unique data?
Regards,
John Carroll
--
View this message in context: http://www.nabble.com/Chart-macro-problem-tp18191025p18191025.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
If at all possible, is there a more comprehensive look at all the
datatypes/properties that a Class can be composed of.
In the DevGuide's
http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel Data Model ,
there is a list of the supported datatypes, but it does not mention any of
the options/configurations for the said properties.
An in depth look at these datatypes would be highly beneficial for new XWiki
users trying to create structured content, as this feature is one of the
main attractions to XWiki. Some of the datatypes are self explanitory, but
others are more advanced, and have configuration options that the
average/new XWiki user would not know about.
If anyone has any information on these datatypes, I would be greatly
appreciative, or if there is a plan for a more formal documentation of the
datatypes, I'm sure many others would be highly pleased as well!
Thanks very much.
--
View this message in context: http://n2.nabble.com/Documentation-of-Class-Properties-for-Structured-Conte…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
How to modify administration page style? I can completely it remove
(##$xwiki.ssx.use("XWiki.AdminSheet")) and create my own, but I still
want to find the stylesheet attached to it.
Ar cieņu, Mihails
Hi,
Sorry to answer only now I had lot's of work and not that much with
Internet access ;)
On Tue, Oct 21, 2008 at 4:04 PM, <ramongb(a)mp.go.gov.br> wrote:
> Hi Thomas,
>
> First I would congratulate you guys for such a powerful and top-of-mind tool like Xwiki. I'm the leader of the team here on my Company in Brazil (a Court government institute) that is implementing a wiki tool, and my first - and de-facto - choice was Xwiki. We're on ongoing works on it for integration with our AD infrastucture and it shows to be a complete and very powerful tool to fulfill our requirements.
> This AD integration (and the ACL's Xwiki provides through AD imported groups) is the decisive feature for our needs. And on this subject, some questions came in mind. I've installed your last 1.6-SNAPSHOT, that corrects the bug regarding the AD authentication and seems to work (and log) well. But my question is about reseting the LDAP password through Xwiki. As I could notice, when I reset
a password from a AD user through the "Forgot your password" feature,
it doesn't reset the AD user password, but it resets (or creates?) the
user password only in the internal database.
Yes XWiki does not write/modify anything in LDAP server and it as to
remain like this IMO. But you are right there is a problem with
"Forgot your password" feature that should be disabled for LDAP users
on XWiki.
I will investigate this, thanks for the report.
> The logs show that
it can't authenticate anymore on the LDAP, but it tries to log on the
Xwiki database and succeeds. Because of this, one can get two
out-of-sync working passwords: one through LDAP (and it permits that
his AD attributes be refreshed on every login - just what we need) and
other through Xwiki database, which does not provide LDAP attributes
refresh (once the authentication fails).
> Does the last Xwiki 1.6 have this capability of password sync'ing? Is it a bug? I know sure that this could be a serious security breach (once one knows the username of another, the LDAP password can be compromised). This leads to another questions and we're touch them later. My mails is too big already :-)
>
> By the way, I'm gonna provide the Brazilian Portuguese translation for the project :-)
Great !
> I'm looking forward to your response.
> Thanks in advance,
>
> Ramon Gomes Brandão
>
I'm forwarding also in users(a)xwiki.org mailing list as this can be
interesting for anyone.
--
Thomas Mortagne
On Mon, Oct 20, 2008 at 11:17 AM, Bey Youcef <youcef.bey(a)gmail.com> wrote:
> Hi All,
>
> How to "get" and "set" category of documents using the XWiki API.
>
I guess you're talking about XWS here, right ?
JV.
I was about to answer to your "Panel Wizard problem" email, I can't
reproduce the problem but it could be on your side if you've
modifications on templates and skin.
On Wed, Oct 22, 2008 at 3:46 PM, Azzedine Ait Khelifa
<aaitkhelifa(a)yahoo.fr> wrote:
>
> Thanx ! I have it in previous version ... And now the Panel Wizard seem
> working ...
>
> Perhaps And now I can work on template and skins :)
>
> Regards,
>
> AAK
>
> --- En date de : Mer 22.10.08, Jean-Vincent Drean <jv(a)xwiki.com> a écrit :
>
> De: Jean-Vincent Drean <jv(a)xwiki.com>
> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
> À: Aaitkhelifa(a)yahoo.fr, "XWiki Users" <users(a)xwiki.org>
> Date: Mercredi 22 Octobre 2008, 15h29
>
> Hi,
>
> You need to have the MySQL JDBC Driver JAR (named
> mysql-connector-java*.jar installed in XWiki's WAR file. If this file
> isn't present in XWiki's WEB-INF/lib directory you'll need to
> download
> it and copy it
> there.
> Quoted from
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL
>
> JV.
>
> On Wed, Oct 22, 2008 at 3:24 PM, Azzedine Ait Khelifa
> <aaitkhelifa(a)yahoo.fr> wrote:
>>
>> I have an issue ...
>>
>> The mysql driver mysql-connector-java-5.1.6-bin is missing in the last
> install XWiki Enterprise 1.7 Milestone 1 Released in the WEB-INF\lib
> directory ...
>>
>> Regards;
>>
>> AAK
>>
>>
>> --- En date de : Mer 22.10.08, Vincent Massol <vincent(a)massol.net> a
> écrit :
>> De: Vincent Massol <vincent(a)massol.net>
>> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
>> À: Aaitkhelifa(a)yahoo.fr, "XWiki Users" <users(a)xwiki.org>
>> Date: Mercredi 22 Octobre 2008, 15h06
>>
>> On Oct 22, 2008, at 2:51 PM, Azzedine Ait Khelifa wrote:
>>
>>>
>>> Hi
> Jean-vincent,
>>>
>>> I uninstall et reinstall ...
>>>
>>> it's working !
>>>
>>> But when I change the hibernate.cfg.xml settings to point to mysql
>>> Db ...
>>>
>>> I have a new error
>>> HTTP ERROR: 500Error number 3 in 0: Could not initialize main XWiki
>>> context
>>> Wrapped Exception: Error number 3001 in 3: Cannot load class
>>> com
>>> .xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
>>> from param xwiki.store.migration.manager.class
>>
>> I think this mean you have a wiki.store.migration.manager.class
>> parameter defined in your xwiki.cfg and it's not valid. Just remove
> it.
>>
>> Maybe you've tried to do some fancy stuff in the past? :)
>>
>> Thanks
>> -Vincent
>>
>>>
>>> Wrapped Exception: Error number 0 in 3: Exception while
> hibernate
>>> execute
>>> Wrapped Exception: Could not parse mapping document from resource
>>> xwiki.hbm.xml
>>> RequestURI=/xwiki/bin/view/Main/
>>> The database is from an undermined previous version ... I thinck <
>>> 1.6 ...
>>>
>>>
>>> --- En date de : Mer 22.10.08, Jean-Vincent Drean <jv(a)xwiki.com>
> a
>>> écrit :
>>> De: Jean-Vincent Drean <jv(a)xwiki.com>
>>> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
>>> Released
>>> À: Aaitkhelifa(a)yahoo.fr, "XWiki Users"
> <users(a)xwiki.org>
>>> Date: Mercredi 22 Octobre 2008, 13h23
>>>
>>> Hi,
>>>
>>> I'm not able to reproduce with
>>> xwiki-enterprise-hsqldb-1.7-milestone-1, can you give use some details
>>> like :
>>> - which distribution are you using ?
>>> - have you done a
> migration from a previous version ?
>>>
>>> Thanks,
>>> JV.
>>>
>>> On Wed, Oct 22, 2008 at 12:55 PM, Azzedine Ait Khelifa
>>> <aaitkhelifa(a)yahoo.fr> wrote:
>>>> HTTP ERROR: 500Failed to load component
>>> [org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
>>>> RequestURI=/xwiki/bin/view/Main/
>>>> Powered by Jetty://
>>>>
>>>> --- En date de : Mar 21.10.08, Jean-Vincent Drean
> <jv(a)xwiki.com>
>> a
>>> écrit :
>>>> De: Jean-Vincent Drean <jv(a)xwiki.com>
>>>> Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
>>>> À: "XWiki Users" <users(a)xwiki.org>, "XWiki
>>> Developers" <devs(a)xwiki.org>
>>>> Date: Mardi 21 Octobre 2008, 21h56
>>>>
>>>> The XWiki development team is pleased to announce the
> release of
>>>> XWiki
>>>> Enterprise 1.7 Milestone 1.
>>>>
>>>> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>>>>
>>>> First milestone of the XWiki Enterprise 1.7 version.
>>>>
>>>> Main changes:
>>>>
>>>> * Work in progress on the new XWiki Syntax v2.0
>>>> * XWiki Syntax 2.0 allow wiki syntax inside links
>>>> * Work in progress on the new experimental WYSIWYG editor.
>>>>
>>>> Important bug fixes:
>>>>
>>>> * Saving a blank wiki page throws exception in Oracle
>>>> * Registration is still possible when right to register for
>>>> Unregistered user is explicit set to deny
>>>> * Documents with name with spaces or other special chars can't
>>>> properly save added image in WYSIWYG editor
>>>> * Support of
> dots in ldap login has introduce a security hole
>>>>
>>>> Note that general goals for XWiki Enterprise 1.7 are:
>>>>
>>>> * Working and usable (i.e. users can use them for their day to day
>>>> work instead of the old Syntax and old WYSIWYG editor) versions of
>>>> new
>>>> rendering and new WYSIWYG editor.
>>>> * Working JCR (can be used for day to day work instead of
> Hibernate).
>>>> * French XE
>>>> * Blog revamping
>>>> * Webdav integration
>>>>
>>>> For more information see the Release notes at:
>>>>
>> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M1
>>>>
>>>> Thanks,
>>>> The XWiki dev team
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>>
> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
--
Jean-Vincent Drean
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
First milestone of the XWiki Enterprise 1.7 version.
Main changes:
* Work in progress on the new XWiki Syntax v2.0
* XWiki Syntax 2.0 allow wiki syntax inside links
* Work in progress on the new experimental WYSIWYG editor.
Important bug fixes:
* Saving a blank wiki page throws exception in Oracle
* Registration is still possible when right to register for
Unregistered user is explicit set to deny
* Documents with name with spaces or other special chars can't
properly save added image in WYSIWYG editor
* Support of dots in ldap login has introduce a security hole
Note that general goals for XWiki Enterprise 1.7 are:
* Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
* Working JCR (can be used for day to day work instead of Hibernate).
* French XE
* Blog revamping
* Webdav integration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M1
Thanks,
The XWiki dev team
The XWiki development team is pleased to announce the release of XWiki
Enterprise Manager 1.4.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release is based on XWiki Enterprise 1.6.1.
Changes from 1.3:
* As usual the main news is on XE side (from 1.5.1 to 1.6.1)
* Some UI improvements on information panels
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM14
Thanks
-The XWiki dev team
Hi All,
We need your support to make FoXWiki a public extension at
addons.mozilla.org. The new version of FoXWiki includes all the features of
previous version plus support for webdav. All you need to do is to try out
new FoXWiki and rate / review the extension.
Steps :
1. You need to have an account at addons.mozilla.org (this is the ugly part)
2. login to addons.mozilla.org and install
https://addons.mozilla.org/en-US/firefox/addon/2358
3. Test FoXWiki using our test server located @
http://91.121.237.216/xwiki/bin/view/Main/ (Refer to screenshots provided at
the plugin's location)
4. Rate / Review the extension :)
Please keep in mind that webdav support is not yet included in official XE
releases.
Let us know if you have any trouble.
Thanks.
- Asiri
ps : Introduction to FoXWiki (old) :
http://soal.xwiki.com/xwiki/bin/view/Code/FoXWiki
Hello all,
2 questions :
- How to set the right panel at left panel ?
- I have a probleme with panel wizard on the wiki preferences (http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences) ... when I click on the icon, nothing is happend ...
Thanx ...
Hi,
We'll be two XWiki guys in the valley Monday <-> Wednesday. Anybody
interested in a meetup on monday or tuesday evening ?
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Up until the point, we've had only 1 wildcard SSL cert for our site
because we've only had one domain we were using, say example.com. But
we've just added a wiki to our farm which is going to be using a
different domain, say newdomain.org. We've obtained the certs for
them, but I don't know where or how to configure apache/ssl to
recognize the certs for the new wiki. I assume it's in the ssh.conf
file. Has anyone done this successfully?
Sam
Hi,
I am currently developing a program documentation system based on xwiki.
I am able to create pages which describes programs. For each program
which has to be described I programatically creates a page and populate
a object with static program information. But I need to document which
database files the program uses, with links to the relevant database
file descriptions (a list). For that I want to use a database list
class. I also want to show a call graph. for that I want to use a
database tree class. But I am not able to find any documentation on
these class properties. Can anyone give an example of use for each of
these two properties or give pointers to relevant examples.
The article http://www.theserverside.com/tt/articles/article.tss?l=XWiki
on the server side were a very good introduction! But it didn't treat
the property Custom Display. Are there any documentation on this property?
Cheers
/Thorbjørn Konstantinovitz
--
W: http://kodefabrikken.dk
If you failing to plan, then you´re planning to fail.
Hi Amer
> Dear Youcef,
> Hope you are doing fine,
> kindly be informed that I have problem with Arabic user name like عامر
> ,يوسف..............
> please find the attachment as reference.
> please can you help me to resolve this problem.....
>
Arabic name and content work very well on my workspace.
Take look to the attached image that I just produced using the same login
name information.
In fact, we have got discussion since more than 2 years ago about how to set
XWiki on UTF-8 for supporting Chenese and Arabic.... I've sent very long
mail explaining how to do so. Another poeple have extended it for another
servlet container and RDMS.
Here is the link: "
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding" (please follow
also the web link at the bottom of the page).
If you follow these steps, I'm sure that you overcome this problem. Please
let me know about it.
Enjoy arabizing the XWiki :-)
ps. - this issue don't need to be put in the JIRA because it has been solved
longtime ago.
- not that the size on xwiki mailing list is fixed at 100 ko. I
changed thus the size of screenshots. But you can contact me on my personal
@ mail
Sincerely yours.
-- Youcef BEY
Hi All,
How to "get" and "set" category of documents using the XWiki API.
I'm using "xwiki workspace".
Thanks in advances.
ps. sorry for mail duplication
Youcef
The XWiki development team is pleased to announce the release of XWiki
Workspaces 1.1.1
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is a bug-fix release. It does correct the following bugs :
* XWS-176 - Cannot access history of a wiki page when only "reader"
* XWS-183 - When creating a space, sample wiki page and blog post last modification date is not updated
* XWS-184 - Events from archived spaces do appear on dashboards and are clickables
* XWS-188 - When we attach a new image in an existing gallery, in the activity stream the message is "created" when it should be "updated"
* XWS-190 - On dashboards, the links to photo gallery images lead to an empty page
For more information see the Release Notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces111
Regards
-The XWiki dev team
Dear Amer,
I'm working on the translation of strings from resource properties. However,
as you started working on css and velocity templates, i would like to know
whether we can share tasks. The good method is to use JIRA issue and
calendar. Please refer to this JIRA issues to notify about progress:
http://jira.xwiki.org/jira/browse/XWIKI-2765
I'll also test on the Web the tool that you proposed which help transforming
in systematic way the css into RTL. It seems interesting and useful tool.
I'll tell you as soon I test it about results and whether it need hand work!
Thanks again.
Regards.
-- Youcef
On 10/19/08, Amer Radwan <amerov(a)gmail.com> wrote:
>
> Dear Youcef,
> Hope you are doing fine
> Let's start with our Project ( Arabic Xwiki ) , if you have any patch
> related to RTL CSS and Velocity please share it.
> Today I'll try to finish RTL CSS and velocity files.
>
>
> --
> Best Regards
> Amer Radwan
>
Hi All,
As I know Xwiki supports localization,but I think there is problem with
Right to left languages like (Arabic and Hebrew) , so please I need your
support for how I (if any) can render Xwiki workplace pages to support RTL
languages.
Thanks in advance
--
Best Regards
Amer Radwan
Hi
I have a class with a property of type static list. I want to
intenationalize the options in this list.Is it possible in xwiki ? I tried
giving $msg.get() for all the values in the list. But it is not working.
Please help..
Regards
Syam
--
View this message in context: http://n2.nabble.com/Internationalization-of-satic-list-contents-tp1348620p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Vincent,
I was already on the mailing list, I just haven't been keeping up
lately.
May I start off with a few questions?
1. Does XWiki use the Google XAR API unchanged?
2. Where should I post patches? Here? JIRA?
Thanks,
Deven
Hi
We are in the process of evaluating wiki software for our product
documentation and have the following requirements:
1
Is it possible to create a new ³space² (a set of wiki pages) based on an
existing space?
We need to have a independent space for each version of our product.
2
Is there any asset (images, pdf etc.) management, and how does it work?
3
Do you support LDAP/AD for users?
4
How is it possible to make a security backup of the content.
5
Is it possible to generate a PDF/Word of a whole space?
6
Do you support versioning of the documents and assets?
7
What kind of search is implemented?
Thanks in advance,
best regards
T. Andersen
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.6.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is a bug fix release. It fix an important regression of LDAP authenticator.
Changes from 1.6:
Bugs fixed
* XWIKI-2747 - LDAP search is sometime done without the base dn
* XWIKI-2753 - Display bug in konqueror for class editor
* XWIKI-2757 - Empty .jar produced after build
Improvements
* XAPANELS-59 - Inconsistent redirects in the Panel Wizard
Task
* XWIKI-2752 - Remove the "code" formatting style from the old
WYSIWYG editor
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise161
Thanks
-The XWiki dev team
On Fri, Oct 17, 2008 at 11:14 AM, Jean-Vincent Drean <jv(a)xwiki.com> wrote:
> On Fri, Oct 17, 2008 at 11:04 AM, Azzedine Ait Khelifa
> <aaitkhelifa(a)yahoo.fr> wrote:
>>
>> Thanx,
>>
>> An error in Release Notes for XWiki Enterprise 1.6.1 "
>>
>> "The database structure hasn't been changed since XWiki Enterprise 1.5 so
>> you shouldn't have to touch your Database to upgrade. Thus you can simply
>> install this version and configure it to point to your existing database."
>>
>> It's not really true, I have already change some skins and some templates
>> ...and I lose all my change ...Fortunately, I have backup of my work and I
>> can rollback ...
If you have modified some files in the webapp itself (which means the
xwiki/ folder) you'll have to copy them in the newly installed one.
JV.
Hi everybody,
I've installed the Todo application (
http://code.xwiki.org/xwiki/bin/view/Applications/TodoApplicationDownloads).
I can add new todos, affect them to users and so on. But when I check the
MyTodos Panel (http://localhost:8080/xwiki/bin/view/Panels/MyTodos) it's
always empty. The problem is the HQL statement. It's like that :
#set ($hql = ", BaseObject as obj, StringProperty as prop1, StringProperty
as prop2 where obj.name=doc.fullName and obj.className='XWiki.TodoClass' and
obj.name<>'XWiki.TodoClassTemplate' and obj.id=prop1.id.id and
prop1.id.name='Status'
and prop1.value <> 'Finished' and obj.id=prop2.id.id and
prop2.id.name='Assignee'
and prop2.value='$context.user' order by doc.date desc")
And if I get rid of the last assignee close (and obj.id=prop2.id.id and
prop2.id.name='Assignee' and prop2.value='$context.user' ), it works but
shows all the todos of everybody.
Do you know how to fix this HQL query so it shows the todos of the current
user ?
Thanks,
Antonio
Hi Florian,
On Oct 13, 2008, at 10:31 PM, Florian Rhomberg wrote:
> Hi!
>
> I have two questions:
>
> - As already mentioned in the subject, I want to forbid
> users to
> create spaces, only some user groups should be allowed to create
> spaces.
This is hard since we don't have an explicit notion of space. A space
is created when a document is created with that space name. However
you could perform some validation when the user saves the document if
you want. See the notification tutorial on http://platform.xwiki.org/xwiki/bin/view/DevGuide/Tutorials
> - How can I make some spaces like xwiki, Main, and especially
> Panels, Stats invisible for any user except the admin user. I do not
> want
> them into index or even when in the search.
They're already supposed to be invisible (for xwiki, panels, stats).
If you want to add other spaces, check the index page content and the
search page content. You'll see the code that excludes some pages/
spaces.
Thanks
-Vincent
I have been struggling today with setting up a left navigation.
Everytime I save the panel/space with the updated layout - the
navigation is lost. What am I doing wrong?
Hi,
Can someone tell me what's the difference between this 2 lines:
[$swtoolObj.ToolName>$doc.fullName]
<a href="$doc.getURL("view")">$swtoolObj.ToolName</a>
Here $swtoolObj.ToolName is "Windows XP", and $doc.fullName is "Main.Windows
XP". The first code line will fail to link to the "Main.Windows XP"
document, while the second works fine.
Thanks!
Ming
I found in the xwiki.wikiskins object (http://localhost:8080/xwiki/bin/edit/XWiki/XWikiSkins?editor=class) ... the list of vm templates
header.vmwiewheader.vmview.vmfooter.vmpagemenu.vmcomments2.vmedit.vmlogo.png
I suppose all theses vm used ...
But In the folder "C:\Program Files\XWiki Enterprise\webapps\xwiki\templates"
I see a file "startpage.vm" and when I edit it found
xwikivars.vmlayoutvars.vmhtmlheader.vm => (stylesheet.vm ... analytics.vm etc ...)header.vmmenuview.vm
Which are used ? where can we found a description oof everyones of them ?
Best Regards,
Azzedine.
Hi,
I would like to know if you use the
wiki editor or the wysiwyg editor ?
I have tried both but i've seen that it doesnot
generate the same things.
ex: {code} and {style:type=div|class=code}
and when you use both, it breaks layout and some
characters.
I think i'm going to disable the wysiwig editor
but i'm interesting with your opinion ?
Thanks.
Hi!
Just installed XWiki 1.6. Thought LDAP authentication would now work
for AD using sAMAccountName (with dot), but no success. I've
configured UID_ATTR=sAMAccountName, all the other configuration is
same as for version 1.3 (LDAP worked fine using cn).
P.S. Of course, I didn't just copy my old xwiki.cfg to the 1.6
version, so the new authentificator IS used now.
P.P.S. For the same configuration (for sAMAccountName) I can still
login using cn, but then the "Comments" section displays the main
login screen with the login form!
Ar cieņu, Mihails
Dear fellow xwiki users,
I'd like to display some portions of the landing page as well as some items in the menu conditionally, i.e. only for some specific groups.
I've found following code snippet on the 'Quick Links' menu:
#if ($xwiki.hasAdminRights())
Content to display conditionally
#end
Is there a way to adapt this so as to restrict display not to AdminRights, but e.g. to 'EditRights' or group rights?
I'd like to do something like this (pseudo-code)
#if ($xwiki.isMemberOfAdmin() or $xwiki.isMemberOfInternalUsers())
Content to display conditionally
#end
Thanks for your answer.
Regards,
ALBAN SCHMID
CLIENT SOLUTIONS SPECIALIST
DIRECTOR, CHANNEL SOLUTION SERVICES
CBS Interactive - Channel
Tel: +41 21 943 03 86
Skype: albanschmid
Rte Industrielle 2 | CP 138 | 1806 St-Légier, Switzerland
CNETChannel.com
We envision using xwiki to manage 2 different parts:
1. A public one accessible to our customers only
2. A private one for internal use only
My question is the following: what is the best strategy to achieve a clean content separation:
Space partitioning (i.e. one wiki, but 2 or more spaces)
or
wiki partitioning (i.e. separate wikis)
Space partitioning seems easier to set up, because only 1 wiki is needed. However, my concern is the risk of having a sloppy employee inadvertently publishing an internal page on the wrong space, i.e. on a public space. With the wiki partitioning scenario, I don't even know if this is possible to set up xwiki so as to have several wikis while running on the same code base. On top of that, I would like to have internal users being able to search through a common index (public + private), while customers could only search the public one. I don't know if that's possible at all with wiki partitioning.
Has anyone of you guys experience with such a setup?
What are the pros and cons of each?
What would the experts / architects recommend here?
Thanks for the insights.
ALBAN SCHMID
CLIENT SOLUTIONS SPECIALIST
DIRECTOR, CHANNEL SOLUTION SERVICES
CBS Interactive - Channel
Tel: +41 21 943 03 86
Skype: albanschmid
Rte Industrielle 2 | CP 138 | 1806 St-Légier, Switzerland
CNETChannel.com
In the dos console I see ....
10:22:55.848 INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:109) >16> ad
ded org.mortbay.log.OutputStreamLogSink@15e83f9
10:22:55.691 INFO [main] org.mortbay.util.FileResource.<clinit>(FileResource.j
ava:60) >11> Checking Resource aliases
10:22:56.395 INFO [main] org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5
10:22:56.411 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
14> Started org.mortbay.jetty.servlet.ServletHandler@1901437
10:22:56.411 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started ServletHttpContext[/,/]
10:22:56.411 INFO [main] org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 127.0.0.1:8081
10:22:56.411 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@10655dd
10:22:56.473 INFO [main] org.mortbay.http.HttpServer.setStatsOn(HttpServer.jav
a:1133) >18> Statistics on = false for org.mortbay.jetty.Server@79a2e7
10:22:56.473 INFO [main] org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5
10:22:57.318 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@e61a35
10:22:57.318 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >17> Loading plexus context properties from: '/WEB-INF
/plexus.properties'
10:22:57.318 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >16> Initializing Plexus.
10:22:57.333 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >17> resource = file:/C:/Program%20Files/XWiki%20Enter
prise/webapps/xwiki/WEB-INF/plexus.xml
10:22:57.568 INFO [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >16> Plexus initialized.
10:22:58.490 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started WebApplicationContext[/xwiki,xwiki]
10:22:58.506 INFO [main] org.mortbay.jetty.servlet.WebApplicationContext.resol
veWebApp(WebApplicationContext.java:248) >13> Extract jar:file:/C:/Program%20Fil
es/XWiki%20Enterprise/webapps/xwiki.zip!/ to C:\Program Files\XWiki Enterprise\j
etty\work\Jetty__8080__xwiki_zip\webapp
10:23:17.597 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@176086d
10:23:17.597 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started WebApplicationContext[/xwiki.zip,/xwiki.zip]
10:23:17.613 INFO [main] org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 0.0.0.0:8080
10:23:17.613 INFO [main] org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@79a2e7
I Thinck at this time it's OK but after :
2008-10-15 10:23:35,246 [http://localhost:8080/xwiki/bin/view/Main/] [P1-19] INF
O .AbstractXWikiMigrationManager - No storage migration required since current
version is [7351]
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
ANyone have an idea ?
Hi All,
I have a XWiki on version 1.5.1 and recently upgraded to 1.6.13286 with LDAP
integrated for Authentication. In both versions, I have turned DEBUG on and
noticed there are LDAP connections on not only when users login but on
"every" action, even just naviation from one spacec to another.
I would thought LDAP call will only be made during the login process? or is
there anything I missed in the config?
Here are the debug messages when I do my test by clicking on a link to a
Space. I have also attach the LDAP config as well.
Thanks a lot!
===================================
08:22:32,069 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConnection - Connecting to LDAP using SSL
08:22:32,507 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object:
cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:32,702 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update
XWiki attributes.
08:22:32,703 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:32,810 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAPattribues
located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:32,811 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:33,115 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConnection - Connecting to LDAP using SSL
08:22:33,564 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: null
08:22:33,565 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:33,566 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPUtils - Searching for the user in LDAP:
user:MY_LDAP_ID base: query:(cn=MY_LDAP_ID) uid:cn
08:22:33,865 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update
XWiki attributes.
08:22:33,865 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAPattribues
located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:33,866 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.split] in
Admin.WebHome@5,36
08:22:34,989
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConnection -Connecting to LDAP
using SSL
08:22:35,548
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -Found user dn with
the user object: cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:35,743
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -LDAP attributes will
be used to update XWiki attributes.
08:22:35,744
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConfig -Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:35,848
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -Updating existing
user with LDAP attribues located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:35,849
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConfig -Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
===================================
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap.base_DN=ou=People,dc=mydc,dc=net
xwiki.authentication.ldap.bind_DN=cn=xwikiAdmin, ou=myou, ou=myou2,
ou=Applications, dc=mydc, dc=net
xwiki.authentication.ldap.bind_pass=mypassword
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
xwiki.authentication.ldap.group_memberfields=member,uniqueMember
xwiki.authentication.ldap.mode_group_sync=always
xwiki.authentication.ldap.port=636
xwiki.authentication.ldap.server=1.2.3.4
xwiki.authentication.ldap.ssl.keystore=wiki_keystore.jks
xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
xwiki.authentication.ldap.ssl=1
xwiki.authentication.ldap.trylocal=1
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.validate_password=0
xwiki.authentication.ldap=1
===================================
--
View this message in context: http://n2.nabble.com/Unexpected-LDAP-Connection-Issue-tp1302910p1302910.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again,
I've been running XE 1.5 for a while and our LDAP authentication against
Active Directory works fine. I've installed a separate, test instance of
XE 1.6 and, using the same LDAP configuration, all of our login attempts
fail when going against our Active Directory server.
09:04:00,401 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user
object: null
09:04:00,402 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPConfig - Ready to create user from
LDAP with fields
name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayNa
me,mail=mail,ldap_dn=dn
09:04:00,402 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPUtils - Searching for the user in
LDAP: user:jnovak base:
query:(sAMAccountName=jnovak) uid:sAMAccountName
09:04:00,484 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPConnection - LDAP Search failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031001A8,
problem 2001 (NO_OBJECT),
data 0, best match of:
''
Our XE 1.5.2.12758 installation with the same configuration works fine.
Does the above error look to you like it's not even binding to the AD
server? That's my hunch.
The first log line on our working 1.5 install look like this when I
authenticate:
08:47:09,148 [http://xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6807-3]
DEBUG LDAP.XWikiLD APAuthServiceImpl - Found user dn with the user
object:
CN=Jamison Novak,CN=Users,DC=NNNNN,DC=com
This is our base_DN:
xwiki.authentication.ldap.base_DN=cn=Users,dc=NNNNN,dc=com
This is our bind_DN:
xwiki.authentication.ldap.bind_DN=cn=svc_webapp,ou=Service
Accounts,dc=NNNNN,dc=com
Is it possible that the space in the "ou=Service Accounts" is causing
some unlogged error? I tried putting quotes around the entire thing
(bind_dn="string here"), but that just caused it to fail to try LDAP at
all.
Any thoughts? I'm really confused why it's changed between 1.5 and 1.6
like this, at least for us.
-Jamie
Hi!
I have two questions:
- As already mentioned in the subject, I want to forbid users to
create spaces, only some user groups should be allowed to create spaces.
- How can I make some spaces like xwiki, Main, and especially
Panels, Stats invisible for any user except the admin user. I do not want
them into index or even when in the search.
Is this possible?
Thank you for your help,
Florian
------------------------------------------------------------------
Florian Rhomberg
Gletscherblick 38
A-6080 Igls
E-Mail: mailto:florian.rhomberg@nettania.net
www.nettania.net
------------------------------------------------------------------
hi,
I want to use the MindMap space,and i had import mindmap-1[1][1].0.zip,but when i open the MindMap space,there is a note as follows:
Installation is not complete. You need to add MindMap.Translations in the translations page. Click on Administration, choose the Advanced accordion and scroll to the translations field. Then add MindMap.Translations in the list of translations pages.
how can I add MindMap? If i can receive the mail of the steps how to add MindMap in detials ,it will be helpful. Thanks very much!
tianlixing
2008-09-11
Hi All,
There are few tabs for comments/attachment etc in the new layout for XE 1.6
which is great. However, can I suggest we do not show the details by default
until users click? (which like version 1.5).
The reason is that currently every page made an authentication call. When we
are using LDAP for authentication this may take 1-2 seconds. Since the
comment field is opened by default, it's another 2 seconds delay for until
the page is completely loaded. Reducing this 2 seconds means 40-50% faster
per page which is very significance.
Many Thanks
Art.
--
View this message in context: http://n2.nabble.com/Comment-field-in-XE-1.6-for-page-display-tp1322013p132…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to make some kind of convertor plugin from XWiki syntax to
DokuWiki syntax. I want to have a button on page and after pushing it I want
to create new attachment to this page with content of the page in dokuwiki
syntax.
So I have something like this in my plugin Api:
XWikiDocument doc = context.getDoc();
String text = doc.getContent();
XWikiAttachment att = doc.getAttachment("DokuWiki.txt");
if (att!=null)
{
att.incrementVersion();
}else{
att = new XWikiAttachment(doc, "DokuWiki.txt");
}
...
att.setContent(aa.getBytes());
doc.getAttachmentList().add(att);
context.getWiki().saveDocument(doc, context);
The page source is just:
#if($request.con)
"$xwiki.convertor.convert()"
#end
Now I can push the convert button on the page. When I push it for the first
time, everthing fine (I see the new attachment called Dokuwiki.txt, version
for example 1.1), but when I push it for the second time, in the attachments
there are 2 same files called DokuWiki.txt with the same version 1.2. After
pushing the button for the third time, there are 3 files with same version
1.3... After restarting server, there is only one file, the latest one...
Could you please help me what is wrong in my code?
--
View this message in context: http://n2.nabble.com/Problems-with-new-attachment-made-in-plugin-Api-tp1320…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I did, but I always receive the newsletter messages...
> Carmelo Saffioti wrote:
> > Hi,
> > I'd like to unsuscribe from the newsletter. I tried, with no success.
> >
>
> Go to http://lists.xwiki.org/mailman/listinfo/users and follow the
> instructions. At the end of the page there is a section starting with
> "To unsubscribe from users".
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/