[opencms-dev] Imported users cannot login in opencms 13
Alex Kandzior
alex at opencms.org
Thu Sep 8 12:25:37 CEST 2022
Dear Hein
It should work, as it apparently did for Fabian.
What you can do:
- Check the exported manifest.xml file with the user data to see if it contains the MD5 hash for the passwords
- Maybe use an external tool to verify if the password data in the XML is a correct MD5 hash
- After the import, use a database tool to verify that the MD5 hash from the export is imported correctly in the OpenCms database
- If the MD5 hash was correctly imported, then the <passwordhandler> settings should work
Kind regards,
Alex.
-------------------
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
> Am 07.09.2022 um 17:28 schrieb Hein van der Kallen via opencms-dev <opencms-dev at opencms.org>:
>
> Alex
> I have the same problem as Fabian
> I imported users and groups from production on 10.5.1 to a fresh install of OpenCms 13
>
> I tried the suggested
> <passwordhandler class="org.opencms.security.CmsDefaultPasswordHandler">
> <encoding>UTF-8</encoding>
> <digest-type>MD5</digest-type>
> <param name="compatibility.convert.digestencoding">false</param>
> </passwordhandler>
>
> But it did NOT work.
> The users are imported but cannot log in.
>
> I also tried ( from opencms 10.5.1)
> <digest-type>md5</digest-type>
>
> But that did NOT work either.
>
> Kind regards
> Hein van der Kallen
>
> Van: opencms-dev <opencms-dev-bounces at opencms.org <mailto:opencms-dev-bounces at opencms.org>> Namens Alex Kandzior via opencms-dev
> Verzonden: vrijdag 5 augustus 2022 11:04
> Aan: The OpenCms mailing list <opencms-dev at opencms.org <mailto:opencms-dev at opencms.org>>
> CC: Alex Kandzior <alex at opencms.org <mailto:alex at opencms.org>>
> Onderwerp: Re: [opencms-dev] Search index configuration
>
> Hi Fabian!
>
>> - How can I import users and groups that have been exported from e.g. 10.5? In other terms, as the password mechanics seem to have changed, how can I migrate local users and groups to a fresh install of OpenCms 13?
>
> Check the configuration file „opencms-system.xml“. Somewhere aound line 35 is the <passwordhandler> configuration.
> Change this back to:
>
> <passwordhandler class="org.opencms.security.CmsDefaultPasswordHandler">
> <encoding>UTF-8</encoding>
> <digest-type>MD5</digest-type>
> <param name="compatibility.convert.digestencoding">false</param>
> </passwordhandler>
>
> Then the old MD5 encoded password should still work.
>
>> - Can I no longer add/modify search indexes and sources through the GUI?
>
>
> Yes, this is the case.
>
> Kind regards,
> Alex.
>
> -------------------
> Alexander Kandzior
>
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com <http://www.alkacon.com/> - http://www.opencms.org <http://www.opencms.org/>
>
>
>
>> Am 04.08.2022 um 22:10 schrieb Fabian Huschka via opencms-dev <opencms-dev at opencms.org <mailto:opencms-dev at opencms.org>>:
>>
>> Hi,
>>
>> I had finally the chance to fiddle with OpenCms 13. And two things struck me right away:
>>
>> - How can I import users and groups that have been exported from e.g. 10.5? In other terms, as the password mechanics seem to have changed, how can I migrate local users and groups to a fresh install of OpenCms 13?
>> - Can I no longer add/modify search indexes and sources through the GUI?
>>
>> Many thanks,
>>
>>
>> \Fabian
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> https://lists.opencms.org/mailman/listinfo/opencms-dev <https://lists.opencms.org/mailman/listinfo/opencms-dev>
>>
>>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev <https://lists.opencms.org/mailman/listinfo/opencms-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220908/5d1406fe/attachment.htm>
More information about the opencms-dev
mailing list