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, 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