It is the expected behavior. passwd uses PAM to change password, but there are no API to expire a password. (I have no idea whether there would be such feature in a LDAP user database; if this exist, then some LDAP tools are needed)
What could be done is to document in the manpages the options which require a /etc/shadow storage. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/774580 Title: passwd -e does not work for LDAP users To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/774580/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs