Greetings
I have a simple doubt. There is a way to give the privilage of creating new XWiki pages to a user, but
forbidden him of creating tags in new pages?
Thanks in advance
Bruno Neves
Hi, I'm trying to implement xwiki for the first time in our environment. We
have an OpenLDAP server that I would like to use for authentication. I have
been able to get xwiki to authenticate via LDAP for users that already exist
in the xwiki database, but there are a few things that still are not right.
1. I can not log in to xwiki unless the user already exists in the xwiki
database. This would not be a problem (and in fact is probably prefered)
except...
2. When xwiki is configured to use LDAP, I can not add a user to the
database. I also can not change xwiki group membership or permissions for
any user when xwiki is configured for LDAP. Everything related to users
seems to be locked while xwiki is on LDAP.
3. Users can authenticate using their LDAP password or the password that is
stored in the xwiki database. I know that has to do with the
'xwiki.authentication.ldap.trylocal=1' setting, but without that it, the
login form gives no feedback as to why the login failed. ex. "Wrong user
name" etc.
Right now it seems to me that the only way for me to add a new user to xwiki
would be to:
1. take xwiki off LDAP
2. add user to xwiki database
3. set permissions
4. put xwiki back on LDAP
There has to be an easier way to do this. Some of the threads I've been
reading indicate that users are automatically created when authenticated via
LDAP. This would be fine with me as long as the default group had no
permissions, and I could later assign the user to the appropriate group.
I've included an excerpt from my xwiki.cfg file. Please let me know if I'm
doing something wrong.
Thanks.
FYI my xwiki version number is 1.6.1.13621
-------------------
Excerpt from xwiki.cfg:
#-------------------------------------------------------------------------------------
# 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.xxx.xxx
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=manager,dc=[domain],dc=[TLD]
xwiki.authentication.ldap.bind_pass=xxxxxxxxxxx
#-# 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=Users,dc=percipenz,dc=com
#-# Specifies the LDAP attribute containing the identifier to be used as the
XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=uid
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used "when
xwiki.authentication.ldap.validate_password" i$
# 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,groupWiseDi$
#-# [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=displayName,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 accou$
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
--
View this message in context: http://n2.nabble.com/New-users-and-LDAP-tp1482130p1482130.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hallo,
can someone help me - how to get a real comment from revision version if I
do rollback (in this case in history it will be always "Rollback to version
...").
Best Regards,
adoro
--
View this message in context: http://n2.nabble.com/How-to-get-a-comment-from-revision-version--tp1489643p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Just looking at the new WYSIWYG editor - just one question - will there be
an option to make it easy to link to a file on a network drive i.e. via
file:// ? Yes I know one could insert files into the wiki itself, but some
people (those new to wikis) prefer the flexibility of storing files on
network drives and it also provides a means of using the wiki as a way of
indexing files on network drives and commenting on what the files are.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Jean-Vincent Drean
Sent: 13 November 2008 11:51
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 2 Released
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 2. Second milestone of the XWiki Enterprise
1.7 version.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Main changes:
* Work in progress on the new XWiki Syntax v2.0.
* Work in progress on the new WYSIWYG editor.
* Added a ROOT webapp to the standalone distribution.
Important bug fixes:
* SMTP server address is not re-read when it's changed in global preferences
* Watchlist update sent by email does not contain the full path to a
changed attachment
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/ReleaseNotesXWikiEnterprise17M2
Thanks,
The XWiki dev team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
I was running in similar problems. By now i'm using hibernate.cfg.xml with
pure JDBC connection.
DataSource was working up to 1.5.2 - and is not working since 1.6zzz.
JBoss (4.2.1, 4.2.2) shows JNDI reference but it is not recognized by xwiki.
Should I raise a JIRA?
regards,
Rudi
semasont wrote:
>
> Hi all,
>
> since xwiki 1.6 release I'm keen on having fun with it, but there is a
> problem while setting it up.
> I'm running Jboss (vers. 4.2.1) and I've already successfully installed
> xwiki 1.1.1 on it. My plan was
> to "upgrade" simply by implementing the new .war of the 1.6 (like
> described in Admin'sGuide and Admin's
> Guide/JBoss). I configuered my hibernate-config-xml, web.xml and xwiki.cfg
> with my old settings (I'm using
> DataSource). When everything is set and I want to start the run.bat all
> seems ok, but one "WARN" appears:
>
> WARN [javax.enterprise.resource.webcontainer.jsf.config] Unable to
> process deployment descriptor for context 'null' (from server.log)
>
> when I try to start xwiki via browser(http://localhost:8080/xwiki)
> exception 404 is thrown
>
> So, does anyone here tried out xwiki with the upper combination, or knows
> smth I did wrong???
> I'd be really happy and thankful for some help/advice =)
>
> greetz markus
>
--
View this message in context: http://n2.nabble.com/Problems-with-migration-to-xwiki-1.6.war-in-jboss-4.2.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Ik was wondering if it would be useful to allow userpages (including
XWiki.XWikiUserClass) in another space than the XWiki 'system' space. I
tried this, but logging on only seems to work if users are in the XWiki
space. I would like them to be in a seperate space to allow users to
edit content on their own page and others to comment on them.
Regards,
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 community,
This may be a bit of an easy/stupid question, but bear with me! Is there a
way to assess what page is currently being viewed by the user (with
Velocity), so that I may be able to do something like this:
#if (currentPage = someOtherPage)
...do this...
#else
... do something else...
#end
Any input on this would be amazing! Cheers once again to the XWiki
community.
--
View this message in context: http://n2.nabble.com/How-to-assess-what-page-is-currently-being-viewed-by-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Also is there going to be an table properties option to set the table border
on/off, border line widths/colours, table cell colours, column, row widths,
column headings, etc - our users would like the flexibility of tables to
help layout their wiki pages (hiding the table borders) to mimic magazine
layouts.
Richard
-----Original Message-----
From: goldring, richard
Sent: 13 November 2008 13:56
To: 'XWiki Users'
Subject: RE: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 2
Released
Just looking at the new WYSIWYG editor - just one question - will there be
an option to make it easy to link to a file on a network drive i.e. via
file:// ? Yes I know one could insert files into the wiki itself, but some
people (those new to wikis) prefer the flexibility of storing files on
network drives and it also provides a means of using the wiki as a way of
indexing files on network drives and commenting on what the files are.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Jean-Vincent Drean
Sent: 13 November 2008 11:51
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 2 Released
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 2. Second milestone of the XWiki Enterprise
1.7 version.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Main changes:
* Work in progress on the new XWiki Syntax v2.0.
* Work in progress on the new WYSIWYG editor.
* Added a ROOT webapp to the standalone distribution.
Important bug fixes:
* SMTP server address is not re-read when it's changed in global preferences
* Watchlist update sent by email does not contain the full path to a
changed attachment
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/ReleaseNotesXWikiEnterprise17M2
Thanks,
The XWiki dev team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 2. Second milestone of the XWiki Enterprise
1.7 version.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Main changes:
* Work in progress on the new XWiki Syntax v2.0.
* Work in progress on the new WYSIWYG editor.
* Added a ROOT webapp to the standalone distribution.
Important bug fixes:
* SMTP server address is not re-read when it's changed in global preferences
* Watchlist update sent by email does not contain the full path to a
changed attachment
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/ReleaseNotesXWikiEnterprise17M2
Thanks,
The XWiki dev team