Re: Imported users cannot login in opencms 13

Alex Kandzior via opencms-dev <[email protected]>
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <[email protected]>
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 <[email protected]>:
> 
> 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 <[email protected] <mailto:[email protected]>> Namens Alex Kandzior via opencms-dev
> Verzonden: vrijdag 5 augustus 2022 11:04
> Aan: The OpenCms mailing list <[email protected] <mailto:[email protected]>>
> CC: Alex Kandzior <[email protected] <mailto:[email protected]>>
> 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 <[email protected] <mailto:[email protected]>>:
>>  
>> 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>

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.