Why does ldapsearch -y passwdfile not work well?

Solution Verified - Updated -

Issue

Why does ldapsearch -y passwdfile not work well?

# ldapsearch -x -D "cn=Manager,dc=example,dc=com" -W -y passwd.txt 
ldap_bind: Invalid credentials (49)

Environment

  • Red Hat Enterprise Linux (All Versions)
  • 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.