Title: Invalid credentials
Last modified: September 1, 2020

---

# Invalid credentials

 *  [joshj71](https://wordpress.org/support/users/joshj71/)
 * (@joshj71)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/invalid-credentials-2/)
 * I’m at a loss here. I’m wondering if it’s my LDAP server, I’m using FreeIPA, 
   I’ve tried a couple of other wordpress LDAP plugins and all have the same results.
 * The admin user is able to authenticate at the OS level with the ipa_client_install(
   on Centos8) and ultimately logging into the OS as well. I’m using the same login/
   pass with your test ldap.php (I found it referenced in another post). I’m not
   an LDAP expert or anything remotely close so trying to figure out what’s going
   on is proving a bit of a challenge.
 * Simple LDAP Test
 * Trying to authenticate testuser…
 * Checking uid against regex pattern… success!
 * Checking user password against regex pattern, min/max lengths… success!
 * Setting up initial connection with ipa.XXXX.com… success!
 * Requesting switch to v3 of ldap protocol… success!
 * Requesting start_tls… success!
    Authentication failed Problem Encountered While
   Attempting to Authenticate Errors Encountered
 *  Error at line 303
 *  unable to bind with bind account (admin). Last LDAP error: Invalid credentials

Viewing 1 replies (of 1 total)

 *  Plugin Author [Paul Gilzow](https://wordpress.org/support/users/gilzow/)
 * (@gilzow)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/invalid-credentials-2/#post-13357436)
 * That error message is definitely occurring when it attempts to bind to the ldap
   server with the credentials you’ve set for `bindaccount` and `bindpassword`. 
   Have you tried using [Apache Directory Studio](https://directory.apache.org/studio/)?
   That would be my next suggestion for troubleshooting.

Viewing 1 replies (of 1 total)

The topic ‘Invalid credentials’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpdirauth.svg)
 * [wpDirAuth](https://wordpress.org/plugins/wpdirauth/)
 * [Support Threads](https://wordpress.org/support/plugin/wpdirauth/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdirauth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdirauth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdirauth/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Paul Gilzow](https://wordpress.org/support/users/gilzow/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/invalid-credentials-2/#post-13357436)
 * Status: not resolved