ldapmodify a userPassword updates krblastpwdchange on RHEL6 but not RHEL7

Solution Verified - Updated -

Issue

  • Modifying a userpassword as Directory Manager doesn't update krblastpwdchange on RHEL7:

    # ldapmodify -v -Z -h `hostname` -x -D "cn=Directory Manager" -W << EOF
    dn: uid=jsmith,cn=users,cn=accounts,dc=example,dc=com
    changetype: modify
    replace: userPassword
    userPassword: apassword
    EOF
    
  • Checking user jsmith attributes afterwards shows an old krblastpwdchange

    [root@idm ~]# ipa user-show jsmith --all
      dn: uid=jsmith,cn=users,cn=accounts,dc=example,dc=com
      User login: jsmith
      First name: John
      Last name: Smith
      Full name: John Smith
     [...]
    krblastfailedauth: 20180510061208Z
    krblastpwdchange: 20180509073934Z     <==== Old  krblastpwdchange
    krbloginfailedcount: 1
    krbpasswordexpiration: 20180807073934Z
     [...]
    

Environment

  • Red Hat Identity management (IdM 4.5 or earlier)
  • Red Hat Enterprise Linux 7 (RHEL 7)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content