Thanks Sebastien,

I think this would be good to document that into the coder xwiki
documentation !

I will give it a try on a dump of the database as the change of password
through xwiki does not work.

Fabien

2008/6/4 Sebastien Fieux <[EMAIL PROTECTED]>:

> 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:
> >        <[EMAIL PROTECTED]>
> > 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
> >
> >
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to