Hi,
It would be probably better to find another method to fix your problem than
changing the DB directly.However, if you can't, I had to change a few
informations directly in the database myself so I know how it works.
So this is how to get to / change users information directly from the
database:
- The users are objects. You will find them in the xwikiobjects table with
the xwo_classname field 'XWiki.XWikiUsers'.
- Every objects has properties. They are listed in the xwikiproperties
table, with the same xwp_id value as the xwo_id of the xwikiobject.
- The xwp_name field tells you what stores that property. The xwp_classtype
tells what type it is.
- According to this type you will have to check the corresponding table. The
xwX_id and xwX_name remain the same as the xwikiproperties fields xwp_id and
xwp_name.
- Finally, the xwX_value field is what you want to get to. And probably what
you might want to change.
And of course, don't delete the table entries, you might corrupt the
database.
Hope it helped
Date: Wed, 4 Jun 2008 10:26:36 +020
> Subject: [xwiki-users] Users can't log anymore
> Message-ID:
> <944337480806040126g420b621naafa2c62641a5ba2(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Since a few day, my users are not able to log anymore into the xwiki
> platform, I suspect that my tests with LDAP may have some thing to do with
> it.
>
> Thanks to my luck, I am still able to log in with the admin right, and I
> tried to reset all users passwords so that they can login again.
>
> But this seems not working at all throught the Xwiki administration page,
> why ?
>
> I am currently trying to erase the password directly into the data base but
> the data model for user is not very trivial.
>
> I have found that users are managed as XWikiDoc and I still need to find
> how
> the String contenaining the password is linked to which user, I had also a
> look to the xwiki datamodel page but it is tagged as obsolete !
>
> Could anyone helps me ?
>
> Thanks in advance,
>
> Fabien
>
>
Is there a way to move a page into a different space? I have been searching the documentation and can't find a way to do it.
Also, is there a way to import/export all of the documents in a space? I have a space with a lot of documents and it's a pain in the import page to either check all of the documents and turn off the one's I don't want or vice versa.
Thanks,
Len
________________________________
Important:
This electronic mail message and any attached files contain information
intended for the exclusive use of the individual or entity to whom it is
addressed and may contain information that is proprietary, privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you hereby are notified that any viewing,
copying, disclosure or distribution of this information may be subject to
legal restriction or sanction. Please notify the sender, by electronic
mail or telephone, of any unintended recipients and delete the original
message without making any copies.
Hi,
Authentication worked before 1.3.2. Works now for existing users but not for
New Users. New Users are not created when they log in the first time.
Log file:
---
2008-06-03 17:24:46,344 [http://server/bin/view/Main/WebHome] [http-80-1]
ERROR LDAP.LDAPAuthServiceImpl - LDAP Bind failed with Exception
Invalid Credentials
2008-06-03 17:24:47,125 [http://server/bin/view/Main/WebHome] [http-80-1]
ERROR LDAP.LDAPAuthServiceImpl - LDAP Bind failed with Exception
Invalid Credentials
---
Configuration:
---
# 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=server
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=user,OU=ServicesAccounts,DC=company,DC=holding,DC=ch
xwiki.authentication.ldap.bind_pass=password
#-# 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=DC=company,DC=holding,DC=ch
#-# specifies the LDAP attribute containing the identifier to be used as the
XWiki name (default=cn)
xwiki.authentication.ldap.UID_attr=sAMAccountName
#-# 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=sAMAccountName,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=create
#-# [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=
----
Connection in LDAP-Browser works with the settings used in the configuration
above.
Thanks for your help
Helmut
--
View this message in context: http://www.nabble.com/LDAP-Authentication-%28Active-Directory-tp17626760p17…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Since a few day, my users are not able to log anymore into the xwiki
platform, I suspect that my tests with LDAP may have some thing to do with
it.
Thanks to my luck, I am still able to log in with the admin right, and I
tried to reset all users passwords so that they can login again.
But this seems not working at all throught the Xwiki administration page,
why ?
I am currently trying to erase the password directly into the data base but
the data model for user is not very trivial.
I have found that users are managed as XWikiDoc and I still need to find how
the String contenaining the password is linked to which user, I had also a
look to the xwiki datamodel page but it is tagged as obsolete !
Could anyone helps me ?
Thanks in advance,
Fabien
hello. is it possible to set content into a page , with code that comes from different templates? for example: treeheader, treepanelleft, treepanelright
$mydoc.setContent('#template("treeheader.vm")')
$mydoc.setContent('#template("treepanelleft.vm")')
this does not work. it takes only my last template.
i know i can just put the all templates in one template and then include that template. but i don;t want to do that and i want to include all the templates one by one.
do you know a way to do this? thx
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
Hello XWiki users
I am creating a new Java User Group in Nantes (France) and would like to use
a wiki to create the JUG Web Site.
The name that I would like to have is the following: nantesjug
Thanks in advance.
Regards
Tugdual Gralll
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.5 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
First milestone of the XWiki Enterprise 1.5 version.
Main changes:
* LDAP support improvements
** Add possibility to map one LDAP group with more that one XWiki group
** Add the ability to configure LDAP groups classes and members fields names
** LDAP authenticator re-save user page even there is no modification
** "userPassword" LDAP field should be configurable
** Makes the SSL provider implementation used to support LDAP
communication over SSL configurable
** LDAP authentication print error message with empty "group_mapping" property
* Better PDF export support
* Have "from" (second to last version) and "to" (last version) fields
checked by default in the the document history
* Ability to change just one (or several) object properties
* Automatic logging of deprecated method calls in Velocity
* Better language negotiation
* Don't display the login link on the login page
Note that the general goals of XE 1.5 are :
* More bug fixes
* Better performance
* More automated tests
* Overhaul of the Administration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15M1
Thanks,
The XWiki dev team
Hi!
In version 1.1.2 I was able to continue list using "\" (doubleslash)
on the next
line, like:
1. lalalala\
#picture_macro()
1. rrererer\
#picture_macro()
So the picture or some text would be in the list item.
It was very nice when posting a big text with paragraphs, so you can
actually see those paragraphs in a wiki code.
But now (version 1.3) it doesn't work, and I'm forced to modify all
the pages and use instead this syntax:
1. lalala\#picture_macro()
1. ererer\#picture_macro()
Also, wiki code becomes "unreadable" when posting a big text.
Ar cieņu, Mihails
Thanks Gullaume - I'll try that next time.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Guillaume Lerouge
Sent: 02 June 2008 09:48
To: XWiki Users
Subject: Re: [xwiki-users] Panel Wizard layout issue
Hi Richard,
Yes the panel layout wizard is a little temperamental (frustrating) - if
> you're patient you can usually get the panel display that you want, but if
> you can find out how to code it directly then I'd be interested!
You can set your panel display from the global & space preferences pages.
Then under the skin tab, look at the panel options : you can decide to
display left & right panels and add the panels you want to be displayed
using the following convention :
Panels.PanelName,Panels.PanelName2, and so on.
Guillaume
_______________________________________________
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 +44 (0) 1749 672081 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. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273