Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 844428 - smbk5pwd module computes invalid NT and LM hashes
smbk5pwd module computes invalid NT and LM hashes
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openldap (Show other bugs)
6.2
x86_64 Linux
urgent Severity high
: rc
: ---
Assigned To: Jan Vcelak
BaseOS QE Security Team
: Regression, ZStream
Depends On: 820278
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-30 11:12 EDT by RHEL Product and Program Management
Modified: 2013-03-03 20:30 EST (History)
11 users (show)

See Also:
Fixed In Version: openldap-2.4.23-26.el6_3.1
Doc Type: Bug Fix
Doc Text:
When the smbk5pwd overlay was enabled in an OpenLDAP server, and a user changed their password, the Microsoft NT LAN Manager (NTLM) and Microsoft LAN Manager (LM) hashes were not computed correctly. This led to the sambaLMPassword and sambaNTPassword attributes being updated with incorrect values, preventing the user logging in using a Windows-based client or a Samba client. With this update, the smbk5pwd overlay is linked against OpenSSL. As such, the NTLM and LM hashes are computed correctly, and password changes work as expected when using smbk5pwd.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-08 12:33:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1151 normal SHIPPED_LIVE Low: openldap security and bug fix update 2012-08-08 16:31:07 EDT

  None (edit)
Description RHEL Product and Program Management 2012-07-30 11:12:09 EDT
This bug has been copied from bug #820278 and has been proposed
to be backported to 6.3 z-stream (EUS).
Comment 7 Jan Vcelak 2012-07-31 05:14:45 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
- openldap-server with smbk5pwd overlay enabled, user performs password change
- NTLM and LM hashes are not computed, uninitialized memory is used instead, sambaLMPassword and sambaNTPasswords attributes are updated with incorrect values
- smbk5pwd module is now linked to OpenSSL library
- NTLM and LM hashes are computed correctly from the new password being set, sambaLMPassword and sambaNTPasswords attributes are updated correctly
Comment 10 errata-xmlrpc 2012-08-08 12:33:29 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1151.html
Comment 11 Murray McAllister 2012-08-13 00:36:03 EDT
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1,3 @@
-- openldap-server with smbk5pwd overlay enabled, user performs password change
+When the smbk5pwd overlay was enabled in an OpenLDAP server, and a user changed their password, the Microsoft NT LAN Manager (NTLM) and Microsoft LAN Manager (LM) hashes were not computed correctly. This led to the sambaLMPassword and sambaNTPassword attributes being updated with incorrect values, preventing the user logging in using a Windows-based client or a Samba client.
-- NTLM and LM hashes are not computed, uninitialized memory is used instead, sambaLMPassword and sambaNTPasswords attributes are updated with incorrect values
+
-- smbk5pwd module is now linked to OpenSSL library
+With this update, the smbk5pwd overlay is linked against OpenSSL. As such, the NTLM and LM hashes are computed correctly, and password changes work as expected when using smbk5pwd.-- NTLM and LM hashes are computed correctly from the new password being set, sambaLMPassword and sambaNTPasswords attributes are updated correctly

Note You need to log in before you can comment on or make changes to this bug.