<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The Type of MD4 used by Alfresco 6.2GA Docker in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/the-type-of-md4-used-by-alfresco-6-2ga-docker/m-p/102178#M29230</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having an issue with admin password, I can't access my account anymore, and when I tried to reset it directly from the database, it did not work.&lt;/P&gt;&lt;P&gt;This is the output of the command :&lt;/P&gt;&lt;PRE&gt;SELECT anp1.node_id,
       anp1.qname_id,
       anp1.string_value
FROM alf_node_properties anp1
   INNER JOIN alf_qname aq1 ON aq1.id = anp1.qname_id
   INNER JOIN alf_node_properties anp2 ON anp2.node_id = anp1.node_id
   INNER JOIN alf_qname aq2 ON aq2.id = anp2.qname_id
WHERE aq1.local_name = 'hashIndicator'
AND aq2.local_name = 'username'
AND anp2.string_value = 'admin';

 node_id | qname_id | string_value 
---------+----------+--------------
       4 |      232 | md4&lt;/PRE&gt;&lt;P&gt;I have update it with this value : 209c6174da490caeb422f3fa5a7ae634&lt;/P&gt;&lt;PRE&gt;SELECT anp1.node_id,
       anp1.qname_id,       
       anp1.string_value       
FROM alf_node_properties anp1  
   INNER JOIN alf_qname aq1 ON aq1.id = anp1.qname_id   
   INNER JOIN alf_node_properties anp2 ON anp2.node_id = anp1.node_id    
   INNER JOIN alf_qname aq2 ON aq2.id = anp2.qname_id                    
WHERE aq1.local_name = 'passwordHash'
AND aq2.local_name = 'username'
AND anp2.string_value = 'admin';

 node_id | qname_id |           string_value           
---------+----------+----------------------------------
       4 |      231 | 209c6174da490caeb422f3fa5a7ae634&lt;/PRE&gt;&lt;P&gt;that's admin in MD4, but no luck.&lt;/P&gt;&lt;P&gt;I noticed that i get different result on multiple sites when trying to crypt the word "admin", so my question is what type of md4 is Alfresco using by default?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2020 19:10:57 GMT</pubDate>
    <dc:creator>Awby</dc:creator>
    <dc:date>2020-05-04T19:10:57Z</dc:date>
    <item>
      <title>The Type of MD4 used by Alfresco 6.2GA Docker</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/the-type-of-md4-used-by-alfresco-6-2ga-docker/m-p/102178#M29230</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having an issue with admin password, I can't access my account anymore, and when I tried to reset it directly from the database, it did not work.&lt;/P&gt;&lt;P&gt;This is the output of the command :&lt;/P&gt;&lt;PRE&gt;SELECT anp1.node_id,
       anp1.qname_id,
       anp1.string_value
FROM alf_node_properties anp1
   INNER JOIN alf_qname aq1 ON aq1.id = anp1.qname_id
   INNER JOIN alf_node_properties anp2 ON anp2.node_id = anp1.node_id
   INNER JOIN alf_qname aq2 ON aq2.id = anp2.qname_id
WHERE aq1.local_name = 'hashIndicator'
AND aq2.local_name = 'username'
AND anp2.string_value = 'admin';

 node_id | qname_id | string_value 
---------+----------+--------------
       4 |      232 | md4&lt;/PRE&gt;&lt;P&gt;I have update it with this value : 209c6174da490caeb422f3fa5a7ae634&lt;/P&gt;&lt;PRE&gt;SELECT anp1.node_id,
       anp1.qname_id,       
       anp1.string_value       
FROM alf_node_properties anp1  
   INNER JOIN alf_qname aq1 ON aq1.id = anp1.qname_id   
   INNER JOIN alf_node_properties anp2 ON anp2.node_id = anp1.node_id    
   INNER JOIN alf_qname aq2 ON aq2.id = anp2.qname_id                    
WHERE aq1.local_name = 'passwordHash'
AND aq2.local_name = 'username'
AND anp2.string_value = 'admin';

 node_id | qname_id |           string_value           
---------+----------+----------------------------------
       4 |      231 | 209c6174da490caeb422f3fa5a7ae634&lt;/PRE&gt;&lt;P&gt;that's admin in MD4, but no luck.&lt;/P&gt;&lt;P&gt;I noticed that i get different result on multiple sites when trying to crypt the word "admin", so my question is what type of md4 is Alfresco using by default?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 19:10:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/the-type-of-md4-used-by-alfresco-6-2ga-docker/m-p/102178#M29230</guid>
      <dc:creator>Awby</dc:creator>
      <dc:date>2020-05-04T19:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: The Type of MD4 used by Alfresco 6.2GA Docker</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/the-type-of-md4-used-by-alfresco-6-2ga-docker/m-p/102179#M29231</link>
      <description>&lt;P&gt;Alfresco uses regular MD4, but the input to the MD4 hash function is converted to little endian Unicode bytes. So if you created your hash out of big endian Unicode, it will not match.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 14:36:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/the-type-of-md4-used-by-alfresco-6-2ga-docker/m-p/102179#M29231</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2020-05-05T14:36:24Z</dc:date>
    </item>
  </channel>
</rss>

