Changing password with ldappasswd -T failed

Solution In Progress - Updated -

Issue

  • Trying to change ldap account password through the command line with the -T option and it is not working:
# ldappasswd -D cn=ldadmin,o=example -x -w password -T /root/pass.txt cn=foo,ou=people,o=example
  • When I add the password to the command line it works fine:
# ldappasswd -D cn=ldadmin,o=example -x -w password -s secret cn=foo,ou=people,o=example

Environment

  • Red Hat Enterprise Linux
  • OpenLDAP

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.