<?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 Re: Password-hash calculation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519820#M1853983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added the password-creation class in the SCN wiki. &lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+class+to+create+random+chars+or+passwords" title="http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+class+to+create+random+chars+or+passwords"&gt;ABAP class to create random chars or passwords - Code Gallery - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 08:42:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-11T08:42:45Z</dc:date>
    <item>
      <title>Password-hash calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519814#M1853977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;hi!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;passwords of our internet users are stored in BAPIUSW01-PASSWORD as a password hash. The hash is calculated by the system-call XXPASSNET. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;After we changed the password ruleset (kernel parameters login/min_password_digits and so on), hashes generated previously are no valid passwords anymore. The call returns an empty hexpass. In other words: no user can login anymore. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Is there a way to calculate a hash from a given string (=password) in the same way as XXPASSNET does? I already tried FM MD5_CALCULATE_HASH_FOR_CHAR or CALCULATE_HASH_FOR_CHAR, but they do not return the same result. Looks like XXNETPASS does not use MD5 or SHA1 but something else?&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;We authenticate using BAPI_PAR_EMPLOYEE_CHECKPASSWOR, which calls FM&amp;nbsp; WWW_USER_AUTHORITY - inside, there is XXNETPASS called.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thanks for all information &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/994/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Roland&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 13:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519814#M1853977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-26T13:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Password-hash calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519815#M1853978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's probably the value of login/password_downwards_compatibility that has caused the problem. Pinging the &lt;A __default_attr="2061" __jive_macro_name="community" class="jive_macro_community jive_macro" data-orig-content="Security" href="https://community.sap.com/"&gt;&lt;/A&gt; space so that others can pitch in. Meanwhile you may want to read &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A __default_attr="106978" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Why you should really get rid of old password hashes *NOW*" href="https://community.sap.com/" modifiedtitle="true" title="Why you should really get rid of old password hashes *NOW*"&gt;&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519815#M1853978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-26T15:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Password-hash calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519816#M1853979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If &lt;A __default_attr="341457" __jive_macro_name="user" class="jive_macro_user jive_macro" data-orig-content="Roland Jungnickel" href="https://community.sap.com/"&gt;&lt;/A&gt; wants we can move the thread to the Security section.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519816#M1853979</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2014-08-26T15:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Password-hash calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519817#M1853980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;login/password_downwards_compatibility is set on (which is the default value) in our systems. As far as I understand, this parameter allows other (older) hashes to be used and does not affect password rules such as at least one upper-case char, one special char etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the link to the blog, very interesting. XXPASSNET uses codeversion A when called from the above mentioned BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: if the security section is the right choice for this topic, please move.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 07:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519817#M1853980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-27T07:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Password-hash calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519818#M1853981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Last I heard, the SU05 internet users were deprecated and no longer supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at FM susr_internet_user_migration, which converts them to SU01 users and issues them a proper code versioned password hash which is compatible and not reversable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 17:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519818#M1853981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-27T17:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Password-hash calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519819#M1853982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Julius. More-or-less I got the same reply from SAP support - it is simply not supported anymore. I cannot convert to SU01 users, so we are going to replace the password creation bapi by an own development and have all users to create new passwords.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 08:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519819#M1853982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T08:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Password-hash calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519820#M1853983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added the password-creation class in the SCN wiki. &lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+class+to+create+random+chars+or+passwords" title="http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+class+to+create+random+chars+or+passwords"&gt;ABAP class to create random chars or passwords - Code Gallery - SCN Wiki&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 08:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519820#M1853983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T08:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Password-hash calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519821#M1853984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to use standard FM RSEC_GENERATE_PASSWORD that is used by SU01 when you ask system for an initial random password. The generated password will comply with system password policy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 09:51:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/password-hash-calculation/m-p/10519821#M1853984</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2014-09-11T09:51:08Z</dc:date>
    </item>
  </channel>
</rss>

