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 />
--