Hello again,
seems my previous ldap problem is corrected (a mix of using "old" LDAP
auth class + duplicate deploy under different names in test env).
However, now that ldap connects properly to server, i have the following
problem:
2008-03-31 14:00:17,931
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor4] ERROR LDAP.XWikiLDAPAuthServiceImpl - LDAP
authentication failed.
LDAPException: Invalid Credentials (49) Invalid Credentials
LDAPException: Matched DN:
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPConnection.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:243)
Am not sure to understand fully, but it seems that LDAP auth class is
prefereing some property in XWiki.<username> to the xwiki.cfg. The
property in question is "ldap_dn". I don't know exactly what it's
supposed to contain (can someone gime an example?). I saw it's presence
in "xwiki.authentication.ldap.fields_mapping", which tells how to map
ldap attributes to xwiki attributes. However, i have no idea which ldap
attribute am supposed to map there. The default value was for active
directory, we don't use active directory. My problem is that, currently,
it's set to an empty string in xwiki database, and the ldap class don't
like it very much.
hi
i m trying to fetch the group of the logged in user...can anyone plz help
me wid it...
Shruti Modi
Tata Consultancy Services
Cell:- 9870245740
Mailto: shruti.modi(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
Hello,
am trying to get xwiki to work on an ldap. I configured xwiki.cfg as below:
I tried with & without authclass line, with and without keystore
parameter, but everytime xwiki is attempting to disscuss in plain text
with ldap server instead of starting a ssl handshake (i can see the
xwiki request in network dumps). The ldaps server does not recognize
that as a ssl handshake and drops connection? I have set
authentification.ldap.ssl=1, which should be suffisant for using ssl,
isn't it? Am i missing something in the configuration for ssl? Is the
ssl support not yet implemented in 1.3 release?
Thanks
Configuration file:
#-# 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=ldap.oma.be
xwiki.authentication.ldap.port=636
#-# 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=oma,dc=be
xwiki.authentication.ldap.bind_pass={1}
#-# 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,dc=oma,dc=be
#-# base DN for searches
xwiki.authentication.ldap.base_DN=ou=People,dc=oma,dc=be
#-# 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=cn,last_name=sn,first_name=givenName,fullname=cn,email=mail
#-# [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=meslideadmin,ou=Group,dc=oma,dc=be
#xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=meslideadmin,ou=Group,dc=oma,dc=be|\
#
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)
#Every 10 minutes
xwiki.authentication.ldap.groupcache_expiration=600
#-# [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=1
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
xwiki.authentication.ldap.ssl.keystore=/tmp/jssecacerts
Thanks both of you for the reply.
I have decided to atleast give it a try with CREATE/ALTER/DROP/UPDATE
TABLE/VIEW/SEQUENCE/SYNONYM/TRIGGER on its own schema and tablespace and
SELECT/CONNECT ofcourse.
I will inform you later if it works or not, but just want to tell I am
greatful for you replys.
Anders Andersson
>>> ludovic(a)xwiki.org 2008-03-29 23:19:25 >>>
In single wiki mode (XWiki Enterprise) it will need read, write to the
minimum if you pre create the schema from an existing one. If not you
you will need schema read and write. I don't know which oracle
privileges that is.
Run it once with all privileges to get the database created in one
oracle instance. Import that DB in your corporate database. Deactivate
updateschema in xwiki.cfg.
Then give the oracle privileges one by one.
In multiwiki (XEM) the xwiki user needs to be a DBA to be able to
create
new users.
Ludovic
>>> gabrielw(a)ngasi.com 2008-03-28 18:15 >>>
That is a known issue with xWiki and Oracle. As I understand it is
being
addressed for an upcoming release.
So at this point you must use an Oracle user named xwiki. If possible
you may use another Db such as
mysql,postgresql, or an embedded hsqldb.
--
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
http://www.ngasi.com
NEW! 8.0 - Centrally manage multiple physical servers
Anders Andersson wrote:
> Hello!
>
> I have a question regarding the installation of XWiki. In the
> installation instructions it says I must type these commands:
>
> connect ...
> create user xwiki identified by xwiki;
> grant all privileges to xwiki;
>
> However this wiki will be installed on a corporate network on their
> database and application servers and therefor not possible to grant
all
> privileges to xwiki. I wonder if it is possible to run the wiki with
> more restrictions on the user xwiki? Which privileges is enough for
> xwiki to operate on the database correctly?
>
> Thanks for your time and patients. I will be happy to hear from you
> again
>
> Anders Andersson
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello all,
I am doing something similar to the TODO application here
http://www.theserverside.com/tt/articles/article.tss?l=XWiki
What I want to do is to have a submission date of the TODO which will be the current date so the field is disabled for the user and once he add a TODO the date will be the submission date.
I installed already the JodaTimePlugin just I don't know how to make that default field.
Thanks in advance
Cheers,
Hosam
Hello!
I have a question regarding the installation of XWiki. In the
installation instructions it says I must type these commands:
connect ...
create user xwiki identified by xwiki;
grant all privileges to xwiki;
However this wiki will be installed on a corporate network on their
database and application servers and therefor not possible to grant all
privileges to xwiki. I wonder if it is possible to run the wiki with
more restrictions on the user xwiki? Which privileges is enough for
xwiki to operate on the database correctly?
Thanks for your time and patients. I will be happy to hear from you
again
Anders Andersson
Hi,
Please, why xwiki.temp.dir is not set by default?
It is of course easy to uncomment the concerning line in xwiki.cfg or
customize it but, why this variable has not a default value? Thanks!!!
Greetings
--
Ricardo Rodríguez
Your EPEC Network ICT Team
The content will be the same yet the look and feel will be different.
The best way to do is to have them both connected to the same database if you have a network between both computers.
Cheers,
Hosam
Original Message:
<br />Hi,
<br />what is the best way to keep two instances (two different pc) synchronized.
<br />Will it be enough to copy only the database?
<br />
<br />Regards, Uwe
<br />--
<br />View this message in context: http://www.nabble.com/Synchronize-two-instances-of-XWiki-Enterprise-tp16297…
<br />Sent from the XWiki- Users mailing list archive at Nabble.com.
<br />
<br />_______________________________________________
<br />users mailing list
<br />users(a)xwiki.org
<br />http://lists.xwiki.org/mailman/listinfo/users
<br />
--
Hi,
I'm pretty confused with the documentation around xWiki and struggle to find
infos on the "custom display" field in the property editor. A simple example
could clarify my questions: how do you (for example) use the "custom
display" field to display the content of the Textarea Propety in bold, red?
Thx in advance for your answers
--
View this message in context: http://www.nabble.com/Help-with-custom-display-tp16277592p16277592.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there,
I am still testing my migration from 0.9 to 1.3. During this test I got
an exception in a groovy code part. This exception is described in
http://jira.codehaus.org/browse/GROOVY-1406.
Are there any plans to upgrade to a newer version? As I can see xwiki
use 1.0-rc6. I upgrade by myself to 1.5.4 and the exception in my code
was gone. It seems to work...
Bye
Frank
i was talking about a menu that i create inside...some links actually. and i don't want the user to be able to edit anything there.
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
----- Original Message ----
From: Sergiu Dumitriu <sergiu(a)xwiki.com>
To: XWiki Users <users(a)xwiki.org>
Sent: Wednesday, March 26, 2008 5:36:53 PM
Subject: Re: [xwiki-users] special rights
Gabriela Radu wrote:
> hi.
> i was wondering if xwiki can be managed in that way that i can give users rights for some part of the page. for instance : they can edit the text but not the menu in the page.
> Thank you.
>
What menu? There's no menu inside the page...
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
hi.
i was wondering if xwiki can be managed in that way that i can give users rights for some part of the page. for instance : they can edit the text but not the menu in the page.
Thank you.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
I would like to implement the possibility to reply to comments, and
the corresponding cascading display.
I assume this change, if possible, should be made on
templates/comments2.vm and/or templates/commentsinline.vm, but I'm a
bit lost. Has anything similar been done? Where can I learn more on
how to do it?
regards,
Joao
Is anybody working on Poll Application?
As a user, I'll describe what would be nice to modify:
1) To add also select, text boxes and checkboxes, not
"checkbox-like-links"to poll. If options would be a true
select/check/text boxes, it wouldn't be neccessary to reload a page
each time option is selected
2) To add "Submit" button, so the user would fill the survey, select
n options and then submit his results. For now the user can vote as
many times as he wants before the survey expires, and this is wrong,
comparing to surveys standarts.
3) The user can view survey overall results only when he's submitted
his results.
Ar cieņu, Mihails
Hi all,
I want to make some load test to xwiki using jmeter.
I have a problem with the login because I don't understand which parameters
I have to add to the request /xwiki/bin/login/XWiki/XWikiLogin
Cna someone help me??
Thanks
Raffo
Hi everyone,
If you're a student or if you know a good student then please consider
joining the XWiki project for the Google Summer of Code 2008.
All information and proposed projects are listed on http://tinyurl.com/332gep
Pass the word around!
Thanks
-Vincent
Hi there,
after a long time I am now trying to use XWiki again. I used XWiki 0.9x
(two years ago) and I was impressed. Now I tried to upgrade to the new
version 1.3 and started with a fresh environment mentioned in the
installation guide
(http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation).
I use MySQL 5.0 and Tomcat 5.5 (JRE 1.5). After doing all the steps
and point to the XWiki starting page, I got several exceptions
in the log. All of type which are described in XWIKI-1879
and XWIKI-1945.
Setting SQL_MODE to '' has no effect here, but deleting
useServerPrepStmts=false do the trick. After deleting this from
the connection string and starting again in a fresh environment (drop
tables) everything is working perfectly.
Although the migration of my old database from XWiki 0.9x is now
working.
It seems, that the flag 'useServerPrepStmts= false' do the opposite in a
MySQL 5.x environment... And I found why:-)
I used the MySQL java connector 3.1.2 with MySQL 5.x and this is not
properly working with 'useServerPrepStmts= false' (see
http://opensource.atlassian.com/projects/hibernate/browse/HBX-729
and http://bugs.sakaiproject.org/jira/browse/SAK-9250)
After upgrading to mysql connector 5.0.x the flag 'useServerPrepStmts=
false' is working.
Bye and good night
Frank
Hi,
I downloaded the XAR for the Application Manager an imported it into XWiki
Enterprise. I see a lot of new spaces and the information that the plugin
has not be enabled. What else do I have to do? In the docs I found something
about a jar-File. Is this still relevant?
Regards, Uwe
--
View this message in context: http://www.nabble.com/Application-Manager-not-enabled-tp16287565p16287565.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I am upgrading xwiki and I have a question, how much system memory is required to effiectively run xwiki?
Tim Campbell
Junior, Computer Science-Ecommerce major
Winston Salem State University
tcampbell106(a)wssu.edu
(704) 877-2261
Hello!
I installed a new instance of xwiki on my local machine. I tried to set up the email notification but it didn't really work. In the XWiki Preferences I set the outgoing smtp server to several smtp servers such as smtp.google.com, smtp.comcast.net, etc. Howver, there seem to be some authentication issues and I get the following error message:
***
Error number 4001 in 4: Error while parsing velocity page Demo.SendMailTestPage Wrapped Exception: Invocation of method 'sendMessage' in class com.xpn.xwiki.XWiki threw exception class com.xpn.xwiki.XWikiException : Error number 10006 in 10: Could not send mail to server smtp.comcast.net port 25 error code 530 (530 Authentication required ) OR
Error number 4001 in 4: Error while parsing velocity page Demo.SendMailTestPage Wrapped Exception: Invocation of method 'sendMessage' in class com.xpn.xwiki.XWiki threw exception class com.xpn.xwiki.XWikiException : Error number 10006 in 10: Could not send mail to server smtp.gmail.com port 25 error code 530 (530 5.7.0 Must issue a STARTTLS command first h14sm757315wxd )
***
I also tried to use my own smtp server (hmailserver) but then I had some relay problems and the following error message:
***
Error number 4001 in 4: Error while parsing velocity page Demo.SendMailTestPage Wrapped Exception: Invocation of method 'sendMessage' in class com.xpn.xwiki.XWiki threw exception class com.xpn.xwiki.XWikiException : Error number 10006 in 10: Could not send mail to server mail.hmailserver.com port 25 error code 550 (550-207-105-15-139.ded.pacbell.net (XWiki version 0.9.840) 207.105.15.139? is 550-currently not permitted to relay through this server. Perhaps you have not 550-logged into the pop/imap server in the last 30 minutes or do not have SMTP 550 Authentication turned on in your email client. )
***
I have right now no idea how to resolve these issues. I would appreciate any help in setting up the smtp server for the email notification.
Cheers,
Jens